Commit Graph

160 Commits

Author SHA1 Message Date
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
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
dependabot[bot]
52e5679144
Bump kotlin_version from 1.8.0 to 1.8.10
Bumps `kotlin_version` from 1.8.0 to 1.8.10.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.0 to 1.8.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.0...v1.8.10)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.0 to 1.8.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.0...v1.8.10)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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