Commit graph

1247 commits

Author SHA1 Message Date
Mike Chester Wang
e0c292bafd
Update SearchableBaseNoteFragment.java 2020-04-23 23:58:03 +08:00
Mike Chester Wang
5bfb3ee70a
804: Fixed prev and submit button in search
While doing searching, if the content is changed, the search result will NOT change. So if prev and submit are clicked, it may not give the correct respond.
2020-04-23 23:56:35 +08:00
Stefan Niedermann
071ee8228c Only compare major versions of API 2020-04-22 13:55:37 +02:00
Stefan Niedermann
ee680f37d9 version bump to 2.11.12 2020-04-22 13:07:46 +02:00
Nextcloud bot
2ead387350 [tx-robot] updated from transifex 2020-04-22 12:26:56 +02:00
Isaac_Chen
d3cfecebe8 Two main midifications: 1) Move delay to the top of class SearchableBaseNoteFragment; 2) If there is only one char in the search pattern, search it immediately without delay 2020-04-22 12:23:29 +02:00
Isaac_Chen
c975c07b97 Enhancement for 769: Currently, If the search string changes too frequently, there will be many search tasks running. We add a delay in this commit to prevent this. If the search string does not change in $delay ms, then the search task will start. 2020-04-22 12:23:29 +02:00
Isaac_Chen
3b5124e0b2 Make up for the missing condition judgment in last commit 2020-04-22 12:23:29 +02:00
Isaac_Chen
20388c2e7b Bug fix: 769. The main reason is that the complexity of countOccurrences is O(mn^2), which is too large. So that the main thread may be frozen for a long time. We use a O(m+n) implementation 2020-04-22 12:23:29 +02:00
Stefan Niedermann
f07605d3a6 Initial support for instrumented tests 2020-04-18 23:23:38 +02:00
Stefan Niedermann
d724623e28 Fix #796 Changing the word "odd" 2020-04-17 10:21:28 +02:00
Stefan Niedermann
e3e8b5614a Fix WorkManager cancellation 2020-04-16 12:04:01 +02:00
Stefan Niedermann
6e7fca6e71 Merge branch 'master' into support-multiple-api-levels 2020-04-16 11:52:38 +02:00
Stefan Niedermann
252d4c239c Merge remote-tracking branch 'origin/master' 2020-04-16 11:50:00 +02:00
Stefan Niedermann
12ee76d0e1 version bump to 2.11.10 2020-04-16 11:49:53 +02:00
Nextcloud bot
041bf2e822 [tx-robot] updated from transifex 2020-04-16 11:49:08 +02:00
Stefan Niedermann
5ecaa4f702 version bump to 2.11.9 2020-04-16 11:41:28 +02:00
Stefan Niedermann
361cea6781 Merge master 2020-04-16 11:33:32 +02:00
Stefan Niedermann
dab2d3cc8f Merge branch 'master' into support-multiple-api-levels 2020-04-16 11:32:59 +02:00
Stefan Niedermann
e1cc30c347 Add more tips for TokenMismatchException 2020-04-16 11:32:44 +02:00
Stefan Niedermann
a300e3a96a Merge remote-tracking branch 'origin/master' 2020-04-16 11:26:47 +02:00
Stefan Niedermann
30adfc6295 Invalidate API cache on TokenMismatchException 2020-04-16 11:26:38 +02:00
dependabot-preview[bot]
1450ae1daf Bump preference from 1.1.0 to 1.1.1
Bumps preference from 1.1.0 to 1.1.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 09:30:38 +02:00
Stefan Niedermann
027f787003 Fix TokenMismatchException after deleting and readding an account 2020-04-16 08:11:39 +02:00
Stefan Niedermann
4df11459d5 Merge branch 'master' into support-multiple-api-levels
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesClient.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java
2020-04-16 08:10:25 +02:00
Stefan Niedermann
807c17a6ca Fix TokenMismatchException after deleting and readding an account 2020-04-16 08:08:10 +02:00
Stefan Niedermann
353a5a553b Merge branch 'master' into support-multiple-api-levels 2020-04-15 16:11:30 +02:00
Nextcloud bot
35ad855d48 [tx-robot] updated from transifex 2020-04-15 16:11:09 +02:00
Stefan Niedermann
0b5039f647 #768 Support API v1.0
Update supported API levels after each sync
2020-04-15 14:55:41 +02:00
Stefan Niedermann
fb6d0ab605 #768 Support API v1.0
Handle exceptions when importing an account more gracefully
2020-04-15 14:29:33 +02:00
Stefan Niedermann
45224fea12 #768 Support API v1.0
Added Capabilities#toString()
2020-04-15 14:18:54 +02:00
Stefan Niedermann
f0cd34d292 #768 Support API v1.0
Fetch capabilities when adding a new account
2020-04-15 13:55:36 +02:00
Valdnet
d5f4780dab Correction of the description
Word correction "hesitate".
2020-04-15 12:40:51 +02:00
Stefan Niedermann
25d9b35a10 #768 Support API v1.0
Try to find highest supported API version and fallback to API version 0.2
2020-04-15 12:06:26 +02:00
Stefan Niedermann
e1c0774d3b Merge branch 'master' into support-multiple-api-levels 2020-04-15 11:15:54 +02:00
Stefan Niedermann
468ff07394 Fix #790 Change the message description 2020-04-15 11:08:00 +02:00
Stefan Niedermann
8bf6b65598 #768 Support API v1.0 and #762 Theming 2020-04-15 11:07:21 +02:00
Stefan Niedermann
7c7f1b27a7 #786 Support API v1.0 2020-04-15 00:07:01 +02:00
Stefan Niedermann
fcacdef1e6 Upgrade database and add entries for API_VERSION and brand 2020-04-14 22:29:33 +02:00
Stefan Niedermann
924fdfb00b Added some final modifiers 2020-04-14 21:47:29 +02:00
Stefan Niedermann
675936a513 Remove testing exception 2020-04-14 21:45:32 +02:00
Stefan Niedermann
70e75ae343 Refactor margins 2020-04-14 21:44:37 +02:00
Stefan Niedermann
02f9a7aa2e Use RecyclerView for tips 2020-04-14 21:44:37 +02:00
Stefan Niedermann
00ee9375c3 Display hints and tips on sync errors 2020-04-14 21:44:37 +02:00
Stefan Niedermann
2a121479d0 Add TokenMismatchException to catchable exceptions on sync 2020-04-14 17:57:27 +02:00
Stefan Niedermann
915b950c68 Increase minSdk to match the Nextcloud Android app which is a requirement for using this app 2020-04-14 17:47:26 +02:00
Stefan Niedermann
45a7ede73b version bump to v2.11.8 2020-04-08 10:30:25 +02:00
Stefan Niedermann
8448b8c501 #768 ArrayIndexOutOfBoundsException when clicking on Settings 2020-04-08 10:29:29 +02:00
Stefan Niedermann
730cb8273f Merge remote-tracking branch 'origin/master' 2020-04-08 10:14:42 +02:00
Stefan Niedermann
affe0aa94a Enhance ExceptionUtil 2020-04-08 10:14:30 +02:00
Nextcloud bot
1c2aaf9de6 [tx-robot] updated from transifex 2020-04-07 21:46:19 +02:00
Stefan Niedermann
e89063bf50 version bump to v2.11.7 2020-04-03 10:15:05 +02:00
Nextcloud bot
a4d07aee31 [tx-robot] updated from transifex 2020-04-03 10:12:48 +02:00
Stefan Niedermann
fb6a0fd830 #776 App crash when selected - add logging 2020-04-02 10:02:37 +02:00
Stefan Niedermann
15208b5288 #776 App crash when selected - remove obsolete catch block 2020-04-02 09:57:22 +02:00
Stefan Niedermann
3940595ee1 Merge remote-tracking branch 'origin/master' 2020-04-02 09:56:27 +02:00
Stefan Niedermann
68db0d438e Fix #776 App crash when selected 2020-04-02 09:56:05 +02:00
dependabot-preview[bot]
580e418e2a Bump fragment from 1.2.3 to 1.2.4
Bumps fragment from 1.2.3 to 1.2.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 09:28:15 +02:00
Nextcloud bot
019bd1c1ba [tx-robot] updated from transifex 2020-04-01 19:39:33 +02:00
Stefan Niedermann
e973295eaf #776 App crash when selected 2020-04-01 19:38:43 +02:00
Stefan Niedermann
e11d80c45d Add some tools-previews 2020-03-27 12:41:17 +01:00
Stefan Niedermann
f884d96e6e Added flavor builds to .gitignore 2020-03-27 10:20:05 +01:00
Stefan Niedermann
9017105f27 version bump to 2.11.6 2020-03-27 09:54:20 +01:00
Niedermann IT-Dienstleistungen
be3afd87bd
Merge branch 'master' into transifex 2020-03-27 09:49:10 +01:00
Stefan Niedermann
afa6355448 Add translations for preference arrays 2020-03-27 09:47:05 +01:00
Nextcloud bot
a9e053737b
[tx-robot] updated from transifex 2020-03-27 03:38:44 +00:00
Stefan Niedermann
8eb03921c9 Fix highlight when wrapping around search occurrences 2020-03-26 14:16:59 +01:00
Stefan Niedermann
18d30b99cc version bump to 2.11.5 2020-03-26 13:52:12 +01:00
Stefan Niedermann
d2d33d8508 Enhance global note search highlight 2020-03-26 13:10:20 +01:00
Stefan Niedermann
9a95143f4e Enhance in-note search highlight 2020-03-26 11:21:49 +01:00
Stefan Niedermann
23c7263b09 Merge remote-tracking branch 'origin/master' 2020-03-26 09:02:37 +01:00
Stefan Niedermann
9e71a820ef Fix #722 IndexOutOfBoundsException in note containing external images 2020-03-26 09:02:14 +01:00
Nextcloud bot
ac3e758c4b [tx-robot] updated from transifex 2020-03-25 14:18:35 +01:00
Stefan Niedermann
07071fbb2d version bump to v2.11.4 2020-03-25 14:01:23 +01:00
dependabot-preview[bot]
e4d8e961fc Bump fragment from 1.2.2 to 1.2.3
Bumps fragment from 1.2.2 to 1.2.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 09:29:39 +01:00
dependabot-preview[bot]
c16fde17db Bump work-runtime from 2.3.3 to 2.3.4
Bumps work-runtime from 2.3.3 to 2.3.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 09:22:21 +01:00
stefan-niedermann
2fe111652c Remove not needed null checks
Because localAccount can deterministically not be null at this point

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-18 12:19:03 +01:00
stefan-niedermann
f096a17cc3 Use Boolean.TRUE instead of Boolean.valueOf(true) for comparison
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-18 12:02:14 +01:00
stefan-niedermann
20397f7cc3 Fix #714 Swipe to delete broken
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-18 11:02:35 +01:00
stefan-niedermann
b72626c86e Add build flavors
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-18 10:02:30 +01:00
stefan-niedermann
0737452872 version bump to v2.11.3
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-16 16:01:43 +01:00
Nextcloud bot
edbe9055e5 [tx-robot] updated from transifex 2020-03-16 15:59:45 +01:00
stefan-niedermann
1df43fa05b Stability improvements and bugfixes for synchronization and list widget
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-16 15:52:54 +01:00
stefan-niedermann
19cc0763b5 version bump to 2.11.1
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-13 23:36:06 +01:00
Niedermann IT-Dienstleistungen
6343c6ee6e
Fixed test crash 2020-03-13 23:30:22 +01:00
stefan-niedermann
13a74a36fe Fix #749 🗨️ Remove toasts (and only display snackbars)
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-13 23:10:10 +01:00
stefan-niedermann
e97eaa95c5 Move contents of nextcloud-commons-lib back to project
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-13 23:04:38 +01:00
Nextcloud bot
87a9dbf3be [tx-robot] updated from transifex 2020-03-13 22:42:17 +01:00
stefan-niedermann
9233a57785 Adjust logging to info level
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-13 22:38:26 +01:00
stefan-niedermann
a94d9d0b47 Remove duplicate variable value
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-03-13 22:32:55 +01:00
Christoph Loy
3763714c97
Switch to fixed timeout based app locking 2020-03-09 22:03:03 +01:00
Christoph Loy
5782a49e66
Merge branch 'master' into 354-password-protection 2020-03-08 12:45:14 +01:00
Christoph Loy
1c9116d93f Merge ifs to satisfy PMD... 2020-03-08 10:10:57 +01:00
Christoph Loy
eafadef56c Make parameter in ContextBasedRangeFormattingCallback#addMarkdown effectively final 2020-03-08 10:10:57 +01:00
Christoph Loy
af6b92fa22 Make parameter of SearchableBaseNoteFragment#indexOfNth effectively final 2020-03-08 10:10:57 +01:00
Christoph Loy
5daf7fcc10 Merge two ifs in NotesTextWatcher 2020-03-08 10:10:57 +01:00
Christoph Loy
8f8ae9772f Reduce visibility of members in persistence 2020-03-08 10:10:57 +01:00
Christoph Loy
26018d359b Make NavigationAdapter#assignItem private 2020-03-08 10:10:57 +01:00
Christoph Loy
f631326566 Make BaseNoteFragment#isNew protected 2020-03-08 10:10:57 +01:00
Christoph Loy
ab3d742a43 Make localAccount in NoteListWidgetConfiguration private 2020-03-08 10:10:57 +01:00
Christoph Loy
bd8991e9f8 Make ExceptionActivity#close private 2020-03-08 10:10:57 +01:00
Christoph Loy
a6d1a0822f Remove unused variable 2020-03-08 10:10:57 +01:00
Christoph Loy
8b512e9322 Add explicit visibility to members of Timeslot 2020-03-08 10:10:57 +01:00
Christoph Loy
d93ee8a636 Reduce visibility of AboutFragmentLicenseTab#openLicense 2020-03-08 10:10:57 +01:00
Christoph Loy
27a298fd97 Add (useless) break to CategoryAdapter to satisfy PMD 2020-03-08 10:10:57 +01:00
Christoph Loy
1759fdbf18 Set access modifier in BaseNoteFragment 2020-03-08 10:10:57 +01:00
Christoph Loy
3c5e08984c Reduce visiblity of members in ExceptionActivity 2020-03-08 10:10:57 +01:00
Christoph Loy
524ad9d0ce Fix derp in NoteUtil 2020-03-08 10:10:57 +01:00
Christoph Loy
053167e014 Make parameters in AlwaysAutoCompleteTextView effectivly final 2020-03-08 10:10:57 +01:00
Christoph Loy
cf36ea70a3 Remove unnecessary blocks from switch-case from ContextBasedRangeFormattingCallback 2020-03-08 10:10:57 +01:00
Christoph Loy
9b1a090f6a Add default case to ContextBasedRangeFormattingCallback 2020-03-08 10:10:57 +01:00
Christoph Loy
26508ac19e Get rid of unnecessary blocks and add default case to switch-case in ContextBasedFormattingCallback 2020-03-08 10:10:57 +01:00
Christoph Loy
b0fab92499 Split declarations 2020-03-08 10:10:57 +01:00
Christoph Loy
e463b29e84 Make parameter effecitvely non-final in NoteUtil 2020-03-08 10:10:57 +01:00
Christoph Loy
8432779bbe Get rid of qualified constant 2020-03-08 10:10:57 +01:00
Christoph Loy
758d475e66 Document NoOp in SingleNoteWidgetFactory 2020-03-08 10:10:57 +01:00
Christoph Loy
e0b1d125db Add default case to NoteListWidget 2020-03-08 10:10:57 +01:00
Christoph Loy
ed1580e488 Add default case to NotesListViewItemTouchHelper 2020-03-08 10:10:57 +01:00
Christoph Loy
449ea5f77d Remove redundant blocks 2020-03-08 10:10:57 +01:00
Christoph Loy
7c1542ea3c Remove redundant blocks in switch-case 2020-03-08 10:10:57 +01:00
Christoph Loy
b53dcf953b Add default case to MultiSelectedActionModeCallback#onActionItemClicked 2020-03-08 10:10:57 +01:00
Christoph Loy
2a704d6647 Do not reassign parameters 2020-03-08 10:10:57 +01:00
Christoph Loy
60c1e05552 Try to reduce complexity 2020-03-08 10:10:57 +01:00
Christoph Loy
0967678b40 Split declarations in NoteEditFragment 2020-03-08 10:10:57 +01:00
Christoph Loy
3b8246236e Get ride of unnecessary and confusiong blocks in switch in CategoryAdapter 2020-03-08 10:10:57 +01:00
Christoph Loy
65a5a0920f Get rid of unnecessary qualified name in BaseNoteFragment 2020-03-08 10:10:57 +01:00
Christoph Loy
0f8d46d975 Add NoOp comment to empty method in NoteListWidgetFactory 2020-03-08 10:10:57 +01:00
Christoph Loy
f4ca2aa7bb Split up declarations in NoteListWidgetConfiguration 2020-03-08 10:10:57 +01:00
Christoph Loy
c9102e9362 Split up declarations in NotesListViewActivity 2020-03-08 10:10:57 +01:00
Christoph Loy
20a53eb828 Fix some lint issues 2020-03-08 10:10:57 +01:00
Christoph Loy
6a43d268e9
Revert "Move unlock-check from onCreate to onStart (to provide security even if multiple singlenotewidgets are clicked after another)"
This reverts commit dd36786a

Moving it to onStart created more trouble than was worth
2020-03-06 14:15:34 +01:00
Christoph Loy
22203c3bb5
Merge branch 'master' into 354-password-protection 2020-03-05 22:19:06 +01:00
dependabot-preview[bot]
331b3206da Bump work-runtime from 2.3.2 to 2.3.3
Bumps work-runtime from 2.3.2 to 2.3.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 08:11:50 +01:00
Christoph Loy
dd36786a81
Move unlock-check from onCreate to onStart (to provide security even if multiple singlenotewidgets are clicked after another) 2020-03-02 22:13:43 +01:00
Christoph Loy
8d3e9c223b
Fix lint warnings 2020-03-02 18:20:48 +01:00
Christoph Loy
804c8ac584
Actually these flags are not even necessary 2020-03-02 18:08:54 +01:00
Christoph Loy
ca718370a3
Switch NO_HISTORY-flag to NEW_TASK and CLEAR_TOP_TASK 2020-03-02 17:31:21 +01:00
Christoph Loy
82868d7585
(Maybe) fix bug with singlenotewidget 2020-03-02 16:57:04 +01:00
Christoph Loy
f1ce566511
Merge branch 'master' into 354-password-protection
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/AboutActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/EditNoteActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/ExceptionActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/PreferencesActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/SelectSingleNoteActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/PreferencesFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/util/Notes.java
2020-03-02 16:28:51 +01:00
Christoph Loy
6411150d76
Fix lint by making NoteWidgetHelper#getDarkThemeSetting public 2020-02-28 21:37:51 +01:00
Christoph Loy
482be9b093
Merge Helper methods into NoteWidgetHelper 2020-02-28 21:33:25 +01:00
Christoph Loy
a63e6f5333
Merge branch 'master' into default-dark-mode 2020-02-28 21:13:34 +01:00
stefan-niedermann
59dc831c8e Fix some smaller lint issues
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-28 08:03:11 +01:00
stefan-niedermann
31ff82384f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NoteReadonlyFragment.java
2020-02-28 07:59:08 +01:00
stefan-niedermann
3187ca6eab Fix #750 Split up NoteSQLiteOpenHelper
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-28 07:57:03 +01:00
Christoph Loy
599f5482fb
Switch order of comparison for migration 11 in NoteSQLiteOpenHelper 2020-02-26 19:08:19 +01:00
Christoph Loy
284387778d
Add warning to not change the names of Enum constants in DarkModeSetting 2020-02-26 19:04:43 +01:00
Christoph Loy
84fdfc7ea3
Add graceful migration of the old boolean setting to the new String setting 2020-02-26 19:00:37 +01:00
Christoph Loy
2dbd7e303b
Remove all translations of "pref_value_theme_light" 2020-02-26 01:18:36 +01:00
Christoph Loy
bb73ab7b6d
Merge branch 'master' into default-dark-mode 2020-02-26 00:41:50 +01:00
Christoph Loy
d94abac8a2 Make Getters in AccountChooserViewHolder private 2020-02-26 00:25:26 +01:00
Christoph Loy
44f15c9628 Try to fix lint "Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes." 2020-02-26 00:25:26 +01:00
Christoph Loy
52cd277f81 Remove butterknife dependency 2020-02-26 00:25:26 +01:00
Christoph Loy
36e8ba38d3 Remove Butterknife from AboutFragmentLicenseTab 2020-02-26 00:25:26 +01:00
Christoph Loy
4977a64fbb Remove Butterknife from AboutFragmentCreditsTab 2020-02-26 00:25:26 +01:00
Christoph Loy
86408d7457 Remove Butterknife from NoteEditFragment 2020-02-26 00:25:26 +01:00
Christoph Loy
2c2c4b4e7d Remove Butterknife from AccountChooserAdapter 2020-02-26 00:25:26 +01:00
Christoph Loy
40a633e510 Remove Butterknife from CategoryAdapter 2020-02-26 00:25:26 +01:00
Christoph Loy
d4398b722e Remove Butterknife from NotePreviewFragment 2020-02-26 00:25:26 +01:00
Christoph Loy
2373b0ebb7 Remove Butterknife from AboutFragmentContributingTab 2020-02-26 00:25:26 +01:00
Christoph Loy
e4b5a413b1 Remove Butterknife from AccountChooserDialogFragment 2020-02-26 00:25:26 +01:00
Christoph Loy
b3ace46318 Remove Butterknife from NoteReadonlyFragment 2020-02-26 00:25:26 +01:00
Christoph Loy
ba3cfe512b Remove Butterknife from CategoryDialogFragment 2020-02-26 00:25:26 +01:00
Christoph Loy
cdd0916b4d Remove Butterknife from ExceptionActivity 2020-02-26 00:25:26 +01:00
Christoph Loy
500753cc08 Remove Butterknife from EditNoteActivity 2020-02-26 00:25:26 +01:00
Christoph Loy
01fa17cae1 Remove Butterknife from AboutActivity 2020-02-26 00:25:26 +01:00
Christoph Loy
f6fab7f635 Remove Butterknife from SelectSingleNoteActivity 2020-02-26 00:25:26 +01:00
Christoph Loy
80691a9e1a Remove Butterknife from NotesListViewActivity 2020-02-26 00:25:26 +01:00
Christoph Loy
a213197027 Remove Butterknife from PreferencesActivity 2020-02-26 00:25:26 +01:00
Christoph Loy
eefb31aaa4 Remove Butterknife from NavigationAdapter 2020-02-26 00:25:26 +01:00
Christoph Loy
077c303a71 Replace Butterknife with Viewbinding in ItemAdapter 2020-02-26 00:25:26 +01:00
Christoph Loy
61a2341893 Enable viewbinding in gradle plugin 2020-02-26 00:25:26 +01:00
Christoph Loy
20c4ea0d0c
Fix lint warning 2020-02-24 22:10:50 +01:00
Christoph Loy
79e630b999
Add basic implementation to support "System default" in dark mode settings 2020-02-24 21:42:07 +01:00
Nextcloud bot
8f7ab6d824 [tx-robot] updated from transifex 2020-02-24 20:05:32 +01:00
stefan-niedermann
98e8754e94 Fix some linter issues
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-24 19:54:58 +01:00
stefan-niedermann
c426e1839c Remove dead test code
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-24 18:50:38 +01:00
stefan-niedermann
75bdb4c2cc Mock TextUtils and moved NoteLinksUtilsTest to test package
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-24 18:48:20 +01:00
Christoph Loy
ea0bfdfd90 Revert unneeded diffs in NoteLinksUtilsTest 2020-02-24 18:25:15 +01:00
Christoph Loy
f61701487c Move NoteLinksUtilsTest back to androidTest and revert to using TextUtils in NoteLinksUtils 2020-02-24 18:25:15 +01:00
Christoph Loy
b88429a200 Remove manual NPE and replace it with Objects#requireNonNull 2020-02-24 18:25:15 +01:00
Christoph Loy
b9f041332f Remove unneeded diffs 2020-02-24 18:25:15 +01:00
Christoph Loy
eb9cba14f3 Move Tests from androidTests to tests 2020-02-24 18:25:15 +01:00
stefan-niedermann
e7ca48e0d5 Use requireX instead of Objects.requireNonNull
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-24 10:56:12 +01:00
Mario Danic
bd0f3fc87d Fix #718
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-23 20:52:45 +01:00
stefan-niedermann
fee05a32cc Fix missing import
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 19:07:42 +01:00
stefan-niedermann
1231664b1d Merge branch 'master' into 354-password-protection
# Conflicts:
#	app/src/main/res/values/strings.xml
2020-02-23 19:06:56 +01:00
stefan-niedermann
d5877c463d Refactoring
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 18:16:59 +01:00
stefan-niedermann
a72e2a03d4 Add MarkdownUtilTest
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 18:16:07 +01:00
stefan-niedermann
5acec3dc4b Fix unit tests
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 17:51:09 +01:00
stefan-niedermann
8848b73d92 Adjust some old unit tests
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 17:39:43 +01:00
stefan-niedermann
95658a6d31 Implement menu for context based formatting without selected range
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 17:27:29 +01:00
stefan-niedermann
052c6202b3 Implement menu for context based formatting without selected range
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-23 15:22:42 +01:00
stefan-niedermann
13016ea7ba Implement menu for context based formatting without selected range
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-22 11:48:55 +01:00
stefan-niedermann
985a6cd197 Merge remote-tracking branch 'origin/master' 2020-02-22 11:43:46 +01:00
Nextcloud bot
6ff297afdb [tx-robot] updated from transifex 2020-02-22 11:43:33 +01:00
stefan-niedermann
f1a480eb62 Clear Glide cache when manually swipe down to refresh
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-22 11:23:53 +01:00
dependabot-preview[bot]
29b3b7d2e4 Bump fragment from 1.2.1 to 1.2.2
Bumps fragment from 1.2.1 to 1.2.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 12:49:35 +01:00
dependabot-preview[bot]
dc9bc41efa Bump work-runtime from 2.3.1 to 2.3.2
Bumps work-runtime from 2.3.1 to 2.3.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 07:51:57 +01:00
stefan-niedermann
76b8416649 Fix #710 NextcloudApiNotResponding
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-19 20:23:53 +01:00