Commit graph

1545 commits

Author SHA1 Message Date
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
298dd6b593 version bump to v2.16.0 2020-06-16 10:06:37 +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
375bdbaa48 version bump to v2.15.0 2020-06-13 10:53:55 +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
ab08eba754 Bump minSdk version to 17 to match files app 2020-06-12 09:27:07 +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
dependabot-preview[bot]
7275e2a555 Bump fragment from 1.2.4 to 1.2.5
Bumps fragment from 1.2.4 to 1.2.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:35:33 +02:00
Stefan Niedermann
0d7a9a1bd7 version bump to 2.14.1 2020-06-10 23:35:24 +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
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
f2a7499afb version bump to 2.14.0 2020-06-09 19:46:53 +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
ced0e1a0ec version bump to 2.13.1 2020-06-07 10:49:33 +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
1cceef0b3c version bump to 2.13.0 2020-06-06 19:54:59 +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