diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..e519f16 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,26 @@ +name: Android CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..82b08f3 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,84 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + schedule: + - cron: '34 18 * * 3' + +jobs: + analyze: + name: Analyze + # Runner size impacts CodeQL analysis time. To learn more, please see: + # - https://gh.io/recommended-hardware-resources-for-running-codeql + # - https://gh.io/supported-runners-and-hardware-resources + # - https://gh.io/using-larger-runners + # Consider using larger runners for possible analysis time improvements. + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} + permissions: + # required for all workflows + security-events: write + + # only required for workflows in private repositories + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + language: [ 'java-kotlin' ] + # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ] + # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both + # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" diff --git a/README.md b/README.md index 3c62b9c..cef3d95 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,11 @@ -This project includes four modules and is listed below: +Этот проект включает в себя четыре модуля и перечислен ниже: -1) Authentication -2) Add Emergency Contacts -3) Add Personal Information -4) Sending SMS - -Home Screen - -![WhatsApp Image 2021-02-10 at 12 25 11 PM (4)](https://user-images.githubusercontent.com/69119935/114031186-c0153b80-9898-11eb-858f-dc38eb8494b3.jpeg) - -Signup Screen - -![WhatsApp Image 2021-02-10 at 12 25 11 PM (2)](https://user-images.githubusercontent.com/69119935/114031310-e2a75480-9898-11eb-80ac-050bdab1a11b.jpeg) - -Login Screen - -![WhatsApp Image 2021-02-10 at 12 25 11 PM (1)](https://user-images.githubusercontent.com/69119935/114031689-3ade5680-9899-11eb-8806-7049db49f41b.jpeg) +1) Аутентификация +2) Добавить контакты для экстренных случаев +3) Добавить личную информацию +4) Отправка СМС +Главный экран +![Изображение WhatsApp от 10 февраля 2021 г., 12:00 diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..034e848 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/app/src/main/res/drawable/gradient.png b/app/src/main/res/drawable/gradient.png index e3586a9..6c7e605 100644 Binary files a/app/src/main/res/drawable/gradient.png and b/app/src/main/res/drawable/gradient.png differ diff --git a/app/src/main/res/drawable/w1.jpg b/app/src/main/res/drawable/w1.jpg index fdcac28..444847f 100644 Binary files a/app/src/main/res/drawable/w1.jpg and b/app/src/main/res/drawable/w1.jpg differ diff --git a/app/src/main/res/drawable/w2.jpg b/app/src/main/res/drawable/w2.jpg index 46489e5..39039f8 100644 Binary files a/app/src/main/res/drawable/w2.jpg and b/app/src/main/res/drawable/w2.jpg differ diff --git a/app/src/main/res/drawable/w3.jpg b/app/src/main/res/drawable/w3.jpg index e2d92f9..f7b3aff 100644 Binary files a/app/src/main/res/drawable/w3.jpg and b/app/src/main/res/drawable/w3.jpg differ diff --git a/app/src/main/res/drawable/w5.jpg b/app/src/main/res/drawable/w5.jpg index d1d89c2..8d96836 100644 Binary files a/app/src/main/res/drawable/w5.jpg and b/app/src/main/res/drawable/w5.jpg differ diff --git a/app/src/main/res/drawable/woman.png b/app/src/main/res/drawable/woman.png index 4b13489..c6ede6d 100644 Binary files a/app/src/main/res/drawable/woman.png and b/app/src/main/res/drawable/woman.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png index a571e60..024ea63 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 6dba46d..81ac843 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 15ac681..34ae712 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index f25a419..359bfc9 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ