Commit graph

160 commits

Author SHA1 Message Date
Stefan Niedermann
642863016c update changelog
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-12 16:19:26 +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
Stefan Niedermann
858ed3475f #1018 Use Glide for image loading
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-05 13:22:38 +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
5c87048074 Move instrumented tests to robolectric unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-30 15:23:07 +02:00
dependabot[bot]
46106bee1f Bump annotations from 21.0.0 to 21.0.1
Bumps [annotations](https://github.com/JetBrains/java-annotations) from 21.0.0 to 21.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases)
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JetBrains/java-annotations/compare/21.0.0...21.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 08:55:36 +02:00
Stefan Niedermann
771026fc32 Use default locale when checking whether device manufacturer is samsung
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-25 15:25:55 +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]
7673d0bdb0 Bump annotations from 20.1.0 to 21.0.0
Bumps [annotations](https://github.com/JetBrains/java-annotations) from 20.1.0 to 21.0.0.
- [Release notes](https://github.com/JetBrains/java-annotations/releases)
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JetBrains/java-annotations/compare/20.1.0...21.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-21 09:17:12 +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
Stefan Niedermann
04d88572ad Minor refactoring 2021-05-14 17:08:04 +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
Cui
3bfa13bc34 update 2021-05-14 20:57:32 +08:00
Cui
0cd28d8b00 update 2021-05-14 20:38:49 +08: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
Cui
1ccd74e288 update 2021-05-12 17:11:46 +08: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
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
Jimmy-7664
86ee13ef85 Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
3924618164 Update MarkdownUtilTest.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
7a81d82592 Update MarkdownUtil.java 2021-05-10 18:44:08 +02:00
Jimmy-7664
5b8cdf825e Update MarkdownUtilTest.java 2021-05-10 18:44:08 +02:00
Stefan Niedermann
ab791b5ad7 Remove RxMarkdown dependency completely 2021-05-05 19:54:36 +02:00
Stefan Niedermann
c340737ced Merge branch 'master' into remove-rx-markdown
# Conflicts:
#	markdown/src/main/java/it/niedermann/android/markdown/MarkdownUtil.java
2021-05-05 11:00:48 +02:00
Stefan Niedermann
363125b18f MarkdownUtilTest: More test cases for one existing character 2021-05-02 18:43:59 +02:00
Cui
89ab0c8bef update the formatting 2021-05-02 18:41:47 +02:00
Cui
10b1a067c1 update 2021-05-02 18:41:47 +02:00
Cui
cdc12f8872 update the TODO test and fix 2021-05-02 18:41:47 +02:00
admin
a69d950b89 update 2021-05-02 18:41:47 +02:00
admin
521543ac94 test 2021-05-02 18:41:47 +02:00
Stefan Niedermann
ef7e2815b0 Fix #1115 🌐 Support links in tables 2021-04-26 11:23:07 +02:00
Stefan Niedermann
ac114f21c6 - Allow dashes in note titles (#1104) 2021-04-25 13:33:10 +02:00
Stefan Niedermann
e178bf39a7 Remove RxMarkdown dependency completely 2021-04-22 10:39:55 +02:00
Konrad Pozniak
1cb9573c8d remove multidex 2021-04-09 21:40:48 +02:00
dependabot-preview[bot]
ddef9f9fa8 Bump lifecycle-livedata from 2.3.0 to 2.3.1
Bumps lifecycle-livedata from 2.3.0 to 2.3.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-25 07:29:41 +01:00
Stefan Niedermann
e73639c801 Fix #1046 Remember scroll position in preview mode 2021-03-22 16:49:57 +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
00f06e930b #559 Fix NPE 2021-03-07 19:34:17 +01:00
Stefan Niedermann
a153462dfa #559 Use emojis for checkboxes in widgets if possible - special decision for samsung 2021-03-07 19:34:17 +01:00
Stefan Niedermann
1e152e48fb WiP: #559 Use emojis for checkboxes in widgets if possible 2021-03-07 19:34:17 +01:00
Stefan Niedermann
deb86d2757 WiP: #559 Use emojis for checkboxes in widgets if possible 2021-03-07 19:34:17 +01:00
Stefan Niedermann
1c63c0b741 WiP: #559 Use emojis for checkboxes in widgets if possible 2021-03-07 19:34:17 +01:00
Stefan Niedermann
6683713419 WiP: #559 Use emojis for checkboxes in widgets if possible 2021-03-07 19:34:17 +01:00
Stefan Niedermann
ac732bdd2f WiP: #559 Use emojis for checkboxes in widgets if possible 2021-03-07 19:34:17 +01:00
Stefan Niedermann
8ff512b1d5 WiP: #559 Use emojis for checkboxes in widgets if possible 2021-03-07 19:34:17 +01:00
Stefan Niedermann
691d8c9ebc Allow only once listener to be set 2021-03-03 15:58:11 +01:00
Stefan Niedermann
ee06cb6edb Allow listeners instead of LiveData 2021-03-03 15:58:11 +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
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
dependabot-preview[bot]
f2676cb327 Bump lifecycle-livedata from 2.2.0 to 2.3.0
Bumps lifecycle-livedata from 2.2.0 to 2.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-11 08:22:03 +01:00
Stefan Niedermann
5a94fae413 - 🖼 Downscale and display huge images in preview mode instead of crash (#1034) 2021-02-09 13:48:39 +01:00
Stefan Niedermann
0342e13597 Fix #1034 Canvas: trying to draw too large (Huge images) 2021-02-09 13:45:43 +01:00
Stefan Niedermann
6f74c1cd15 Remove unused imports 2021-01-21 16:20:54 +01:00
Stefan Niedermann
54dc388da4 Remove debug logs 2021-01-21 16:20:54 +01:00
desperateCoder
233f49dafe #1040 golden watercock 2021-01-21 16:20:54 +01:00
desperateCoder
fba2260a22 #1040 fixed auto continuation (i guess) 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
508897c824 ↩️ Soft break adds new line 2021-01-11 20:59:01 +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
Niedermann IT-Dienstleistungen
43432c9a84
Refactor markdown module (#1025)
Refactor markdown module
2021-01-06 11:56:06 +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
fdc85da88a Update buildTools to 30.0.3 2021-01-05 10:53:22 +01:00
Stefan Niedermann
e5daa14a0f Workaround selection background color of fenced code blocks 2021-01-04 21:41:27 +01:00
Stefan Niedermann
9ecff8322e Optimize MarkdownEditor interface 2021-01-04 20:38:45 +01:00
Stefan Niedermann
2a97658126 Add testRemoveSpans 2021-01-04 20:26:33 +01:00
Stefan Niedermann
94d3d70d04 Add more test scenarios for MarkwonMarkdownUtil#setCheckboxStatus 2021-01-04 20:14:25 +01:00
Stefan Niedermann
e19db2b7e8 Remove obsolete string 2021-01-04 18:24:31 +01:00
Stefan Niedermann
5ed91afbb6 Fix toggling checkboxes in combination with nested codefences 2021-01-04 18:24:18 +01:00
Stefan Niedermann
873eebd418 Fix toggling checkboxes in combination with codefences 2021-01-04 17:56:12 +01:00
Stefan Niedermann
983ddc2f43 Include all available syntax highlightings 2021-01-04 15:05:32 +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
32058a2db5 Fix fenced code blocks in dark theme 2021-01-04 11:40:27 +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
b14251001b Add support for images 2021-01-04 10:36:38 +01:00
Stefan Niedermann
b7ca7d38df Fix StringIndexOutOfBoundsException in ToggleableTaskListPlugin 2021-01-04 09:47:08 +01:00
Stefan Niedermann
6eb99e9434 Merge branch 'master' into toggleable-checkboxes 2021-01-04 00:53:11 +01:00
Stefan Niedermann
7721463554 Better UX when toggling checkboxes 2021-01-04 00:45:28 +01:00