Commit Graph

185 Commits

Author SHA1 Message Date
sim cc22abe17a Precise start error may be because of buffering 2023-03-26 18:29:14 +02:00
sim 6ed937d9b6 Warn when timeout proxy issue 2023-03-26 18:29:13 +02:00
sim 5bdad9ca4c Warn when a low keepalive is used 2023-03-24 09:00:43 +01:00
sim ef14f709f2 Clean NotificationUtils 2023-03-24 08:45:14 +01:00
dependabot[bot] 85483d3410
Bump androidx.work:work-runtime-ktx from 2.8.0 to 2.8.1
Bumps androidx.work:work-runtime-ktx from 2.8.0 to 2.8.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 21:58:56 +00:00
sim bce4244cb0 Do not restart when there is no Internet 2023-03-23 11:58:16 +01:00
sim 1628a4e718 Fix internet access status 2023-03-22 21:31:17 +01:00
sim d4870c39ad Restart only if a connection has succeeded once 2023-03-22 21:20:45 +01:00
sim 254a776244 Avoid useless service restart
Restart service with networkCallback only when Internet
is available again.
2023-03-21 21:52:45 +01:00
sim ec7e27b3a3 Call then() even when api call fails 2023-03-19 18:03:33 +01:00
sim f29a969425 Ignore exception when logging out 2023-03-19 18:01:18 +01:00
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