Commit graph

2370 commits

Author SHA1 Message Date
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
Stefan Niedermann
b788c07f36 #916 Change remote account settings - UI 2021-03-15 10:59:46 +01:00
Stefan Niedermann
cb9164e249 Fix #890 Grid view: no padding top on Recycler View 2021-03-15 10:00:30 +01:00
Stefan Niedermann
529bfd7f7a Merge master 2021-03-13 12:31:08 +01:00
Stefan Niedermann
56c28a296b Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/NoteUtil.java
#	app/src/main/java/it/niedermann/owncloud/notes/widget/notelist/NoteListWidget.java
#	app/src/main/java/it/niedermann/owncloud/notes/widget/notelist/NoteListWidgetFactory.java
#	app/src/main/java/it/niedermann/owncloud/notes/widget/singlenote/SingleNoteWidget.java
#	app/src/main/java/it/niedermann/owncloud/notes/widget/singlenote/SingleNoteWidgetFactory.java
#	app/src/test/java/android/text/TextUtils.java
2021-03-13 12:28:23 +01:00
Stefan Niedermann
40f8fe69de version bump to v3.2.3 2021-03-13 11:05:17 +01:00
Stefan Niedermann
545dbb80f4 Update widget screenshots 2021-03-13 11:03:47 +01:00
Stefan Niedermann
166cbf13f8 #1085 Open app when clicking on the list widget header 2021-03-13 11:03:47 +01:00
Stefan Niedermann
0b8348cf40 #1085 Open app when clicking on the list widget header 2021-03-13 11:03:47 +01:00
Stefan Niedermann
9c3023b7ee #1085 Open app when clicking on the list widget header 2021-03-13 11:03:47 +01:00
dependabot-preview[bot]
1903c4c881 Bump fragment from 1.3.0 to 1.3.1
Bumps fragment from 1.3.0 to 1.3.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-11 06:39:50 +01:00
Stefan Niedermann
6812a9ab5f Add pfungstadt flavor 2021-03-10 17:55:10 +01:00
Stefan Niedermann
a9ce6b0746 Merge remote-tracking branch 'origin/master' 2021-03-10 17:47:19 +01:00
Stefan Niedermann
35f0fff392 verison bump to 3.2.1 2021-03-10 17:47:02 +01:00
Nextcloud bot
2abf87ac43 [tx-robot] updated from transifex 2021-03-10 17:43:25 +01:00
Stefan Niedermann
4119a926ea Do not replace checkboxes with emojis in parts that get synced up (like the title) 2021-03-10 08:48:11 +01:00
Stefan Niedermann
9f09ceffcb Use checkbox-emoji-replacement also in title and excerpt 2021-03-09 21:32:25 +01:00
Stefan Niedermann
279a977e2f version bump to 3.2.1 2021-03-08 09:59:22 +01:00
Nextcloud bot
94a12dcd26 [tx-robot] updated from transifex 2021-03-08 09:59:01 +01:00
Stefan Niedermann
1b5470fdec Add new widget screenshot samples 2021-03-08 09:57:32 +01:00
Stefan Niedermann
92b15eb8d2 Widget design improvements 2021-03-08 09:35:40 +01:00
Stefan Niedermann
3a27f51158 Fix #1080 Note List Widget improvements 2021-03-08 09:07:42 +01:00
Stefan Niedermann
a2cb7456b5 Add final keyword to handler 2021-03-08 08:53:12 +01:00
Stefan Niedermann
843ffbd7fe version bump to 3.2.0 2021-03-07 22:50:04 +01:00
Stefan Niedermann
f140460d48 Remove unused code 2021-03-07 22:11:22 +01:00
Stefan Niedermann
de8a95e853 Adjust paddings 2021-03-07 22:11:22 +01:00
Stefan Niedermann
616a266829 Pay attention to sufficient contrast ration when applying account color to add button 2021-03-07 22:11:22 +01:00
Stefan Niedermann
61340ab6f8 Adjust divider 2021-03-07 22:11:22 +01:00
Stefan Niedermann
cfd0902a76 NoteListWidget: Move create button to scrollable entry, remove header 2021-03-07 22:11:22 +01:00
Stefan Niedermann
6cbbab725d Prepare first entry of list widget to be scrollable 2021-03-07 22:11:22 +01:00
Stefan Niedermann
71f4b5da16 https://github.com/nextcloud/news-android/issues/930 2021-03-07 22:11:22 +01:00
Stefan Niedermann
01ed3582b9 version bump to 3.1.4 2021-03-03 16:01:01 +01:00
Nextcloud bot
9cc9f7a433 [tx-robot] updated from transifex 2021-03-03 15:56:58 +01:00
dependabot-preview[bot]
095572c8f2 Bump desugar_jdk_libs from 1.1.1 to 1.1.5
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.1.1 to 1.1.5.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 08:23:06 +01:00
Nextcloud bot
9039f974de [tx-robot] updated from transifex 2021-02-24 22:27:13 +01:00
Stefan Niedermann
df6a107706 Fix #1068 Add warning that clearing the storage will delete unsynchronized notes 2021-02-20 18:34:24 +01:00
dependabot-preview[bot]
f688ca0744 Bump junit from 4.13.1 to 4.13.2
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:36:59 +01:00
Stefan Niedermann
0c01f258c2 Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/AppendToNoteActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/edit/EditNoteActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/main/MainActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/model/CloudNote.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/DisplayUtils.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/NoteUtil.java
2021-02-11 12:08:53 +01:00
Stefan Niedermann
4a0c16fdad Drop support for Android < 5.0 2021-02-11 11:51:25 +01:00
dependabot-preview[bot]
a924d4e3f5 Bump fragment from 1.2.5 to 1.3.0
Bumps fragment from 1.2.5 to 1.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-11 08:22:21 +01:00
Stefan Niedermann
f6ffef418a version bump to v3.1.3 2021-02-09 13:55:10 +01:00
Nextcloud bot
82a5d0441e [tx-robot] updated from transifex 2021-02-09 13:53:43 +01:00
dependabot-preview[bot]
1bb7b28386 Bump material from 1.2.1 to 1.3.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.1...1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 08:24:22 +01:00
Stefan Niedermann
3e10f3fa0d - 🐞 Fix crash for Android < 7 when open a note in preview mode (#1056) 2021-02-02 18:44:41 +01:00
Stefan Niedermann
23b61c91a6 version bump to 3.1.1 2021-01-24 16:39:22 +01:00
Stefan Niedermann
f1f14a5b23 #1047 Catch creation shortcuts when no account is configured yet 2021-01-24 16:32:41 +01:00
Stefan Niedermann
54dc388da4 Remove debug logs 2021-01-21 16:20:54 +01:00
Stefan Niedermann
3cc4583056 Create logging mechanism to debug #1040 2021-01-21 16:20:54 +01:00
Stefan Niedermann
370806fabd version bump to 3.1.0 2021-01-11 21:00:27 +01:00
Stefan Niedermann
7793c35d25 Use term "Markdown" instead of "MarkDown" 2021-01-10 16:16:29 +01:00
Stefan Niedermann
b80aeff1ca Move removeMarkdown() util method to MarkdownUtil 2021-01-10 16:13:57 +01:00
Stefan Niedermann
e9869df6ae Fix #1032 Save page title when sharing from browser 2021-01-10 15:51:19 +01:00
Stefan Niedermann
2b530bdb7c Fix #1038 Switch to View mode crashes (#1038) 2021-01-10 13:58:49 +01:00
Stefan Niedermann
8124e6d33c Enhance workaround for #935 2021-01-10 13:07:14 +01:00
Stefan Niedermann
b784390e2b version bump to 3.0.1 2021-01-10 13:02:30 +01:00
Niedermann IT-Dienstleistungen
2c692ad625
Merge pull request #1037 from stefan-niedermann/transifex
[tx-robot] updated from transifex
2021-01-10 13:01:33 +01:00
Johannes
3be495ef8a Avoid overwriting title for new notes 2021-01-10 13:01:00 +01:00
Nextcloud bot
35666c5dad
[tx-robot] updated from transifex 2021-01-10 04:09:44 +00:00
Nextcloud bot
9f9d7e2660 [tx-robot] updated from transifex 2021-01-09 07:11:26 +01:00
Stefan Niedermann
891b969331 version bump to 3.0.0 2021-01-08 08:43:40 +01:00
Nextcloud bot
fa0dd85100 [tx-robot] updated from transifex 2021-01-08 08:28:27 +01:00
Nextcloud bot
fd48e07ebe [tx-robot] updated from transifex 2021-01-07 09:12:15 +01:00
Nextcloud bot
82fd1b02b4 [tx-robot] updated from transifex 2021-01-06 08:30:18 +01:00
Stefan Niedermann
a011218580 Merge master with Markwon viewer 2021-01-05 19:51:49 +01:00
Stefan Niedermann
efa1a8f9cb Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/FormattingHelpActivity.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/NoteEditFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/edit/NoteReadonlyFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/text/NoteLinksProcessor.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/text/TextProcessor.java
#	app/src/main/java/it/niedermann/owncloud/notes/widget/notelist/NoteListWidget.java
#	app/src/main/res/drawable/ic_format_bold_black_24dp.xml
#	app/src/main/res/drawable/ic_format_italic_black_24dp.xml
#	app/src/main/res/drawable/ic_insert_link_black_24dp.xml
#	app/src/main/res/menu/context_based_formatting.xml
#	app/src/main/res/menu/context_based_range_formatting.xml
#	app/src/main/res/values/strings.xml
#	app/src/test/java/it/niedermann/owncloud/notes/shared/util/MarkDownUtilTest.java
#	app/src/test/java/it/niedermann/owncloud/notes/shared/util/text/NoteLinksProcessorTest.java
2021-01-05 19:46:46 +01:00
Stefan Niedermann
8fdbd61b68 Optimize context_based_formatting.png 2021-01-05 17:25:58 +01:00
Stefan Niedermann
bb2e3fea43 Remove unused resources 2021-01-05 17:13:29 +01:00
Stefan Niedermann
8d734de795 Add translation hints 2021-01-05 17:10:07 +01:00
Stefan Niedermann
34c34b6659 Fix #1020 Update formatting section 2021-01-05 17:08:56 +01:00
Stefan Niedermann
e6e5aa8bf2 Version bump to 2.19.0 2021-01-05 14:22:43 +01:00
Stefan Niedermann
32a1b39676 Enhance logging 2021-01-05 13:19:47 +01:00
Stefan Niedermann
a9f2eb55f3 Do not handle internal note links in NoteReadonlyFragment 2021-01-05 13:12:44 +01:00
Stefan Niedermann
dd8cf671c6 Ensure that internal notes links are not persisted 2021-01-05 12:35:58 +01:00
Stefan Niedermann
c92f9d251f Merge branch 'master' into toggleable-checkboxes 2021-01-05 10:55:05 +01:00
TacoTheDank
56d7782513 Use some Compat classes 2021-01-05 10:53:22 +01:00
TacoTheDank
42f02172cb Migrate about page to ViewPager2 2021-01-05 10:53:22 +01:00
TacoTheDank
b1cf86a716 Fix two deprecations 2021-01-05 10:53:22 +01:00
TacoTheDank
fdc85da88a Update buildTools to 30.0.3 2021-01-05 10:53:22 +01:00
TacoTheDank
c893fec387 Delete obsolete app module files 2021-01-05 10:53:22 +01:00
Stefan Niedermann
1cb2aeec88 Fix apply branding in NotePreviewFragment and NoteEditFragment 2021-01-04 21:09:47 +01:00
Stefan Niedermann
587cee6d90 Fix apply branding in NotePreviewFragment 2021-01-04 21:03:54 +01:00
Stefan Niedermann
6b524c7945 Readd support for link to other notes 2021-01-04 14:02:48 +01:00
Stefan Niedermann
4b8b5914f0 Clearify MarkdownUtil#renderForRemoteView 2021-01-04 12:21:07 +01:00
Stefan Niedermann
a35255d838 Use native Linkify flag 2021-01-04 12:12:24 +01:00
Stefan Niedermann
7101c308be Only disable checkbox toggling in ReadonlyFragment, but still allow selecting and copying text 2021-01-04 11:28:55 +01:00
Stefan Niedermann
195d994020 Merge branch 'master' into toggleable-checkboxes 2021-01-04 10:20:08 +01:00
Stefan Niedermann
12fa0b4d9a Remove RxMarkdown dependency from main module 2021-01-04 10:19:16 +01:00
Stefan Niedermann
25e2634460 Adjust FormattingHelpActivity 2021-01-04 09:33:10 +01:00
Stefan Niedermann
6eb99e9434 Merge branch 'master' into toggleable-checkboxes 2021-01-04 00:53:11 +01:00
Stefan Niedermann
9f8c765bfa Remove WwwLinksProcessor in favor of LinkifyPlugin 2021-01-04 00:53:02 +01:00
Stefan Niedermann
49847ed53a Fix positioning bug when toggling a checkbox 2021-01-04 00:41:32 +01:00
Stefan Niedermann
9d5284d792 Support nested check lists 2021-01-03 23:50:27 +01:00
Nextcloud bot
576e73bd21 [tx-robot] updated from transifex 2021-01-03 20:33:07 +01:00
Stefan Niedermann
0fe4b5b4b1 Merge branch 'master' into 831-room 2021-01-03 11:56:07 +01:00
Stefan Niedermann
ab74e310bf bump dependencies 2021-01-03 11:55:40 +01:00
Stefan Niedermann
7b68f925e7 Deduplicate Dao queries for LiveData and Non-LiveData 2021-01-03 11:16:18 +01:00
Stefan Niedermann
02e9b71a4c Move more database queries away from the main thread 2021-01-02 16:29:59 +01:00
Stefan Niedermann
c77c85368c Fix NoteListWidgetConfigurationActivity 2021-01-02 16:26:12 +01:00
Stefan Niedermann
d35ec5c80e Move more database queries away from the main thread 2021-01-02 16:08:48 +01:00
Stefan Niedermann
69d383f9f8 Move more database queries away from the main thread 2020-12-31 16:16:17 +01:00
Stefan Niedermann
82b2719a77 Wait for Note present in Edit mode, because creating can now be asynchronously 2020-12-31 15:44:05 +01:00
Stefan Niedermann
b8d3d261d4 Add more instrumented tests for NoteDao 2020-12-31 14:53:17 +01:00
Stefan Niedermann
b3b193b882 Add hint for later 2020-12-31 12:10:23 +01:00
Stefan Niedermann
9785993781 Add instrumented tests for getContent, updateRemoteId & toggleFavorite 2020-12-31 12:06:02 +01:00
Stefan Niedermann
c2a35c3775 Add instrumented tests for getCategoriesLiveData and searchCategories 2020-12-31 11:38:30 +01:00
Stefan Niedermann
d0af12e995 Add instrumented tests for updateIfNotModifiedLocallyAndAnyRemoteColumnHasChanged 2020-12-31 10:26:30 +01:00
Stefan Niedermann
8e640c77cd Add integration tests for updateIfNotModifiedLocallyAndAnyRemoteColumnHasChanged 2020-12-30 22:54:24 +01:00
Stefan Niedermann
0bec0d6502 Add instrumented test for updateIfNotModifiedLocallyDuringSync 2020-12-30 22:19:33 +01:00
Stefan Niedermann
3f41d89bf2 Add instrumented test for Capabilities 2020-12-30 21:59:49 +01:00
Stefan Niedermann
a49f0d053e Fix unit tests 2020-12-29 18:05:34 +01:00
Stefan Niedermann
de4f94a96d Fix migration of STARRED and RECENT list widgets 2020-12-29 17:54:13 +01:00
Stefan Niedermann
046a2c27ed Update migration path 2020-12-29 16:23:08 +01:00
Stefan Niedermann
4bece6a5e3 Denormalize database to eleminate artifical category ID
see https://github.com/stefan-niedermann/nextcloud-notes/pull/967#issuecomment-751854626
2020-12-29 15:07:07 +01:00
Stefan Niedermann
bb542a887f Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/edit/NoteEditFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/widget/singlenote/SingleNoteWidgetFactory.java
2020-12-28 22:22:27 +01:00
korelstar
7486d48fce fix optimistic conflict resolution 2020-12-28 21:21:56 +01:00
korelstar
b6f8bf9553 fix wrong last-modified time 2020-12-28 21:06:44 +01:00
korelstar
d850dd7e2c fix preferred API version detection 2020-12-28 20:48:17 +01:00
Stefan Niedermann
8b7ff6261a ToggleableTaskListPlugin should only notify which checkbox position was toggled 2020-12-27 11:40:37 +01:00
Stefan Niedermann
08eed7d061 Add some tools: hints in XML 2020-12-23 11:19:48 +01:00
Stefan Niedermann
db5dba04e5 Ensure all instrumented tests are run 2020-12-22 13:55:16 +01:00
Stefan Niedermann
d415bd3f01 update dependencies 2020-12-22 13:19:16 +01:00
Stefan Niedermann
2d0bd47c96 Move SearchableBaseNoteFragmentTest to androidTest 2020-12-22 13:14:31 +01:00
Stefan Niedermann
b0fc752ac0 Remove app side list auto continuation & version bump to 2.18.1 2020-12-21 14:23:04 +01:00
Stefan Niedermann
738870cad5 version bump to 2.18.0 2020-12-21 13:20:17 +01:00
Stefan Niedermann
6edd87537e Outsource markdown rendering for widgets 2020-12-21 13:18:17 +01:00
Stefan Niedermann
bc636f1e2b #549 Replace RxMarkdown with Markwon [EDITOR] 2020-12-21 13:18:17 +01:00
Stefan Niedermann
785c8eaed0 #549 Replace RxMarkdown with Markwon [EDITOR] 2020-12-21 13:18:17 +01:00
Stefan Niedermann
44b96528a2 Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/main/items/NoteViewHolder.java
#	app/src/main/java/it/niedermann/owncloud/notes/main/items/list/NotesListViewItemTouchHelper.java
#	app/src/main/res/values-da/strings.xml
#	app/src/main/res/values-fi-rFI/strings.xml
2020-12-20 17:11:54 +01:00
Stefan Niedermann
0803711bf9 Merge remote-tracking branch 'origin/master' 2020-12-20 17:08:02 +01:00
Stefan Niedermann
032183d675 bump dependency versions 2020-12-20 17:07:56 +01:00
Nextcloud bot
678c4f2316 [tx-robot] updated from transifex 2020-12-20 10:09:39 +01:00
Isc
f864ade4f5 Bug fixed: Use getLayoutPosition instead of getAdapterPosition. #994, #988 2020-12-20 10:07:24 +01:00
Nextcloud bot
510c1051ff [tx-robot] updated from transifex 2020-11-24 18:55:32 +01:00
Stefan Niedermann
6c953c0a2d Merge master 2020-11-18 15:08:02 +01:00
Stefan Niedermann
674fc96694 Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
#	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/format/ContextBasedRangeFormattingCallback.java
#	app/src/main/java/it/niedermann/owncloud/notes/main/MainActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/DisplayUtils.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/util/NotesColorUtil.java
2020-11-18 15:04:35 +01:00
Stefan Niedermann
dbe141c561 https://github.com/stefan-niedermann/nextcloud-deck/issues/733 Remove section header comments for strings.xml 2020-11-18 14:46:32 +01:00
Stefan Niedermann
bf9ba97e25 Bump minSdk to KitKat
https://help.nextcloud.com/t/nextcloud-android-client-3-14-0-rc1-is-out/96673
2020-10-30 13:00:07 +01:00
Stefan Niedermann
fb979129cf Bump minSdk to KitKat
https://help.nextcloud.com/t/nextcloud-android-client-3-14-0-rc1-is-out/96673
2020-10-30 12:59:39 +01:00
Stefan Niedermann
d46938c169 Update dependencies 2020-10-28 15:13:30 +01:00
Stefan Niedermann
db3fe7aa94 Use ColorUtils from android-commons where possible 2020-10-28 15:09:09 +01:00
Stefan Niedermann
9f066ffc33 Move update logic to dao / synchelper 2020-10-28 14:21:21 +01:00
Nextcloud bot
82b682e26d [tx-robot] updated from transifex 2020-10-26 13:58:41 +01:00
Stefan Niedermann
dce644f614 Use CategoryViewModel for database access 2020-10-21 09:55:59 +02:00
Stefan Niedermann
0624544011 Minor fixes 2020-10-21 09:11:44 +02:00
Stefan Niedermann
dd81fc43b4 Remove direct database dependency 2020-10-21 09:09:52 +02:00
Stefan Niedermann
4a3eaddbaf Fix gradle warnings 2020-10-21 08:55:24 +02:00
Stefan Niedermann
4a4d4f81fd Use null for not-existing remoteId 2020-10-20 23:38:45 +02:00
Stefan Niedermann
8e878de184 Fix delete / synchronize bug 2020-10-20 23:36:57 +02:00
Stefan Niedermann
a490a07267 Use Saved State Module for MainViewModel 2020-10-20 23:30:29 +02:00
Stefan Niedermann
a4fe52578b Move import activity 2020-10-20 20:56:12 +02:00
Stefan Niedermann
5c925d1488 Fix tests 2020-10-20 20:40:50 +02:00
Stefan Niedermann
fe2cf6554d Update selection tracker when notes get deleted 2020-10-20 20:29:52 +02:00
Stefan Niedermann
6a3f13b3f2 Optimize NOT NULL constraints 2020-10-20 15:04:46 +02:00
Stefan Niedermann
717fe55dec Prevent crash when swipe 2 delete selected item 2020-10-20 09:09:52 +02:00
Stefan Niedermann
dc7a93e6c5 Fix modified converter 2020-10-20 09:04:14 +02:00
Stefan Niedermann
cf04ead18b Minor stuff 2020-10-19 15:04:54 +02:00
Stefan Niedermann
a80f23edc4 Do not select when item is currently swiped 2020-10-19 14:30:24 +02:00
Stefan Niedermann
b5211bde1b Refactorings 2020-10-19 14:26:15 +02:00
Stefan Niedermann
1dcd7dd29a Minor improvements 2020-10-19 13:28:00 +02:00
Stefan Niedermann
d0c99c81d3 Handle multiselect actions 2020-10-19 12:27:34 +02:00
Stefan Niedermann
527af50510 Preven crash when selecting a section 2020-10-19 11:30:25 +02:00
Stefan Niedermann
bc1f4040da recyclerview-selection 2020-10-19 11:19:43 +02:00
Stefan Niedermann
2d50087fb8 Minor stuff 2020-10-18 19:23:58 +02:00
Stefan Niedermann
ddf33a6bc3 Update targetSdkVersion to 30 2020-10-18 19:19:43 +02:00
Stefan Niedermann
6e336446af Remove localAccount state from MainActivity and descendants 2020-10-18 19:19:13 +02:00
Stefan Niedermann
f90d06ab3e Mark variable as final 2020-10-18 14:39:23 +02:00
Nextcloud bot
93004a7ffd [tx-robot] updated from transifex 2020-10-18 08:40:26 +02:00
Stefan Niedermann
23db69c249 Remove dead code 2020-10-16 18:23:30 +02:00
Stefan Niedermann
fbd3b63052 Use local account instead of sso account until sync 2020-10-16 18:20:20 +02:00
Stefan Niedermann
fafca46f90 Introduce LoginActivity 2020-10-16 17:54:20 +02:00
Stefan Niedermann
033ae67ef3 Minor stuff 2020-10-16 16:22:24 +02:00
Stefan Niedermann
8f941964ba Fix branding 2020-10-16 16:13:23 +02:00
Stefan Niedermann
3159c4dfde Fix build 2020-10-16 11:44:43 +02:00
Stefan Niedermann
3637327904 Fix move 2020-10-16 11:37:13 +02:00
Stefan Niedermann
174512b4e8 Fix async concurrency error 2020-10-16 08:10:32 +02:00
Stefan Niedermann
a6c4cb136d Minor stuff 2020-10-14 20:10:31 +02:00
Stefan Niedermann
f9cf63d949 Fix migration 2020-10-14 19:40:23 +02:00
Stefan Niedermann
84b84729fa Fix category unique contraint 2020-10-14 18:33:36 +02:00
Stefan Niedermann
6b072af188 Clean up old categories with trigger 2020-10-14 18:23:23 +02:00
Stefan Niedermann
ea094f93f3 Minor stuff 2020-10-14 17:41:43 +02:00
Stefan Niedermann
5b90f97840 Minor stuff 2020-10-14 17:31:43 +02:00
Stefan Niedermann
2b71f94eba Fix collapsing categories 2020-10-14 14:49:23 +02:00
Stefan Niedermann
5496133b1f Make categories expandable 2020-10-14 14:26:25 +02:00
Stefan Niedermann
39223096a0 Several improvements 2020-10-14 13:47:29 +02:00
Stefan Niedermann
aa2b7a7e73 Rewrite getNotesListLiveData() 2020-10-14 11:52:53 +02:00
Stefan Niedermann
a1ef5c82a4 Minor optimizations 2020-10-14 10:48:48 +02:00
Stefan Niedermann
790155807e Fix order when searching notes 2020-10-14 10:13:40 +02:00
Stefan Niedermann
a9a810a73c Update dependencies 2020-10-13 16:53:37 +02:00
Stefan Niedermann
58db39b819 Update dependencies 2020-10-13 14:54:54 +02:00
Stefan Niedermann
1a4e976f9d Update dependencies 2020-10-13 14:54:01 +02:00
Stefan Niedermann
bbe14e4935 Merge branch 'master' into 831-room 2020-10-13 12:51:14 +02:00
Stefan Niedermann
4732c80a95 Clean up exception handling 2020-10-13 12:50:48 +02:00
Stefan Niedermann
3786f4266d Merge branch 'master' into 831-room
# Conflicts:
#	gradle/wrapper/gradle-wrapper.properties
2020-10-13 09:46:35 +02:00
Stefan Niedermann
db9fdf807a Bump to gradle 4.1.0 2020-10-13 09:43:47 +02:00
Stefan Niedermann
b758f72ddf Upgrade gradle and fix uncategorized list widget 2020-10-13 09:34:25 +02:00
Stefan Niedermann
753458e3a5 Merge branch 'master' into 831-room 2020-10-12 13:45:20 +02:00
Stefan Niedermann
275a3541ee Use ClipboardUtil from android-commons 2020-10-12 13:45:09 +02:00
dependabot-preview[bot]
49b74b480e Bump junit from 4.13 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 08:40:45 +02:00
Stefan Niedermann
ed025776ed Merge branch 'master' into 831-room
# Conflicts:
#	app/build.gradle
2020-10-11 17:52:14 +02:00
Stefan Niedermann
f699340b7c Use MultiDex 2020-10-11 17:49:41 +02:00
Stefan Niedermann
7a6c7cf944 Use sso-glide-integration from nextcloud-commons 2020-10-11 17:20:25 +02:00
Stefan Niedermann
dc60e36e0b #831 Migrate from SQLiteOpenHelper to Room
Try to address incorrect sorting method
2020-10-10 23:44:53 +02:00
Stefan Niedermann
70135f4888 #831 Migrate from SQLiteOpenHelper to Room
Move exception handling and sync status handling from NoteServerSyncHelper to MainActivity
2020-10-10 19:54:46 +02:00
Stefan Niedermann
92a4b0eee8 Ignore broken tests 2020-10-10 19:19:06 +02:00
Stefan Niedermann
98260cc637 #831 Migrate from SQLiteOpenHelper to Room
Make database access more asynchronous
2020-10-10 19:02:54 +02:00
Stefan Niedermann
67dce3f20a #831 Migrate from SQLiteOpenHelper to Room
Use LiveData for ListWidget
2020-10-10 17:47:21 +02:00
Stefan Niedermann
cd90f4dc84 #831 Migrate from SQLiteOpenHelper to Room
List widget
2020-10-10 17:40:31 +02:00
Stefan Niedermann
287300a94f #831 Migrate from SQLiteOpenHelper to Room
Fix category chooser
2020-10-10 15:34:42 +02:00
Stefan Niedermann
cb2da1db9d #831 Migrate from SQLiteOpenHelper to Room
Fix category chooser
2020-10-10 15:19:38 +02:00
Stefan Niedermann
b4a635bfe3 Reactivate a few instrumented tests 2020-10-10 14:21:24 +02:00
Stefan Niedermann
7ee3209eb2 Minor improvements 2020-10-10 13:39:43 +02:00
Stefan Niedermann
037c0f2403 Fix instrumented test compilation errors 2020-10-10 13:36:33 +02:00
Stefan Niedermann
62a8e25658 #831 Migrate from SQLiteOpenHelper to Room
Category handling
2020-10-10 13:20:57 +02:00
Stefan Niedermann
92430e8c78 #831 Migrate from SQLiteOpenHelper to Room
Category handling
2020-10-10 13:03:03 +02:00
Stefan Niedermann
d59748aa22 Try to fix category update 2020-10-10 00:13:14 +02:00
Stefan Niedermann
9d3c873602 Fix integration tests 2020-10-10 00:00:24 +02:00
Stefan Niedermann
6a7599fdcf Merge branch 'master' into 831-room 2020-10-09 23:52:12 +02:00
Stefan Niedermann
195845c98a bump version to 2.17.1 2020-10-09 23:39:28 +02:00
Stefan Niedermann
10fe9d1404 #831 Migrate from SQLiteOpenHelper to Room
Split Navigation out
2020-10-09 23:24:37 +02:00
Stefan Niedermann
daeea89fb4 #831 Migrate from SQLiteOpenHelper to Room
Split MenuItems from NavigationCategory items
2020-10-09 22:47:07 +02:00
Stefan Niedermann
adc745a797 #831 Migrate from SQLiteOpenHelper to Room
Split MenuItems from NavigationCategory items
2020-10-09 22:43:18 +02:00
Stefan Niedermann
869ac05b2f Remove warning 2020-10-09 22:03:17 +02:00
Stefan Niedermann
6fba8f3476 #831 Migrate from SQLiteOpenHelper to Room
Improve Account deletion and fallbacks for CSM
2020-10-09 21:53:11 +02:00
Stefan Niedermann
e1c80fe2c8 #831 Migrate from SQLiteOpenHelper to Room
Rewrite NoSuchElementException for Widgets
2020-10-09 21:22:58 +02:00
Stefan Niedermann
5cfe9d5ea8 #831 Migrate from SQLiteOpenHelper to Room
Fix integration test compilation
2020-10-09 15:18:48 +02:00
Stefan Niedermann
3d31b2f9b3 #831 Migrate from SQLiteOpenHelper to Room
Fix migration
2020-10-09 14:50:52 +02:00
Stefan Niedermann
ebe02f7209 #831 Migrate from SQLiteOpenHelper to Room
AutoIncrement
2020-10-09 13:06:22 +02:00
Stefan Niedermann
7c06409ceb #831 Migrate from SQLiteOpenHelper to Room
Fix toggle favorite on click
2020-10-09 13:02:15 +02:00
Stefan Niedermann
c173c45257 #831 Migrate from SQLiteOpenHelper to Room
Fix delete note via swipei
2020-10-09 12:54:28 +02:00
Stefan Niedermann
b42700e8fa #831 Migrate from SQLiteOpenHelper to Room
Fix changing category in multiselect
2020-10-09 12:50:11 +02:00
Stefan Niedermann
7751042c99 #831 Migrate from SQLiteOpenHelper to Room
Fix displaying category
2020-10-09 11:18:16 +02:00
Stefan Niedermann
000aa3e134 #831 Migrate from SQLiteOpenHelper to Room
Remove some no longer needed code
2020-10-09 11:05:36 +02:00
Stefan Niedermann
3d3767b95e #831 Migrate from SQLiteOpenHelper to Room
Fix sorting and favorite by swiping
2020-10-09 10:51:12 +02:00
Stefan Niedermann
9f5973afbf #831 Migrate from SQLiteOpenHelper to Room
Use LiveData to fetch categories
2020-10-09 10:38:55 +02:00
Stefan Niedermann
2796da4b1e #831 Migrate from SQLiteOpenHelper to Room
Fix sort order recognition in special navigation categories
2020-10-09 09:25:22 +02:00
Stefan Niedermann
06e4492b7f Merge branch '831-room-livedata' into 831-room 2020-10-09 09:19:54 +02:00
Stefan Niedermann
bed8fceb31 Merge remote-tracking branch 'origin/master' into 831-room 2020-10-09 09:19:45 +02:00
Stefan Niedermann
b40e62a2c1 #831 Migrate from SQLiteOpenHelper to Room
Refactor selected navigation category
2020-10-09 09:19:20 +02:00
Stefan Niedermann
149d78b984 #831 Migrate from SQLiteOpenHelper to Room
distinctUntilChanges
2020-10-09 08:30:13 +02:00
Nextcloud bot
19b82fb937 [tx-robot] updated from transifex 2020-10-08 21:11:29 +02:00
Niedermann IT-Dienstleistungen
4c6d6cd209
Increase minSdkVersion to 18 (= Android 4.3) 2020-10-08 21:10:31 +02:00
Stefan Niedermann
f242452bf2 #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 15:35:05 +02:00
Stefan Niedermann
92d0438751 #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 15:25:21 +02:00
Stefan Niedermann
0b263beea5 Merge branch '831-room' into 831-room-livedata
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/main/MainActivity.java
2020-10-08 13:50:12 +02:00
Stefan Niedermann
50d853ed9d #831 Migrate from SQLiteOpenHelper to Room
Fix creating notes
2020-10-08 13:05:40 +02:00
Stefan Niedermann
e9c0d853ac #831 Migrate from SQLiteOpenHelper to Room
Fix opening notes
2020-10-08 12:53:44 +02:00
desperateCoder
a9e91b962d maybe something like that? 2020-10-08 12:50:46 +02:00
desperateCoder
49bc162189 maybe something like that? 2020-10-08 12:30:08 +02:00
Stefan Niedermann
19dbf4ead2 #831 Migrate from SQLiteOpenHelper to Room
(Revert accidently pushed livedata)
2020-10-08 12:23:01 +02:00
Stefan Niedermann
9ea765977b #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 12:19:30 +02:00
Stefan Niedermann
7fbe8115fc #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 11:54:26 +02:00
Stefan Niedermann
8d5b92abf2 #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 10:38:28 +02:00
Stefan Niedermann
a6cecbe2c2 #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 10:13:38 +02:00
Stefan Niedermann
31586c7ddd #831 Migrate from SQLiteOpenHelper to Room 2020-10-08 00:11:04 +02:00
Stefan Niedermann
8a87182d4d #831 Migrate from SQLiteOpenHelper to Room 2020-10-07 23:22:18 +02:00
Stefan Niedermann
5ae41e37bb #831 Migrate from SQLiteOpenHelper to Room
Fix Sidebar categories list
2020-10-07 23:08:50 +02:00
Stefan Niedermann
d94979864b #831 Migrate from SQLiteOpenHelper to Room
Migration
2020-10-07 22:58:32 +02:00
Stefan Niedermann
f356ec6ea1 #831 Migrate from SQLiteOpenHelper to Room
Handle migration for Notes and Accounts
2020-10-07 14:44:47 +02:00
Stefan Niedermann
f6adc6ad3a #831 Migrate from SQLiteOpenHelper to Room
Safe old migration steps
2020-10-07 12:05:34 +02:00
Stefan Niedermann
457a90b8c9 #831 Migrate from SQLiteOpenHelper to Room
Try to map table and column names for easier migration
2020-10-07 11:20:50 +02:00
Stefan Niedermann
8eed93b90d #831 Migrate from SQLiteOpenHelper to Room
Add indices and foreign keys
2020-10-07 10:19:03 +02:00
Stefan Niedermann
d2537d11ca #831 Migrate from SQLiteOpenHelper to Room
Ignore failing instrumented tests for now
2020-10-07 10:01:07 +02:00
Stefan Niedermann
39e9e36d36 #831 Migrate from SQLiteOpenHelper to Room 2020-10-07 09:57:33 +02:00
Stefan Niedermann
b2bfc20148 #831 Migrate from SQLiteOpenHelper to Room
Catch color parse errors
2020-10-06 14:01:58 +02:00
Stefan Niedermann
dfcfb3d238 #831 Migrate from SQLiteOpenHelper to Room 2020-10-06 13:52:56 +02:00
Stefan Niedermann
5597fd0dbc #831 Migrate from SQLiteOpenHelper to Room
Remove old AbstractNotesDatabase
2020-10-06 12:54:53 +02:00
Stefan Niedermann
dd48384fe8 #831 Migrate from SQLiteOpenHelper to Room
Comment old database test
2020-10-06 12:36:44 +02:00
Stefan Niedermann
cdcf799c96 #831 Migrate from SQLiteOpenHelper to Room
Reduce diff
2020-10-06 12:29:54 +02:00
Stefan Niedermann
1df2288497 #831 Migrate from SQLiteOpenHelper to Room
Reduce diff
2020-10-06 12:27:55 +02:00
Stefan Niedermann
5c664838ad #831 Migrate from SQLiteOpenHelper to Room
Reduce diff
2020-10-06 12:27:47 +02:00
Stefan Niedermann
91d2e9df2c #831 Migrate from SQLiteOpenHelper to Room
Reduce diff
2020-10-06 12:19:50 +02:00
Stefan Niedermann
680a6b7121 #831 Migrate from SQLiteOpenHelper to Room 2020-10-06 12:17:31 +02:00
Stefan Niedermann
38ff05d674 #831 Migrate from SQLiteOpenHelper to Room 2020-10-06 12:09:02 +02:00
Stefan Niedermann
34f5a0a902 #831 Migrate from SQLiteOpenHelper to Room
Remove old DBNote and CloudNote
2020-10-06 11:54:56 +02:00
Stefan Niedermann
4f7fdc9e09 #831 Migrate from SQLiteOpenHelper to Room
Remove old LocalAccount
2020-10-06 11:42:49 +02:00
Stefan Niedermann
ac20a45c07 #831 Migrate from SQLiteOpenHelper to Room
Remove old SqliteOpenHelper database
2020-10-06 11:41:29 +02:00
Stefan Niedermann
b27664cc15 #831 Migrate from SQLiteOpenHelper to Room
Fix some build issues
2020-10-06 10:53:57 +02:00
Stefan Niedermann
cfc7c79ac5 #831 Migrate from SQLiteOpenHelper to Room
Fix some build issues
2020-10-06 10:32:59 +02:00
Stefan Niedermann
a3aa4a8b66 #831 Migrate from SQLiteOpenHelper to Room 2020-10-06 10:19:46 +02:00
Stefan Niedermann
66e07f54d3 #831 Migrate from SQLiteOpenHelper to Room 2020-10-06 10:05:53 +02:00
Stefan Niedermann
3a8077cd90 #831 Migrate from SQLiteOpenHelper to Room 2020-10-05 20:51:07 +02:00
Stefan Niedermann
8feb06f93b #831 Migrate from SQLiteOpenHelper to Room
Widgets
2020-10-05 16:31:11 +02:00
Stefan Niedermann
21ba77dc68 #831 Migrate from SQLiteOpenHelper to Room
Starting widgets
2020-10-05 16:24:02 +02:00
Stefan Niedermann
f0b57a2ad8 #831 Migrate from SQLiteOpenHelper to Room
Fix some build bugs
2020-10-05 16:18:30 +02:00
Stefan Niedermann
e58623a078 #831 Migrate from SQLiteOpenHelper to Room
Fix some build bugs
2020-10-05 16:13:19 +02:00
Stefan Niedermann
b8048cb11b #831 Migrate from SQLiteOpenHelper to Room
Fix some build bugs
2020-10-05 16:01:35 +02:00
Stefan Niedermann
ccdf700698 #831 Migrate from SQLiteOpenHelper to Room
Fix some build bugs
2020-10-05 15:55:06 +02:00
Stefan Niedermann
889b6e44c3 #831 Migrate from SQLiteOpenHelper to Room 2020-10-05 15:28:58 +02:00
Stefan Niedermann
b159118faf #831 Migrate from SQLiteOpenHelper to Room 2020-10-05 14:00:58 +02:00
Stefan Niedermann
51bd8ff464 #831 Migrate from SQLiteOpenHelper to Room 2020-10-05 13:02:38 +02:00
Stefan Niedermann
db0cf85654 Merge branch 'master' into 831-room
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/main/MainActivity.java
2020-10-05 10:57:35 +02:00
Stefan Niedermann
350662066d version bump to 2.17.0 2020-10-05 10:43:38 +02:00
Stefan Niedermann
aa8dbc46a2 Merge remote-tracking branch 'origin/master' 2020-10-05 10:41:04 +02:00
Stefan Niedermann
5d23ec1ef9 Fix #931 Add plural form to string 2020-10-05 10:40:59 +02:00
Nextcloud bot
ab42d21baa [tx-robot] updated from transifex 2020-10-05 10:32:35 +02:00
Stefan Niedermann
ae6d05243d #946 Allow to modify category in multi-select view 2020-10-05 10:15:57 +02:00
Stefan Niedermann
01c46004e7 #949 Use https:// as protocol for www links 2020-10-05 09:41:52 +02:00