Commit graph

559 commits

Author SHA1 Message Date
stefan-niedermann
2b7ee5886c Migrate to androidx 2019-02-06 17:47:20 +01:00
stefan-niedermann
3733ada12f Merge branch 'master' into search-in-note
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java
2019-02-06 17:32:42 +01:00
stefan-niedermann
077f986ea4 Add intent-filter for com.google.android.gm.action.AUTO_SEND 2019-02-06 17:27:11 +01:00
stefan-niedermann
8d7d284cd8 Put app/release to .gitignore 2019-02-06 17:22:33 +01:00
Niedermann IT-Dienstleistungen
4c86902cf5 Upgrade Butterknife to v10.0.0 2019-02-06 17:20:04 +01:00
Niedermann IT-Dienstleistungen
01e17541e2 Update dependencies and enable Java 1.8 compatibility 2019-02-06 17:20:04 +01:00
Niedermann IT-Dienstleistungen
f03bd967d3 Migrate to AndroidX 2019-02-06 17:20:04 +01:00
Niedermann IT-Dienstleistungen
e4fa10c1a7 Upgrade Butterknife to v10.0.0 2019-01-19 12:49:15 +00:00
Niedermann IT-Dienstleistungen
5f143d593b Update dependencies and enable Java 1.8 compatibility 2019-01-19 12:49:15 +00:00
Niedermann IT-Dienstleistungen
21a97823fe Migrate to AndroidX 2019-01-19 12:49:15 +00:00
Daniel Bailey
4720c91b3b Condensed code in PreferencesFragment used to set the theme pref
summary.
2019-01-19 11:46:35 +00:00
Niedermann IT-Dienstleistungen
90e9bc32e0 bump version to 0.22.4 2018-11-27 20:47:02 +01:00
Nextcloud bot
0a56774a45 [tx-robot] updated from transifex 2018-11-27 20:45:53 +01:00
Daniel Bailey
431fb7e79e Issue #488. Appwidget colours are not consistent in dark theme'd layout 2018-11-27 08:53:18 +01:00
Daniel Bailey
66e34876b3 #496 Ensure widgets update when notifyNotesChanged is called. 2018-11-27 08:43:48 +01:00
Niedermann IT-Dienstleistungen
546eabe573 version bump to 0.22.3 2018-10-01 22:49:28 +02:00
Daniel Bailey
bb5e68b5b4 Various improvements to nlw widget and single note widget. Fix for both
configuration activities.
2018-10-01 22:45:39 +02:00
Daniel Bailey
b5ca773e21 Appwidgets' onUpdate and onReceive functions will call updateAppWidget
when making any updates.
2018-09-24 14:38:09 +02:00
Niedermann IT-Dienstleistungen
831ce86ded Update Single Note Widget image (rendered markdown) 2018-09-18 12:05:06 +02:00
Niedermann IT-Dienstleistungen
d2f06b884c bump version to v0.22.2 2018-09-16 15:43:39 +02:00
Daniel Bailey
a106929b4a Fix for intermittent nlw update problem. 2018-09-16 15:41:53 +02:00
Niedermann IT-Dienstleistungen
242654f587 bump version to 0.22.1 2018-09-16 14:01:35 +02:00
Niedermann IT-Dienstleistungen
20b41847fd Fix favorite icon color on swipe 2018-09-16 13:57:04 +02:00
Daniel Bailey
c2bb8d953d Removed definition of background_material_light. Lowered nlw transparency slightly. 2018-09-16 13:54:00 +02:00
Niedermann IT-Dienstleistungen
2bd5e17e73 Merge branch 'master' of https://github.com/stefan-niedermann/nextcloud-notes 2018-09-09 13:19:27 +02:00
Niedermann IT-Dienstleistungen
83301982ee bump version to 0.22.0 2018-09-09 13:18:19 +02:00
Nextcloud bot
9c989da724 [tx-robot] updated from transifex 2018-09-09 13:12:01 +02:00
Niedermann IT-Dienstleistungen
1eb85b78d1 Partially revert #458 (to slim drawer header layout) 2018-09-06 20:22:15 +02:00
Niedermann IT-Dienstleistungen
28bf7c09fb Shows correct username@host on first sign-in in drawer 2018-09-06 20:18:40 +02:00
Niedermann IT-Dienstleistungen
fa3c3f4faa #472 "Notes has stopped" on first run
Fix #472
2018-09-06 20:15:02 +02:00
Daniel Bailey
8d84762820 Transparent backgrounds for appwidgets. 2018-09-04 07:22:22 +02:00
Daniel Bailey
4bbb1b4820 Note list widget now displays a grey star for notes that aren't
favourites.
2018-09-04 07:22:22 +02:00
Daniel Bailey
f2678d1395 Dark themes for single note and note list widgets. 2018-09-04 07:22:22 +02:00
Niedermann IT-Dienstleistungen
f7ab04e209
Merge branch 'master' into monospace-font 2018-08-31 09:32:54 +02:00
Daniel
7766f65043 Permanent fix for white-on-grey widget colours. 2018-08-31 09:24:22 +02:00
Niedermann IT-Dienstleistungen
2af7d2d798 #360 Drawer header should show account name
- Adjust layout to match files app
2018-08-31 09:23:40 +02:00
Niedermann IT-Dienstleistungen
c4baa88068 #360 Drawer header should show account name
- Fix layout
- Clicking on the account name opens now settings
2018-08-31 09:23:40 +02:00
Niedermann IT-Dienstleistungen
81c4ae3357 #360 Drawer header should show account name 2018-08-31 09:23:40 +02:00
Daniel
8d39a10c3d Small change to dark theme for navigation drawer. 2018-08-30 20:06:44 +02:00
Niedermann IT-Dienstleistungen
43d7e0678d #313 Markdown doesn't work in widget mode
Remove unused imports
2018-08-30 20:03:49 +02:00
Niedermann IT-Dienstleistungen
d5d47bf22a #313 Markdown doesn't work in widget mode 2018-08-30 20:03:49 +02:00
Niedermann IT-Dienstleistungen
5ff3fe4d0e Accessibility: Label for FAB and no focus for images in drawer 2018-08-26 11:53:34 +02:00
Nextcloud bot
9541d7f0a2 [tx-robot] updated from transifex 2018-08-25 16:49:24 +02:00
Niedermann IT-Dienstleistungen
e46e416e6d bump version to v0.21.0 2018-08-25 16:44:25 +02:00
Niedermann IT-Dienstleistungen
b95b4bcca4 #456 Sync icon stays when change favorite state via swipe 2018-08-25 16:40:22 +02:00
Daniel
93364b2f55 Fixes in the note list widget for a) alignment of the header app icon,
b) alignment of the favourite stars next to the entries and c) the
disappearing header text.
2018-08-25 16:35:11 +02:00
Niedermann IT-Dienstleistungen
bbb29e1649 Introduce yellow favorite stars instead of outline
like @jancborchardt and @mario suggested:

- Instead of full grey stars use full yellow stars
- Instead of border grey stars use full grey stars

The changes apply to the widgets and the NotesListView but *not* to the Edit/View-Mode of a single note and *not* to the sidebar, where simple mono color icons look prettier imho.
2018-08-25 16:33:19 +02:00
Niedermann IT-Dienstleistungen
8307de6000 #376 Move sync icon to the left side 2018-08-25 16:32:06 +02:00
Niedermann IT-Dienstleistungen
2738558a8e #397 Don't show "Uncategorized" in note header 2018-08-25 16:18:50 +02:00
Niedermann IT-Dienstleistungen
065f73280e
Merge branch 'master' into search-in-note 2018-08-24 20:49:51 +02:00
Niedermann IT-Dienstleistungen
910e14b37e Fix in-note-search 2018-08-24 18:34:24 +02:00
Niedermann IT-Dienstleistungen
5203698f6f Remove redundant code 2018-08-24 17:02:41 +02:00
Niedermann IT-Dienstleistungen
1488704394 #422 Update rxmarkdown
Removes the auto-linking feature since it has been implemented upstream
2018-08-24 14:23:42 +02:00
Niedermann IT-Dienstleistungen
7fd37b0f96 #422 Update rxmarkdown
Remove support of toggling checkboxes due to bugs
2018-08-24 14:23:42 +02:00
Niedermann IT-Dienstleistungen
5da3f8d163 Update RxMarkdown to 0.1.3 2018-08-24 14:23:42 +02:00
Niedermann IT-Dienstleistungen
7ea70f62e8 Move RxMarkdown-Configuration back to util class 2018-08-24 14:23:42 +02:00
Niedermann IT-Dienstleistungen
bf50e16adc Replace and save new Content 2018-08-24 14:23:42 +02:00
Niedermann IT-Dienstleistungen
cb8fe000d0 Update RxMarkdown 2018-08-24 14:23:42 +02:00
Niedermann IT-Dienstleistungen
0762f9825e #238 Introduce a trashbin (Link to Webinterface)
https://github.com/stefan-niedermann/nextcloud-notes/pull/449#pullrequestreview-149269486
2018-08-24 14:04:45 +02:00
Niedermann IT-Dienstleistungen
27303d6c21 #238 Introduce a trashbin (Link to Webinterface) 2018-08-24 11:02:23 +02:00
Niedermann IT-Dienstleistungen
f265e6a531 bump version to v0.20.0 2018-08-24 10:40:11 +02:00
Niedermann IT-Dienstleistungen
2afc19ec58 #398 Check the URL (and draw the check) only on blur
Checking the URL on every text change can lead to privacy issues (e.g. if a subdomain is also an existing domain and a request is done to this domain).
2018-08-24 10:35:15 +02:00
Niedermann IT-Dienstleistungen
71bdf782e4
Merge branch 'master' into weblogin 2018-08-24 09:58:19 +02:00
Niedermann IT-Dienstleistungen
61080f6cfd #359 Use monospace font
Introduces a new setting and displays edit and view mode in monospace if it is set.
2018-08-23 15:01:39 +02:00
schaarsc
54352715cd disable login until certificate is accepted. 2018-08-23 14:06:18 +02:00
Daniel
ba19a6b63a Fix colour of unordered lists in markdown widget. 2018-08-07 19:59:05 +02:00
schaarsc
84c10d4784 refactor preference screen.
- grey icons
- remove categories
- move certificate entries to Preference Screen
2018-07-15 10:24:47 +02:00
Daniel Bailey
c5d4c41f67 Fixes 428. 2018-07-13 14:49:50 +02:00
Niedermann IT-Dienstleistungen
7f0dcd8548 bump version to v0.18.0 2018-07-05 17:19:59 +02:00
schaarsc
cd9ce68d91 save note before saving state 2018-06-30 11:46:14 +02:00
Daniel Bailey
a6339c51fe onReceive and onUpdate super methods are called first instead of last. 2018-06-30 11:36:29 +02:00
korelstar
9d93a97af7 update cert4android 2018-06-18 22:35:03 +02:00
schaarsc
d673486c92 check adapterPosition 2018-06-18 11:16:16 +02:00
Niedermann IT-Dienstleistungen
0caa9f7dfe
Merge branch 'master' into weblogin 2018-06-17 21:11:14 +02:00
schaarsc
f95c18e433 change modified column data type to INTEGER 2018-06-17 21:10:31 +02:00
Niedermann IT-Dienstleistungen
216ffd8904
Merge branch 'master' into 310-swipe-left-favorite 2018-06-17 20:56:09 +02:00
Niedermann IT-Dienstleistungen
21765daa75 #387 swipe to favorite
Adjust colors
2018-06-17 20:52:49 +02:00
Niedermann IT-Dienstleistungen
b1260aca09
Merge branch 'master' into weblogin 2018-06-08 07:17:52 +02:00
korelstar
5c2cbd1e5f always show sync progress 2018-06-08 07:07:46 +02:00
korelstar
a94a55dd36 only save if something changed 2018-06-08 07:07:03 +02:00
korelstar
053bd571b5 fix save on pause/close/change fragment 2018-06-08 07:07:03 +02:00
Mario Danic
56c1671600 Remove things we dont need
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-21 10:48:34 +02:00
Mario Danic
a46c0a7b27 Remove variable declaration
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-21 10:47:47 +02:00
Niedermann IT-Dienstleistungen
4edf97e711 bump version to v0.17.0 2018-05-19 14:10:46 +02:00
Nextcloud bot
a107395cce [tx-robot] updated from transifex 2018-05-19 14:07:14 +02:00
Niedermann IT-Dienstleistungen
394d15b4ad Switch QuickSettings Tile from bitmap to vector graphic 2018-05-19 14:04:29 +02:00
Niedermann IT-Dienstleistungen
7c4f2d68f4 Switch QuickSettings Tile from bitmap to vector graphic 2018-05-19 14:02:56 +02:00
Mario Danic
1b7ee1a695 Fix all the things
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-17 13:31:18 +02:00
Mario Danic
6e88c2ac93 Expand when needed
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-17 13:21:33 +02:00
Mario Danic
1fd82dce8e Remove duplicate code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-17 13:17:21 +02:00
Mario Danic
44bcef5d78 Collapse search when needed
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-15 11:05:12 +02:00
Mario Danic
4362b59d16 Fix search
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-15 11:05:12 +02:00
Mario Danic
c5a33b6c76 Further improvements
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-15 11:05:12 +02:00
Mario Danic
3862aa2c17 Fix search
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-15 11:05:12 +02:00
Mario Danic
5370d8669a Some work on search
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-15 11:05:12 +02:00
Niedermann IT-Dienstleistungen
e668144046
Merge branch 'master' into weblogin 2018-05-15 09:55:38 +02:00
korelstar
00bbe3eca2 scroll to top after category selection and create note 2018-05-15 09:55:06 +02:00
korelstar
b023d89baf notes order: favorites first 2018-05-15 09:49:47 +02:00
korelstar
a1ffa20d31 remove unnecessary strings 2018-05-15 09:44:55 +02:00
Daniel Bailey
c39f6888ca Cropped two rows of pixels from the nlw preview image 2018-05-15 09:44:55 +02:00
Daniel Bailey
d2f4591d4f Configuration activity for Note List Widget 2018-05-15 09:44:55 +02:00
tobiasKaminsky
dd5ea7db36
Initial support for weblogin 2018-05-07 12:07:22 +02:00
korelstar
e851d05f9d remove obsolete library support-v4 2018-05-01 18:16:50 +02:00
korelstar
17656f8742 fix wiggle, colors, refactoring 2018-04-23 10:20:10 +02:00
Daniel Bailey
d895106c22 Dark theme
Configured night mode to allow for a dark theme within the app.
2018-04-17 09:24:21 +02:00
Niedermann IT-Dienstleistungen
4d531b5139 bump version 2018-04-15 15:54:47 +02:00
korelstar
a541775514 do not execute synchronization concurrently 2018-04-15 10:52:26 +02:00
Niedermann IT-Dienstleistungen
153459d3bc bump version 2018-04-14 13:50:16 +02:00
Niedermann IT-Dienstleistungen
7a47c90327 Use round icons fallback icons 2018-04-14 13:46:08 +02:00
Nextcloud bot
5f7cdfcc89 [tx-robot] updated from transifex 2018-04-14 13:40:48 +02:00
Niedermann IT-Dienstleistungen
8883567342 #377 New section style
Use @dimen variables for font sizes in drawer as well
2018-04-13 16:05:21 +02:00
Niedermann IT-Dienstleistungen
b32c306ec3 #377 New section style
Use @dimen variables for font sizes
2018-04-13 16:05:21 +02:00
Niedermann IT-Dienstleistungen
0c43229b10 #377 New section style
Adjusted text size and RTL support
2018-04-13 16:05:21 +02:00
Niedermann IT-Dienstleistungen
1920f6dd12 #377 New section style 2018-04-13 16:05:21 +02:00
Niedermann IT-Dienstleistungen
9185984249 Enhanced share dialog with chooser on >= Lollipop 2018-04-13 11:07:11 +02:00
Niedermann IT-Dienstleistungen
1734ba6dfc bump version 2018-04-13 09:46:10 +02:00
Nextcloud bot
6ba1f8fd53 [tx-robot] updated from transifex 2018-04-13 09:28:04 +02:00
Nextcloud bot
8406576edb [tx-robot] updated from transifex 2018-04-13 00:14:11 +02:00
Niedermann IT-Dienstleistungen
d2298ef35d Remove not needed files 2018-04-13 00:08:56 +02:00
Niedermann IT-Dienstleistungen
e77653101a Remove not needed files 2018-04-12 23:40:56 +02:00
Niedermann IT-Dienstleistungen
99c1e54fba bump version 2018-04-12 23:16:55 +02:00
Niedermann IT-Dienstleistungen
9ae9878ac9 Remove bitmap drawables and let Android Studio generate the at buildtime
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 23:12:34 +02:00
Niedermann IT-Dienstleistungen
cd7e7d445a Fix Android 7+ shortcuts 2018-04-12 23:00:22 +02:00
Niedermann IT-Dienstleistungen
131984d059 Fix FAB not floating above snackbars 2018-04-12 22:55:09 +02:00
Niedermann IT-Dienstleistungen
19a1795fa7 Remove bitmap drawables and let Android Studio generate the at buildtime
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 19:43:17 +02:00
Niedermann IT-Dienstleistungen
01b4ce3125 bump version 2018-04-12 16:37:50 +02:00
Niedermann IT-Dienstleistungen
e5a7895e24 Fix icon tint 2018-04-12 15:58:54 +02:00
Niedermann IT-Dienstleistungen
a4b2a610cd Undo Swipe2Delete raised up to 7 seconds 2018-04-12 14:24:00 +02:00
Mario Danic
c0080c11f9 Remove flexible utils
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-12 14:18:42 +02:00
Mario Danic
e923c34225 Step 2 of awesome search magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-12 14:18:42 +02:00
Mario Danic
aa6e1c6742 Awesome search stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-12 14:18:42 +02:00
Niedermann IT-Dienstleistungen
2cb9ad28ed Remove bitmap drawables and let Android Studio generate the at build time
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 13:54:08 +02:00
Niedermann IT-Dienstleistungen
210824ba85 Remove bitmap drawables and let Android Studio generate the at build time
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 13:26:45 +02:00
Niedermann IT-Dienstleistungen
0c00a6cdad Opening search now displays a back arrow instead of the hamburger button 2018-04-12 10:54:11 +02:00
Niedermann IT-Dienstleistungen
849a5a0958 Eleminate not needed toast on HTTP 304
https://github.com/square/retrofit/issues/805#issuecomment-93426183
https://stackoverflow.com/a/23244575
2018-04-12 09:48:02 +02:00
Niedermann IT-Dienstleistungen
ce176157b6 Run AsyncTasks in parallel
Since API Level 11 AsyncTasks run single threaded per default. This causes some Time to wait, e. g. on the login screen, where the URL validator is still running before the login can be checked.

This change is supposed to speed up the login process.

The documentation basically says it is only careful in cases where the order of the execution is relevant, but i do not think this is a problem in our case since the AsyncTasks do not depend on each other.

https://developer.android.com/reference/android/os/AsyncTask.html
2018-04-12 08:32:41 +02:00
Mario Danic
79cb33b07e Few fixes to strings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-11 18:26:31 +02:00
Niedermann IT-Dienstleistungen
e664bc3c17 Added padding to Preferences 2018-04-11 15:40:33 +02:00
Niedermann IT-Dienstleistungen
45aeab0270 Introduce ButterKnife and code reformat
http://jakewharton.github.io/butterknife/
2018-04-11 15:37:28 +02:00
Niedermann IT-Dienstleistungen
b86ad96ded bump version 2018-04-11 13:12:10 +02:00
Niedermann IT-Dienstleistungen
39bc435458 Fix #366 WindowManager$BadTokenException 2018-04-11 12:14:18 +02:00
Niedermann IT-Dienstleistungen
0177fc5a43 Fix missing trashbin on swiping from right to left 2018-04-10 17:20:46 +02:00
Niedermann IT-Dienstleistungen
420c4e65cf #310 Swipe left favorite
The swipe from right to left marks a note as favorite.
Open question: how to handle the background color? It should be yellow when swiping from left and red when swiping from right.
2018-04-10 17:16:16 +02:00
Niedermann IT-Dienstleistungen
f23a4f5970 Decrease size of trashbin on swipe 2018-04-10 15:27:07 +02:00
Niedermann IT-Dienstleistungen
20d68f9588 Version bump to 0.14.0 2018-04-10 15:13:00 +02:00
Niedermann IT-Dienstleistungen
c93e7b193c #344 »Syncing« icon looks like a warning
Using blue icons without attention mark for now.
2018-04-10 15:11:36 +02:00
Niedermann IT-Dienstleistungen
086769bff5 Use lighter color for separator in drawer 2018-04-10 15:11:36 +02:00
Niedermann IT-Dienstleistungen
ed84f1db62 Use settings icon instead of tune icon 2018-04-10 15:11:36 +02:00
Niedermann IT-Dienstleistungen
6368ef06c6 #355 Adaptive Icon
- Created adaptive icon
- Using where possible (about, drawer, no-notes, ...)
- Created splashscreen icon
- Cleaned up no longer used icons
2018-04-10 15:11:36 +02:00
Nextcloud bot
45510016df [tx-robot] updated from transifex 2018-04-10 15:09:57 +02:00