Commit graph

1966 commits

Author SHA1 Message Date
Stefan Niedermann
6e7c8d9a9c Clean up old avatar cache and update changelog 2020-06-17 18:30:48 +02:00
Stefan Niedermann
c641c95396 Merge remote-tracking branch 'origin/master' 2020-06-17 18:20:20 +02:00
Stefan Niedermann
60f614c9bd Fix wrong avatars in multi user setup 2020-06-17 18:20:14 +02:00
Stefan Niedermann
38295cc3be Fix spacing in Move dialog 2020-06-17 12:50:14 +02:00
Stefan Niedermann
e8c7b6988b Adjust account chooser and remove activity spacer on < w360dp 2020-06-17 12:50:14 +02:00
Stefan Niedermann
dac3704d31 Use a variable for the activity padding 2020-06-17 12:50:14 +02:00
Stefan Niedermann
89671ece3a Adjust paddings all over the app 2020-06-17 12:50:14 +02:00
Stefan Niedermann
723035cdd4 #872 Tweak toolbar design 2020-06-17 12:50:14 +02:00
Stefan Niedermann
e6e45b9530 Fix issue link 2020-06-17 12:34:41 +02:00
Stefan Niedermann
c640e44755 Update issue link 2020-06-17 12:34:07 +02:00
Nextcloud bot
955b6e3205 [tx-robot] updated from transifex 2020-06-17 11:25:56 +02:00
Thore Goebel
5eef62aec5 Improve navdrawer items design
- make them rounded (like in the files app)
- add touch states
2020-06-17 11:24:43 +02:00
Stefan Niedermann
0b47381757 apply brand to primary toolbar in About and FormattingHelp 2020-06-16 22:22:03 +02:00
Thore Goebel
ee402d3e95 Decrease card elevation and add background color 2020-06-16 20:47:17 +02:00
Stefan Niedermann
7a29096292 Enhance account switchers
Display username and host in separate lines
2020-06-16 10:01:55 +02:00
Nextcloud bot
8519a8264d [tx-robot] updated from transifex 2020-06-16 07:34:11 +02:00
Stefan Niedermann
e2d2083c9a Make sorting accessible 2020-06-15 13:41:12 +02:00
Stefan Niedermann
952d16654a Fix header in RTL layouts 2020-06-14 20:14:59 +02:00
Stefan Niedermann
d7da233083 Fix some linter issues and remove support for left/right in favor of start/end 2020-06-14 20:03:28 +02:00
ifact
c9f1bd3593 Update CategorySortingMethodTest.java 2020-06-14 23:08:22 +08:00
ifact
fb0f03d011 Merge branch '603-sorting-method' of https://github.com/stefan-niedermann/nextcloud-notes into 603-sorting-method 2020-06-14 22:56:32 +08:00
ifact
f52f874f6c Fixed double initials for upper and lower cases 2020-06-14 22:56:25 +08:00
Peter S
85342bbc2a
Merge branch 'master' into 603-sorting-method 2020-06-14 22:24:59 +08:00
Stefan Niedermann
2f1611513c Merge branch 'master' into api-v1 2020-06-14 16:14:07 +02:00
korelstar
ae68495fab fix parsing of API versions header 2020-06-14 15:58:46 +02:00
korelstar
0e2c0c4d9b fix edit title was shown for wrong API 2020-06-14 15:58:19 +02:00
Stefan Niedermann
cc6c8fd7e6 Deal with ÄÖÜ and move hardcoded string to resources 2020-06-14 15:53:50 +02:00
Peter S
1207ec0b53
Merge branch 'master' into 603-sorting-method 2020-06-14 21:13:03 +08:00
ifact
93c040b9eb Deal with special characters in title 2020-06-14 20:41:01 +08:00
Stefan Niedermann
96da811ac4 Update formatting help code sample 2020-06-14 11:49:03 +02:00
Stefan Niedermann
fddb6ee81b Chore 2020-06-13 13:39:41 +02:00
Stefan Niedermann
f9093c9aac Do not show section for first section 2020-06-13 13:36:48 +02:00
Stefan Niedermann
e1f92e92ac Use attribute for tint color 2020-06-13 13:24:12 +02:00
Stefan Niedermann
1537b19c00 Remove unused imports 2020-06-13 13:22:24 +02:00
Stefan Niedermann
41faf721cd Tint sorting method icon for better contrast 2020-06-13 13:22:07 +02:00
Stefan Niedermann
1effe693db Move sorting icon into toolbar 2020-06-13 13:20:12 +02:00
Stefan Niedermann
e63eb19ce4 Adjust icon style to master 2020-06-13 13:15:16 +02:00
Stefan Niedermann
be0260950b Merge current master 2020-06-13 13:02:46 +02:00
Stefan Niedermann
c3630231d4 Merge branch 'master' into 603-sorting-method
# Conflicts:
#	app/src/androidTest/java/it/niedermann/owncloud/notes/persistence/NotesDatabaseTest.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/AbstractNotesDatabase.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/LoadNotesListTask.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java
#	app/src/main/res/layout/activity_notes_list_view.xml
#	app/src/main/res/menu/menu_list_view.xml
2020-06-13 13:01:24 +02:00
Stefan Niedermann
b5dbfb4734 Merge branch 'master' into api-v1
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/util/NoteUtil.java
2020-06-13 12:48:44 +02:00
Stefan Niedermann
0e6afd42e3 Enable grid view for prod builds 2020-06-13 11:00:03 +02:00
Stefan Niedermann
6736d18b18 Merge remote-tracking branch 'origin/master' 2020-06-13 10:47:18 +02:00
Stefan Niedermann
837ced217c Add beta hint to grid view preference 2020-06-13 10:46:57 +02:00
Stefan Niedermann
377dcee2bd Create constant for EXCERPT_LINE_SEPARATOR to replace magic string " " 2020-06-13 10:32:45 +02:00
Stefan Niedermann
f6540b286f Change breakpoint for grid view from 400 to 320 2020-06-13 10:21:25 +02:00
Nextcloud bot
908c8560a2 [tx-robot] updated from transifex 2020-06-13 09:43:11 +02:00
Stefan Niedermann
ea9adeb14e Set span count per viewport width 2020-06-12 20:58:32 +02:00
Stefan Niedermann
2367e37e73 Enable hyphenation in grid layout 2020-06-12 20:41:00 +02:00
Stefan Niedermann
cd91086660 Fix margin top in first row for grid view 2020-06-12 19:04:41 +02:00
Stefan Niedermann
0f3a5972b1 Enhances presentation of only-title-notes in grid view 2020-06-12 16:56:36 +02:00
Stefan Niedermann
f11184188b Merge branch 'master' into gridview 2020-06-12 16:42:30 +02:00
p-bo
1a0c9b2319 L18n - use quote more unerstandable around the globe
See discussion issue #866
(used quote from scientist, because it is less conflicting than political or religion ones)
2020-06-12 14:21:46 +02:00
Stefan Niedermann
4bb5f7513f Use Chip for category in grid view and adjust font size 2020-06-11 13:54:19 +02:00
Stefan Niedermann
de80cde1dd Remove stable ids for ItemAdapter since it causes issues with swipe 2 favorite 2020-06-11 11:44:10 +02:00
Stefan Niedermann
6da8a01b4d Added some IDE hint annotations 2020-06-11 11:14:57 +02:00
Stefan Niedermann
b2de8df237 Simplify translations fo formatting help 2020-06-11 09:29:47 +02:00
Stefan Niedermann
7c278d3233 Simplify translations fo formatting help 2020-06-11 09:26:21 +02:00
Stefan Niedermann
09122f4146 Fix #863 Crash when entering not-existing category 2020-06-10 23:35:10 +02:00
Stefan Niedermann
0cfcb31f7d Fix unit tests 2020-06-10 18:15:22 +02:00
Stefan Niedermann
f823e48c7c Update documentation 2020-06-10 18:12:59 +02:00
Stefan Niedermann
e8b4a75778 Fix multiselection styling 2020-06-10 17:33:29 +02:00
Stefan Niedermann
484fdd5cf3 Use one excerpt for Grid and List layout 2020-06-10 17:16:58 +02:00
Stefan Niedermann
2b71e1b2f8 Remove markdown rendering due to its bad performance 2020-06-10 16:58:43 +02:00
IF-ACT
f0b4c24aa9 Splits note list by initials when sorting by lexicographic order 2020-06-10 21:18:00 +08:00
Stefan Niedermann
15b3906b0e Use proper ItemDecoration class for defining gutter 2020-06-10 14:33:42 +02:00
Stefan Niedermann
53605bc67b Adjust styling 2020-06-10 13:30:18 +02:00
Stefan Niedermann
56ab5105e7 Use stable ids in adapter 2020-06-10 13:10:49 +02:00
Stefan Niedermann
6b0e47da85 Performance and rendering enhancements 2020-06-10 13:00:23 +02:00
Stefan Niedermann
2b771d947b Make graphical preference for en/disabling GridView 2020-06-10 10:39:16 +02:00
Stefan Niedermann
00e1b5d6f1 Implement first version of a GridView 2020-06-10 10:29:17 +02:00
Stefan Niedermann
c64e1110f6 Experiment: Room 2020-06-10 08:23:53 +02:00
Stefan Niedermann
3d0a1fdc12 Chore 2020-06-09 22:48:35 +02:00
Stefan Niedermann
c8930e90ef Fix #374 Title and category should be centered if no excerpt is given 2020-06-09 22:43:05 +02:00
Stefan Niedermann
db517049b0 #374 Title and category should be centered if no excerpt is given 2020-06-09 22:43:05 +02:00
Stefan Niedermann
68498313f3 #374 Title and category should be centered if no excerpt is given 2020-06-09 22:43:05 +02:00
Stefan Niedermann
ceaf6dd47f Branding for NoteListWidget 2020-06-09 19:13:46 +02:00
Nextcloud bot
51d9513b0a [tx-robot] updated from transifex 2020-06-09 12:16:26 +02:00
Stefan Niedermann
2edff23929 Simplify translations for formatting help 2020-06-09 10:58:55 +02:00
Stefan Niedermann
2b776cb750 Merge master 2020-06-08 22:03:38 +02:00
Stefan Niedermann
474d9c3a8a Merge branch 'master' into api-v1
# Conflicts:
#	app/src/androidTest/java/it/niedermann/owncloud/notes/persistence/NotesDatabaseTest.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NoteEditFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/AbstractNotesDatabase.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java
#	app/src/main/java/it/niedermann/owncloud/notes/util/NoteUtil.java
2020-06-08 22:01:56 +02:00
Stefan Niedermann
e0b4b792d5 Fix #216 "Help: format" option in the menu 2020-06-08 21:45:43 +02:00
Stefan Niedermann
40fa7dc3d9 Add focus workaround for old android devices 2020-06-08 13:55:59 +02:00
Stefan Niedermann
0c676a6573 Add some documentation for database migrations 2020-06-08 13:55:59 +02:00
Stefan Niedermann
dc83340d55 Reorder preferences (put behavior next to appearance) 2020-06-08 13:55:59 +02:00
Stefan Niedermann
b838ddbba9 #227 Remember last scrolling position per note - Fix instrumented tests 2020-06-08 13:55:59 +02:00
Stefan Niedermann
7c4f6f2007 #227 Remember last scrolling position per note 2020-06-08 13:55:59 +02:00
Stefan Niedermann
6ef22884dc Set initial sizes for ContentValues and catch potential NullPointerException 2020-06-08 13:55:59 +02:00
Stefan Niedermann
212ac7f638 #227 Remember last scrolling position per note 2020-06-08 13:55:59 +02:00
Stefan Niedermann
b002cd1787 Move database migrations into own classes 2020-06-08 11:24:37 +02:00
Nextcloud bot
3cf9b4c661 [tx-robot] updated from transifex 2020-06-08 08:08:18 +02:00
Stefan Niedermann
e5af3ddd43 Move formatting help behind a feature toggle 2020-06-07 19:11:33 +02:00
Stefan Niedermann
23b10cd719 Respect font size and font family preferences 2020-06-07 19:11:33 +02:00
Stefan Niedermann
9ec6054aa7 #116 "Help: format" option in the menu
Make checkboxes togglable
2020-06-07 19:11:33 +02:00
Stefan Niedermann
6760966625 #116 "Help: format" option in the menu 2020-06-07 19:11:33 +02:00
Stefan Niedermann
45ce901941 - 🐞 Fix toggling checkboxes when note contains codefences with empty lines 2020-06-07 18:34:18 +02:00
Stefan Niedermann
aeda3b84f5 Merge branch 'master' into api-v1 2020-06-07 12:33:05 +02:00
Stefan Niedermann
27b982cb35 Fix background in notes list view and version bump to 2.13.3 2020-06-07 11:48:44 +02:00
Stefan Niedermann
cfb501c4e0 Use automatic title generation for v0.2 APIs 2020-06-07 11:46:45 +02:00
Stefan Niedermann
310df67fdc Merge branch 'master' into api-v1 2020-06-07 11:01:35 +02:00
Stefan Niedermann
bd1783af03 version bump to v2.13.2 2020-06-07 10:59:42 +02:00
Stefan Niedermann
83f1e06c0f Merge branch 'master' into api-v1
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java
#	app/src/main/res/values/strings.xml
2020-06-07 10:55:29 +02:00
Stefan Niedermann
573deb2e30 assign primary to bg_normal 2020-06-07 10:46:07 +02:00
Stefan Niedermann
cfc4eb26b0 Apply spacer variables instead of using direct values 2020-06-07 10:37:58 +02:00
Stefan Niedermann
2e8976f6f6 - 🎨 Small design enhancements and theme fixes 2020-06-07 10:32:29 +02:00
Stefan Niedermann
0fa8261d6d Use thiner font for the drawer header 2020-06-07 09:58:51 +02:00
Stefan Niedermann
bb5c2221a7 Fix generating fallback colors 2020-06-06 19:17:37 +02:00
Stefan Niedermann
0f98570cf6 #854 NullPointer during login attempt - Added some unit tests 2020-06-06 19:17:37 +02:00
Stefan Niedermann
f99f4e60f5 Possible fix for #854 NullPointer during login attempt 2020-06-06 19:17:37 +02:00
Stefan Niedermann
b7c637a4e5 Fix import of accounts from version ≤ 1.0.1 2020-06-06 14:19:22 +02:00
Stefan Niedermann
f9a1c7bbe4 Handle already existing account 2020-06-06 13:01:41 +02:00
Stefan Niedermann
4c2a01c693 Display indicator for currently active account in ManageAccountsActivity 2020-06-06 11:28:10 +02:00
Stefan Niedermann
49f373fd1e Fix navigate up in ManageAccountsActivity 2020-06-06 10:47:45 +02:00
Stefan Niedermann
52531d6017 Reapply patch from #851 2020-06-06 10:46:30 +02:00
Stefan Niedermann
613cf63c9a Merge branch 'master' into branding
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/LoadNotesListTask.java
2020-06-06 10:42:54 +02:00
Nextcloud bot
59763f1e13 [tx-robot] updated from transifex 2020-06-06 10:39:37 +02:00
Isc
36be221948 Remove useless import and add some comments 2020-06-06 10:39:07 +02:00
Isc
566546a1da Bug fixed 846: Use Pattern.quote method to force that the searchQuery is a literal string instead of the reserved keyword in regex 2020-06-06 10:39:07 +02:00
Stefan Niedermann
3d5afce677 ManageAccountsActivity 2020-06-05 22:10:35 +02:00
Stefan Niedermann
6e4cc2ae2a Style statusbar and navigationbar only according to the API level 2020-06-05 21:06:51 +02:00
Stefan Niedermann
d367bb058f Merge branch 'master' into branding 2020-06-05 20:58:58 +02:00
Stefan Niedermann
d4f59694b5 Add ripple effect to favorite icon 2020-06-05 20:57:47 +02:00
Stefan Niedermann
291d600fdf Animate between card toolbar and search toolbar 2020-06-05 14:41:31 +02:00
Stefan Niedermann
7d8f6c02d5 Prevent keyboard from popping up again after closing search bar 2020-06-05 13:18:43 +02:00
Stefan Niedermann
d84c4db10c Simplify layout and remove constraint layout dependency 2020-06-05 13:08:17 +02:00
Stefan Niedermann
7050cbf03c Open account importer when no account has been imported yet and one clicks on the avatar 2020-06-05 13:02:26 +02:00
Stefan Niedermann
19805f31a5 Dismiss AccountSwitcherDialog when adding new account 2020-06-05 12:57:47 +02:00
Stefan Niedermann
bfef0f1afc Increase account switcher tapable size 2020-06-05 12:52:00 +02:00
Stefan Niedermann
27bccd5750 Fix menu icon tints in EditActivity 2020-06-05 10:25:18 +02:00
Stefan Niedermann
48cbeb4703 Make action mode overlay toolbar again 2020-06-05 10:08:40 +02:00
Stefan Niedermann
061094a13e Use SearchView directly in layout instead of option menu 2020-06-05 10:05:09 +02:00
Stefan Niedermann
66e158d438 Fix typo 2020-06-05 09:06:13 +02:00
Stefan Niedermann
934e5850fd Update title in searchbar 2020-06-05 08:40:29 +02:00
Stefan Niedermann
4ccc9f1fc3 Use card as default toolbar 2020-06-04 23:00:39 +02:00
Stefan Niedermann
a207574e20 Branding for selected account 2020-06-04 21:57:25 +02:00
Stefan Niedermann
caf63c4a07 Move trigger for new account chooser to toolbar 2020-06-04 21:08:02 +02:00
Stefan Niedermann
2774844e74 Implement new account chooser 2020-06-04 18:59:03 +02:00
Stefan Niedermann
4fab5c43e5 Merge branch 'master' into branding 2020-06-04 17:33:52 +02:00
Stefan Niedermann
c872320b9b Fix Android instrumented tests 2020-06-04 16:23:22 +02:00
Stefan Niedermann
59971eeb28 Merge branch 'master' into api-v1 2020-06-04 16:21:34 +02:00
Stefan Niedermann
62405ecfd3 Use for each account an own API instance for Glide 2020-06-04 16:19:02 +02:00
Stefan Niedermann
cde522d3b5 Enhance cursor handle color 2020-06-04 16:05:08 +02:00
Stefan Niedermann
5c135ad4ec Merge branch 'master' into branding 2020-06-04 15:55:33 +02:00
Stefan Niedermann
0aa81abd48 Merge branch 'master' into api-v1 2020-06-04 15:55:19 +02:00
Nextcloud bot
be61d512c0 [tx-robot] updated from transifex 2020-06-04 15:54:53 +02:00
Stefan Niedermann
5f57fbec04 Fix Android instrumented tests 2020-06-04 15:54:26 +02:00
Stefan Niedermann
ddb9b9ae9f Adjust excerpt generation 2020-06-04 15:49:29 +02:00
Stefan Niedermann
b9ccfd41ea Keep an empty note if the title has been set manually 2020-06-04 11:46:45 +02:00
Stefan Niedermann
49a0e09a68 Nullcheck for InputMethodManager 2020-06-04 11:24:17 +02:00
Stefan Niedermann
17d3095a03 Generate note title from content only when note has not yet been synchronized (aka "new" notes) 2020-06-04 11:22:38 +02:00
Stefan Niedermann
8faacf4e04 Merge branch 'master' into api-v1
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java
#	app/src/main/res/values/strings.xml
2020-06-04 10:38:25 +02:00
Stefan Niedermann
0ac1ee7d3d Adjust selection handles 2020-06-03 18:31:16 +02:00
Stefan Niedermann
a5687e3d5f Merge branch 'master' into branding 2020-06-03 13:03:05 +02:00
Stefan Niedermann
b25d75562f Merge branch 'master' into 832-nlw-to-db
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/appwidget/NoteListWidget.java
2020-06-03 12:57:18 +02:00
Nextcloud bot
2a213355e2 [tx-robot] updated from transifex 2020-06-03 12:55:54 +02:00
Stefan Niedermann
8f7036cdf9 Change highlight color based on theme 2020-06-02 21:15:10 +02:00
Stefan Niedermann
e6c117bded Enhance cursors 2020-06-02 20:35:14 +02:00
Stefan Niedermann
88370cfcc3 Update splashscreen 2020-06-02 19:23:08 +02:00
Stefan Niedermann
fef7e2ead1 Make sidebar background match primary color 2020-06-02 18:14:40 +02:00
Stefan Niedermann
ba95962e27 Merge branch 'master' into branding
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/MultiSelectedActionModeCallback.java
#	app/src/main/res/values/strings.xml
2020-06-02 17:10:40 +02:00
Stefan Niedermann
634a5ed6b9 Remove dead code 2020-06-02 17:09:40 +02:00
Stefan Niedermann
75fc39c2d3 Bulk share content of multiple notes 2020-06-02 17:08:37 +02:00
Stefan Niedermann
764b9bc050 Colorize switches when branding is disabled 2020-06-02 12:18:46 +02:00
Stefan Niedermann
46359ae84f Colorize license button when branding is enabled 2020-06-02 11:58:44 +02:00
Stefan Niedermann
bbb4e50bff Colorize tab indicator when branding is enabled 2020-06-02 11:53:34 +02:00
Stefan Niedermann
67c1d47f1f Set title correctly when share / append to note 2020-06-02 11:45:07 +02:00
Stefan Niedermann
8b99d787f0 Enhance category branding 2020-06-02 11:40:22 +02:00
Stefan Niedermann
5fba27cdae Enhance in-note-search highlight brand 2020-06-02 11:02:52 +02:00
Stefan Niedermann
aa5a349661 Fix in-note-search highlight brand 2020-06-02 10:44:56 +02:00
Stefan Niedermann
89177339af Android 4.4 does not colorize categories correctly 2020-06-02 09:40:52 +02:00
Stefan Niedermann
d08bd12498 Proper tinting of menu icons 2020-06-02 09:28:21 +02:00
Stefan Niedermann
13259b5e90 Fallback for disabled branding 2020-06-01 22:38:38 +02:00
Stefan Niedermann
3f72660dcd Branded snackbar actions 2020-06-01 22:31:31 +02:00
Stefan Niedermann
93cb684791 Fix some coloring issues with dark theme 2020-06-01 22:09:23 +02:00
Stefan Niedermann
9664561935 Enhance in-note search coloring 2020-06-01 21:51:52 +02:00
Stefan Niedermann
ac5c0d7e0b Fix color of search matches in-note search 2020-06-01 21:47:04 +02:00
Stefan Niedermann
f1a50724d3 Fix color of search matches 2020-06-01 21:28:06 +02:00
Stefan Niedermann
3a899c1f6e Fix favorite checkbox color 2020-06-01 18:20:10 +02:00
Stefan Niedermann
e1ba4569d0 Make toolbars the same background color as the main content 2020-06-01 17:57:32 +02:00
Stefan Niedermann
77d9d4ffb4 Tint icons grey600, so they will be visible on both, day and night theme on Android 4 2020-06-01 17:19:48 +02:00
Stefan Niedermann
b9168bf98a Fix statusbar 2020-06-01 16:45:03 +02:00
Stefan Niedermann
0b7f82e76d Use simplified branding similar to the upcoming files app release 2020-06-01 16:27:05 +02:00
Stefan Niedermann
14c8d04ece Fix build 2020-06-01 14:30:04 +02:00
Stefan Niedermann
5e04817640 Merge branch 'master' into branding
# Conflicts:
#	app/src/main/res/values/strings.xml
2020-06-01 14:28:24 +02:00
Stefan Niedermann
09ac1d5287 Prepare release 2020-06-01 14:11:45 +02:00
Stefan Niedermann
200a70cd2e Enhance layout of create note widget 2020-06-01 14:01:46 +02:00
Stefan Niedermann
ef0f535c27 Limit NLW title to one line (ellipsized) 2020-06-01 13:53:37 +02:00
Daniel Bailey
9377485eec Add appWidgetId to PendingIntent's request code
Ensures uniqueness with multiple widgets.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-06-01 13:31:49 +02:00
IF-ACT
f6467ca972 Revert "Revert "Revert "Add comment for final pre"""
This reverts commit 61a8fc25c7.
2020-05-30 18:20:49 +08:00
IF-ACT
75516dc2f3 Revert "Revert "Revert "Add comment on test"""
This reverts commit 98c1d96d34.
2020-05-30 18:20:28 +08:00
IF-ACT
98c1d96d34 Revert "Revert "Add comment on test""
This reverts commit 431983af8d.
2020-05-30 18:07:41 +08:00
IF-ACT
61a8fc25c7 Revert "Revert "Add comment for final pre""
This reverts commit fab225710e.
2020-05-30 18:07:35 +08:00
IF-ACT
fab225710e Revert "Add comment for final pre"
This reverts commit de6ad5c8ea.
2020-05-30 17:52:41 +08:00
IF-ACT
431983af8d Revert "Add comment on test"
This reverts commit b81b6cdfab.
2020-05-30 17:52:37 +08:00
IF-ACT
b81b6cdfab Add comment on test 2020-05-30 17:44:54 +08:00
IF-ACT
de6ad5c8ea Add comment for final pre 2020-05-30 17:42:05 +08:00
Daniel Bailey
e8f93754bc
Small bugfix when retreiving category count
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-05-29 22:44:49 +01:00
Peter S
41e393c117 fix the version conflict bug in AbstractNotesDatabase.java 2020-05-29 15:05:42 +08:00
Stefan Niedermann
592e45ce71 Merge branch 'master' into 603-sorting-method 2020-05-26 23:45:47 +02:00
Nextcloud bot
196e64151d [tx-robot] updated from transifex 2020-05-26 22:20:15 +02:00
Stefan Niedermann
1f4a17e5d2 Fix ID 2020-05-26 14:29:33 +02:00
Stefan Niedermann
3a5c3311cf Fix ID 2020-05-26 14:29:19 +02:00
Stefan Niedermann
1519efb011 Merge branch 'master' into 832-nlw-to-db
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/appwidget/NoteListWidget.java
#	app/src/main/res/layout/widget_note_list.xml
2020-05-26 14:28:46 +02:00
Stefan Niedermann
ce54629029 Upgrade note list widget style 2020-05-26 14:27:25 +02:00
Stefan Niedermann
ba4ac3e7de Add final keyword and @Nullable 2020-05-26 13:00:13 +02:00
Stefan Niedermann
81f71ca574 Fix #841 "Link" functionality in text menu causes error 2020-05-26 12:59:08 +02:00
Stefan Niedermann
85021909f3 Update create note widget 2020-05-25 21:23:04 +02:00
Stefan Niedermann
f9bf0841af Update splashscreen and launcher icon 2020-05-25 20:48:43 +02:00
Stefan Niedermann
196e677b76 Adapt new icon 2020-05-25 19:32:32 +02:00
Peter S
9558374632 Merge branch 'master' of https://github.com/stefan-niedermann/nextcloud-notes into 603-sorting-method 2020-05-24 23:07:16 +08:00
Daniel Bailey
2ff81a67dc
Re-added setData() to serviceIntent in updateAppWidget
This is necessary so that multiple calls to the RemoteViews service are
detected.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-05-24 15:56:59 +01:00
IF-ACT
22a4776948 Add test & document 2020-05-24 21:56:57 +08:00
IF-ACT
25dddd1dc8 Merge branch '814-normalize-database' into 603-sorting-method 2020-05-24 20:53:33 +08:00
IF-ACT
9e677e52a6 Seperates function getCategoryOrder & modifyCategoryOrder 2020-05-24 20:29:25 +08:00
IF-ACT
5b0ec91c86 Fixed wrong icon on activity start 2020-05-24 19:10:56 +08:00
Daniel Bailey
d4f740d64a Fixes #817
Added a unique request code to each of the pending intents used by NoteListWidget.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-05-23 17:34:46 +02:00
Stefan Niedermann
7ef59df1cb #832 Move note list widget preferences to database 2020-05-23 16:36:10 +02:00
IF-ACT
b4eaefd6d4 Fixed sort 2020-05-23 21:38:24 +08:00
IF-ACT
fdf0adb5b8 Add sorting method to special categories 2020-05-23 21:15:17 +08:00
Stefan Niedermann
afce9831a6 #832 Move note list widget preferences to database
Create table and migrate existing values
2020-05-23 13:57:16 +02:00
IF-ACT
87b3fb03ba Can sort by certern sorting method now 2020-05-23 19:40:04 +08:00
Stefan Niedermann
302f988495 Revert #817 2020-05-23 13:20:51 +02:00
IF-ACT
248233f670 Fixed wrong icon on activity start 2020-05-23 19:19:26 +08:00
Stefan Niedermann
7729d27b0b Merge branch '814-normalize-database' 2020-05-23 13:18:46 +02:00
Isc
116ce2a49a Remove useless foreign key 2020-05-23 18:29:40 +08:00
Isc
910f465fc8 Bug fixed: incorrect accountID in category table 2020-05-23 18:28:29 +08:00
Isc
c045948f81 Merge 2020-05-23 18:28:01 +08:00
Isc
16aabd8629 Merge 2020-05-23 17:32:27 +08:00
Stefan Niedermann
e0e0033efa Fix table creation 2020-05-23 11:30:45 +02:00
Stefan Niedermann
625ca9ca5f Fix table creation 2020-05-23 11:29:16 +02:00
Stefan Niedermann
d69003109d Remove category param from NLW 2020-05-23 11:22:01 +02:00
Stefan Niedermann
012800e028 Add FOREIGN KEY constraint to CATEGORY_ACCOUNT_ID 2020-05-23 10:41:58 +02:00
Stefan Niedermann
b2d07fd520 Migrate excerpt 2020-05-23 09:49:25 +02:00
Isc
9c8148ebbd Merge latest database 2020-05-23 11:42:24 +08:00
IF-ACT
6b457cee94 Fixed null exception in All notes, Favourite, and Uncategorized notes 2020-05-23 06:28:43 +08:00
IF-ACT
3dab7989ff Add icon and frontend code 2020-05-23 05:16:55 +08:00
Hui-Ouyang16
c9da790226 overload searchNotes method for supporting choose ordering method 2020-05-23 04:11:16 +08:00
Hui-Ouyang16
f36b94e025 modify get/modify ordering method from byId to byTitle 2020-05-23 03:40:00 +08:00
Hui-Ouyang16
17687b2511 Merge branch '814-normalize-database' of https://github.com/stefan-niedermann/nextcloud-notes into 603-sorting-method 2020-05-23 03:24:01 +08:00
Hui-Ouyang16
0dc19d0134 fixed a bug in junit test 2020-05-23 03:11:22 +08:00
Hui-Ouyang16
ab89852b22 finish the backend API and corresponding test case for category sorting method 2020-05-23 00:20:10 +08:00
Peter S
a6580bcdbc add a new column in category table to store the sorting method, and modify CategorySortingMethod enum class 2020-05-22 23:07:54 +08:00
Stefan Niedermann
53bdde1168 #786 Support API v1.0 Display dialog to edit title 2020-05-20 18:12:17 +02:00
Stefan Niedermann
4000abd733 Fix #817 Note list widget should create a note in it's respective category 2020-05-20 17:23:39 +02:00
Stefan Niedermann
2c78acd984 Fix #754 Move single note widget preferences to database 2020-05-20 16:19:18 +02:00
Stefan Niedermann
d9cceb96c8 Remove deprecated DBStatus 2020-05-20 09:31:49 +02:00
Stefan Niedermann
963b245f85 Fix migration paths using hardcoded strings instead of variables (which might change) 2020-05-20 09:09:16 +02:00
Peter S
d40800c666 add test for enum and corresponding methods 2020-05-20 00:17:19 +08:00
Peter S
f6b9b8c48e add two sorting methods: lexicographical_asc & modified_desc 2020-05-20 00:00:29 +08:00
Peter S
491f2c1230 add a enum for category note list sorting method 2020-05-19 23:43:14 +08:00
Nextcloud bot
56d6e53ebb [tx-robot] updated from transifex 2020-05-19 08:27:59 +02:00
Stefan Niedermann
c9dd881ead version bump to 2.12.1 2020-05-18 07:51:01 +02:00
Isc
81389d847a Remove random test for fixed test is good enough 2020-05-12 18:26:31 +08:00
Isc
415813b26c Fix CI error 2020-05-12 12:19:32 +08:00
Isc
94dce5a20a Add unique over category_account_id and category_title 2020-05-12 12:11:57 +08:00
Isc
43f88a2387 Fix CI error 2020-05-12 03:01:22 +08:00
Isc
895f1b0eab Persist the capabilities values in addAccount 2020-05-12 02:20:18 +08:00
Isc
b2203285c2 Add @NonNull in the constructor for response in the constructor in Capabilities 2020-05-12 01:43:37 +08:00
Isaac-Graham
4e53d7ff93
Merge branch '814-normalize-database' into master 2020-05-12 00:55:35 +08:00
Nextcloud bot
3b2c2a3314 [tx-robot] updated from transifex 2020-05-11 13:12:45 +02:00
Stefan Niedermann
a11a127f50 #174 Allow to share into exiting note 2020-05-11 12:46:48 +02:00
Stefan Niedermann
dfc3943124 Merge remote-tracking branch 'origin/share-into-existing-note'
# Conflicts:
#	fastlane/metadata/android/en-US/changelogs/2012000.txt
2020-05-11 12:42:13 +02:00
Stefan Niedermann
15d69022d2 #824 Error 302 when notes app is not installed on server
Added explicit hint in ExceptionDialogFragment
2020-05-11 11:51:27 +02:00
Stefan Niedermann
0676b195fb 🐞 Fix upgrading from version <= 1.0.1 to a current version 2020-05-11 11:47:25 +02:00
Isc
29d23f4d9d Remove random 2020-05-11 14:40:17 +08:00
Isc
916a5fef7b Remove useless random in SearchableBaseNoteFragmentTest 2020-05-11 05:40:18 +08:00
Isc
aaf994054e Switch arguments for consistency in NotesDatabase.java 2020-05-11 05:33:36 +08:00
korelstar
83c841a1eb fix synchronization (push local changes) 2020-05-10 22:29:40 +02:00
Stefan Niedermann
f3c49094a9 #174 Allow to share into exiting note 2020-05-09 20:41:29 +02:00
Isc
35fafaf557 Remove useless group by and order by in NotesDatabase.java 2020-05-09 16:26:37 +08:00
Isc
5854b90877 Clean up NotesDatabase 2020-05-09 14:05:00 +08:00
Peter S
9107c54058 fulfill all tests to reach full coverage for modified methods 2020-05-08 23:10:21 +08:00
Stefan Niedermann
cefb6a9df2 Fix Pull 2 Refresh in Preview (outdated note) 2020-05-08 11:40:05 +02:00
Peter S
68c565a0c6 update test_12_getCategoryIdByTitle 2020-05-08 03:30:14 +08:00
Isaac_Chen
855ea87836 Update test_12_getCategoryIdByTitle() 2020-05-08 03:14:51 +08:00
Peter S
9d7566be2a minor update 2020-05-08 02:54:28 +08:00
Peter S
15e9ff36f1 Merge branch 'master' of https://github.com/Isaac-Graham/nextcloud-notes 2020-05-08 02:36:24 +08:00
Peter S
4e777bff70 clean up useless tests, add new tests for changes 2020-05-08 02:34:09 +08:00
Isaac_Chen
53b9f2df1a 1) update searchCategories for maintain; 2) Remove useless paramter 'create' in getCategoryIdByTitle; 2020-05-08 02:28:21 +08:00
Peter S
5f655d608a Add one more test to reach full coverage for the test method 2020-05-08 01:28:51 +08:00
Isaac_Chen
fc32639f8b Prevent too many SQL query in database when getting notes 2020-05-08 00:57:57 +08:00
Isaac_Chen
4dccc3eee0 Rename column account id in table category as category_account_id 2020-05-07 23:55:05 +08:00
Isaac_Chen
c6fedb1c5c Change Id of table category to category_id and titole to category_title 2020-05-07 23:31:26 +08:00
Isaac_Chen
9aba743b3c Remove empty categories 2020-05-07 22:53:26 +08:00
Isaac_Chen
46fa52a9a7 1) Use subquery in searchNotes(long, CharSequence, String, Boolean); 2) Remove comments with old codes; 3) Merge getCategories(long) and searchCategories(long, String); 4) Abandon recursion in getCategoryIdByTitle(long, String, boolean) 2020-05-07 22:14:04 +08:00
Nextcloud bot
463dee551e [tx-robot] updated from transifex 2020-05-06 20:26:38 +02:00
Isaac_Chen
313b13d5c4 Add some comments for previous pr 2020-05-07 01:31:08 +08:00
Isaac_Chen
e02bd35309 Final check about normalization 2020-05-07 01:27:03 +08:00
Isaac_Chen
4f01955c60 Bug fixed: Wrong result in sub-category 2020-05-06 20:10:37 +08:00
Isaac_Chen
6889989c3e Merge branch 'master' of https://github.com/Isaac-Graham/nextcloud-notes 2020-05-06 14:44:37 +08:00
Peter S
98d7187d55 Remove invalid tests 2020-05-06 14:38:42 +08:00
Isaac_Chen
d036e1d548 Add some JavaDoc for modified methods 2020-05-06 01:58:26 +08:00
Isaac_Chen
027fbd5236 Add more tests for NotesDatabase 2020-05-06 01:18:50 +08:00
Isaac_Chen
d7b0352fb5 Bug fixed: search Category fails 2020-05-06 00:26:44 +08:00
Isaac_Chen
4a23044253 Use ? instead of concat in NotesDatabase 2020-05-06 00:15:59 +08:00
Stefan Niedermann
04642e6b64 Fix shortcuts in dev builds 2020-05-05 17:29:53 +02:00
Stefan Niedermann
0713472943 Add tip for 302 error 2020-05-05 16:58:25 +02:00
Hui-Ouyang16
b0849a5274 finished test case and find getCategoryIdsByTitle not fuzzy 2020-05-05 22:44:31 +08:00
Hui-Ouyang16
e800b60340 finised countOccurrences test case 2020-05-05 22:11:30 +08:00
Peter S
0cb5398b68 add test for countOccurrences 2020-05-05 21:35:34 +08:00
Hui-Ouyang16
27cec02c19 find a bug in getCategories 2020-05-05 21:23:55 +08:00
Peter S
f3b55e1d9c Finish all the tests for Issue - 814, but need more validations 2020-05-05 20:47:17 +08:00
Hui-Ouyang16
baaceeb02d fixed the reflection problems 2020-05-05 19:52:53 +08:00
Isaac_Chen
ab0820db6d Use function instead of sqlite statement to move database 2020-05-05 19:50:32 +08:00
Isaac_Chen
a1c22a262f Bug fixed: not including accountId in search category 2020-05-05 18:52:07 +08:00
Isaac_Chen
39c43f74fd Finish onUpgrade() 2020-05-05 18:38:57 +08:00
Hui-Ouyang16
4d1ed6bbde find some bugs in NotesDatabase and add some test template 2020-05-05 04:52:48 +08:00
Hui-Ouyang16
cc2aaed5eb finished chinese character test case 2020-05-05 03:25:20 +08:00
Isc
789b2e20d1 Bug fixed: move where before group by 2020-05-05 02:51:01 +08:00
Isc
76204e39db Bug fixed: Missing account id in geCategories 2020-05-05 02:37:10 +08:00
Hui-Ouyang16
c52be90511 finish multiple test case and find a bug in getCategories 2020-05-05 02:26:43 +08:00
Hui-Ouyang16
57f88551e1 upload some multiple test case 2020-05-05 01:57:19 +08:00
Hui-Ouyang16
06a4a6fa01 finish all signle test case 2020-05-05 01:23:39 +08:00
Peter S
13c20ae4ac provide a demo of searchCategories 2020-05-05 01:05:56 +08:00
Isc
1ef76f8237 Bug fixed: No matched category will runtime error in searchNotes(long, CharSequeence, String, Boolean) 2020-05-05 00:07:55 +08:00
Hui-Ouyang16
89f98a7678 refactor some test case and find a bug in searchNotes 2020-05-04 23:52:11 +08:00
Peter S
1be99b1349 create more test methods 2020-05-04 22:52:58 +08:00
Hui-Ouyang16
94e23a8f5b fixed the timezone problem 2020-05-04 22:01:18 +08:00
Peter S
261c7cd7a0 add a first test method: testAddDeleteNote 2020-05-04 21:45:57 +08:00
Peter S
e1e37740e1 add an instrumented test to test NotesDatabase.java 2020-05-04 19:46:39 +08:00
Isaac_Chen
ecde100310 Add somt test TODO 2020-05-04 13:26:54 +08:00
Isaac_Chen
e0467e8916 Normalize database. Extract Category from Notes. Need to be tested 2020-05-04 04:02:41 +08:00
Stefan Niedermann
97c3e858b3 Fix #797 Change the name of the app in the description 2020-05-02 18:13:17 +02:00
Stefan Niedermann
42bec4b57f Support ETags for capabilities endpoint 2020-05-02 18:06:12 +02:00
Stefan Niedermann
68f8f7b7f7 #762 Branding
Toolbar
2020-05-02 16:29:32 +02:00
Stefan Niedermann
1391bedd6b #762 Branding
Make a setting
2020-05-02 00:30:53 +02:00
Stefan Niedermann
a30ab4cb25 #762 Branding
Make a setting
2020-05-01 23:38:20 +02:00
Stefan Niedermann
e26a6b2f8b #762 Branding
Apply new theme colors on Pull 2 refresh
2020-05-01 22:44:18 +02:00
Stefan Niedermann
f5aad3ac98 #762 Branding
Apply new theme colors on Pull 2 refresh
2020-05-01 22:41:08 +02:00
Stefan Niedermann
674621b11e #762 Branding
Drawer header
2020-05-01 22:33:39 +02:00
Stefan Niedermann
e908abf9b8 #762 Branding
TextInputLayout in category chooser
2020-05-01 22:02:34 +02:00
Stefan Niedermann
994f2b9736 #762 Branding
TextInputLayout in category chooser
2020-05-01 21:52:58 +02:00
Stefan Niedermann
22b226fab9 #762 Branding
Preferences
2020-05-01 21:47:02 +02:00
Stefan Niedermann
9522387646 #762 Branding 2020-05-01 21:37:45 +02:00
Niedermann IT-Dienstleistungen
8d882d2d0a
Merge branch 'master' into support-multiple-api-levels 2020-05-01 14:14:16 +02:00
Stefan Niedermann
7a0c8170c3 pull2refresh: Synchronize *after* capabilities have been refreshed 2020-05-01 12:12:46 +02:00
Stefan Niedermann
3c8a9bc163 Merge remote-tracking branch 'origin/support-multiple-api-levels' into support-multiple-api-levels 2020-05-01 11:59:53 +02:00
Stefan Niedermann
bc1b887761 Remove cache for NotesClient
https://github.com/stefan-niedermann/nextcloud-notes/pull/791#discussion_r418417678
2020-05-01 11:59:48 +02:00
Nextcloud bot
8834205a4a [tx-robot] updated from transifex 2020-05-01 11:56:59 +02:00
Isc
e413287dc0 Add some todo to modify database 2020-04-28 22:37:42 +08:00
korelstar
7f1e2d50e5 fix API v1 path and rename classes 2020-04-24 23:07:29 +02:00
korelstar
940a4f4d56 fix API version save to DB 2020-04-24 23:06:40 +02:00
korelstar
b9c401db3b fix capabilities parsing 2020-04-24 20:38:12 +02:00
Nextcloud bot
c480086f89 [tx-robot] updated from transifex 2020-04-24 14:57:02 +02:00
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
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
Nextcloud bot
041bf2e822 [tx-robot] updated from transifex 2020-04-16 11:49:08 +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
30adfc6295 Invalidate API cache on TokenMismatchException 2020-04-16 11:26: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
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
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
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
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
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
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
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
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
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
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
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
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
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
Nextcloud bot
278179267c [tx-robot] updated from transifex 2020-02-19 20:22:09 +01:00
Nextcloud bot
3cd2756638 [tx-robot] updated from transifex 2020-02-16 15:57:34 +01:00
stefan-niedermann
5855064d9c Fix #730 API Level 15 cannot use ?android: attributes
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-16 15:57:34 +01:00
stefan-niedermann
442b598dc0 Fix NullPointerException
Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-16 15:57:07 +01:00
Nextcloud bot
b73d94480a [tx-robot] updated from transifex 2020-02-16 11:24:56 +01:00
stefan-niedermann
7c6f0392bb Fix #730 API Level 15 cannot use ?android: attributes
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-16 11:20:30 +01:00
stefan-niedermann
b9e7ea606e Fix NullPointerException
Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-16 11:01:28 +01:00
stefan-niedermann
4b1c60e874 Use new nextcloud-commons library for uncaught exception handling
https://github.com/stefan-niedermann/nextcloud-commons

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-12 20:17:13 +01:00
stefan-niedermann
e87ddac3a0 Use new nextcloud-commons library for SSO Glide integration
https://github.com/stefan-niedermann/nextcloud-commons

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-12 18:02:44 +01:00
stefan-niedermann
58eaaa84bc Fix #666 Glide does not use SSO network stack
Use new nextcloud-commons library for SSO Glide integration

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-12 13:18:38 +01:00
stefan-niedermann
9560552682 Fix #666 Glide does not use SSO network stack
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-10 14:37:46 +01:00
stefan-niedermann
0bcfc0b14f Fix #666 Glide does not use SSO network stack
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-10 13:50:38 +01:00
Niedermann IT-Dienstleistungen
6a9cf4f5f7
Merge branch 'master' into 354-password-protection 2020-02-07 10:39:47 +01:00
Nextcloud bot
6803804a45 [tx-robot] updated from transifex 2020-02-05 20:41:51 +01:00
stefan-niedermann
e5dfb98972 Do not break push on error (see #713)
https://github.com/stefan-niedermann/nextcloud-notes/pull/721#issuecomment-582457235
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
800c138e7b Reinstanciate NotesListViewItemTouchHelper everytime the ssoAccount changes
Former behavior:

onCreate: ssoAccount is still null, therefore swiping will not immediately upsync
selectAccount: Didn't affect the swipe behavior and could lead to wrong immediately upsyncs with a wrong account
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
2ac7bc6c0b Do not break push on error (see #713)
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
ae6d1629ee Do not break push on error (see #713)
Removed 507 handling on pulling changes since pulling shouldn't change the server state and therefore never return a 507 HTTP

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
d6aef638e2 Do not break push on error (see #713)
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
99e63c9ea9 Do not break push on error (see #713)
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
35a36eae9c Do not break push on error (see #713)
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:34:26 +01:00
stefan-niedermann
acdbeb206c Handle some cases of bad sync more gracefully
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 18:24:37 +01:00
stefan-niedermann
4fa0329c91 Fix #715 Multiselect broken
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 18:14:11 +01:00
stefan-niedermann
edfb60f588 Merge branch '679-insufficient-storage'
# Conflicts:
#	fastlane/metadata/android/en-US/changelogs/79.txt
2020-02-04 17:58:36 +01:00
stefan-niedermann
dddf6abb71 #679 Lots of empty notes are created if the server is full
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 17:57:19 +01:00
stefan-niedermann
672e3efea5 #558 Move the cursor to the beginning of the document after entering the character
Add flag to prevent endless loop

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 17:29:49 +01:00
stefan-niedermann
7a51165271 #558 Move the cursor to the beginning of the document after entering the character
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 17:29:49 +01:00
stefan-niedermann
f182352f89 Change the font color for Markdown (#716)
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 17:26:44 +01:00
stefan-niedermann
eff00d25ac Fix #679 Lots of empty notes are created if the server is full
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-01 18:14:25 +01:00
stefan-niedermann
7bd950244a Fix #557 Black theme for OLED devices 🌓
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-01 12:15:04 +01:00
stefan-niedermann
847dc896fe Add new icon for monospace font
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-01-31 13:56:22 +01:00
stefan-niedermann
68ed8c9998 Merge branch 'master' into 354-password-protection
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/PreferencesFragment.java
#	app/src/main/res/values/strings.xml
2020-01-31 12:58:45 +01:00
stefan-niedermann
3dfbf53d23 Merge branch 'sync-worker' 2020-01-31 12:56:28 +01:00
Nextcloud bot
0115cb3d8a [tx-robot] updated from transifex 2020-01-31 12:56:00 +01:00
stefan-niedermann
822e121039 #656 Background synchronization
Handle sync requests without proper SingleSignOn-Account

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-01-31 12:53:45 +01:00
stefan-niedermann
a1b83d415b Switch from deprecated singleLine="true" to maxLines="1"
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-01-31 08:45:15 +01:00
stefan-niedermann
f6876bc71a Enhanced migration from versions < 2.0.0
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-01-31 08:44:44 +01:00
stefan-niedermann
3b18b1b94f #656 Background synchronization
Add preference to UI

Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-01-30 18:32:38 +01:00
stefan-niedermann
a48fc3ce3e #656 Background synchronization
Use strings as hashmap keys
2020-01-29 23:29:02 +01:00
stefan-niedermann
37795f5cdf #656 Background synchronization
Make everything from database to sync multi-account-able
2020-01-29 22:38:55 +01:00
stefan-niedermann
72f53ef7b4 Disable synchronized return of Result on background sync 2020-01-29 20:49:49 +01:00
stefan-niedermann
2c408e83dd #656 Background synchronization 2020-01-29 19:42:04 +01:00
stefan-niedermann
1412b8f5f7 Merge branch 'master' into sync-worker 2020-01-29 19:30:22 +01:00
stefan-niedermann
8c07d32d9a Fixed imports 2020-01-29 19:29:50 +01:00
stefan-niedermann
108a6824f9 Merge branch 'master' into 354-password-protection
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
2020-01-29 19:28:00 +01:00
stefan-niedermann
f08b001889 Refactoring 2020-01-29 19:25:03 +01:00
stefan-niedermann
34dfee1636 version bump to 2.9.0 (disabled software layer rendering for images) 2020-01-29 16:13:18 +01:00
Nextcloud bot
2bdb1922cc [tx-robot] updated from transifex 2020-01-28 19:21:19 +01:00
stefan-niedermann
df1d936abd #378 Enhance category handling
Remove padding analog to preferences dialogs and account chooser dialog
2020-01-28 19:18:34 +01:00
stefan-niedermann
abb3b8a5f2 🖼️ Display images which are linked using markdown syntax
Added documentation
2020-01-28 19:14:30 +01:00
stefan-niedermann
b0364b5bfc Merge remote-tracking branch 'origin/master' 2020-01-28 19:10:11 +01:00
stefan-niedermann
deccff826f 🖼️ Display images which are linked using markdown syntax 2020-01-28 19:08:46 +01:00
Nextcloud bot
7fdbad963c [tx-robot] updated from transifex 2020-01-27 07:31:37 +01:00
stefan-niedermann
1ed17b2ebd Merge branch 'master' into 354-password-protection 2020-01-26 10:06:17 +01:00
stefan-niedermann
488a9f2941 Merge branch 'theme-rework'
# Conflicts:
#	app/src/main/res/layout/activity_notes_list_view.xml
2020-01-26 10:03:26 +01:00
stefan-niedermann
e106745631 Use themeoverlay for toolbars 2020-01-26 09:16:56 +01:00
stefan-niedermann
887b76141b Fix shadow color of header text in dark mode 2020-01-26 08:38:57 +01:00
stefan-niedermann
f485ebcbd1 Remove custom alert styling 2020-01-26 08:33:34 +01:00
stefan-niedermann
27a0a83e56 If clipboard data contains URL, directly link it when using CBF 2020-01-26 08:22:32 +01:00
stefan-niedermann
8cde2223ee Move empty content view to own xml file 2020-01-26 07:55:51 +01:00
stefan-niedermann
b751dfe310 Replace direct color assignments with ?android: attributes 2020-01-25 16:57:06 +01:00
stefan-niedermann
71d5d73657 Merge branch 'master' into 354-password-protection 2020-01-25 15:56:46 +01:00
stefan-niedermann
18dd44f848 Rename layout files according to their functions 2020-01-25 15:56:24 +01:00
stefan-niedermann
ff8a67f611 Merge branch 'master' into 354-password-protection
# Conflicts:
#	app/src/main/res/values/strings.xml
2020-01-25 15:35:47 +01:00
stefan-niedermann
d66c26f8ba Adjust icon colors 2020-01-25 15:34:52 +01:00
stefan-niedermann
32ef99dcd6 #378 Enhance category handling
Added padding to EditText
2020-01-25 15:24:27 +01:00
stefan-niedermann
067e49aeb7 #365 Password protection
Added log
2020-01-25 14:45:10 +01:00
stefan-niedermann
439cafdcf1 #365 Password protection
Refactoring
2020-01-25 13:58:57 +01:00
stefan-niedermann
d8ea4da54c #365 Password protection
Added preference UI
2020-01-25 13:41:44 +01:00
stefan-niedermann
a1be4f7284 #365 Password protection 2020-01-25 13:05:51 +01:00
stefan-niedermann
8bca3aa3b4 #365 Password protection
Move unlock logic to own activity
2020-01-25 12:40:17 +01:00
stefan-niedermann
4e12fcef77 #365 Password protection
Refactor onActivityResult
2020-01-25 11:56:43 +01:00
stefan-niedermann
cc5b91ffaf #365 Password protection
Proof of concept
2020-01-25 11:46:21 +01:00
stefan-niedermann
f0f26fc3a8 Fix missing semicolon 2020-01-25 11:24:34 +01:00
stefan-niedermann
4e93f7f698 Merge branch 'master' into enhance-category-handling
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/EditNoteActivity.java
2020-01-25 11:22:55 +01:00
Nextcloud bot
f14711b57b [tx-robot] updated from transifex 2020-01-25 11:21:06 +01:00
stefan-niedermann
213174d6ca #466 Header title not aligned
Use custom layout for preference items to align text to title
2020-01-25 11:18:25 +01:00
stefan-niedermann
0d27086f9a #466 Header title not aligned
Use PreferenceFragmentCompat for settings
2020-01-25 09:58:41 +01:00
stefan-niedermann
b08c4fd8fb #466 Header title not aligned
Move to toolbars
2020-01-25 09:36:04 +01:00
stefan-niedermann
65bd9e3530 #466 Header title not aligned
Move to toolbars
2020-01-25 09:29:44 +01:00
stefan-niedermann
f8e1fa930c #378 Enhance category handling
- Enhanced paddings
- Only display keyboard when no category is given yet
2020-01-24 21:03:44 +01:00
stefan-niedermann
0f8e517a7f #378 Enhance category handling 2020-01-24 20:49:31 +01:00
stefan-niedermann
b446e17aca Merge remote-tracking branch 'origin/enhance-category-handling' into enhance-category-handling
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/CategoryDialogFragment.java
#	app/src/main/res/layout/dialog_change_category.xml
2020-01-24 18:23:04 +01:00
stefan-niedermann
d12eab5b51 #378 Enhance category handling 2020-01-24 18:19:24 +01:00
stefan-niedermann
97c622d255 Fix imports 2020-01-24 16:38:44 +01:00
stefan-niedermann
d7f3438eb4 #378 Enhance category handling
Removed AlwaysAutoCompleteView in favor of a recylcerview
2020-01-24 16:38:12 +01:00
stefan-niedermann
bb2110ac3b Fix Add search string to a header for a new created note (#302) 2020-01-24 16:16:52 +01:00
stefan-niedermann
f63dd3e499 version bump to 2.7.1 2020-01-23 23:27:51 +01:00
stefan-niedermann
0f2518dc32 #439 Allow Rendering of any markdown file
Fix NPE on low Android versions
2020-01-23 23:11:46 +01:00
stefan-niedermann
607c86b057 #439 Allow Rendering of any markdown file
Change intent label
2020-01-23 23:05:04 +01:00
stefan-niedermann
10de6d0adf #439 Allow Rendering of any markdown file
Some refactorings
2020-01-23 22:35:16 +01:00
stefan-niedermann
5cde97fe73 #439 Allow Rendering of any markdown file
Create NoteReadonlyFragment to keep NotePreviewFragment clean
2020-01-23 22:14:35 +01:00
stefan-niedermann
2155733606 #439 Allow Rendering of any markdown file 2020-01-23 21:50:23 +01:00
stefan-niedermann
f4cdf23b52 #550 In-note-search doesn't jump to occurrence of searchstring
- Reduce calls of getLayout() for performance reasons
2020-01-23 21:50:23 +01:00
stefan-niedermann
eee175b568 #550 In-note-search doesn't jump to occurrence of searchstring
- Refactoring
2020-01-23 21:50:23 +01:00
stefan-niedermann
834930981a #550 In-note-search doesn't jump to occurrence of searchstring
- Keep coloring and occurrences when switching between edit and preview mode
2020-01-23 21:50:23 +01:00
stefan-niedermann
f13ff681b9 #550 In-note-search doesn't jump to occurrence of searchstring
- Refactoring
2020-01-23 21:50:23 +01:00
stefan-niedermann
610eab570d #550 In-note-search doesn't jump to occurrence of searchstring
Divide et impera
2020-01-23 21:50:23 +01:00
stefan-niedermann
2b9cfc2704 #550 In-note-search doesn't jump to occurrence of searchstring
- Jump to last occurrence when previously selected occurrence was the first one
- Hide search fabs, if only one occurrecen
2020-01-23 21:50:23 +01:00
stefan-niedermann
cba2868551 #550 In-note-search doesn't jump to occurrence of searchstring
- Fix Exception when wrapping from last to first occurrence
2020-01-23 21:50:23 +01:00
stefan-niedermann
92588de19f #550 In-note-search doesn't jump to occurrence of searchstring
- Better calculation of line of occurrence respecting also line breaks
2020-01-23 21:50:23 +01:00
stefan-niedermann
920e48572a #550 In-note-search doesn't jump to occurrence of searchstring
- Hide / show the prev / next buttons depending on the search state
- Jump to next occurrence when submitting the search
2020-01-23 21:50:23 +01:00
stefan-niedermann
9b48acf182 #550 In-note-search doesn't jump to occurrence of searchstring
- Fix crash on pressing prev button too often
- Fix scrolling behavior in preview fragment
2020-01-23 21:50:23 +01:00
stefan-niedermann
4de492621b #550 In-note-search doesn't jump to occurrence of searchstring
Added previous and next buttons (does not work yet properly)
2020-01-23 21:50:23 +01:00
stefan-niedermann
7fd3808872 #550 In-note-search doesn't jump to occurrence of searchstring
Basic implementation which aims to always jump to the first occurrence
2020-01-23 21:50:23 +01:00
stefan-niedermann
96378f87ac #608 Checklist auto-continuation
Respect also checked checkboxes and starred checkboxes as indicator
2020-01-23 21:50:23 +01:00
stefan-niedermann
bcf9e55617 #608 Checklist auto-continuation
Proof of concept
2020-01-23 21:50:23 +01:00
stefan-niedermann
4ba15087e0 Fix #696 Database upgrade
Do nothing more after recreating the database
2020-01-23 21:50:23 +01:00
stefan-niedermann
06a8d5ccbe Fix #696 Database upgrade 2020-01-23 21:50:23 +01:00
stefan-niedermann
587b22f0d3 Fix #696 Database upgrade 2020-01-23 21:50:23 +01:00
Nextcloud bot
192478055c [tx-robot] updated from transifex 2020-01-23 21:50:23 +01:00
stefan-niedermann
abd64c9fc5 Divide et impera 2020-01-23 21:50:23 +01:00
stefan-niedermann
b2d83009f4 Fix #670 Undo for bulk delete 2020-01-23 21:50:23 +01:00
stefan-niedermann
393d35e103 SyncWorker for background synchronization 2020-01-19 19:11:48 +01:00
stefan-niedermann
1a17e82eb6 Fix imports 2020-01-19 19:08:29 +01:00
stefan-niedermann
e652f5bf12 #378 Enhance category handling
Removed AlwaysAutoCompleteView in favor of a recylcerview
2020-01-19 19:06:53 +01:00
stefan-niedermann
4608a904f5 Allow opening each file with the EditNoteActivity 2020-01-19 18:55:22 +01:00
stefan-niedermann
b9fb4cf243 Rename xml files for edit / preview fragments 2020-01-19 11:13:09 +01:00
stefan-niedermann
71458afd8f Style adjustments 2020-01-19 10:21:03 +01:00
stefan-niedermann
6e45e2339e Use AndroidX-fragment for compatibility reasons 2020-01-19 08:40:57 +01:00
stefan-niedermann
964d749974 Fix #640 Cancel and Delete are redundant on new note 2020-01-18 09:53:27 +01:00
stefan-niedermann
88a09edcb3 #655 Move notes to another account
Support Android 4
2020-01-18 09:23:19 +01:00
stefan-niedermann
a09ef2b19e Merge branch 'master' into move-note
# Conflicts:
#	app/src/main/res/values/strings.xml
2020-01-18 09:08:25 +01:00
stefan-niedermann
196bc2c3b8 Merge branch '623-note-links' of https://github.com/lenzls/nextcloud-notes
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
2020-01-18 09:01:06 +01:00
Nextcloud bot
362d39bcf9 [tx-robot] updated from transifex 2020-01-18 08:23:44 +01:00
Simon Lenz
93863f7e9e #623 - move getExistingNoteRemoteIds to database layer 2020-01-16 21:19:11 +01:00
Simon Lenz
a1ced561ab #623 - use db helper from BaseNoteFragment 2020-01-16 20:49:21 +01:00
Nextcloud bot
417a69c5c5 [tx-robot] updated from transifex 2020-01-16 19:04:34 +01:00
stefan-niedermann
1faa86fa80 Fix #677 dark mode colors with markdown 2020-01-16 18:26:05 +01:00
stefan-niedermann
0c96b6fd80 Fix IllegalArgumentException when closing the app via back button and reopen it 2020-01-16 18:10:54 +01:00
stefan-niedermann
feba44e679 Remove ReactiveX wrapper 2020-01-12 15:01:16 +01:00
stefan-niedermann
8b7a6780f5 Enable Base64 images and remove RxMDTextView dependency 2020-01-12 14:51:26 +01:00
stefan-niedermann
df666dde45 Use darkTheme from parameter to determine ToDo colors in Markdown 2020-01-12 13:37:45 +01:00
Nextcloud bot
f92d93cbe4 [tx-robot] updated from transifex 2020-01-12 12:11:32 +01:00
stefan-niedermann
0932e46966 #659 Display better hint when files app version is not supported 2020-01-12 12:07:22 +01:00
stefan-niedermann
23a535bf35 #655 Move notes to another account
Fixed ui states on bulk move
2020-01-11 11:49:43 +01:00
stefan-niedermann
9da687f847 Added tools:hint 2020-01-11 10:47:55 +01:00
stefan-niedermann
c60669d650 #655 Move notes to another account
Bulk mode
2020-01-11 10:08:10 +01:00
stefan-niedermann
9b6d968fe8 #655 Move notes to another account 2020-01-11 09:53:24 +01:00
stefan-niedermann
c6104b00e0 #655 Move notes to another account 2020-01-11 09:36:09 +01:00
stefan-niedermann
f2f9b60a4c Some refactorings regarding exceptions 2020-01-10 21:59:12 +01:00
stefan-niedermann
302f8ccf6c Display each exception on sync optional as dialog 2020-01-10 21:09:47 +01:00
stefan-niedermann
2e75678ded version bump to 2.4.5 2020-01-10 17:26:31 +01:00
Thore Goebel
b1d61995f3 Fix #538 - text area covers whole screen 2020-01-10 17:23:21 +01:00
stefan-niedermann
681dc7f340 Merge remote-tracking branch 'origin/master' 2020-01-08 17:13:33 +01:00
Nextcloud bot
b2f33c33a7 [tx-robot] updated from transifex 2020-01-08 17:13:28 +01:00
stefan-niedermann
48b70a5499 Enhance ExceptionActivity
https://github.com/nextcloud/news-android/pull/810/files
2020-01-08 17:12:46 +01:00
stefan-niedermann
b11ed4da98 Fix #669 App crashes when select folder 2020-01-08 16:57:42 +01:00
stefan-niedermann
b295bc9050 Fix #668 Empty two-digit numbered-list item crashes application
and version bump to 2.4.3

Requires at least Files app¹ version 3.9.0
¹ https://github.com/nextcloud/android
2020-01-07 20:31:04 +01:00
Nextcloud bot
14313caa12 [tx-robot] updated from transifex 2020-01-07 16:53:34 +01:00
stefan-niedermann
f3c4f57865 Fix #663 Swipe to delete gesture is way to sensitive 2020-01-06 18:04:06 +01:00
stefan-niedermann
27e2e4601f Update sync status of note in UI after deleting and restoring it 2020-01-06 17:55:36 +01:00
stefan-niedermann
d1dee7b9b8 Merge remote-tracking branch 'origin/master' 2020-01-05 12:30:34 +01:00
Nextcloud bot
59d213d78a [tx-robot] updated from transifex 2020-01-05 12:30:25 +01:00
stefan-niedermann
d7ca589e76 Fix #661 Swipe delete "Undo" creates new note 2020-01-05 12:29:26 +01:00
rakekniven
467736e0a8 Grammar for error message
Improved grammar for error message.

That string is used many times in other nextcloud apps.
2020-01-03 10:02:29 +01:00
stefan-niedermann
05d905212b Update app icon background layer
see https://github.com/nextcloud/talk-android/pull/695
2020-01-02 15:26:56 +01:00
stefan-niedermann
1ffb6280d3 #451 Toggle checkboxes in view mode
wrong checkbox is associated with action
2020-01-02 12:32:42 +01:00
korelstar
f7f2d5e2f9 update local note after sync 2020-01-02 12:32:42 +01:00
stefan-niedermann
6afcca8567 #451 Toggle checkboxes in view mode
Print stacktrace on IndexOutOfBoundsException
2020-01-02 12:32:42 +01:00
stefan-niedermann
1c4ccdae5e #451 Toggle checkboxes in view mode 2020-01-02 12:32:42 +01:00
stefan-niedermann
8cee3a7ec5 #654 checkbox design
The color of the checkboxes is too dark in dark-mode (see screenshot below).
2020-01-02 11:39:01 +01:00
stefan-niedermann
909fd384fa Handle exceptions due Downsync more gracefully 2020-01-02 09:36:00 +01:00
stefan-niedermann
da67505c50 Disallow toggling checkboxes from within the preview #157 #287 2019-12-31 10:28:58 +01:00
stefan-niedermann
eff22edc8f Allow toggling checkboxes from within the preview #157 #287 2019-12-30 21:51:51 +01:00
stefan-niedermann
eccc4e2aa0 Do not use Java Rx for rendering preview 2019-12-30 21:01:34 +01:00
stefan-niedermann
941d1e317f Merge master 2019-12-30 20:51:50 +01:00
stefan-niedermann
15edaa3797 Merge remote-tracking branch 'origin/master' into refresh-preview
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
#	app/src/main/res/layout/activity_single_note.xml
2019-12-30 20:46:28 +01:00
stefan-niedermann
6c4b941a09 Enhance exception catching in NotesClient 2019-12-30 20:35:46 +01:00
stefan-niedermann
f0b1bd0d5c Merge branch 'show-progress-bar-on-notes-loading'
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
2019-12-29 12:00:19 +01:00
stefan-niedermann
63b5b8c687 Merge remote-tracking branch 'origin/master' 2019-12-29 11:27:27 +01:00
stefan-niedermann
8e93775dfe Fix some Codacy issues 2019-12-29 11:22:56 +01:00
Nextcloud bot
879b891be1 [tx-robot] updated from transifex 2019-12-29 10:57:24 +01:00
stefan-niedermann
4ff9198319 Handle not installed Files app more gracefully 2019-12-29 10:56:45 +01:00
stefan-niedermann
04471e5df7 Update changelog 2019-12-29 10:56:24 +01:00
stefan-niedermann
12472de6a8 Disable accountchooser after added a new account 2019-12-29 09:43:12 +01:00
stefan-niedermann
a14926bf81 #643 Empty state is shown even if there are notes 2019-12-29 08:38:42 +01:00
Nextcloud bot
370d0c4049 [tx-robot] updated from transifex 2019-12-28 14:41:18 +01:00
Simon Lenz
8d57463148 #623 - improve note-link prefix url 2019-12-28 14:20:18 +01:00
Simon Lenz
ebe5f73429 #623 - implement note-to-note links 2019-12-28 14:19:49 +01:00
korelstar
209de359de remove doubled excerpt generation 2019-12-27 23:21:48 +01:00