Commit Graph

272 Commits

Author SHA1 Message Date
sim cd25fdc3cb Improve buffered response detection 2023-03-26 22:55:28 +02:00
sim d1061df181 Fix notifications' id 2023-03-26 22:55:28 +02:00
sim bea744db18 Use static var to track SSE status 2023-03-26 22:55:28 +02:00
sim 881e442ac6 Add debug dialog 2023-03-26 22:55:27 +02:00
sim 09e79a7c3a Ask user to disable battery optimisation
on the main activity if needed
2023-03-26 18:29:14 +02:00
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
dependabot[bot] 2d6454bbf7
Bump org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1
Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle:ktlint-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 22:02:18 +00: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 2a796f43c6 Merge remote-tracking branch 'origin/dependabot/gradle/kotlin_version-1.8.10' 2023-03-01 00:48:28 +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 14771f3acb Merge remote-tracking branch 'origin/dependabot/gradle/com.android.tools.build-gradle-7.4.2' 2023-03-01 00:47:09 +01:00
sim 270ba93a8c Update descriptions and screenshots 2023-03-01 00:45:09 +01:00
sim 369a897255 Add non-SSO login 2023-03-01 00:41:37 +01:00
dependabot[bot] 8956f1e1ba
Bump com.android.tools.build:gradle from 7.4.0 to 7.4.2
Bumps com.android.tools.build:gradle from 7.4.0 to 7.4.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 21:24:24 +00: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