Commit graph

3770 commits

Author SHA1 Message Date
Stefan Niedermann
bcb4a07910 Update changelog 2021-05-14 17:09:39 +02:00
Stefan Niedermann
04d88572ad Minor refactoring 2021-05-14 17:08:04 +02:00
Stefan Niedermann
e2e5c19523 Fix mocks 2021-05-14 17:03:47 +02:00
Stefan Niedermann
5d4c022e17 Merge branch 'master' of https://github.com/Cui-Yusong/nextcloud-notes into Cui-Yusong-master 2021-05-14 16:30:54 +02:00
Stefan Niedermann
3b6baf42dc Open trashbin in files app
With fallback to legacy launch in browser
2021-05-14 16:11:24 +02:00
Cui
3bfa13bc34 update 2021-05-14 20:57:32 +08:00
Cui
0cd28d8b00 update 2021-05-14 20:38:49 +08: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]
d541ca921b Bump gradle from 4.2.0 to 4.2.1
Bumps gradle from 4.2.0 to 4.2.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 09:00:43 +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
303f335fac Fix some IDE warnings and remove outdated unit tests 2021-05-12 14:31:20 +02:00
Cui
44e585f828 update 2021-05-12 20:22:05 +08:00
Stefan Niedermann
23836fe59b Minor code refactorings 2021-05-12 13:26:08 +02:00
Stefan Niedermann
8d2e7941be Add unit test for getMarkdownLink() 2021-05-12 12:03:04 +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
Cui
1ccd74e288 update 2021-05-12 17:11:46 +08: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
CuiYuSong
3a075c838a Merge branch 'stefan-niedermann:master' into master 2021-05-12 16:10:48 +08:00
CuiYuSong
f0a1123518
Update MarkdownUtil.java 2021-05-12 14:41:47 +08:00
CuiYuSong
ee86b08146
Update MarkdownUtilTest.java 2021-05-12 14:07:58 +08:00
CuiYuSong
061616d313
Update MarkdownUtilTest.java 2021-05-12 14:07:23 +08:00
CuiYuSong
670fa582a7
Update MarkdownUtil.java 2021-05-12 14:03:53 +08:00
CuiYuSong
fd5a764d22
Update MarkdownUtilTest.java 2021-05-12 14:01:28 +08:00
Stefan Niedermann
1bc0d8c9c1 Update changelog 2021-05-10 18:45:50 +02:00
Jimmy-7664
86d427c02d Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
ef17f3d3d7 Update MarkdownUtilTest.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
02e6658506 Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
4ccbed52bb Update MarkdownUtilTest.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
c0356909a1 Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
f6672c8778 Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
faf2bf338e Update MarkdownUtilTest.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
6b23e2994a Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00