Commit Graph

149 Commits

Author SHA1 Message Date
S1m f4eaba00a5 Lint 2024-01-16 23:45:11 +01:00
S1m f328fcc13f Fix error wrongly shown during SSO connection 2024-01-16 23:27:34 +01:00
S1m 3e83f3d07d Add notification when server app is not installed
And fix showSingle notifications: the shown ref was shared
2024-01-16 23:06:42 +01:00
S1m 25d8cf397e Toast when nextcloud app is not found 2024-01-16 23:04:45 +01:00
S1m b787b0f9b8 Use Enum.entries instead of Enum.values() 2024-01-16 23:04:25 +01:00
S1m 04e76170e9 Add https:// in manual login's url 2024-01-16 20:48:21 +01:00
S1m d6c270c81c Resolve conflict with new Context attribute: deviceId
Rename our context.deviceId to context.npDeviceId
2024-01-16 20:37:15 +01:00
S1m 5a97c8b7e7 Bump dependencies, target SDK 34
Declare service as Special Use, see
https://developer.android.com/about/versions/14/changes/fgs-types-required#special-use
2024-01-16 20:30:21 +01:00
S1m cb96642fd9 Remove unnecessary slash 2024-01-16 20:07:01 +01:00
S1m bb49730c91 Use bigText for in-app notif from channel 2024-01-16 20:01:01 +01:00
S1m db43b1ffea Do not replace in-app notif from channel 2024-01-16 20:00:28 +01:00
S1m 8895a8e482 Show nb of registrations on foreground notif 2024-01-16 19:53:38 +01:00
S1m d2bb7d6df4 Do not start the connection without registration 2024-01-16 14:21:12 +01:00
S1m 8c0d23344c Request ignore battery opt instead of openning settings 2024-01-14 22:43:53 +01:00
MDW 25b08b7820 Fix some spelling 2023-12-04 22:14:38 +01:00
sim 006ecb894c Avoid concurrent (un)registration
With synchronized MutableLists
2023-09-05 21:50:17 +02:00
sim 9d317b68bd Reset hastInternet to its default value when unregistering callback
At logout, the callback is unregistered, and this var must be true to
try to login.
2023-08-31 22:43:30 +02:00
sim fe731eb352 Avoid varname shadowed 2023-08-31 22:43:03 +02:00
sim 17c402e8cd Avoid deprecated functions 2023-08-31 22:42:26 +02:00
sim 600dec2c69 Use non transitive R classes 2023-08-31 22:26:26 +02:00
sim 95270c0e44 Lint 2023-08-31 22:16:26 +02:00
sim 3e7900da61 Avoid false positive warning about server configuration
Use AtomicReference for the startingTimer and check
if the source is the current one
2023-08-31 22:16:26 +02:00
sim 780370494c Fix notification shown attribute 2023-08-31 22:16:26 +02:00
sim 747beb7620 Restart only if the fail comes from current source 2023-08-31 22:16:26 +02:00
sim 5484ff6d59 Fix initial state for internet check 2023-08-31 22:16:26 +02:00
sim 3cb7d9d531 Do not run restartWorker without internet 2023-08-31 22:16:26 +02:00
sim 4cda3d9f8d Remove static wakelock 2023-08-31 22:16:26 +02:00
sim 2ba1d35c66 Use a global companion 2023-08-31 22:16:26 +02:00
sim ded36d2e6e Always use applicationContext for Api 2023-08-31 22:16:26 +02:00
sim d293129df5 Use AtomicRef for syncSource 2023-08-31 22:16:26 +02:00
sim a8abc9d9e5 Use AtomicRef for Db 2023-08-31 22:16:26 +02:00
sim 5a991e99cd Refactor notifications 2023-08-31 22:16:26 +02:00
Conny Duck 731a51e9c4 Simplify content_main layout 2023-08-31 22:16:26 +02:00
sim 43cdaf8cdb Toast when a new app is registered 2023-08-31 22:16:23 +02:00
sim 13153293a4 Move getApplicationName to Utils 2023-08-30 14:39:38 +02:00
sim 49828c9bf1 Always use applicationContext in receiver 2023-08-29 23:12:50 +02:00
sim c6d39fb073 Move WAKE_LOCK_TAG to const val 2023-08-29 23:10:13 +02:00
sim ee8f497644 Use non-nullable ApiResponse in Api 2023-08-29 23:05:41 +02:00
sim aeb39b4c65 Fix NullPointerException with optimization card 2023-06-12 23:26:23 +02:00
Conny Duck 37440947d1 Simplify StartActivity layout 2023-06-12 23:00:06 +02:00
sim 0b66bfb57f Support notification on push 2023-06-05 22:43:08 +02:00
sim 8ca5945030 Fix menu main 2023-05-31 23:17:50 +02:00
sim e1947c9cf5 Fix typo 2023-05-31 22:56:07 +02:00
sim 504b58ecec Delete multiple app in the same time
Show application names in main view
2023-05-31 22:56:07 +02:00
sim ac30bf8aa8 Do not check buffered response on boot 2023-05-31 22:56:07 +02:00
sim 0a7fe27ca1 Count fails since service start 2023-05-31 22:56:07 +02:00
sim adcf14e499 Always cancel eventSource 2023-05-31 22:56:07 +02:00
sim 59ffef6f05 Check buffered response once per service started 2023-04-11 18:38:16 +02:00
sim f8e93077eb Increase timeout to test buffered responses 2023-04-07 13:18:58 +02:00
sim b21b0c51de Cancel startingTimer if exists 2023-04-07 13:18:28 +02:00