-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from osociety/dev
Dev -> Main
- Loading branch information
Showing
41 changed files
with
554 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## What's Changed | ||
* Added rate our app in readme by @git-elliot in https://github.com/osociety/vernet/pull/169 | ||
* Update issue templates by @git-elliot in https://github.com/osociety/vernet/pull/170 | ||
* Added adaptive widgets for ios and macos by @git-elliot in https://github.com/osociety/vernet/pull/171 | ||
* Run test before build and restore keys in GHA by @git-elliot in https://github.com/osociety/vernet/pull/172 | ||
* fastlane i18n ru by @yurtpage in https://github.com/osociety/vernet/pull/175 | ||
* Add link to blog for f-droid publishing guide. by @git-elliot in https://github.com/osociety/vernet/pull/178 | ||
* Update README.md by @git-elliot in https://github.com/osociety/vernet/pull/179 | ||
* Uploaded to play store 1.0.7 by @git-elliot in https://github.com/osociety/vernet/pull/181 | ||
* Dev -> Main by @git-elliot in https://github.com/osociety/vernet/pull/180 | ||
|
||
## New Contributors | ||
* @yurtpage made their first contribution in https://github.com/osociety/vernet/pull/175 | ||
|
||
**Full Changelog**: https://github.com/osociety/vernet/compare/v1.0.6+24...v1.0.7+25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Added option in settings to run scan at app startup/launch | ||
Upgraded to latest Android SDK. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
org.gradle.jvmargs=-Xmx1536M | ||
## For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
# | ||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
# Default value: -Xmx1024m -XX:MaxPermSize=256m | ||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | ||
# | ||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. For more details, visit | ||
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects | ||
# org.gradle.parallel=true | ||
#Tue Aug 20 07:29:49 IST 2024 | ||
android.enableJetifier=false | ||
android.nonFinalResIds=false | ||
android.nonTransitiveRClass=true | ||
android.useAndroidX=true | ||
android.enableJetifier=true | ||
android.defaults.buildfeatures.buildconfig=true | ||
android.nonTransitiveRClass=false | ||
android.nonFinalResIds=false | ||
org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g | ||
# org.gradle.configuration-cache=true | ||
# org.gradle.configuration-cache.problems=warn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import 'dart:io'; | ||
|
||
import 'package:flutter/material.dart'; | ||
import 'package:isar/isar.dart'; | ||
|
||
part 'device.g.dart'; | ||
|
||
@collection | ||
class Device { | ||
Device({ | ||
required this.internetAddress, | ||
required this.hostMake, | ||
required this.currentDeviceIp, | ||
required this.gatewayIp, | ||
required this.scanId, | ||
this.mdnsDomainName, | ||
this.macAddress, | ||
}); | ||
final Id id = Isar.autoIncrement; | ||
@Index(type: IndexType.value) | ||
final int scanId; | ||
@Index(type: IndexType.value) | ||
final String internetAddress; | ||
final String currentDeviceIp; | ||
final String gatewayIp; | ||
final String? macAddress; | ||
final String? hostMake; | ||
final String? mdnsDomainName; | ||
|
||
@override | ||
bool operator ==(Object other) => | ||
identical(this, other) || | ||
other is Device && | ||
runtimeType == other.runtimeType && | ||
internetAddress == other.internetAddress; | ||
|
||
@override | ||
int get hashCode => internetAddress.hashCode; | ||
|
||
@ignore | ||
String? get deviceMake { | ||
if (currentDeviceIp == internetAddress) { | ||
return 'This device'; | ||
} else if (gatewayIp == internetAddress) { | ||
return 'Router/Gateway'; | ||
} else if (mdnsDomainName != null) { | ||
return mdnsDomainName; | ||
} | ||
return hostMake; | ||
} | ||
|
||
@ignore | ||
IconData get iconData { | ||
if (internetAddress == currentDeviceIp) { | ||
if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) { | ||
return Icons.computer; | ||
} | ||
return Icons.smartphone; | ||
} else if (internetAddress == gatewayIp) { | ||
return Icons.router; | ||
} | ||
return Icons.devices; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import 'package:isar/isar.dart'; | ||
part 'scan.g.dart'; | ||
|
||
@collection | ||
class Scan { | ||
Scan({ | ||
required this.gatewayIp, | ||
this.startTime, | ||
this.endTime, | ||
this.onGoing, | ||
}); | ||
Id id = Isar.autoIncrement; | ||
@Index(type: IndexType.value) | ||
final String gatewayIp; | ||
bool? onGoing; | ||
DateTime? startTime; | ||
DateTime? endTime; | ||
} |
Oops, something went wrong.