Commit Graph

274 Commits

Author SHA1 Message Date
sim 8450a24a91 Inform when the login fails 2023-03-19 17:44:15 +01:00
sim a5b6275e56 Fix crash with wrong URL in direct login 2023-03-19 17:33:40 +01:00
sim fd8bc838ff 1.5.1 2023-03-07 16:02:53 +01:00
dependabot[bot] c7b660c5fa
Bump io.reactivex.rxjava3:rxjava from 3.1.5 to 3.1.6
Bumps [io.reactivex.rxjava3:rxjava](https://github.com/ReactiveX/RxJava) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/ReactiveX/RxJava/releases)
- [Commits](https://github.com/ReactiveX/RxJava/compare/v3.1.5...v3.1.6)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxjava
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 08:54:29 +00:00
sim 72f6b7fc51 Stop nextcloud API after use 2023-03-07 09:51:19 +01:00
sim 901d2b880d Use patched SingleSignOn 2023-03-06 09:43:58 +01:00
sim 773862c7fe Use rxjava3 2023-03-06 09:43:08 +01:00
sim 94b3e4d933 Use class for Api 2023-03-05 16:03:56 +01:00
sim 2f92edc511 Close eventSource 2023-03-05 15:51:23 +01:00
sim 5d64a9b27d Catch NoProviderException 2023-03-05 12:43:50 +01:00
sim f9ca9e80e8 Avoid static SingleSignOnAccount 2023-03-05 12:39:11 +01:00
sim de6cb23556 Prevent restart work without account 2023-03-05 12:37:50 +01:00
sim 0a90885ca3 Delete device before logout 2023-03-05 12:36:46 +01:00
sim 6ce18dfc03 Lint 2023-03-01 01:08:02 +01:00
sim 302a432da0 1.5.0 2023-03-01 00:54:50 +01:00
sim 6995810a7f Merge remote-tracking branch 'origin/dependabot/gradle/com.google.android.material-material-1.8.0' 2023-03-01 00:49:08 +01:00
sim 2b83bb66d4 Merge remote-tracking branch 'origin/dependabot/gradle/androidx.work-work-runtime-ktx-2.8.0' 2023-03-01 00:48:13 +01:00
sim 85858d1daa Merge remote-tracking branch 'origin/dependabot/gradle/androidx.appcompat-appcompat-1.6.1' 2023-03-01 00:47:18 +01:00
sim 369a897255 Add non-SSO login 2023-03-01 00:41:37 +01:00
sim 120f0dea12 Set new login UI 2023-02-26 19:35:22 +01:00
sim 3485a77e95 Remove AccountUtils 2023-02-26 16:38:28 +01:00
sim 4fd0099302 Linkify WEB_URLS only 2023-02-26 16:37:46 +01:00
sim ae555033d2 Safe access to url or IP 0 2023-02-26 16:12:27 +01:00
sim 44dd904e4c Prepare non-SSO account 2023-02-26 15:54:15 +01:00
sim 7ae9bce400 Fix RestartWorker 2023-02-25 19:26:49 +01:00
sim f66320b882 Fix startService after logout/login 2023-02-25 18:47:50 +01:00
sim df3bb9a3c6 Fix RACE to deleteDevice 2023-02-25 18:47:24 +01:00
sim 14601abc88 Stop service at logout 2023-02-25 13:52:06 +01:00
sim c8ae613545 Avoid one wildcard import 2023-02-25 13:48:40 +01:00
sim ef7d50cdbf Lint RestartWorker.clean 2023-02-25 13:47:49 +01:00
sim c9d4e2fd13 Move companions to the end of the classes 2023-02-25 13:45:53 +01:00
sim 2e6672db4f Clean how startService is stopped 2023-02-25 13:38:22 +01:00
sim 842e011b31 Make FailureHandler an object 2023-02-24 19:30:01 +01:00
sim cac671224e Move SSEListener to api package 2023-02-24 19:27:01 +01:00
sim ee48bc16b7 Move network callback to its class 2023-02-24 19:04:48 +01:00
sim 857444415e Fix deleteApp loop 2023-02-24 16:41:14 +01:00
sim 342f701afd Simplify restartService 2023-02-24 16:40:28 +01:00
sim 9db96919bd Reorganize the code
Make it more readable
Prepare non-SSO ApiProvider
2023-02-18 10:18:00 +01:00
dependabot[bot] 3228104034
Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
Bumps androidx.appcompat:appcompat from 1.6.0 to 1.6.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 21:02:47 +00:00
dependabot[bot] ba2ea8c199
Bump androidx.work:work-runtime-ktx from 2.7.1 to 2.8.0
Bumps androidx.work:work-runtime-ktx from 2.7.1 to 2.8.0.

---
updated-dependencies:
- dependency-name: androidx.work:work-runtime-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 21:02:32 +00:00
dependabot[bot] 95fe89465b
Bump material from 1.7.0 to 1.8.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 21:05:30 +00:00
sim 76521cac7f 1.4.3 2023-01-22 19:03:42 +01:00
sim 4897ed89e9 Set different notif channel names 2023-01-22 18:55:27 +01:00
sim dc27687344 Add themed icon for Android 13 2023-01-22 18:44:13 +01:00
sim af023c7b31 Merge remote-tracking branch 'origin/dependabot/gradle/com.google.android.material-material-1.7.0' 2023-01-22 18:36:20 +01:00
dependabot[bot] 28bebb771e
Bump appcompat from 1.5.1 to 1.6.0
Bumps appcompat from 1.5.1 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 21:05:42 +00:00
dependabot[bot] e5442e5c25
Bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 21:48:10 +00:00
sim 45c41e8e2a 1.4.2: Fix crash 2022-10-05 20:51:03 +02:00
sim ac67201dd9 1.4.1 2022-10-02 17:09:15 +02:00
sim f296cb7361 Restart service when POST_NOTIFICATIONS is granted 2022-10-02 17:05:36 +02:00
sim e3ff269a1f Reduce release build size 2022-10-02 16:32:50 +02:00
sim 2495c78bce Avoid a null pointer exception 2022-10-02 16:09:58 +02:00
sim 08ac9e38bf 1.4.0 2022-09-21 09:02:33 +02:00
sim d844cafa2c Use ifBlank 2022-09-20 01:42:13 +02:00
sim 17ba764518 Remove tokens from logs 2022-09-20 01:38:56 +02:00
sim fed27ca4fc Avoid !! operator 2022-09-20 01:32:17 +02:00
sim e77b1188da Add request for PUSH_NOTIFICATIONS 2022-09-20 01:06:46 +02:00
sim 9744857341 Bump dependencies and target SDK 33 2022-09-20 00:26:28 +02:00
sim 079c647164 Rename FailureHandler.newEvent to newEventSource 2022-09-14 00:14:49 +02:00
sim 074e00ce0f 1.3.3 2022-09-14 00:12:56 +02:00
sim 9f55693c40 Use a handler for failures 2022-09-14 00:10:50 +02:00
sim 1a5a5f6d58 1.3.2 2022-06-10 09:34:37 +02:00
sim 9590664b60 Merge remote-tracking branch 'origin/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.4' 2022-06-10 09:33:10 +02:00
sim 758d831962 Fix Restart worker when ping is missing 2022-06-10 09:32:16 +02:00
sim 43fca82597 Allow clear text connections for debug flavor 2022-06-07 23:59:29 +02:00
dependabot[bot] 65e32f9ec3
Bump constraintlayout from 2.1.3 to 2.1.4
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 21:28:42 +00:00
sim 04e7d175f6 1.3.1 2022-05-10 08:23:17 +02:00
sim 530e55f5f2 Fix network callback for restarted service 2022-05-10 08:22:01 +02:00
sim 667c6e989f 1.3.0 2022-03-15 21:38:33 +01:00
sim cfa987c0b5 Use saved keepalive
And fix restart worker
2022-03-15 21:31:22 +01:00
sim aa025da6b8 1.2.1 2022-02-28 23:00:49 +01:00
sim 4e45108fa8 Fix restarting worker 2022-02-28 22:59:51 +01:00
sim d6ef8adea5 1.2.0 2022-02-23 08:40:25 +01:00
sim fb84ec151a Increase wakelock timeout on SSE event 2022-02-22 22:43:43 +01:00
sim 68dc14a95a Use Single Periodic worker to restart 2022-02-22 22:34:10 +01:00
sim 062706f3ae Merge remote-tracking branch 'origin/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.3' into 2.0.0 2022-02-19 16:34:13 +01:00
sim f98118dc6e Merge remote-tracking branch 'origin/dependabot/gradle/com.google.code.gson-gson-2.9.0' into 2.0.0 2022-02-19 16:34:06 +01:00
sim 68861956d4 Lint 2022-02-19 16:19:08 +01:00
sim bfeed9662c Implement FEATURE_BYTES_MESSAGE 2022-02-19 15:54:48 +01:00
dependabot[bot] acf31146a0
Bump gson from 2.8.9 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.9.0)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 21:27:51 +00:00
sim d6384c5d82 1.1.1 2022-01-17 21:55:48 +01:00
sim 702ce9864c Fix service manually restarting
And unregister NetworkCallback
2022-01-17 21:49:57 +01:00
sim 52a956464a Restart service on network capabilities changed 2022-01-17 20:58:47 +01:00
sim 31cf3fb21a Improve service restarting
And fixes a memory leak
2022-01-17 20:56:40 +01:00
sim aee6c597f3 Optimize registration flow 2022-01-17 20:53:14 +01:00
sim e37828b9ee 1.1.0 2022-01-16 22:28:03 +01:00
sim c678162e58 Set 10sec timeout for acquired wakeLock 2022-01-16 22:28:03 +01:00
sim 8db0e41628 Add wakeLock for the registration Receiver 2022-01-16 22:28:03 +01:00
sim 1ab3eaa83a Add RegistrationFailed
if the connector token is used by another app
if nextpush is not connected
2022-01-16 22:28:03 +01:00
sim f42589dd9c Improve Wake Lock 2022-01-16 22:28:03 +01:00
sim e8ce207517 Change notification wording 2022-01-16 22:24:45 +01:00
dependabot[bot] 2df41147dd
Bump constraintlayout from 2.1.2 to 2.1.3
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/compare/2.1.2...2.1.3)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 21:36:44 +00:00
S1m be0ffcd858 1.0.1 2021-12-07 23:57:38 +01:00
S1m 9811bf5a46 Fix popup overlay night theme 2021-12-07 23:48:26 +01:00
S1m 4da9eacc33 1.0.0 2021-12-07 23:20:05 +01:00
S1m 69dab70d5a Lint type parameter name 2021-12-07 23:15:51 +01:00
S1m c23b8d45fc Merge remote-tracking branch 'origin/dependabot/gradle/com.squareup.okhttp3-okhttp-bom-4.9.3' 2021-12-07 23:01:44 +01:00
S1m 0c44f3f483 Open market app if Nextcloud App isn't installed 2021-12-07 23:00:33 +01:00
S1m 26531567e1 Increase wait time with failures 2021-12-07 07:58:18 +01:00
S1m 3891936e85 0.1.3 2021-12-01 01:08:06 +01:00
S1m bbadea2ffe Retry every 10min on failure 2021-12-01 01:05:05 +01:00
S1m 830d612095 Do not re-notify warning 2021-12-01 00:54:20 +01:00
S1m 24dd9caeac Register only one network callback 2021-12-01 00:48:45 +01:00
S1m b11435726a 0.1.2 2021-11-26 17:47:33 +01:00
S1m 922ace407f Fix createQueue when app already registered 2021-11-26 03:22:52 +01:00
S1m 88030808a5 0.1.1 2021-11-26 03:07:53 +01:00
S1m 1aa727b6ef Fix restart service function
by cancelling the source with apiDestroy
2021-11-26 03:05:02 +01:00
S1m e6002a04b8 Fix SSEListener onFailure 2021-11-26 02:56:32 +01:00
S1m 3287e8111a 0.1.0 2021-11-26 01:34:42 +01:00
S1m 309e4c629a Fix signature 2021-11-26 00:57:34 +01:00
dependabot[bot] 5bdb051e15
Bump okhttp-bom from 4.9.1 to 4.9.3
Bumps [okhttp-bom](https://github.com/square/okhttp) from 4.9.1 to 4.9.3.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.1...parent-4.9.3)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 21:18:46 +00:00
S1m 630b207cc2 Clean dependencies 2021-11-24 22:17:36 +01:00
S1m aa25b80866 Make notifications non removable 2021-11-24 20:11:26 +01:00
S1m 989fabdd33 Restart once SSEListener on Failure 2021-11-24 20:06:49 +01:00
S1m c0022ddd09 Move ApiUtils functions outside a class 2021-11-24 20:06:14 +01:00
S1m 4d39c5b2fd Add Network Callback 2021-11-24 01:16:24 +01:00
S1m 85b838acfd Add deleteApp SSE event 2021-11-24 01:10:50 +01:00
S1m 85ed92357f Fix concurrent (un)registration
Using registerQueue and delQueue, lists of connectorTokens
2021-11-24 00:04:57 +01:00
S1m 77f7901024 Add warning notification when disconnected 2021-11-23 10:02:31 +01:00
S1m 391382dd51 Add getDb and clean db when remove device 2021-11-23 08:23:46 +01:00
S1m 4cc86f6d21 Remove SettingsActivity 2021-11-23 08:19:16 +01:00
S1m 82095e1284 Add message forwarding 2021-11-23 01:41:05 +01:00
S1m 0ed93a9228 Add (un)registration features 2021-11-23 01:05:36 +01:00
S1m 993ffaf8f9 Init
Working SSE
2021-11-22 19:20:31 +01:00