Commit graph

2266 commits

Author SHA1 Message Date
Stefan Niedermann
eae70001d1 Fix #1276 Checkboxes using an uppercase X can not be toggled
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-23 10:09:57 +02:00
dependabot[bot]
110d841336 Bump mockito-core from 3.11.1 to 3.11.2
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.1...v3.11.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 16:38:40 +02:00
Nextcloud bot
0b10d98cba [tx-robot] updated from transifex 2021-06-17 17:35:50 +02:00
Stefan Niedermann
35605e4a0a Minor code improvements
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-17 16:30:59 +02:00
Stefan Niedermann
f95175e8fa Merge branch 'keyboardReopen' of https://github.com/Drhaal/nextcloud-notes into Drhaal-keyboardReopen 2021-06-17 16:20:21 +02:00
dependabot[bot]
bb92c9aeda Bump fragment from 1.3.4 to 1.3.5
Bumps fragment from 1.3.4 to 1.3.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 15:22:02 +02:00
ScottieKim
0857c2e713 Update: Back button error #1266 solved 2021-06-17 15:06:20 +02:00
ScottieKim
77ddc77df5 Update: subcategory enhancement #1154 solved 2021-06-17 21:46:41 +09:00
Stefan Niedermann
2a2ed1839b version bump to 3.4.10
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-15 12:10:03 +02:00
Stefan Niedermann
27b3438925 Merge remote-tracking branch 'origin/master' 2021-06-15 12:08:20 +02:00
Stefan Niedermann
b06c109afb #1256 Provide backup and repair steps
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-15 12:08:15 +02:00
dependabot[bot]
806914bb16 Bump mockito-core from 3.11.0 to 3.11.1
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 10:14:24 +02:00
Stefan Niedermann
fc598b84c9 Remove unused import
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 11:52:59 +02:00
Stefan Niedermann
db3513961c Apply ToggleTaskListSpan only for areas without ClickableSpan
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 11:38:43 +02:00
Stefan Niedermann
afee96970d Merge branch 'open-trashbin-in-files-app' 2021-06-11 13:43:49 +02:00
Stefan Niedermann
6515ae4847 version bump to v3.4.9
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-11 13:08:07 +02:00
Nextcloud bot
1991fd416b [tx-robot] updated from transifex 2021-06-11 13:07:50 +02:00
Stefan Niedermann
0ed4dd2a90 Add more verbose log output in case of a NextcloudFilesAppAccountNotFoundException (#1256)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-11 13:07:29 +02:00
Stefan Niedermann
a747c5d045 Ensure that the BaseNoteFragment view has been created before loading and applying the notes content.
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-11 11:54:52 +02:00
Stefan Niedermann
dad6836f73 Use ExecutorServices for running threaded tasks
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-11 11:05:17 +02:00
drhaal
7a59c808a3 check for nulls + use proper keyboard detection on API 30+ 2021-06-10 20:47:07 +02:00
drhaal
988ce872cc reformat code 2021-06-08 21:58:08 +02:00
drhaal
2405959324 remove unused imports 2021-06-08 21:52:07 +02:00
drhaal
d68f2dfef2 refactoring 2021-06-08 21:45:32 +02:00
drhaal
47d5d577fd refactoring 2021-06-08 21:36:47 +02:00
drhaal
2116456067 key keyboard open on app switching to background 2021-06-08 21:33:56 +02:00
drhaal
746ced2557 prototype of keyboard state 2021-06-08 20:24:58 +02:00
Stefan Niedermann
a2bbff4f02 version bump to v3.4.8
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-07 15:26:18 +02:00
Nextcloud bot
c6a54e482b [tx-robot] updated from transifex 2021-06-07 15:25:11 +02:00
Stefan Niedermann
40ffcc5474 bump nextcloud-commons
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-06 15:02:57 +02:00
Stefan Niedermann
fb69ca4301 version bump to v3.4.7
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-05 17:57:34 +02:00
Stefan Niedermann
c0d540e262 version bump to v3.4.6
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-05 13:25:53 +02:00
Nextcloud bot
8c5824850a [tx-robot] updated from transifex 2021-06-05 13:23:15 +02:00
dependabot[bot]
51a920fbf9 Bump mockito-core from 3.10.0 to 3.11.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 10:01:53 +02:00
dependabot[bot]
8cd3592130 Bump recyclerview from 1.2.0 to 1.2.1
Bumps recyclerview from 1.2.0 to 1.2.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 10:16:09 +02:00
Stefan Niedermann
b3afddeaaa Fix min version for files app to support trashbin
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-02 15:01:50 +02:00
Stefan Niedermann
d46b2735d3 Merge remote-tracking branch 'origin/master' 2021-06-01 10:31:35 +02:00
Stefan Niedermann
0082f905cb version bump to v3.4.5
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-01 10:31:32 +02:00
Nextcloud bot
793ee18662 [tx-robot] updated from transifex 2021-06-01 10:30:27 +02:00
Stefan Niedermann
07663224f1 #1243 Remove content of notes and search terms from LogCat
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-01 10:20:13 +02:00
Niedermann IT-Dienstleistungen
2534aefb77
Remove robolectric config (#1242)
This is no longer necessary:

```java
@config(sdk = [Build.VERSION_CODES.P])
```
2021-05-31 11:33:33 +02:00
Stefan Niedermann
134c99c16c Bump nextcloud-commons to 1.3.2
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-30 18:52:31 +02:00
Stefan Niedermann
b0c657a0a2 Bump nextcloud-commons to 1.3.1
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-30 18:41:52 +02:00
Stefan Niedermann
5c87048074 Move instrumented tests to robolectric unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-30 15:23:07 +02:00
Stefan Niedermann
cf8d416d56 Use constants from SSO
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-27 14:52:30 +02:00
Stefan Niedermann
323e08f1d8 Temporary set minVersionCode to 0 for testability 2021-05-27 14:51:51 +02:00
Stefan Niedermann
1bb17c5491 Use Intent.EXTRA_USER instead of custom String key to transmit account name 2021-05-27 14:51:51 +02:00
Stefan Niedermann
c88e9cb2bf Open trashbin in files app
With fallback to legacy launch in browser
2021-05-27 14:51:51 +02:00
Stefan Niedermann
06484418b0 Clean up build.gradle files
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-25 15:13:15 +02:00
dependabot[bot]
8cc478faa5 Bump gson from 2.8.6 to 2.8.7
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.7.
- [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.6...gson-parent-2.8.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 09:23:28 +02:00
Stefan Niedermann
115a3c030f Extract logic to clear Glide cache into CustomAppGlideModule
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-24 17:20:10 +02:00
Stefan Niedermann
0a5cf6b411 version bump to v3.4.4
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-24 16:35:50 +02:00
Niedermann IT-Dienstleistungen
2a542dbd95
Fix moving note to another account (#1235)
- Moving from within a note using the 3-dots-menu did not work at all because no account was passed to the chooser
- Moving a note does no longer require to re-read the full content. This is already done by `MainViewModel`. The method expects the full note to be passed
2021-05-24 16:16:20 +02:00
Nextcloud bot
695dbf280d [tx-robot] updated from transifex 2021-05-24 15:31:54 +02:00
Stefan Niedermann
15598e07db Merge remote-tracking branch 'origin/master' 2021-05-20 10:36:00 +02:00
Stefan Niedermann
58b2918568 - 🎨 Fix theming issue when theming app is disabled on the server
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-20 10:35:57 +02:00
Valdnet
59bdd6679c l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-20 09:39:37 +02:00
Stefan Niedermann
07534d7bc6 Add unit test for GridItemDecoration
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-19 13:50:03 +02:00
Stefan Niedermann
8ac8fe6249 Minor clean up
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-19 12:47:06 +02:00
Stefan Niedermann
98d60e90b7 Merge remote-tracking branch 'origin/master' 2021-05-19 09:43:09 +02:00
Stefan Niedermann
6c8ea328fd Fix a few lint warnings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-19 09:43:06 +02:00
dependabot[bot]
c744f9d824 Bump fragment from 1.3.3 to 1.3.4
Bumps fragment from 1.3.3 to 1.3.4.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 09:37:43 +02:00
Stefan Niedermann
3a2516d53c Fix a few a11y issues
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-19 09:09:33 +02:00
dependabot[bot]
a967b486e0 Bump appcompat from 1.2.0 to 1.3.0
Bumps appcompat from 1.2.0 to 1.3.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 08:57:34 +02:00
Nextcloud bot
0589fd5cdf [tx-robot] updated from transifex 2021-05-18 15:33:59 +02:00
Stefan Niedermann
601aef6878 Catch possible NPEs and reduce warnings 2021-05-18 15:29:34 +02:00
Stefan Niedermann
0b84a25c24 Harden ApiProvider for concurrent modifications and add unit tests 2021-05-18 14:28:44 +02:00
Stefan Niedermann
6b3bcdfb57 Remove need for synchronized access to ApiProvider instance 2021-05-18 10:04:31 +02:00
Stefan Niedermann
48caba2b8a Adjust test style 2021-05-18 09:46:02 +02:00
Stefan Niedermann
30e38d5741 Cover exception cases in CapabilitiesClientTest 2021-05-17 19:14:16 +02:00
Stefan Niedermann
140afac576 Add Unit test for fetching DisplayName 2021-05-17 19:14:16 +02:00
Stefan Niedermann
af99117c75 Add Unit test for fetching Capabilities 2021-05-17 19:14:16 +02:00
Stefan Niedermann
5fda7fb408 Reduce diff with master 2021-05-17 19:14:16 +02:00
Stefan Niedermann
25250701c6 Enhance testability by using Singleton pattern for ApiProvider 2021-05-17 19:14:16 +02:00
Stefan Niedermann
fbaf93865d Merge remote-tracking branch 'origin/master' 2021-05-17 09:39:06 +02:00
Nextcloud bot
6b3473ec7d [tx-robot] updated from transifex 2021-05-16 21:52:48 +02:00
Stefan Niedermann
c3c041d91b Do not explicitly request ApplicationContext because we already do it in the constructor 2021-05-16 14:16:13 +02:00
Stefan Niedermann
5e8bcb0007 Adds Unit test for syncStatus and errors LiveData in NotesRepository 2021-05-16 13:52:35 +02:00
Stefan Niedermann
8790eeea91 Adds Unit test for deleting an Account 2021-05-16 12:49:07 +02:00
Stefan Niedermann
17296f0446 version bump to 3.4.3 2021-05-14 17:09:50 +02:00
Stefan Niedermann
e2e5c19523 Fix mocks 2021-05-14 17:03:47 +02:00
Stefan Niedermann
ee615512a3 Remove unused variable 2021-05-14 13:40:37 +02:00
Stefan Niedermann
d8dd5483bb Remove unused imports 2021-05-14 13:37:24 +02:00
Stefan Niedermann
586baa0586 Merge remote-tracking branch 'origin/master' 2021-05-14 13:35:10 +02:00
Stefan Niedermann
8d73aaaf51 Fix #1215 Menu text color in dark mode 2021-05-14 13:35:04 +02:00
dependabot[bot]
f0de338aa5 Bump mockito-core from 3.9.0 to 3.10.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 10:04:44 +02:00
Stefan Niedermann
c07b771743 Add unit test for NotesRepository#getInstance() 2021-05-12 18:15:09 +02:00
Stefan Niedermann
3bf57cd285 Fix #1205 Also remove markdown from title when the note only has one line
Includes a few more unit tests for this method
2021-05-12 15:24:07 +02:00
Stefan Niedermann
6d0e9bc310 Throw exception when instantiating an util class 2021-05-12 12:00:36 +02:00
Stefan Niedermann
e544a0a416 Add test case for sanitizing an ApiVersion string 2021-05-12 11:57:48 +02:00
Stefan Niedermann
b3d8a6cf22 Add test case for unparsable ApiVersion 2021-05-12 11:54:53 +02:00
Stefan Niedermann
5cc85446e8 Rename and move CapabilitiesDeserializerTest 2021-05-12 10:58:43 +02:00
Stefan Niedermann
12652c1203 Add Unit test for displayName 2021-05-12 10:58:43 +02:00
Stefan Niedermann
d105f8c7b9 Add Unit test for NotesServerSyncTask 2021-05-12 10:58:43 +02:00
Stefan Niedermann
6fd4fa5796 Sanitize API versions while migrating the database 2021-05-12 10:58:43 +02:00
Stefan Niedermann
3ddfde9a54 Sanitize API versions while migrating the database 2021-05-12 10:58:43 +02:00
Stefan Niedermann
59c99f7de4 Enhance handling, parsing, sanitizing and serialization of supported ApiVersions 2021-05-12 10:58:43 +02:00
Stefan Niedermann
bf668410a5 Ensure to invalidate APIs in case of a NextcloudApiNotRespondingException 2021-05-12 10:58:43 +02:00
Stefan Niedermann
757d7272ca #1079 Do not refresh displayName on Pull 2 Refresh 2021-05-12 10:58:43 +02:00
Stefan Niedermann
d1ebf6cf89 #1079 Database migration 2021-05-12 10:58:43 +02:00
Stefan Niedermann
30e839de9d #1079 Database migration 2021-05-12 10:58:43 +02:00
Stefan Niedermann
02cb22dc1d #1079 Reuse OcsResponse wrapper also for Capabilities 2021-05-12 10:58:43 +02:00
Stefan Niedermann
ccc812dc6e #1079 Show DisplayName instead of uid attribute for LDAP users 2021-05-12 10:58:43 +02:00
Nextcloud bot
c624d295b9 [tx-robot] updated from transifex 2021-05-10 18:32:00 +02:00
Stefan Niedermann
d73bb2a9a4 version bump to 3.4.2 2021-05-10 15:22:28 +02:00
Stefan Niedermann
f07d799e47 #1198 Fix multiple created notes when creating a new note and wait or toggle between edit and preview mode 2021-05-10 15:22:00 +02:00
Stefan Niedermann
d508552b93 #1168 Enable background synchronization by default 2021-05-10 14:36:18 +02:00
MasterWanna
ecff7bb0e7
Merge branch 'master' into master 2021-05-06 14:17:01 +08:00
Stefan Niedermann
89fb236f40 Upgrade AGP to 4.2 and targetSdk to 30 2021-05-05 10:57:17 +02:00
MasterWanna
d2eec131fe
Merge branch 'master' into master 2021-05-04 21:23:42 +08:00
MasterWanna
2b51c71943 Bug fixed 2021-05-04 21:23:16 +08:00
Nextcloud bot
0b5cef5aff [tx-robot] updated from transifex 2021-05-04 15:20:43 +02:00
Stefan Niedermann
0d1136aad3 #916 Use generic "Remove" as menu item 2021-05-03 19:07:29 +02:00
Stefan Niedermann
5ede3bd0e0 #916 Improve handling 2021-05-03 19:05:48 +02:00
Stefan Niedermann
bbf569b0e9 Merge branch 'master' into 916-settings
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/manageaccounts/ManageAccountAdapter.java
#	app/src/main/java/it/niedermann/owncloud/notes/manageaccounts/ManageAccountsActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesClient.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesClientV1.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/model/ApiVersion.java
#	app/src/main/res/values/strings.xml
2021-05-03 18:22:38 +02:00
MasterWanna
864e89637d Fix import 2021-05-04 00:16:58 +08:00
MasterWanna
b9fbfe34d0
Merge branch 'master' into master 2021-05-04 00:15:16 +08:00
MasterWanna
507745a4d8 SyncWorker called for update settings into running 2021-05-04 00:11:06 +08:00
MasterWanna
809a9e38f7 SyncWorker called for update settings into running 2021-05-04 00:07:05 +08:00
MasterWanna
bab97f32a4 SyncWorker called for update settings into running 2021-05-03 23:49:00 +08:00
MasterWanna
398cb4f8ab Convert Boolean to boolean 2021-05-03 01:32:37 +08:00
MasterWanna
2acbbc66ff Fix some details in PreferencesFragment, SyncWorker and Migration_21_22 2021-05-03 01:22:52 +08:00
Niedermann IT-Dienstleistungen
5c952eb07e
Merge branch 'master' into 1167-retrofit 2021-05-02 19:02:17 +02:00
MasterWanna
c488a32192 Values related to background sync in strings.xml and arrays.xml modified 2021-05-03 00:55:05 +08:00
Nextcloud bot
e03ab472a4 [tx-robot] updated from transifex 2021-05-02 18:47:12 +02:00
MasterWanna
ce3546949f Check background sync and migrate to new value 2021-05-03 00:39:46 +08:00
MasterWanna
b02021dda0 Check background sync and migrate to new value 2021-05-03 00:37:05 +08:00
Niedermann IT-Dienstleistungen
9c9392f8e1
Merge branch 'master' into 1167-retrofit 2021-05-02 18:20:00 +02:00
MasterWanna
7991f3d5f6 Fix a bug for toggling background sync 2021-05-02 17:53:47 +08:00
MasterWanna
a8593aabc1 Migration is added to enable background sync 2021-05-02 17:35:34 +08:00
MasterWanna
0483063a10 Migration is added to enable background sync 2021-05-02 15:58:03 +08:00
MasterWanna
6c50d5c27c Default value changed, Migrations still needed 2021-05-02 15:19:18 +08:00
Nextcloud bot
efcf6b5af9 [tx-robot] updated from transifex 2021-05-01 16:20:07 +02:00
Stefan Niedermann
64bcd801d6 #1167 Minor improvements while comparing ApiVersions 2021-05-01 13:35:26 +02:00
Stefan Niedermann
6b4c09fe4d #1167 Add more tests for updating apiVersion 2021-05-01 10:07:18 +02:00
dependabot[bot]
80d6e8ad81 Bump compiler from 4.11.0 to 4.12.0
Bumps [compiler](https://github.com/bumptech/glide) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.11.0...v4.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 13:03:55 +02:00
dependabot[bot]
fa14342729 Bump glide from 4.11.0 to 4.12.0
Bumps [glide](https://github.com/bumptech/glide) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.11.0...v4.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 12:43:20 +02:00
Stefan Niedermann
7e59f45b22 #1167 Cache Retrofit APIs
Fix updating to new apiVersions
2021-04-29 20:01:30 +02:00
Stefan Niedermann
972a3861c0 #1167 Cache Retrofit APIs
They use reflection and should therefore be cached.
2021-04-29 13:48:36 +02:00
Stefan Niedermann
1768b2b4a8 #1167 Enhance exception handling 2021-04-29 12:58:56 +02:00
Stefan Niedermann
1b5b26650b #1167 Fix TokenMismatchException after last account has been deleted 2021-04-29 12:43:55 +02:00
Stefan Niedermann
258d7734ea Merge branch 'master' into 1167-retrofit
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/importaccount/ImportAccountActivity.java
2021-04-29 11:09:18 +02:00
Stefan Niedermann
63cf471530 #1167 Use Calendar instead of long for modified date in NotesAPI 2021-04-28 23:22:20 +02:00
Stefan Niedermann
0d9eb364f5 #1167 Use retrofit also for capabilities endpoint
Fix API v0.2 compatibility
2021-04-28 23:12:17 +02:00
Stefan Niedermann
647f2c00d5 #1167 Use retrofit also for capabilities endpoint
Fix deletion
2021-04-28 22:57:35 +02:00
Stefan Niedermann
35d64312c6 #1167 Use retrofit also for capabilities endpoint
Enhanced error handling
2021-04-28 22:50:52 +02:00
Stefan Niedermann
fb3281bc49 #1167 Use retrofit also for capabilities endpoint
Make eTag headers work again
2021-04-28 20:58:00 +02:00
Stefan Niedermann
b0caa3acd7 #1167 Use retrofit also for capabilities endpoint
Use Observable to get headers
2021-04-28 20:04:30 +02:00
Stefan Niedermann
4b416116d5 #1167 Use retrofit also for capabilities endpoint 2021-04-28 19:36:58 +02:00
Stefan Niedermann
1c3b9a0d62 #1167 Use retrofit also for capabilities endpoint 2021-04-28 11:25:24 +02:00
Stefan Niedermann
403cdecc86 Respect @Expose annotation for Notes to only (de)serialize the properties that are relevant for the API 2021-04-28 10:27:18 +02:00
Stefan Niedermann
4b292b6d04 version bump to 3.4.1 2021-04-27 19:22:51 +02:00
Stefan Niedermann
576aa83508 Fix parallel synchronization issues which can lead to duplicate primary keys 2021-04-27 19:22:36 +02:00
Stefan Niedermann
0348f0a642 Use IResponseCallback for adding a new Account 2021-04-27 19:12:58 +02:00
Nextcloud bot
a690f3a930 [tx-robot] updated from transifex 2021-04-27 18:05:26 +02:00
Stefan Niedermann
948f5fcf06 Fix #1014 - 🔌 Handle offline state when adding accounts 2021-04-27 17:46:14 +02:00
Stefan Niedermann
4676bb8b6b #1167 Use retrofit 2021-04-26 18:23:25 +02:00
Stefan Niedermann
94a9628427 Use Executor in repository to submit asynchronous tasks 2021-04-26 10:47:11 +02:00
Stefan Niedermann
8208a3019b Fix Javadoc 2021-04-26 10:47:11 +02:00
Stefan Niedermann
9bcd67c280 Minor database optimization 2021-04-26 10:47:11 +02:00
Stefan Niedermann
4833d440b3 #1170 Remove unnecessary code 2021-04-26 10:47:11 +02:00
Stefan Niedermann
bf836f98e2 #1170 Fix unit tests 2021-04-26 10:47:11 +02:00
Stefan Niedermann
d40f5dfa76 #1170 Migrate NotesServerSyncHelper to NotesRepository 2021-04-26 10:47:11 +02:00
Nextcloud bot
f95d91c272 [tx-robot] updated from transifex 2021-04-26 10:29:19 +02:00
Stefan Niedermann
858292235c - Fix #1175 l10n: Text string for account deletion and synchronization 2021-04-25 14:16:13 +02:00
Stefan Niedermann
71010248cd - #1014 Handle offline state when adding accounts (First time import) 2021-04-25 14:13:06 +02:00
Stefan Niedermann
ac114f21c6 - Allow dashes in note titles (#1104) 2021-04-25 13:33:10 +02:00
Stefan Niedermann
d3fbb89a9e Fix #989 -️️ Display confirm dialog when deleting an account with unsynchronized changes 2021-04-24 12:39:04 +02:00
Stefan Niedermann
38909fde26 Improve handling of account deletions 2021-04-24 12:13:27 +02:00
Stefan Niedermann
c9b4e1982b - ⚙️ Migrate from SQLiteOpenHelper to Room database (#831) 2021-04-23 12:07:49 +02:00
Nextcloud bot
a521936c34 [tx-robot] updated from transifex 2021-04-23 12:05:55 +02:00
dependabot-preview[bot]
1f0d00939e Bump room-compiler from 2.2.6 to 2.3.0
Bumps room-compiler from 2.2.6 to 2.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 07:48:30 +02:00
dependabot-preview[bot]
af3f0180a7 Bump room-runtime from 2.2.6 to 2.3.0
Bumps room-runtime from 2.2.6 to 2.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 07:40:03 +02:00
Stefan Niedermann
e3c4c1cb40 Merge branch 'master' into 916-settings
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/manageaccounts/ManageAccountAdapter.java
#	app/src/main/java/it/niedermann/owncloud/notes/manageaccounts/ManageAccountViewHolder.java
#	app/src/main/java/it/niedermann/owncloud/notes/manageaccounts/ManageAccountsActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesClientV1.java
2021-04-22 10:26:53 +02:00
Stefan Niedermann
c6eed04bfd Merge branch 'master' into 831-room 2021-04-22 10:12:19 +02:00
dependabot-preview[bot]
a87114305c Bump fragment from 1.3.2 to 1.3.3
Bumps fragment from 1.3.2 to 1.3.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 07:45:20 +02:00
Stefan Niedermann
546f95a9db #831 Also update modified date (next to etag) before pulling remote changes 2021-04-21 18:23:17 +02:00
Stefan Niedermann
94315a1e6d #831 Fix SingleNoteWidget 2021-04-20 10:54:56 +02:00
Stefan Niedermann
af879111d7 #831 Remove foreign key constraint from NoteListWidgetData to CategoryOptions 2021-04-20 10:52:33 +02:00
Stefan Niedermann
9a1dbaeae3 #831 Fix hidden soft keyboard when creating a new note 2021-04-20 09:55:40 +02:00
Stefan Niedermann
fa03e56883 #831 Better handling of error states while synchronizing capabilities and notes by using callbacks instead of LiveData (which is not really error aware) 2021-04-20 09:47:53 +02:00
Stefan Niedermann
e8e350e99c Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
2021-04-20 08:32:39 +02:00
Stefan Niedermann
20b4163ea0 #831 Fix pruneBefore 2021-04-12 13:13:53 +02:00
Stefan Niedermann
f4f64fb5bb #831 Delete empty CloudNote.java file 2021-04-12 12:21:29 +02:00
Stefan Niedermann
b35a4a227a #831 Show not synced indicator again 2021-04-12 12:20:56 +02:00
Stefan Niedermann
93521f9f18 #831 Use IF EXISTS before dropping indices 2021-04-11 18:44:24 +02:00
Konrad Pozniak
1cb9573c8d remove multidex 2021-04-09 21:40:48 +02:00
Stefan Niedermann
1d2a18a116 Simplify addNote and add some unit tests 2021-04-09 12:52:41 +02:00
Stefan Niedermann
3f72a4a91e Ensure we have the up to date eTag 2021-04-09 09:55:22 +02:00
Stefan Niedermann
46514034af Fix #1122 Disable code minification 2021-04-09 08:49:06 +02:00
Stefan Niedermann
941e5439a0 Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
2021-04-08 23:30:03 +02:00
Stefan Niedermann
8997e9759f version bump to 3.3.0 2021-04-08 22:54:05 +02:00
Stefan Niedermann
78db5493db Fix #1119 Enable code minification 2021-04-08 22:53:12 +02:00
Konrad Pozniak
b9a91ca4ff convert large pngs to webp 2021-04-08 22:04:24 +02:00
Nextcloud bot
ea4c5b8aed [tx-robot] updated from transifex 2021-04-08 21:57:27 +02:00
Stefan Niedermann
e9fc505ae0 Get rid of deprecated AsyncTask 2021-04-08 21:49:21 +02:00
Stefan Niedermann
4f8a9b4297 Close test db explicitly and use older java syntax for initialization 2021-04-08 20:27:11 +02:00
Stefan Niedermann
a0476d5402 Remove old androidTestImplementations 2021-04-08 20:14:31 +02:00
Stefan Niedermann
25c6c44297 Use robolectric instead of instrumented tests 2021-04-08 20:13:08 +02:00
Stefan Niedermann
8a798ce664 Add some JavaDoc 2021-04-08 20:13:08 +02:00
Stefan Niedermann
6ff469d455 Fix typo 2021-04-08 16:31:47 +02:00
Stefan Niedermann
38bb26e356 Refactor getIdMap 2021-04-08 16:31:20 +02:00
Stefan Niedermann
ff2bc1f288 Fix bulk sharing from list view 2021-04-08 13:00:04 +02:00
Stefan Niedermann
096b1ae7bc Minor code optimizations 2021-04-08 12:38:13 +02:00
Stefan Niedermann
4655285303 Reactive a few tests 2021-04-08 11:43:03 +02:00
dependabot-preview[bot]
e7ec28fe3c Bump recyclerview from 1.1.0 to 1.2.0
Bumps recyclerview from 1.1.0 to 1.2.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 08:18:11 +02:00
Stefan Niedermann
a4b8f8beb2 Fix missing category badge 2021-04-07 11:26:26 +02:00
Stefan Niedermann
ecf91cf1fe Fix additional "New note" when adding a new note 2021-04-07 11:25:38 +02:00
Stefan Niedermann
ae507baf4b Fix typo 2021-04-07 11:08:02 +02:00
Stefan Niedermann
2aea398efa Remove NoteIdPair in favor of Note entity 2021-04-06 18:54:28 +02:00
Stefan Niedermann
2c3b137648 Fix wrong thread annotation 2021-04-06 18:21:33 +02:00
Stefan Niedermann
f51b548192 Avoid blinking navigation header before branding is applied 2021-04-06 18:15:01 +02:00
Stefan Niedermann
be4c0c28ff Remove unused import 2021-04-06 18:03:36 +02:00
Stefan Niedermann
5bc2d9ee54 Do not query full content of notes for list view 2021-04-06 18:00:59 +02:00
Nextcloud bot
a134c5f9c9 [tx-robot] updated from transifex 2021-04-03 18:04:37 +02:00
Stefan Niedermann
a4f0e0bec6 Ensure note has been loaded before restoring scroll position 2021-04-03 16:38:00 +02:00
Stefan Niedermann
c1a12299b4 Allow database queries on main thread 2021-04-03 16:04:40 +02:00
Stefan Niedermann
d309f5dd6b Fix crash when switching between edit / preview mode 2021-04-03 14:37:27 +02:00
Stefan Niedermann
04f18caeeb Fix wrong thread on swipe 2 refresh 2021-04-03 14:37:11 +02:00
Stefan Niedermann
f31a1756e4 Merge scrollY logic from master 2021-04-02 19:58:50 +02:00
Stefan Niedermann
ec775e342f Remove empty file 2021-04-02 19:36:10 +02:00
Stefan Niedermann
19419623b9 Lower targetSdk to 29 because of nextcloud/Android-SingleSignOn/issues/277 2021-04-02 19:30:48 +02:00
Stefan Niedermann
90e5472ba1 Remove unsupported Android versions 2021-04-02 19:25:46 +02:00
Stefan Niedermann
34e3bbeea2 Update dependencies 2021-04-02 19:25:32 +02:00
Stefan Niedermann
e38805a4d8 Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/branding/BrandedActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/branding/BrandingUtil.java
#	app/src/main/java/it/niedermann/owncloud/notes/edit/BaseNoteFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/AbstractNotesDatabase.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/migration/Migration_19_20.java
#	app/src/main/res/values-hu-rHU/strings.xml
2021-04-02 19:15:54 +02:00
Nextcloud bot
0b48efa8b2 [tx-robot] updated from transifex 2021-04-02 08:58:31 +02:00
Stefan Niedermann
37a1682d3b Put appearance and behavior settings into one category 2021-04-01 14:59:25 +02:00
Stefan Niedermann
09b1ba9725 Fix NPE in settings 2021-04-01 14:53:49 +02:00
Stefan Niedermann
c3debd3da5 Remove branding toggle 2021-04-01 14:52:37 +02:00
Stefan Niedermann
5944fbacf4 Fix logging 2021-04-01 14:46:17 +02:00
Stefan Niedermann
b316c7549a Remove beta hint from grid view 2021-04-01 14:41:04 +02:00
Stefan Niedermann
9c425e291a Fix #1098 Prevent screen capture 2021-04-01 14:29:04 +02:00
Stefan Niedermann
0003e8babb version bump to v3.2.5 2021-04-01 13:56:44 +02:00
Nextcloud bot
f55e1dd5a3 [tx-robot] updated from transifex 2021-04-01 13:55:18 +02:00
Nextcloud bot
5f4f7f79e8 [tx-robot] updated from transifex 2021-03-30 22:44:11 +02:00
dependabot-preview[bot]
a78ae2eb9c Bump fragment from 1.3.1 to 1.3.2
Bumps fragment from 1.3.1 to 1.3.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-25 07:20:02 +01:00
Nextcloud bot
8a3c92d62a [tx-robot] updated from transifex 2021-03-23 13:07:34 +01:00
Stefan Niedermann
e73639c801 Fix #1046 Remember scroll position in preview mode 2021-03-22 16:49:57 +01:00
Stefan Niedermann
71542a3618 version bump to 3.2.4 2021-03-22 12:54:04 +01:00
Stefan Niedermann
2583dc2ba0 Fix #1089 Set line spacing to 115% 2021-03-22 12:53:31 +01:00
Stefan Niedermann
855862d658 Mark grid view no longer as 🆕 in settings description 2021-03-20 20:15:56 +01:00
Stefan Niedermann
f261eeb1bd Prepare #1089 Move line spacing to variable 2021-03-20 11:45:12 +01:00
Stefan Niedermann
d5f787a852 Fix build (#1099) 2021-03-20 11:36:20 +01:00
Stefan Niedermann
970036d747 Fix #1099 Wording for app lock / device credentials 2021-03-20 11:27:16 +01:00
Stefan Niedermann
1a0e99fd4d Merge branch 'master' into 831-room 2021-03-16 13:54:20 +01:00
Stefan Niedermann
60610b7a87 #945 Category label in grid view doesn't take highlight background colour upon selection 2021-03-16 13:52:14 +01:00
Stefan Niedermann
a5a84360be Preselect file suffix spinner when loaded 2021-03-16 11:40:49 +01:00
Stefan Niedermann
63de9d8131 #916 Change remote account settings - Server connection 2021-03-15 23:42:08 +01:00
Stefan Niedermann
669d457f5c #916 Change remote account settings - Server connection 2021-03-15 23:37:29 +01:00
Stefan Niedermann
a447542fc1 #916 Change remote account settings - UI 2021-03-15 15:29:47 +01:00