Commit graph

2015 commits

Author SHA1 Message Date
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
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
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