Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev -> Main #180

Merged
merged 41 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1979c04
add rate our app in readme
git-elliot Apr 9, 2024
45f2f6e
Update issue templates
git-elliot Apr 9, 2024
2748bf4
Merge pull request #169 from osociety/update-readme
git-elliot Apr 9, 2024
de96731
Merge branch 'dev' into issue-template
git-elliot Apr 9, 2024
8fd079c
Merge pull request #170 from osociety/issue-template
git-elliot Apr 9, 2024
a2c43b9
Added adaptive widgets for ios and macos
git-elliot Apr 11, 2024
b603fbc
more fixes
git-elliot Apr 11, 2024
ffffe69
Merge branch 'dev' into adaptive-widgets
git-elliot Apr 11, 2024
52a81f7
added comma
git-elliot Apr 11, 2024
c244a72
Merge pull request #171 from osociety/adaptive-widgets
git-elliot Apr 11, 2024
dced560
Run test before build and restore keys in GHA
git-elliot Apr 11, 2024
462183c
Merge branch 'dev' into restore-keys
git-elliot Apr 11, 2024
b71e7f7
trigger all builds
git-elliot Apr 11, 2024
1dae00d
names updated
git-elliot Apr 11, 2024
19a0ff4
update actions
git-elliot Apr 11, 2024
02eaf20
added needs
git-elliot Apr 11, 2024
9a96700
rectify job
git-elliot Apr 11, 2024
4f451d3
cache flutter zip
git-elliot Apr 11, 2024
8b1b0e5
cache using inbuilt params
git-elliot Apr 11, 2024
ea8509f
remove os for pub cache
git-elliot Apr 11, 2024
3142e52
test cache
git-elliot Apr 11, 2024
77ff0a9
fix pub dep cache
git-elliot Apr 11, 2024
b7020e1
default pub cache key
git-elliot Apr 11, 2024
e89b172
fix yml
git-elliot Apr 11, 2024
3152430
added os
git-elliot Apr 11, 2024
f4fe020
added os
git-elliot Apr 11, 2024
a8622f3
cache pods
git-elliot Apr 11, 2024
be5b44b
remove -
git-elliot Apr 11, 2024
a310674
something
git-elliot Apr 11, 2024
9fcbea0
update path
git-elliot Apr 11, 2024
3c3935e
Merge pull request #172 from osociety/restore-keys
git-elliot Apr 11, 2024
f2ff9ba
fastlane i18n ru
yurtpage Apr 22, 2024
c38f024
Merge pull request #175 from yurtpage/i18n
git-elliot Apr 23, 2024
437d7f4
Update README.md
git-elliot Aug 18, 2024
10db22f
Merge pull request #178 from osociety/git-elliot-patch-1
git-elliot Aug 18, 2024
d3f7d42
Update README.md
git-elliot Aug 18, 2024
fdbc70d
Merge pull request #179 from osociety/git-elliot-patch-1
git-elliot Aug 18, 2024
e232e44
Uploaded to play store 1.0.7
git-elliot Aug 19, 2024
fb68d5f
upadate settings for gradle
git-elliot Aug 19, 2024
dd0b58b
Merge pull request #181 from osociety/upload-to-store
git-elliot Aug 19, 2024
7841e66
Merge branch 'main' into dev
git-elliot Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
169 changes: 99 additions & 70 deletions .github/workflows/flutter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
changes:
name: 'Detect changes'
runs-on: ubuntu-latest
# Required permissions
permissions:
Expand Down Expand Up @@ -45,40 +46,33 @@ jobs:
- '*.yaml'
windows:
- 'windows/**'
android-linux-build:
name: 'Android / Linux Build'

flutter-test:
name: 'Flutter Analyze + Test'
needs: changes
if: ${{ needs.changes.outputs.lib == 'true' || needs.changes.outputs.test == 'true' || needs.changes.outputs.android == 'true' || needs.changes.outputs.linux == 'true' || needs.changes.outputs.yaml == 'true' }}
if: ${{ needs.changes.outputs.lib == 'true' || needs.changes.outputs.test == 'true' || needs.changes.outputs.yaml == 'true' || needs.changes.outputs.android == 'true' || needs.changes.outputs.linux == 'true' || needs.changes.outputs.macos == 'true' || needs.changes.outputs.windows == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: Setup Java JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4.2.1
with:
distribution: temurin
java-version: '17'
- name: Flutter action
uses: subosito/flutter-action@v2.8.0
uses: subosito/flutter-action@v2.16.0
with:
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
pub-cache-key: "flutter-pub-:os:-:channel:-:version:-:arch:-:hash:"
pub-cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Flutter version
run: flutter --version
- name: Cache pubspec dependencies
uses: actions/[email protected]
with:
path: |
${{ env.FLUTTER_HOME }}/.pub-cache
**/.packages
**/.flutter-plugins
**/.flutter-plugin-dependencies
**/.dart_tool/package_config.json
key: build-pubspec-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
build-pubspec-
- name: Cache build runner
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: |
**/.dart_tool
Expand All @@ -87,17 +81,59 @@ jobs:
**/*.config.dart
key: build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
restore-keys: |
build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
build-runner-
- name: Download pub dependencies
run: flutter pub get
- name: Upgrade pub dependencies
run: flutter pub upgrade
- name: Run build_runner
run: flutter pub run build_runner build --delete-conflicting-outputs
run: flutter pub run build_runner build
- name: Run analyzer
run: flutter analyze
- name: Run tests
run: flutter test

android-linux-build:
name: 'Build Android + Linux'
needs: [changes, flutter-test]
if: ${{ needs.changes.outputs.lib == 'true' || needs.changes.outputs.test == 'true' || needs.changes.outputs.android == 'true' || needs.changes.outputs.linux == 'true' || needs.changes.outputs.yaml == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: temurin
java-version: '17'
- name: Flutter action
uses: subosito/[email protected]
with:
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
pub-cache-key: "flutter-pub-:os:-:channel:-:version:-:arch:-:hash:"
pub-cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Cache build runner
uses: actions/[email protected]
with:
path: |
**/.dart_tool
**/*.g.dart
**/*.mocks.dart
**/*.config.dart
key: build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
restore-keys: |
build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
build-runner-
- name: Download pub dependencies
run: flutter pub get
- name: Upgrade pub dependencies
run: flutter pub upgrade
- name: Run build_runner
run: flutter pub run build_runner build
- name: Build Android
if: ${{ needs.changes.outputs.lib == 'true' || needs.changes.outputs.test == 'true' || needs.changes.outputs.android == 'true' || needs.changes.outputs.yaml == 'true' }}
run: |
Expand All @@ -112,36 +148,24 @@ jobs:
run: flutter build linux

macos-build:
name: 'Macos Build'
needs: changes
name: 'Build Macos'
needs: [changes, flutter-test]
if: ${{ needs.changes.outputs.lib == 'true' || needs.changes.outputs.test == 'true' || needs.changes.outputs.macos == 'true' || needs.changes.outputs.yaml == 'true' }}
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3

uses: actions/[email protected]
- name: Flutter action
uses: subosito/flutter-action@v2.8.0
uses: subosito/flutter-action@v2.16.0
with:
channel: stable

- name: Flutter version
run: flutter --version

- name: Cache pubspec dependencies
uses: actions/[email protected]
with:
path: |
${{ env.FLUTTER_HOME }}/.pub-cache
**/.packages
**/.flutter-plugins
**/.flutter-plugin-dependencies
**/.dart_tool/package_config.json
key: build-pubspec-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
build-pubspec-
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
pub-cache-key: "flutter-pub-:os:-:channel:-:version:-:arch:-:hash:"
pub-cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Cache build runner
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: |
**/.dart_tool
Expand All @@ -150,54 +174,59 @@ jobs:
**/*.config.dart
key: build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
restore-keys: |
build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
build-runner-

- name: Cache pods
uses: actions/cache@v3
with:
path: macos/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
${{ runner.os }}-pods-
- name: Download pub dependencies
run: flutter pub get

- name: Upgrade pub dependencies
run: flutter pub upgrade

- name: Run build_runner
run: flutter pub run build_runner build --delete-conflicting-outputs

- name: Run analyzer
run: flutter analyze

- name: Run tests
run: flutter test

run: flutter pub run build_runner build
- name: Build macos
run: flutter build macos

windows-build:
name: 'Windows Build'
needs: changes
name: 'Build Windows'
needs: [changes, flutter-test]
if: ${{ needs.changes.outputs.lib == 'true' || needs.changes.outputs.test == 'true' || needs.changes.outputs.windows == 'true' || needs.changes.outputs.yaml == 'true' }}
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3

uses: actions/[email protected]
- name: Flutter action
uses: subosito/flutter-action@v2.8.0
uses: subosito/flutter-action@v2.16.0
with:
channel: stable

cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
pub-cache-key: "flutter-pub-:os:-:channel:-:version:-:arch:-:hash:"
pub-cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
- name: Cache build runner
uses: actions/[email protected]
with:
path: |
**/.dart_tool
**/*.g.dart
**/*.mocks.dart
**/*.config.dart
key: build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
restore-keys: |
build-runner-${{ hashFiles('**/asset_graph.json', '**/*.dart', '**/pubspec.lock', '**/outputs.json') }}
build-runner-
- name: Download pub dependencies
run: flutter pub get

- name: Upgrade pub dependencies
run: flutter pub upgrade

- name: Run build_runner
run: flutter pub run build_runner build --delete-conflicting-outputs

- name: Run analyzer
run: flutter analyze

- name: Run tests
run: flutter test

run: flutter pub run build_runner build
- name: Build windows
run: flutter build windows
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Note: macOS build hasn't been notarized yet.

Drop mail at [email protected]

## Publishing to F-droid
You can follow this guide to publish your app to f-droid - https://op3nsoc13ty.blogspot.com/2021/06/publish-your-first-flutter-app-to-fdroid.html
## How to Contribute

1. Found bug? Open an [issue](https://github.com/git-elliot/vernet/issues)
Expand All @@ -62,12 +64,15 @@ Drop mail at [email protected]
## Support and Donate

1. Support this project by becoming stargazer of this project.
2. Buy me a coffee.
2. Rate our app on [Playstore](https://play.google.com/store/apps/details?id=org.fsociety.vernet.store)

3. Buy me a coffee.

| Librepay |
|----------|
|[![Librepay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/OpenSociety/donate)

3. Support me on Ko-Fi
4. Support me on Ko-Fi

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/fs0c13ty)

9 changes: 9 additions & 0 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ platform :android do

desc "Deploy a new version to the Google Play"
lane :deploy do
upload_to_play_store(skip_upload_metadata: true,
skip_upload_changelogs: true,
skip_upload_images: true,
skip_upload_screenshots: true,
aab: '../build/app/outputs/bundle/storeRelease/app-store-release.aab')
end

desc "Deploy a new version to the Google Play"
lane :deploy_full do
upload_to_play_store(aab: '../build/app/outputs/bundle/storeRelease/app-store-release.aab')
end
end
8 changes: 8 additions & 0 deletions android/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ Submit a new Beta Build to Crashlytics Beta

Deploy a new version to the Google Play

### android deploy_full

```sh
[bundle exec] fastlane android deploy_full
```

Deploy a new version to the Google Play

----

This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
Expand Down
3 changes: 3 additions & 0 deletions android/fastlane/metadata/android/ru/changelogs/24.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Исправление заставки для всех устройств Android.
Кнопка повторного сканирования добавлена ​​рядом с количеством устройств.
Обновлен значок для игрового магазина.
9 changes: 9 additions & 0 deletions android/fastlane/metadata/android/ru/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Vernet - сетевой анализатор и инструмент мониторинга.

Возможности
1. Показывает детали Wi-Fi
2. Сканирование устройств (или хостов) в сети
3. Сканирование открытых портов конкретного IP
4. Показывает подробности провайдера

Vernet - это проект с открытым исходным кодом размещенный на GitHub https://github.com/git-elliot/vernet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions android/fastlane/metadata/android/ru/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Сканер хостов и портов. Пинг IP или домена.
1 change: 1 addition & 0 deletions android/fastlane/metadata/android/ru/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Vernet - Анализатор Сети
Empty file.
Loading
Loading