Commit graph

932 commits

Author SHA1 Message Date
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
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
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
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
stefan-niedermann
968e96373d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/ExceptionActivity.java
2020-02-19 20:22:36 +01:00