Commit graph

2300 commits

Author SHA1 Message Date
Stefan Niedermann
bfca5c6117 - 🐞️ Fix gift card image
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-15 09:30:49 +02:00
Stefan Niedermann
c8e8505073 version bump to 3.4.15
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-15 08:57:50 +02:00
Nextcloud bot
ffde68fa9d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-15 08:38:07 +02:00
Stefan Niedermann
df3e8e831a #1369 Optimize wording
https://github.com/stefan-niedermann/nextcloud-notes/issues/1369#issuecomment-943085538
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-14 10:09:43 +02:00
Stefan Niedermann
5c5c9d7329 #1369 Optimize wording
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-14 09:22:26 +02:00
Stefan Niedermann
732bbf4b09 Improve image formatting help
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-13 10:40:40 +02:00
Stefan Niedermann
94fab6c865 #1369 Add some more context to the translation strings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-13 09:36:04 +02:00
Stefan Niedermann
8a62042a6a #1369 Add some more context to the translation strings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-13 09:33:46 +02:00
Stefan Niedermann
42a484da08 Fix typo
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-12 14:33:32 +02:00
Stefan Niedermann
84bd264f53 Fix unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-11 11:35:16 +02:00
Stefan Niedermann
e3408a0c67 version bump to 3.4.14
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-11 11:30:44 +02:00
Stefan Niedermann
95afd472ce Fix #1272 Notes created via Android's "Share Link" feature are not synced
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-11 11:24:37 +02:00
Nextcloud bot
220bc52cc4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-11 11:05:40 +02:00
Valdnet
9efc93d5a0 i18n: Correct word
Reported by the translator from Transifex.
2021-10-09 22:51:27 +02:00
dependabot[bot]
5d35ed7de8 Bump mockito-core from 3.12.4 to 4.0.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 15:40:58 +02:00
Stefan Niedermann
1d22ce452d Ignore constructor
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 14:49:52 +02:00
Stefan Niedermann
7d7ea73fe9 version bump to 3.4.13
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 14:41:08 +02:00
Nextcloud bot
d0707cdbbe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-08 14:40:40 +02:00
Stefan Niedermann
853f1db5eb Use ShortcutManagerCompat for pin to homescreen
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 14:15:28 +02:00
Stefan Niedermann
937c9cae52 Use var keyword
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 14:04:31 +02:00
Stefan Niedermann
9a4f84eb61 Optimize special category icons
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 13:56:45 +02:00
Stefan Niedermann
5c124bc92b Also intent sub categories which have deeper sub categories
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 13:17:36 +02:00
Stefan Niedermann
e3bcc15c2f Extend unit test for navigation item construction
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 12:50:44 +02:00
Stefan Niedermann
e7837b7c35 Add unit test
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-08 12:15:15 +02:00
Stefan Niedermann
e03866f4d3 Merge branch 'fix/subcategoryux' of https://github.com/ScottieKim/nextcloud-notes into ScottieKim-fix/subcategoryux 2021-10-04 14:54:04 +02:00
Nextcloud bot
6dbafb0a98 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-04 09:35:17 +02:00
vhouriet
77099f6fcf Fix : "search" in overflow menu
Removed the condition for collapsing the actionView before the menu is shown (onPrepareOptionsMenu).

Fixes #522
2021-10-04 09:33:02 +02:00
Stefan Niedermann
3a25a4b1af version bump to 3.4.12
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-10-02 10:39:27 +02:00
Nextcloud bot
852f43b7d3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-02 10:38:52 +02:00
Nextcloud bot
8cd95258f2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-01 21:48:27 +02:00
Stefan Niedermann
5997ae57f6 Fix #1358 Categories created in web UI are not shown in Android app
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-30 14:35:28 +02:00
Stefan Niedermann
cb527367b0 #761 Adjust unit tests
Adding account did formerly not require any network access. This commit mocks those resources.

Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-30 13:55:59 +02:00
Stefan Niedermann
5801f00bfb #761 Import notes one by one to avoid read timeout for the first sync
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-30 12:36:14 +02:00
Nextcloud bot
411c61c21d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-26 15:10:10 +02:00
Nextcloud bot
4138aed973 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-23 08:00:08 +02:00
Stefan Niedermann
812d26952c #1348 Make translations easier (Follow-Up)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-17 13:27:59 +02:00
Stefan Niedermann
ff2cab8f5c #1348 Make translations easier by removing HTML markup from strings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-17 13:24:51 +02:00
Valdnet
b6afb11854 i18n: Add dot
Add a dot at the end of the sentence.
2021-09-14 14:51:38 +02:00
Stefan Niedermann
a9fb6f12ba Fix #1308 Crash when long pressing a note and swiping to the edge of the screen
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-11 12:02:25 +02:00
Stefan Niedermann
119fced969 Raise minSdk to 22 to match Nextcloud app
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-09-08 13:35:44 +02:00
Nextcloud bot
c138239385 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-08 10:28:20 +02:00
dependabot[bot]
f7dd14b86f Bump work-runtime from 2.5.0 to 2.6.0
Bumps work-runtime from 2.5.0 to 2.6.0.

---
updated-dependencies:
- dependency-name: androidx.work:work-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 15:30:38 +02:00
Nextcloud bot
67ee37307b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-29 10:15:30 +02:00
dependabot[bot]
c3aa8ac80a Bump mockito-core from 3.12.3 to 3.12.4
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.3...v3.12.4)

---
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-08-26 15:31:15 +02:00
dependabot[bot]
5d3d4d1223 Bump mockito-core from 3.12.2 to 3.12.3
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.2...v3.12.3)

---
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-08-25 15:53:55 +02:00
dependabot[bot]
58d52bce4d Bump mockito-core from 3.12.1 to 3.12.2
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.1 to 3.12.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.1...v3.12.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-08-24 15:31:23 +02:00
dependabot[bot]
b1847e968c Bump gson from 2.8.7 to 2.8.8
Bumps [gson](https://github.com/google/gson) from 2.8.7 to 2.8.8.
- [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.7...gson-parent-2.8.8)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 20:02:05 +02:00
dependabot[bot]
07f7e866c4 Bump mockito-core from 3.12.0 to 3.12.1
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.0...v3.12.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-08-23 19:11:03 +02:00
dependabot[bot]
4e26638fe7 Bump mockito-core from 3.11.2 to 3.12.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.2 to 3.12.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.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-08-20 18:52:46 +02:00
Nextcloud bot
62b41c0212 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-11 21:42:51 +02:00
Nextcloud bot
d1e4500055 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-07 17:19:49 +02:00
Stefan Niedermann
c89d3f76fd Add commit "Make use of Java 10 var keyword" again
This reverts commit 91055e57f3.
2021-07-30 10:09:24 +02:00
Stefan Niedermann
91055e57f3 Revert "Make use of Java 10 var keyword"
This reverts commit 085bb7a94c.
2021-07-29 18:44:06 +02:00
Stefan Niedermann
085bb7a94c Make use of Java 10 var keyword
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-29 18:13:12 +02:00
Stefan Niedermann
d94721f213 Upgrade AGP to 7.0.0
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-29 16:49:12 +02:00
Stefan Niedermann
beb2a5b880 Disable jetifier and bump robolectric
https://issuetracker.google.com/issues/159151549#comment9
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-29 11:14:34 +02:00
dependabot[bot]
648186d82a Bump fragment from 1.3.5 to 1.3.6
Bumps fragment from 1.3.5 to 1.3.6.

---
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-07-22 15:21:28 +02:00
dependabot[bot]
d6e1a60085 Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.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>
2021-07-22 15:17:43 +02:00
Nextcloud bot
7fa274222c [tx-robot] updated from transifex 2021-07-20 13:44:51 +02:00
Nextcloud bot
8fb296f42e [tx-robot] updated from transifex 2021-07-12 13:30:11 +02:00
dependabot[bot]
8782761f3f Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 16:34:03 +02:00
Stefan Niedermann
2884c78639 Merge remote-tracking branch 'origin/master' 2021-07-03 12:19:12 +02:00
Nextcloud bot
53d403559a [tx-robot] updated from transifex 2021-07-03 12:18:39 +02:00
Stefan Niedermann
33a4b7ed54 version bump to 3.4.11
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-03 12:18:18 +02:00
Stefan Niedermann
f54c44a103 Merge remote-tracking branch 'origin/master' 2021-07-03 12:14:42 +02:00
dependabot[bot]
f2b37df272 Bump core from 1.3.0 to 1.4.0
Bumps core from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.test:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 15:25:18 +02:00
Stefan Niedermann
a7036c362c #1281 Prevent duplicate key exception
Use SingleThreadExecutor for performing remote synchronization tasks

Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-30 11:58:20 +02:00
Stefan Niedermann
f772be3f0a Merge remote-tracking branch 'origin/master' 2021-06-30 11:49:30 +02:00
Stefan Niedermann
added43e07 Add mdm flavor
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-30 11:46:27 +02:00
Valdnet
0394ac630b i18n: Remove double spaces and disable translation 2021-06-29 09:44:22 +02:00
Stefan Niedermann
8599732607 Use new icon for Quick Settings tile
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 14:39:06 +02:00
Stefan Niedermann
c7132087c7 Use ConcurrentHashMap for sync related states
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 13:46:29 +02:00
Stefan Niedermann
f9ccd7b95b Dismiss dialog when fetching existing settings was not successful
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 13:41:39 +02:00
Stefan Niedermann
ee2a340b68 Settings: i18n
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 13:39:55 +02:00
Stefan Niedermann
d07e368d00 Expose settings attributes
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 13:19:45 +02:00
Stefan Niedermann
491ccd57da Fix build
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 10:16:32 +02:00
Stefan Niedermann
ef993ca0d8 #916 Server settings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-28 10:08:50 +02:00
Stefan Niedermann
9fe1b079ef Merge branch 'master' into 916-settings
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesRepository.java
#	app/src/main/java/it/niedermann/owncloud/notes/shared/model/ApiVersion.java
#	app/src/main/res/values/strings.xml
2021-06-28 10:06:50 +02:00
Stefan Niedermann
0925290ec5 Fix #1254 🐞 Change grid view option not always applied directly
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 23:58:03 +02:00
Stefan Niedermann
632804ce49 Fix #1282 Search field does not immediately focus
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 22:21:10 +02:00
Stefan Niedermann
24b241392d Merge remote-tracking branch 'origin/master' 2021-06-24 19:53:35 +02:00
Stefan Niedermann
3faf357c2a bump nextcloud-commons to 1.4.0
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 19:53:31 +02:00
ScottieKim
8141a952a8 Update: subcategory enhancement #1154 solved 2021-06-25 01:10:24 +09:00
Nextcloud bot
8b1a8fdddb [tx-robot] updated from transifex 2021-06-24 14:00:15 +02:00
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