Commit graph

2260 commits

Author SHA1 Message Date
Stefan Niedermann
6b4c09fe4d #1167 Add more tests for updating apiVersion 2021-05-01 10:07:18 +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
ef7e2815b0 Fix #1115 🌐 Support links in tables 2021-04-26 11:23:07 +02:00
Stefan Niedermann
691408e99c Merge remote-tracking branch 'origin/1170-notes-repository' into 1170-notes-repository 2021-04-26 10:47:18 +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
80597b4187 Use Executor in repository to submit asynchronous tasks 2021-04-25 13:14:47 +02:00
Stefan Niedermann
ea54b7ce1f Fix Javadoc 2021-04-24 15:18:38 +02:00
Stefan Niedermann
a2335b1e72 Minor database optimization 2021-04-24 14:14:34 +02:00
Stefan Niedermann
78555dcfab #1170 Remove unnecessary code 2021-04-24 14:03:07 +02:00
Stefan Niedermann
d42638e8ef #1170 Fix unit tests 2021-04-24 13:39:18 +02:00
Stefan Niedermann
8bf727a8cb #1170 Migrate NotesServerSyncHelper to NotesRepository 2021-04-24 12:45:50 +02:00
Stefan Niedermann
5018bdc956 Update changelog 2021-04-24 12:39:31 +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
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