Commit Graph

56 Commits

Author SHA1 Message Date
Ian VanSchooten 7875edddf5 Restore _getString helper 2024-09-20 12:56:36 -04:00
Ian VanSchooten 8d40bd70d7 Default text field enabled to true 2024-09-20 12:54:28 -04:00
Ian VanSchooten 51fe0a5d41 Replace deprecated flutter package_info dep
https://pub.dev/documentation/package_info/latest/ lists package_info_plus
as its replacement
2024-09-10 10:27:08 -04:00
Ian VanSchooten 78a2ca8ea7 Replace deprecated `onPopInvoked` with `onPopInvokedWithResult`
https://docs.flutter.dev/release/breaking-changes/popscope-with-result
2024-09-03 11:32:59 -04:00
Ian VanSchooten 7d11658662 Wrap PlatformProvider in MaterialApp and Scaffold
Some material elements, like AdaptiveSwitch, won't work in iOS without it.
2024-09-03 11:01:43 -04:00
Ian VanSchooten afd655f86d Support predictive back
https://docs.flutter.dev/release/breaking-changes/android-predictive-back#migrating-a-back-confirmation-dialog
2024-08-29 10:21:51 -04:00
Ian VanSchooten 4eea96e73f Disable material 13 for now 2024-08-29 08:21:31 -04:00
Ian VanSchooten 8e5deb94e8 Handle nullable vs nonnullable mismatch 2024-08-29 08:21:20 -04:00
Ian VanSchooten 0e329ff92b Remove unused method 2024-08-28 15:28:28 -04:00
Ian VanSchooten 98a0818db2 Avoid deprecated window property 2024-08-28 15:28:17 -04:00
Ian VanSchooten cec7351f82 Replace deprecated theme properties 2024-08-28 15:08:00 -04:00
Ian VanSchooten 097199c4f1 Replace deprecated canLaunch and launch 2024-08-28 14:59:32 -04:00
Ian VanSchooten 428ecbdc3d Remove dead/unused code 2024-08-28 14:59:18 -04:00
Ian VanSchooten 35fbf86c8c Format code 2024-08-28 14:46:03 -04:00
Ian VanSchooten b598aa338f Flutter: remove deprecated / removed theme definitions
https://docs.flutter.dev/release/breaking-changes/theme-data-accent-properties#migration-guide
https://docs.flutter.dev/release/breaking-changes/3-10-deprecations#themedata-primarycolorbrightness
2024-08-28 14:45:00 -04:00
John Maguire c64577f42e
Remove cachedPackets from HostInfo (#145) 2023-12-07 15:11:50 -05:00
John Maguire ec1af2974a
Fix encryption errors after restoring to a new phone (#143)
When a user restores to a new phone, their TPM will no longer be able to
decrypt the encrypted credentials.

We have code already in place to delete "invalid" sites, which cleans
these up by removing them.

However, when trying to save a new site, Android continues to try to use
the old keys which are no longer decryptable. So, when saving new
encrypted files, simply reset the crypto keys if we are unable to
encrypt.
2023-12-01 15:26:21 -05:00
John Maguire fbd2759d4f
Replace 'DN' with 'Managed Nebula' (#139) 2023-10-05 14:41:40 -04:00
John Maguire 693c7b6346
Hide CA expiration errors on managed sites (#128) 2023-05-17 12:10:11 -04:00
John Maguire f7a7093879
Fix share button on iPad (#124) 2023-05-15 16:12:24 -04:00
John Maguire 5cc41f1129
Allow IP address entry on non-US locales (#114) 2023-05-10 16:43:27 -04:00
John Maguire b36914ef17
Update link to privacy policy (closes #108) (#115) 2023-04-14 11:14:06 -04:00
John Maguire a5139c4335
Hide QR code scanner on devices without cameras (#101) 2022-11-22 16:50:11 -05:00
Nate Brown 6b1bbf7352 Add a defined.net indicator on manual enroll 2022-11-22 10:27:19 -06:00
Nate Brown 8fc3a40467
Add a manual enrollment flow to support chromeos (#99) 2022-11-22 10:12:38 -06:00
Nate Brown bb457c7c83
Sometimes the list of remotes can be null (#96) 2022-11-21 13:31:58 -06:00
John Maguire 974c7a4eed
Refresh Sites when a site is saved (closes #89) (#93)
* Refresh Sites when a site is saved (closes #89)

* Update with iOS side fix
2022-11-18 16:03:52 -05:00
Nate Brown 6108bf801b
Ignore a nil message, nebula hasn't booted yet (#90) 2022-11-18 13:37:15 -06:00
John Maguire 37758d4a01
Request VPN permissions on site start (#92)
Previously VPN permissions were requested when the UI was loaded. If the
user denied the permissions it would have to be force stopped and
reopened to get another permission request grant.

Additionally, when requesting VPN permissions Android will kill any
other running VPN service. This avoids that behavior unless a site is
explicitly started.

Also disables the app from showing up in the "Always On" settings.
2022-11-18 14:34:45 -05:00
John Maguire a5684e1978
Fix share on Android by moving to flutter share lib (#87)
Co-authored-by: Nate Brown <nbrown.us@gmail.com>
2022-11-17 15:46:06 -06:00
John Maguire c7a53c3905
Support DN host enrollment (#86)
Co-authored-by: Nate Brown <nbrown.us@gmail.com>
2022-11-17 16:43:16 -05:00
Nate Brown dbe67c2f81
Upgrade to flutter 3 (#70)
Co-authored-by: John Maguire <contact@johnmaguire.me>
2022-09-21 15:27:35 -05:00
Nate Brown e3780bda1e
Show a message on android if permissions were denied (#65) 2022-08-05 16:42:31 -05:00
Nate Brown 958b15d711
Allow import of private key, make it so key material isn't removed when navigating off the add a cert page (#64) 2022-08-05 16:42:17 -05:00
Nate Brown d37bdd9032
Cleanup (#58) 2022-07-27 11:38:02 -05:00
Nate Brown 64b056618c
Remove special keyboard handling for text inputs (#57) 2022-01-20 10:35:39 -06:00
Nate Brown 2831c84b57
SelectableText field now supports keyboard actions natively (#56) 2022-01-19 13:29:30 -06:00
John Maguire fec77613bf
Update for Flutter 2.8.0 (#54) 2022-01-18 11:58:26 -05:00
Nate Brown 93b106fd88
Add a changelog (#43) 2021-06-08 14:41:15 -05:00
Nate Brown 9934f226e3
Ran flutter format -l 120 --suppress-analytics lib (#38) 2021-05-03 16:58:04 -05:00
Nate Brown 0bb2a30829
Support replacing certs (#33) 2021-05-03 15:16:00 -05:00
Nate Brown a7c32f5bd4
Kotlin active site race on boot fix (#29) 2021-04-29 10:17:43 -05:00
Nathan Brown 4c28cc196e
Rework ios ipc (#28) 2021-04-27 10:29:28 -05:00
Nathan Brown 1283ce30e9
IPV6 support (#24) 2021-04-23 16:23:06 -05:00
Nathan Brown a5ca3f86af
Upgrade to flutter 2 (#26) 2021-04-23 12:33:28 -05:00
micha3lbrown e844e2c195
Add logWrap to global settings
`logWrap` is a configuration that allows for users to decide if when
viewing logs the lines should extend off screen allowing for scroll
behavior or if they should wrap at screen edge.

We also considered allowing users to toggle this setting at the Site
level but decided that since users would likely want this setting to
apply to all sites, we hoisted the configuration.

Advances #3
2021-02-05 10:09:56 -05:00
Michael Brown cd6a3d2ad9
Adjust sourcing of env.sh w/ relative path 2020-12-08 11:06:52 -05:00
Nate Brown eb6ac79eed Wrap SelectableText with keyboard shortcuts to help chromeos 2020-08-31 18:32:40 -05:00
Nate Brown d9f4b8b56d Default hostmaps to [] 2020-08-31 16:59:38 -05:00
Nate Brown 646550575d Fix share on ipad, improve share file names 2020-08-17 19:12:28 -05:00