Commit graph

1966 commits

Author SHA1 Message Date
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
korelstar
73a43e3b70 fix update excerpt 2019-12-27 23:21:48 +01:00
korelstar
ec97e83406 remove unneeded index 2019-12-27 23:21:48 +01:00
stefan-niedermann
ce960250d4 #528 Save the excerpt in a separate column
Also load excerpt, when content is not pruned
2019-12-27 23:21:48 +01:00
stefan-niedermann
02e4976a02 #528 Save the excerpt in a separate column 2019-12-27 23:21:48 +01:00
stefan-niedermann
c435b0f1ad #33 Empty state for no notes
Less aggressive app icon (monochrome, no background)
2019-12-26 18:18:46 +01:00
stefan-niedermann
87b11eed6b Better translation for german empty content view 2019-12-26 18:17:48 +01:00
Nextcloud bot
d6e795bc05 [tx-robot] updated from transifex 2019-12-24 09:43:12 +01:00
Nextcloud bot
a6d524958f [tx-robot] updated from transifex 2019-12-23 09:05:16 +01:00
Nextcloud bot
747982a585 [tx-robot] updated from transifex 2019-12-22 20:32:25 +01:00
stefan-niedermann
772f5982af Fix #630 Note list widget now missing "+" button 2019-12-21 18:12:28 +01:00
Nextcloud bot
d8700a2872 [tx-robot] updated from transifex 2019-12-21 18:09:07 +01:00
stefan-niedermann
f8028542b2 Clean tools attributes for notes list widget 2019-12-21 13:29:25 +01:00
stefan-niedermann
4bd3b9f51f Cleaned up some warnings 2019-12-20 10:41:58 +01:00
stefan-niedermann
687d2c5abe Fix #33 Empty state for no notes 2019-12-20 10:26:02 +01:00
Niedermann IT-Dienstleistungen
7782759826
Workaround for #477 and #604 (#622)
* Workaround for #477 and #604

* Workaround for #477 and #604

* [tx-robot] updated from transifex

* [tx-robot] updated from transifex

* Bump butterknife from 10.2.0 to 10.2.1

Bumps [butterknife](https://github.com/JakeWharton/butterknife) from 10.2.0 to 10.2.1.
- [Release notes](https://github.com/JakeWharton/butterknife/releases)
- [Changelog](https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JakeWharton/butterknife/compare/10.2.0...10.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump butterknife-compiler from 10.2.0 to 10.2.1

Bumps [butterknife-compiler](https://github.com/JakeWharton/butterknife) from 10.2.0 to 10.2.1.
- [Release notes](https://github.com/JakeWharton/butterknife/releases)
- [Changelog](https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JakeWharton/butterknife/compare/10.2.0...10.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: Nextcloud Bot <bot@nextcloud.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-20 09:38:53 +01:00
Nextcloud bot
604e638869 [tx-robot] updated from transifex 2019-12-18 12:40:51 +01:00
Nextcloud bot
4afe4c2acd [tx-robot] updated from transifex 2019-12-17 09:27:21 +01:00
Nextcloud bot
e6294a9ff3 [tx-robot] updated from transifex 2019-12-16 09:02:03 +01:00
Nextcloud bot
bb99f471c4 [tx-robot] updated from transifex 2019-12-15 16:18:38 +01:00
Unpublished
a91150db41 Skip dropping automatic indices
They cannot be dropped manually
2019-12-15 16:15:27 +01:00
stefan-niedermann
de3ba0d04b Fix #613 Crash on start. shortLabel cannot be empty 2019-12-14 15:18:01 +01:00
stefan-niedermann
3ac8b2e101 Remove unused resources 2019-12-14 15:10:30 +01:00
stefan-niedermann
e301bd3971 Use TAG for logging in SSOUtil 2019-12-14 15:08:36 +01:00
korelstar
31b2387261 fix lastmodified on upgrade 2019-12-14 13:47:16 +01:00
korelstar
666b0a30db fix lastmodified and ETag 2019-11-14 21:59:12 +01:00
stefan-niedermann
d115bb7db7 #599 Multi account and SSO
Fix https://github.com/stefan-niedermann/nextcloud-notes/pull/599#issuecomment-546680383
2019-11-03 09:15:01 +01:00
stefan-niedermann
d3cc579051 #599 Multi account and SSO
Remove TrustPreference from PreferencesFragment
2019-10-30 19:36:37 +01:00
stefan-niedermann
33ee842c65 Upgrade SSO dependency and catch new AccountImportCancelledException 2019-10-29 11:15:47 +01:00
tobiasKaminsky
9ccd66053b
- use v2 network request
- eTag is escaped
2019-10-28 10:08:18 +01:00
stefan-niedermann
669f0b6c83 Use performNewNetworkRequest instead of performNetworkRequest 2019-10-26 13:59:37 +02:00
stefan-niedermann
4ad292756e Fix migration bug (and merge master branch) 2019-10-24 16:57:21 +02:00
stefan-niedermann
17d3081230 Do not try to preselect an account 2019-10-24 15:46:02 +02:00
stefan-niedermann
37e81d144b Catch 304 response 2019-10-24 15:41:59 +02:00
tobiasKaminsky
0fdc57a9e9
SSO: return response headers 2019-10-24 07:54:32 +02:00
stefan-niedermann
9f978afd1e Merge remote-tracking branch 'origin/master' 2019-10-19 22:42:37 +02:00
stefan-niedermann
eaddde6fb0 Fix #606 Wrong account name color in dark mode 2019-10-19 22:41:30 +02:00
Nextcloud bot
40c7ce07d4
[tx-robot] updated from transifex 2019-10-19 03:12:29 +00:00
Daniel Bailey
dca16038b9
Appwidget Migration Changes
accountId is added to any existing (and configured) appwidgets.

Signed-off-by: Daniel Bailey <dan0xii@users.noreply.github.com>
2019-10-17 15:18:13 +01:00
stefan-niedermann
303b7d6c36 Chores 2019-10-12 16:50:31 +02:00
stefan-niedermann
dc0fa0c56b Chores 2019-10-12 16:47:06 +02:00
stefan-niedermann
23d0361285 Catch IllegalArgumentException in widget and fix migration 2019-10-12 16:23:46 +02:00
stefan-niedermann
f07f1d9fd0 Only selectAccount onResume when localAccount odes not match SSO account 2019-10-12 16:10:38 +02:00
Daniel Bailey
7e82e3da1f
Merge branch 'multi-account' of github.com:stefan-niedermann/nextcloud-notes into multi-account.rebase-test.test.2
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-11 16:53:51 +01:00
Daniel Bailey
f40eab402d
Widget fixes for SSO
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-11 15:27:06 +01:00
stefan-niedermann
16b98435da More defensive coding style on database level 2019-10-11 15:58:40 +02:00
stefan-niedermann
bd3421f835 Fix account import for Android 7 (and maybe 6) 2019-10-11 14:13:23 +02:00
stefan-niedermann
b4a8347502 Fix account import for Android 4 (and maybe others) 2019-10-11 13:51:51 +02:00
stefan-niedermann
64ef38f966 Some code cleanup 2019-10-11 11:13:30 +02:00
stefan-niedermann
877dcfb64c Harmonize logging tag 2019-10-11 10:46:36 +02:00
stefan-niedermann
bd0b374ed6 Do not show "already imported" message on migrated accounts 2019-10-11 10:34:01 +02:00
stefan-niedermann
2de611ef1b Display snackbar when importing account twice 2019-10-11 10:22:01 +02:00
stefan-niedermann
08ee1dc755 Add Foreign Key also on db upgrade process 2019-10-11 09:27:27 +02:00
stefan-niedermann
a0699986cc Some refactoring 2019-10-10 20:29:20 +02:00
stefan-niedermann
09f4bfb114 Handle direct creation via widget and shortcut graceful if account is not authorized yet 2019-10-10 18:35:11 +02:00
stefan-niedermann
811ea0eda7 hide fab when account is not yet authorized 2019-10-10 17:41:50 +02:00
stefan-niedermann
84df5aef47 Allow importing other accounts while migrating 2019-10-10 17:33:06 +02:00
stefan-niedermann
981b059402 Move unauthorized account detection and handling to NotesListViewActivity 2019-10-10 17:29:45 +02:00
stefan-niedermann
fffbd2b15d Ask to import account on migration 2019-10-10 13:51:06 +02:00
stefan-niedermann
7b1a8987df Use getClass().getSimpleName() as logging tag 2019-10-08 23:45:02 +02:00
stefan-niedermann
8ed007e19d Do not physically click on header after account selection 2019-10-08 23:11:40 +02:00
stefan-niedermann
76904c2fe1 Move e tag and last modified into account-table in database
Also clean up old e tag and last modified SharedPreferences in database upgrade process and remove account token handling
2019-10-08 23:04:28 +02:00
Daniel Bailey
b68362ed4a
The single note widget now stores the accountId in the same way as it
does the noteID.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-07 17:02:15 +01:00
stefan-niedermann
1bd95a9db3 Fix NPE on SingleNotes Widget 2019-10-06 15:30:03 +02:00
stefan-niedermann
b4c5df3329 Fix NotesList Widget 2019-10-06 15:22:41 +02:00
stefan-niedermann
25357d7a2e Use correct accountId to suggest categories 2019-10-06 14:33:52 +02:00
stefan-niedermann
bde70bd27d Some refactoring 2019-10-06 14:23:43 +02:00
stefan-niedermann
1a2c2c6461 Also create indexes for usernamem, account_name, display_name and token 2019-10-06 10:07:12 +02:00
Niedermann IT-Dienstleistungen
34e3f5e2af
Merge pull request #601 from stefan-niedermann/transifex
[tx-robot] updated from transifex
2019-10-05 12:43:12 +02:00
stefan-niedermann
839793fada Fix dark theme glitches in account chooser 2019-10-05 12:36:15 +02:00
stefan-niedermann
8a12ee4752 Use always white text color for header 2019-10-05 12:32:56 +02:00
stefan-niedermann
205c311265 Create indexes for notes/accountId and accounts/account_name 2019-10-05 11:49:16 +02:00
stefan-niedermann
021363963b Recreate activity when last account has been deleted 2019-10-05 11:44:56 +02:00
stefan-niedermann
5cc5f25284 Ask for new picking new account when deleted last account 2019-10-05 11:23:43 +02:00
stefan-niedermann
50ede37b10 Switch to another account when deleting an account 2019-10-05 11:16:35 +02:00
stefan-niedermann
80602a6185 Delete accounts 2019-10-05 11:09:15 +02:00
stefan-niedermann
9fc4839e2d update username in drawer after adding a new account 2019-10-05 10:40:38 +02:00
stefan-niedermann
57bbdb05ef Merge branch 'master' into multi-account
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
#	app/src/main/res/values/strings.xml
2019-10-05 10:34:01 +02:00
stefan-niedermann
06d033da19 SSO Announcment - Extract string resources and comment out 2019-10-05 10:30:03 +02:00
Nextcloud bot
e3beff17e2
[tx-robot] updated from transifex 2019-10-05 03:11:32 +00:00
stefan-niedermann
cdf60e6c4a Adjust text 2019-10-04 22:20:15 +02:00
stefan-niedermann
ab28ad7e8f Implement sso announcment 2019-10-04 22:09:13 +02:00
stefan-niedermann
3549494412 Fix #375 Hardcoded list for special category images 2019-10-04 21:21:47 +02:00
stefan-niedermann
b71800c972 Add tools:text to item_navigation 2019-10-04 20:47:29 +02:00
stefan-niedermann
483621f295 Remove unused resources 2019-10-04 20:44:20 +02:00
stefan-niedermann
0ebf6f3e09 Fix NPE when creating new note 2019-10-04 20:23:10 +02:00
stefan-niedermann
a8f32f02c8 Display avatars in account chooser 2019-10-04 20:16:32 +02:00
stefan-niedermann
22b195bb54 Hide FAB when scrolling down 2019-10-04 20:09:29 +02:00
stefan-niedermann
11499d5009 Move account handling to drawer 2019-10-04 19:25:36 +02:00
stefan-niedermann
99d0bf944e Create NotesClient in updateAccount when null 2019-10-04 17:46:52 +02:00
stefan-niedermann
a85e93e1fb Fix NPE 2019-10-04 17:28:38 +02:00
stefan-niedermann
cf886e4490 Store account token in database 2019-10-04 17:26:48 +02:00
stefan-niedermann
1c3db28fc5 Store account token in database 2019-10-04 17:18:56 +02:00
stefan-niedermann
d66a576488 Respect accountId when searching notes 2019-10-04 16:32:33 +02:00
stefan-niedermann
590626d4f0 Recreate NextcloudAPI on switchting accounts 2019-10-04 16:12:54 +02:00
stefan-niedermann
6936b71398 Fix missing drawer button after adding first account 2019-10-04 15:46:40 +02:00
stefan-niedermann
06eae23c6a Make first sync after adding first account work 2019-10-04 15:44:37 +02:00
stefan-niedermann
9db4757415 Remove onclick listener in navigation header 2019-10-04 14:34:05 +02:00
stefan-niedermann
28184c803e Split keys for last modified and etag to several accounts 2019-10-04 14:31:07 +02:00
stefan-niedermann
8bfffd38d9 Add new accounts directly to list 2019-10-04 14:08:53 +02:00
stefan-niedermann
cd2ad4178d Fix NPE 2019-10-04 13:38:54 +02:00
stefan-niedermann
475358bb6c Check for nulls when creating 2019-10-04 13:12:54 +02:00
stefan-niedermann
a4a71432ea Merge remote-tracking branch 'origin/master' into multi-account
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/LoadNotesListTask.java
2019-10-04 12:56:44 +02:00
stefan-niedermann
0fbf02840e Use accountId 2019-10-04 12:54:50 +02:00
korelstar
daae01bfbb improve timeslots in notes list 2019-10-04 12:02:41 +02:00
stefan-niedermann
69c15be3bd Do not reinstanziate NotesClient on each request 2019-10-04 11:13:00 +02:00
stefan-niedermann
74a3f46335 Fix categories and favorites 2019-10-04 11:08:56 +02:00
stefan-niedermann
a7b1173575 Fix trashbin link 2019-10-04 11:05:50 +02:00
stefan-niedermann
b52fda7ba5 Completely remove cert4droid and old login 2019-10-04 11:04:36 +02:00
stefan-niedermann
738843fbcb Make account switchable in Navigation Drawer 2019-10-04 10:19:23 +02:00
stefan-niedermann
7b1f409637 Enable Network requests via SSO 2019-10-04 10:11:42 +02:00
stefan-niedermann
18aad1613d Setup account table and include SSO lib 2019-10-03 19:39:12 +02:00
Niedermann IT-Dienstleistungen
586660bb2a
Merge pull request #596 from stefan-niedermann/transifex
[tx-robot] updated from transifex
2019-10-03 17:15:31 +02:00
stefan-niedermann
62bc15edbd Kill app when custom certificate has been rejected 2019-10-03 17:06:45 +02:00
stefan-niedermann
c204e2f1f3 Merge branch 'weblogin' 2019-10-03 16:52:42 +02:00
stefan-niedermann
35061253f5 Append version to UncaughtExceptionHandler 2019-10-03 16:35:47 +02:00
stefan-niedermann
63b3603059 Use lambda for snackbar callback 2019-10-03 09:41:03 +02:00
Nextcloud bot
e8c606df0c
[tx-robot] updated from transifex 2019-10-03 03:10:20 +00:00
stefan-niedermann
3ac7b1cbad Merge branch 'master' into weblogin 2019-10-02 20:35:45 +02:00
stefan-niedermann
3f32594d9d Background 2019-09-22 09:28:12 +02:00
stefan-niedermann
7001756bf1 Use ic_launcher as avatar fallback image 2019-09-22 09:28:05 +02:00
stefan-niedermann
f100bbd46a Merge branch 'master' into weblogin 2019-09-21 21:43:50 +02:00
stefan-niedermann
9a161c1fea New header (show avatar) 2019-09-21 21:42:02 +02:00
tobiasKaminsky
a0cddca244
support for server side client 2019-09-18 16:42:26 +02:00
stefan-niedermann
9875160c24 Enhanced animation on closing about activity 2019-09-16 19:29:06 +02:00
Niedermann IT-Dienstleistungen
91fd6933a2
Merge branch 'master' into refresh-preview 2019-09-14 22:24:55 +02:00
stefan-niedermann
23652e55a3 Increase old login flow delay to 45 2019-09-14 22:24:35 +02:00
stefan-niedermann
7d71fcc7e5 Fix Weblogin 2019-09-14 22:24:07 +02:00
stefan-niedermann
eedf38d3dc Fix merge error 2019-09-14 22:05:14 +02:00
stefan-niedermann
4214737e83 Merge branch 'master' into weblogin
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/SettingsActivity.java
#	app/src/main/res/values/strings.xml
2019-09-14 22:04:40 +02:00
korelstar
3b6149384b fix duplicated sub-category header when using search 2019-09-12 21:36:31 +02:00
korelstar
b7e6272532
fix search in category 2019-09-12 09:10:55 +02:00
korelstar
ff7f766ce7 fix background for code in dark mode 2019-09-11 23:10:35 +02:00
Nextcloud bot
cccf3e79d7 [tx-robot] updated from transifex 2019-09-10 14:06:23 +02:00
stefan-niedermann
8955a298f1 Fix "New note" tile 2019-08-21 15:32:10 +02:00
Nextcloud bot
9624bb65c9 [tx-robot] updated from transifex 2019-08-21 15:19:20 +02:00
Nextcloud bot
e4128bf46b [tx-robot] updated from transifex 2019-08-13 09:30:53 +02:00
keeshii
c85db0c647 Removed "Tiny" from font sizes. 2019-08-11 14:01:12 +02:00
keeshii
87da8601e3 Changed icon color in the settings. 2019-08-11 14:01:12 +02:00
Kamil K
6f23054f60 Added font size preference. 2019-08-11 14:01:12 +02:00
Nextcloud bot
5d1a3e617e [tx-robot] updated from transifex 2019-08-05 09:57:13 +02:00
stefan-niedermann
48d57dad0d Merge remote-tracking branch 'origin/master' 2019-07-26 13:52:17 +02:00
stefan-niedermann
e17329fa94 Fix #567 Enable pinning notes as shortcut 2019-07-26 13:52:08 +02:00
Nextcloud bot
f7c8d453d1 [tx-robot] updated from transifex 2019-07-25 12:46:19 +02:00
Nextcloud bot
0ccc1d2067 [tx-robot] updated from transifex 2019-07-21 13:57:42 +02:00
Nextcloud bot
1e10cc0cb8 [tx-robot] updated from transifex 2019-07-19 19:15:48 +02:00
stefan-niedermann
9b10f20649 Add uncaught exception handler 2019-07-19 14:27:30 +02:00
stefan-niedermann
d2e22451ac Display keyboard directly when editing a new / empty note 2019-07-19 13:20:26 +02:00
stefan-niedermann
743ae5308a #554 Add dynamic shortcuts for recent notes 2019-07-19 13:07:19 +02:00
stefan-niedermann
a30db4e41b #554 App shortcuts for fav / recent notes and settings 2019-07-19 08:56:40 +02:00
stefan-niedermann
5e554a7dff Align actionbar text to content in NotesListView 2019-03-14 12:36:51 +01:00
Nextcloud bot
b782bf4f43 [tx-robot] updated from transifex 2019-02-19 19:17:34 +01:00
Nextcloud bot
0df40d42f5 [tx-robot] updated from transifex 2019-02-11 22:02:48 +01:00
Nextcloud bot
ef6c5ff3ed [tx-robot] updated from transifex 2019-02-10 21:19:33 +01:00
stefan-niedermann
ec3ccba3db #529 Switching theme must recreate MainActivity 2019-02-10 21:18:19 +01:00
stefan-niedermann
b6684d6be2 Switch from magic string literals to ressource ids 2019-02-10 19:13:32 +01:00
stefan-niedermann
b9cd8c3592 Added some null checks & more defensive programming 2019-02-10 19:01:10 +01:00
Nextcloud bot
c2aef80d9d [tx-robot] updated from transifex 2019-02-09 19:35:10 +01:00
stefan-niedermann
7e6e540733 #519 Synchronize on WiFi only
- Move setting down
2019-02-09 19:25:03 +01:00
stefan-niedermann
41054d5b7e Eliminate summary for dark theme since it has only a bool value 2019-02-09 19:22:18 +01:00
stefan-niedermann
b4bb471481 #396 Initial support for weblogin
- Use lambda
2019-02-08 12:12:14 +01:00
stefan-niedermann
40b49ac895 #396 Initial support for weblogin
Fix imports
2019-02-08 12:07:54 +01:00
stefan-niedermann
7d1de66625 Merge branch 'master' into weblogin
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/SettingsActivity.java
#	app/src/main/res/values/strings.xml
2019-02-08 12:06:25 +01:00
stefan-niedermann
5485d88481 #248 Refresh from server when in view mode
- Merge master
2019-02-08 11:34:15 +01:00
stefan-niedermann
b29fadc276 Merge branch 'master' into refresh-preview
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
2019-02-08 11:31:29 +01:00
stefan-niedermann
465ee9294b #519 Synchronize on WiFi only
- Update documentation
2019-02-08 11:21:22 +01:00
stefan-niedermann
4b4c639aa0 #519 Synchronize on WiFi only
- Move listener back to class member (Garbage Collection?)
2019-02-08 11:17:44 +01:00
stefan-niedermann
ee0c809671 #519 Synchronize on WiFi only
- Remove not needed initializations
2019-02-08 11:14:33 +01:00
stefan-niedermann
8e876c2c76 #519 Synchronize on WiFi only
- Make `OnSharedPreferencesListener` local
- Use "wifiOnly" via string resource instead of hard coded literal
2019-02-08 11:05:41 +01:00
stefan-niedermann
547cb83890 Merge remote-tracking branch 'origin/master' into synchronize-on-wifi-only 2019-02-08 10:53:32 +01:00
stefan-niedermann
8fc3337620 Merge remote-tracking branch 'origin/synchronize-on-wifi-only' into synchronize-on-wifi-only 2019-02-08 10:53:17 +01:00
stefan-niedermann
7e75743320 #519 Synchronize on WiFi only
- Use `OnSharedPreferencesListener` instead of polling the wifi-only-preference every time
2019-02-08 10:52:41 +01:00
stefan-niedermann
4f88b37fcb #363 Context based formatting
- Use selection as link target instead of label when it starts with `http`
2019-02-08 08:05:25 +01:00
stefan-niedermann
f89357e046 Fix da-translation (escaping problem) 2019-02-07 23:37:33 +01:00
Nextcloud bot
4115da63bb [tx-robot] updated from transifex 2019-02-07 23:34:59 +01:00
Niedermann IT-Dienstleistungen
3e0ad77b3c
Merge branch 'master' into synchronize-on-wifi-only 2019-02-07 23:20:16 +01:00
stefan-niedermann
d5cfb38ac5 #363 Context based formatting
- place cursor at the end of the selection after markdown has been added
2019-02-07 23:19:27 +01:00
stefan-niedermann
1b882b43fa #363 Context based formatting
- render 'bold' & 'italic' in pop-over-menu in bold & italic
2019-02-07 23:16:19 +01:00
stefan-niedermann
b9d46cf758 #363 Context based formatting
- removing markdown disabled, because it does not work properly and might cause data loss
2019-02-07 22:45:47 +01:00
stefan-niedermann
e080c42a4f Merge branch 'master' into synchronize-on-wifi-only
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/PreferencesFragment.java
2019-02-07 22:24:01 +01:00
stefan-niedermann
d5693c5ac2 Do not finish PreferencesActivity when switching theme 2019-02-07 22:23:02 +01:00
stefan-niedermann
5e48d8c6ae #519 Synchronize on WiFi only
- Simplify setting
2019-02-07 21:59:54 +01:00
stefan-niedermann
d0b94df723 Merge remote-tracking branch 'origin/master' into synchronize-on-wifi-only
# Conflicts:
#	app/src/main/res/values/strings.xml
#	app/src/main/res/xml/preferences.xml
2019-02-07 21:51:35 +01:00
stefan-niedermann
b4d260b7b8 Merge branch '520-register-as-notes-app' 2019-02-07 21:47:18 +01:00
stefan-niedermann
6617ee91b2 #359 Use monospace font
- Merge current master
- Update settings title
2019-02-07 21:36:35 +01:00
stefan-niedermann
c221aa1329 Merge branch 'master' into monospace-font
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NoteEditFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
2019-02-07 21:27:26 +01:00
stefan-niedermann
58e663b30f #498 Remove borders between notes in list
- Adjust separator to `#fbfbfb` in light theme and `#262626` in dark theme
2019-02-07 21:14:08 +01:00
stefan-niedermann
07fd912fe3 #520 App should register as notes app
- Use constants instead of string literals
2019-02-07 21:00:46 +01:00
stefan-niedermann
257b3424e8 #519 Synchronize on Wi-Fi only
- Sync icon
2019-02-07 16:24:15 +01:00
stefan-niedermann
40e54fb8b6 #519 Synchronize on Wi-Fi only
- Fix preference
2019-02-07 16:21:20 +01:00
stefan-niedermann
1998c04b3e #519 Synchronize on Wi-Fi only
- Add preference
- Add check in isSyncPossible()
- Add strings and resources
2019-02-06 23:35:49 +01:00
stefan-niedermann
b1b2d64cb7 Enable link creation and bold/italic toggle 2019-02-06 22:45:03 +01:00
stefan-niedermann
c8f1581a2b #363 Context based formatting 2019-02-06 21:47:14 +01:00
stefan-niedermann
020adcff82 Update dependencies 2019-02-06 20:51:05 +01:00
stefan-niedermann
20776b1c9b Merge remote-tracking branch 'origin/androidx'
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java
2019-02-06 20:49:03 +01:00
Daniel Bailey
e3d4e87d3c Markdown util needs to hardcode unordered list colour.
getMarkdownConfiguration will set unordered list colour depending on
whether or not dark theme is enabled.
2019-02-06 20:38:55 +01:00
stefan-niedermann
c20e49d50a Merge branch '250-register-as-notes-app' into search-in-note 2019-02-06 20:29:00 +01:00
stefan-niedermann
11e606bea8 Adjust orderInCategory 2019-02-06 20:12:27 +01:00
stefan-niedermann
15b41c4b1d Migrate to androidx.appcompat.widget.SearchView 2019-02-06 17:51:20 +01:00
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
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
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
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
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
Daniel Bailey
a106929b4a Fix for intermittent nlw update problem. 2018-09-16 15:41:53 +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
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
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
e53764370c
Merge branch 'master' into refresh-preview 2018-08-24 14:34:00 +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
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
2ffeb6c9b4 #248 Refresh from server when in view mode 2018-08-24 11:16:40 +02:00
Niedermann IT-Dienstleistungen
27303d6c21 #238 Introduce a trashbin (Link to Webinterface) 2018-08-24 11:02:23 +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
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
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
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
korelstar
a541775514 do not execute synchronization concurrently 2018-04-15 10:52:26 +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
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
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
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
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
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
Niedermann IT-Dienstleistungen
7ecfac6cda #333 Position of favorite star 2018-04-09 18:53:43 +02:00
Niedermann IT-Dienstleistungen
ec492b85ec #358 Better URL handling 2018-04-09 11:27:34 +02:00
Niedermann IT-Dienstleistungen
1d5904dd28 Merge branch 'master' of https://github.com/stefan-niedermann/nextcloud-notes 2018-04-06 20:57:12 +02:00
Daniel Bailey
16b10c4c4f Added "Daniel Bailey" to app developers list. 2018-04-06 20:56:56 +02:00
Niedermann IT-Dienstleistungen
5d50b55af3 Remove permanent notification in favor of tile
Cleanup after #348 (Added support for a quick settings tile for creating a new note)
2018-04-06 20:56:36 +02:00
Dobli
cf3037e4e1 Adjusted quick tile to use EditNoteActivity 2018-04-06 20:36:17 +02:00
Dobli
2dc1841603 Added support for a quick settings tile to create a new note (only on Android 7.0+) 2018-04-06 20:36:17 +02:00
korelstar
baff508376 merge create and edit note activity 2018-03-15 11:44:19 +01:00
Daniel Bailey
065a6ae7ac Single note widget minimum height changed from two rows to one. 2018-03-13 07:35:33 +01:00
korelstar
d82af245db update App Bar labels 2018-03-12 12:11:09 +01:00
korelstar
e0fa2a848a update dependencies (android, support libraries, cert4android) 2018-03-11 06:52:40 +01:00
korelstar
e68dbe1e6d fix loading notes from widget 2018-03-02 21:08:16 +01:00
korelstar
62d15b4fd7 move appwidget-code into separate package 2018-02-28 19:28:57 +01:00
korelstar
42bc66aedd udpate to new ShareActionProvider from support lib 2018-02-28 10:36:46 +01:00
dan0xii
b273eed280 Moved widget update functions (#324) 2018-02-11 21:48:05 +01:00
Nextcloud bot
1e02567ca8 [tx-robot] updated from transifex 2018-02-10 14:29:22 +01:00
korelstar
c3f4289a26 fix NPE in category dialog 2018-02-05 21:26:11 +01:00
korelstar
373ecaa13b fix widget creation 2018-02-05 20:47:56 +01:00
Nextcloud bot
92f556bdaf [tx-robot] updated from transifex 2018-02-05 08:22:16 +01:00
korelstar
d9c3bc68c3 refactor NoteFragments, category in ActionBar 2017-11-30 07:09:23 +01:00
dan0xii
11c26142b3 Widget cleanup, fix crash on deleted notes 2017-11-27 17:03:21 +01:00
korelstar
dc88558207 select category when opened in navigation 2017-11-26 12:19:14 +01:00
korelstar
98d0ab29dc categories in navigation drawer 2017-11-26 12:19:14 +01:00
Allan Nordhøy
cf79f20cf1 Whether, https, Apache 2.0, log in 2017-11-10 07:27:14 +01:00
korelstar
fdf43955db converts line-breaks (workaround for yydcdut/RxMarkdown#41) 2017-11-04 20:47:32 +01:00
korelstar
009ca40cd0 update dependencies 2017-11-01 21:16:13 +01:00
Daniel Bailey
c4e182b118 Note list widget
Widget to display all notes in the database, sorted by starred,
modified.

updateNoteListWidgets() used temporarily for widget updates until
content observer is implemented.

Move star icon to the right and adjust padding to match

Fixed update mechanism for NoteListWidget
2017-10-30 20:04:21 +01:00
korelstar
9d8c8e91ab initially hide keyboard in EditNoteActivity 2017-10-30 19:56:00 +01:00
Nextcloud bot
6c14a816fd [tx-robot] updated from transifex 2017-10-02 10:39:11 +02:00
Daniel Bailey
947f387b94 Single note widget scroll 2017-10-02 10:37:58 +02:00
korelstar
346a2e6417 improve design (1dp) and code (lint) 2017-09-27 07:20:01 +02:00
Daniel Bailey
1468404d3e Fix to single note widget
Opening a note from the widget would have no effect if the user already had an editor
open for a different note. This change should check to see if a note is already being
edited, save and synchronise it and then present the new note for editing.
2017-09-26 21:00:54 +02:00
korelstar
7ead3f9e45 refactor autosave: replace Timer by Handler 2017-09-26 19:26:03 +02:00
Stefan Niedermann
4529801fce #244 Search should also include category of note 2017-09-17 11:10:17 +02:00
Stefan Niedermann
186149beba #204 Quickwin for category label 2017-09-17 10:48:00 +02:00
Daniel Bailey
e09512ae3f Remove unnecessary if/else statement
Removed bool test of isInitialised.
Small change to manifest.
2017-09-13 21:55:32 +02:00
schaarsc
426103b971 use string for preference key/value 2017-09-11 20:22:01 +03:00
schaarsc
2f4a7aa71d don't call saveData if data has not changed 2017-09-11 18:16:27 +02:00
korelstar
d12923d1d6 fix menu label and order 2017-09-07 21:36:02 +02:00
schaarsc
23d9aa24e5 Fix rotation of note activity 2017-09-07 21:21:33 +02:00
schaarsc
afe4732664 use style to set text color in AlertDialog. 2017-09-03 17:45:57 +02:00
schaarsc
a948077466 Align L&F of category and starts.
- Menu items are shown in Edit and Preview Mode
- Update is done without callback
2017-09-03 17:45:19 +02:00
korelstar
400de7c8ca code formatting and quality 2017-09-02 21:16:05 +02:00
korelstar
7d634e9021 fix: update widget after synchronization 2017-09-02 20:58:42 +02:00
korelstar
15a57f4a7e remove obsolete activity reference 2017-09-02 20:16:28 +02:00
Daniel Bailey
a8cddf24c4 Single Note Widget 2017-09-02 12:39:20 +02:00
korelstar
33de4f6a51 fix auto sync on app opening 2017-09-02 12:38:55 +02:00
korelstar
17e342e310 make preferences more clearer 2017-08-31 21:10:44 +02:00
schaarsc
467d2e578b Merge Edit & Preview into one activity. 2017-08-31 07:00:40 +02:00
korelstar
92917f0cce Auto-save without sync if sync is not possible 2017-08-27 17:03:41 +02:00
Daniel Bailey
141a3373f3 Create Note Widget
Addition of "Create Note" widget as referenced in https://github.com/stefan-niedermann/nextcloud-notes/issues/15.
2017-08-16 10:36:31 +02:00
korelstar
ae252ea6ba auto-save category 2017-08-01 07:37:43 +02:00
korelstar
832503ecc8 simple interface for category change 2017-08-01 07:37:43 +02:00
korelstar
57ad5c21d1 simplify version detection 2017-08-01 07:37:43 +02:00
korelstar
2e7ab5a857 speed-up synchronization (ETag and Last-Modified) 2017-07-30 10:20:40 +02:00
Nextcloud bot
d6ac2cc6e6 [tx-robot] updated from transifex 2017-07-30 10:20:10 +02:00
korelstar
09aa05cf45 remove permission USE_CREDENTIALS since it is not used 2017-06-29 22:11:07 +02:00
korelstar
0ac9b3a4a7 Downgrade for database 2017-06-29 22:11:07 +02:00
schaarsc
8ec387acea align L&F with other activities. 2017-06-26 22:48:03 +02:00
schaarsc
5fbbdcd4c3 reduce number of calls to CustomCertManager constructor.
instead of creating CustomCertManager on demand
 - create CCM in calling class
 - close CCM in finalize
2017-06-26 22:48:03 +02:00
schaarsc
6f47d59877 rename preferrence: server -> account 2017-06-26 22:48:03 +02:00
schaarsc
b3c2cc2f0e only synch if cert4android service is available. 2017-06-26 22:48:03 +02:00
schaarsc
4d2dfc6d77 move cert4android configuration to PreferencesActivity. 2017-06-26 22:48:03 +02:00
schaarsc
231de0a64c integrate cert4android 2017-06-26 22:48:03 +02:00
Niedermann IT-Dienstleistungen
472d549677 #206 Implement splash screen (#211)
Fix #206 Implement splash screen
2017-05-08 08:15:02 +02:00
korelstar
fad71709ea remove db.close() 2017-04-24 21:54:07 +02:00
korelstar
d211b2fe85 save new note if back pressed 2017-04-24 21:52:53 +02:00
korelstar
2cd26c0d06 don't show saved password 2017-04-24 21:50:11 +02:00
Nextcloud bot
36726e4abc
[tx-robot] updated from transifex 2017-04-18 00:21:48 +00:00
Nextcloud bot
74a976ba06
[tx-robot] updated from transifex 2017-04-17 00:21:26 +00:00
Nextcloud bot
44dd41f70f
[tx-robot] updated from transifex 2017-04-14 00:22:17 +00:00
Nextcloud bot
c912b4e71e
[tx-robot] updated from transifex 2017-04-12 00:21:45 +00:00
Nextcloud bot
dd550e3221
[tx-robot] updated from transifex 2017-04-11 00:21:31 +00:00
Stefan Niedermann
4c06d99890 Center permanent notification checkbox vertically 2017-04-10 22:28:44 +02:00
Nextcloud bot
6fcb9b6b0b
[tx-robot] updated from transifex 2017-04-10 00:22:49 +00:00
Niedermann IT-Dienstleistungen
68aaae4d72 Fix #197 Shortcuts for Android 7
Added a shortcut to create a new note for Android 7 and above.
2017-04-09 15:45:33 +02:00
Nextcloud bot
bc4a3f2aac
[tx-robot] updated from transifex 2017-04-09 00:22:11 +00:00
Nextcloud bot
803e902de1
[tx-robot] updated from transifex 2017-04-07 00:23:46 +00:00
Nextcloud bot
b755ee4c83
[tx-robot] updated from transifex 2017-04-06 00:22:33 +00:00
Nextcloud bot
610609a179
[tx-robot] updated from transifex 2017-04-05 00:23:06 +00:00
Niedermann IT-Dienstleistungen
837c679815 Update dependencies (#200)
update buildToolsVersion
    update rxMarkDown
    update support libs
    remove this, because it seems not to be needed (?)
```
-    compile 'io.reactivex:rxandroid:1.2.0'
-    compile 'io.reactivex:rxjava:1.1.5'
```
2017-04-01 12:38:22 +02:00
Nextcloud bot
0d3cbe2cb3
[tx-robot] updated from transifex 2017-04-01 00:22:31 +00:00
Nextcloud bot
4afb170ada
[tx-robot] updated from transifex 2017-03-29 07:06:23 +00:00
Nextcloud bot
32782abafd
[tx-robot] updated from transifex 2017-03-29 00:21:22 +00:00
Nextcloud bot
71a61d23fb
[tx-robot] updated from transifex 2017-03-28 00:21:43 +00:00
Nextcloud bot
b4590ba6f6
[tx-robot] updated from transifex 2017-03-27 00:21:48 +00:00
rakekniven
3763d22015 Update strings.xml
Removed brand owncloud. Could be nextcloud as well. Suggest to remove cloud name.
2017-03-25 21:08:41 +01:00
Stefan Niedermann
6425a4a755 Minor layout issue and version bump to v0.10.0 2017-03-21 11:09:36 +01:00
Andrea Scarpino
524c60d0da Accept user-installed certificates with Nougat 2017-03-20 16:46:35 +01:00
Nextcloud bot
af67f425bb [tx-robot] updated from transifex 2017-03-04 08:57:12 +01:00
korelstar
e1014a908d show leave-behind on swipe-delete 2017-03-03 20:33:25 +01:00
korelstar
a8504a4e6f linkify URLs in preview 2017-03-03 20:31:34 +01:00
korelstar
ddeffe0bb9 remove widget and obsolete navigation editor files 2017-03-03 20:30:46 +01:00
Niedermann IT-Dienstleistungen
ac63b64813 Merge pull request #181 from stefan-niedermann/sync-speedup1
speed-up synchronization and introduce categories
2017-03-03 18:43:04 +01:00
Niedermann IT-Dienstleistungen
e53fb5ad80 Merge pull request #182 from stefan-niedermann/update-rxmd
update RxMarkdown to 0.0.8-beta
2017-03-03 07:55:59 +01:00
Nextcloud bot
96334180c8
[tx-robot] updated from transifex 2017-03-03 01:19:14 +00:00
korelstar
da870b5a1e Revert "linkify...", commit was in wrong branch 2017-03-02 20:46:13 +01:00
korelstar
0ad49351ed linkify URLs in preview 2017-03-02 20:36:06 +01:00
Nextcloud bot
f1444e2bae
[tx-robot] updated from transifex 2017-03-02 01:19:19 +00:00
Nextcloud bot
29c91ba437
[tx-robot] updated from transifex 2017-03-01 01:19:34 +00:00
korelstar
f33ec328bd update RxMarkdown to 0.0.8-beta 2017-02-28 11:02:21 +01:00
Nextcloud bot
d099ab558a
[tx-robot] updated from transifex 2017-02-28 01:19:50 +00:00
korelstar
a48020b75e Fix and clear up translations 2017-02-26 18:36:41 +01:00
korelstar
accb42b756 speed-up synchronization and introduce categories 2017-02-26 09:20:05 +01:00
Nextcloud bot
dbf94141bb
[tx-robot] updated from transifex 2017-02-25 01:38:09 +00:00
Nextcloud bot
0544d231a6
[tx-robot] updated from transifex 2017-02-16 01:20:09 +00:00
Nextcloud bot
6b9e8568af
[tx-robot] updated from transifex 2017-02-15 01:19:02 +00:00
Nextcloud bot
94d6fe3c5b
[tx-robot] updated from transifex 2017-02-14 01:19:32 +00:00
Nextcloud bot
685bf90d32
[tx-robot] updated from transifex 2017-02-13 01:18:42 +00:00
Nextcloud bot
3d70686454
[tx-robot] updated from transifex 2017-02-11 01:19:01 +00:00
Nextcloud bot
7e10b9e282
[tx-robot] updated from transifex 2017-02-10 01:18:10 +00:00
Nextcloud bot
4e145f9441
[tx-robot] updated from transifex 2017-02-08 01:18:48 +00:00
Nextcloud bot
c728ddd392
[tx-robot] updated from transifex 2017-02-07 01:20:48 +00:00
Nextcloud bot
80540fd537
[tx-robot] updated from transifex 2017-02-05 01:18:18 +00:00
Nextcloud bot
6aaf2e4597
[tx-robot] updated from transifex 2017-02-04 01:19:28 +00:00
Nextcloud bot
759e240f4e
[tx-robot] updated from transifex 2017-02-03 01:18:20 +00:00
Nextcloud bot
ff4452ba88
[tx-robot] updated from transifex 2017-02-02 01:18:24 +00:00
Nextcloud bot
c616556f3b
[tx-robot] updated from transifex 2017-02-01 01:17:49 +00:00
Nextcloud bot
8ca1082529
[tx-robot] updated from transifex 2017-01-31 01:36:39 +00:00
Nextcloud bot
eaacc88381
[tx-robot] updated from transifex 2017-01-29 01:17:50 +00:00
Nextcloud bot
3647ec3c35
[tx-robot] updated from transifex 2017-01-28 01:17:32 +00:00
Nextcloud bot
0c986e4760
[tx-robot] updated from transifex 2017-01-27 01:17:36 +00:00
Nextcloud bot
3a26cd0161
[tx-robot] updated from transifex 2017-01-26 01:17:53 +00:00
Nextcloud bot
e828bfd0c8
[tx-robot] updated from transifex 2017-01-24 01:17:40 +00:00
Andy Scherzinger
87088e563c trim leading and trailing spaces in the URL (#172) 2017-01-23 21:04:09 +01:00
Nextcloud bot
16796eadf6
[tx-robot] updated from transifex 2017-01-23 06:07:38 +00:00
Morris Jobke
127877588f
fix plural
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-22 23:45:09 -06:00
Morris Jobke
4203118905
fix plural
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-22 23:37:45 -06:00
Niedermann IT-Dienstleistungen
958759f84f Rx markdown, Undo for "Swipe to delete", Nextcloud rebrand
Rx markdown, Undo for "Swipe to delete", Nextcloud rebrand
2017-01-19 11:00:56 +01:00
Stefan Niedermann
a76b8f0be9 #147 Move from ownCloud to Nextcloud
- Adjust theme to match the lighter blue color set of nextcloud
- Adjust README.md in this repository
2016-12-07 20:31:40 +01:00
korelstar
8384792d27 New Feature: set note as favorite; refactoring NotesListViewActivity.refreshList (#151)
Fix #118 Every touch brings to the top
Fix #92 Option to change sort method
2016-11-06 20:39:34 +01:00
korelstar
12cc1bf3bb Fix order after edit without changes (#148)
- Bugfix: create was not possible, due to wrong HTTP-Method
- Fix wrong order after edit without changes
2016-10-28 09:18:38 +02:00
korelstar
d8c3ca78c8 Consolidate repeated and untranslatable names; new author (#149) 2016-10-28 09:17:35 +02:00
korelstar
aa33b89927 Fix #146: don't autosave if the note isn't modified
New feature: cancel edit; refactoring of NotesClient; send local modified time to server
2016-10-26 11:32:20 +02:00
kas70
a57ecfeb4c Persistant notification for creating new notes (#142)
Can be enabled with a checkbox preference, disabled per default
2016-10-24 12:28:15 +02:00
korelstar
f2e275c082 Change activity flow: NotesList -> EditNote -> PreviewNote (#141)
Fix #3 and fix #39
2016-10-24 12:25:52 +02:00
korelstar
5895dc113b more logging (#145) 2016-10-24 12:21:02 +02:00
korelstar
abf8dc4702 Extend "excerpt" with text from the following lines (#138)
Use multiple lines up to 200 characters for generating excerpt
2016-10-17 22:01:18 +02:00
korelstar
ee084e4565 Fix #87 Heading doesn't allow hyphens
Enhancing removeMarkDown
2016-10-17 21:36:08 +02:00
korelstar
054000631c Load version name dynamically from package (#139) 2016-10-06 10:53:16 +02:00
Stefan Niedermann
94c03518b3 Merge branch 'master' of https://github.com/stefan-niedermann/OwnCloud-Notes 2016-09-17 09:24:06 +02:00
Stefan Niedermann
15250276fd #130 Bugfixes for 0.9.0
Version bump and code formatting
2016-09-17 09:23:56 +02:00
korelstar
0a1fddf961 Fix error message for synchronization on first/unconfigured run (#133) 2016-09-17 09:08:43 +02:00
Stefan Niedermann
9dd1a8b89c Fix #129 Swipe to delete 2016-08-31 13:57:34 +02:00
Stefan Niedermann
f0762d78b3 Fix #124 Shorter name for activity label 2016-08-31 13:41:37 +02:00
korelstar
d9b3d87ac0 Fixing sychronization and concurrency issues (#123)
* Improved presentation of errors if login (SettingsActivity) or synchronization fails.

* Show icon if a note is not synchronized (hint to a possible error)

* Refactoring: move common code to new private method getNotesRawQuery(String sql, String[] selectionArgs)
New method getLocalModifiedNotes() is a preparation for bugfixing #117

* last part from the previous refactoring

* use material design icon and remove old holo icon

* Refactoring NoteSQLiteOpenHelper and NoteServerSyncHelper in order to fix several bugs belonging concurrency and synchronization. Outstanding: documentation, testing, cosmetic changes

* Show icon if a note is not synchronized (hint to a possible error)

* Refactoring: move common code to new private method getNotesRawQuery(String sql, String[] selectionArgs)
New method getLocalModifiedNotes() is a preparation for bugfixing #117

* last part from the previous refactoring

* use material design icon and remove old holo icon

* Refactoring NoteSQLiteOpenHelper and NoteServerSyncHelper in order to fix several bugs belonging concurrency and synchronization. Outstanding: documentation, testing, cosmetic changes

* only pull remote changes if this was demanded by the caller

* restructure the communication between synchronization task and user interface using callbacks, only try to sync if not offline, otherwise show an error message.

* updateNoteAndSync(): only make database changes, if the content really changed (see #104)

* javadoc and cleanup

* Bugfix for EditNoteActivity: invoke callbacks directly if note wasn't changed in edit (before, callback was never invoked in this case)

* Make sure, that saveDataWithUI is not called, when the previous saveAndSync is still running. In addition, start next saveAndSync not before a small delay has passed.

* rename auto-sync method; adjust DELAYs

* Quick Bugfix: Toast in AsyncTask have to be in onPostExecute

* Bugfix: save edited note in offline mode, too

* Bugfix: Show error message in UI thread

* reduce writes to local storage

* reduce logging

* Refactor: remove recurrent code

* UI enhancement when editing notes (with no changes)
2016-08-13 21:10:19 +02:00
YSmhXQDd6Z
dbe60a3cc2 Add portuguese (Portugal) translation (#122)
* Add portuguese (Portugal) translation

* Update strings.xml

* Create plurals.xml
2016-07-05 11:30:51 +02:00
Ivan Pomykacz
3fd3a1f173 Czech translation (#112)
* Added Czech translation.

* Added mist between tranlastors to other language strings.

* Fix plurals in Czech translation.
2016-07-05 11:30:29 +02:00
korelstar
f9dfa16bec Improved presentation of errors if login or synchronization fails (#120)
* Improved presentation of errors if login (SettingsActivity) or synchronization fails.

* FR: formatted string

* Update strings.xml
2016-07-05 11:30:08 +02:00
fxedel
f8497076a0 Added Felix Edelmann to developers (see #109) (#110) 2016-04-07 19:29:29 +02:00
Stefan Niedermann
6a3575c6a9 #38 Spinner as feedback on initial notes load
Works now when switching to another account, but still does not work on the very first sign in.
2016-04-06 21:58:53 +02:00
Stefan Niedermann
4baf533bc1 Fix #85 About: Make tabs swipeable
Uses #109 from fxedel
2016-04-06 21:30:35 +02:00
Stefan Niedermann
0d02b7cd07 Fix #105 Scroll: bar [...]
Added a vertical scrollbar to the list view
2016-03-30 12:30:34 +02:00
Stefan Niedermann
0b8907c34a Version bump to 0.8.1 2016-03-30 12:23:33 +02:00
Stefan Niedermann
09b1b9f261 #105 automatic go to the top
Solved by just downloading new notes onResume and add them dynamically to the adapter. Manual pull2refresh will still cause this behaviour which is imho fine since a user has to be at the top position to trigger this action.
2016-03-30 12:21:11 +02:00
Stefan Niedermann
edf066df85 #66 Handle remote note deleted 2016-03-26 11:28:15 +01:00
Stefan Niedermann
f06621400a Handle inserted and deleted Note correctly 2016-03-26 10:36:34 +01:00
Stefan Niedermann
9da6b3954b Prevent RecyclerView from jumping up to top after synchronization finished 2016-03-26 10:24:09 +01:00
Stefan Niedermann
df5ce398bc Updated gradle libs, version bump to 0.8.0 2016-03-25 14:50:19 +01:00
Stefan Niedermann
7bb3419e3f Fix duplicate requests
Caused by whole synchronize on resume
Fixed by only download on resume
2016-03-24 23:46:48 +01:00
Stefan Niedermann
cdb9bd9a74 Fix #101 Option to synchronise notes when opening the app 2016-03-24 22:39:56 +01:00
Stefan Niedermann
6275006b45 #101 Option to synchronise notes when opening the app 2016-03-24 22:30:30 +01:00
Stefan Niedermann
b9f5182640 Fix #103 make links openable 2016-03-24 22:18:14 +01:00
Stefan Niedermann
ef331d05a0 Fix #102 0.7.1 crashes on saving an edited note and version bump to 0.7.2 2016-03-10 19:51:38 +01:00
Stefan Niedermann
6f6aa18cea Version Bump to 0.7.1 2016-03-09 15:23:26 +01:00
Stefan Niedermann
2483bafbe8 Version Bump to 0.7.1 2016-03-09 15:06:41 +01:00
Niedermann IT-Dienstleistungen
e57b4ce96e Merge pull request #99 from proninyaroslav/master
Update russian translations
2016-03-09 14:52:39 +01:00
Stefan Niedermann
eb6e2b0d74 Don't overwrite DB Status LOCAL_CREATED with LOCAL_EDITED
To prevent errors on synchronization (create -> edit -> sync)
2016-03-09 14:47:39 +01:00
proninyaroslav
9b56ee3b2c Fix translations 2016-03-07 13:44:34 +03:00
proninyaroslav
d71196a00e Update russian translations 2016-03-05 18:10:45 +03:00
ageru
2a423a502b Merge pull request #2 from stefan-niedermann/master
Update from original
2016-03-03 23:27:30 +00:00
ageru
3e4a8837a5 Amends to FR translation
Just read #91 and now I get it: error_invalid_login means to replace error_username_password_invalid and expand its meaning, so retranslated accordingly
Retranslated "invalid" in other error messages to be more natural
Remove useless lines
2016-03-03 22:50:28 +00:00
ageru
b033b07967 Updated FR translation
Added Invalid login error
Re-ordered Error strings according to source
2016-03-03 22:35:42 +00:00
fxedel
a4c02c2f92 #91 Use error_invalid_login string instead of error_username_password_invalid 2016-02-20 19:44:10 +01:00
fxedel
0504c3b7c1 Updated german translation 2016-02-20 19:42:57 +01:00
fxedel
1617de4cb7 Added invalid login error
(and made a few code style improvements)
2016-02-20 19:38:17 +01:00
ageru
e0c701a52b FR singular & plural implementation
Out with the translation hack, in with the proper grammar.
2016-02-18 23:57:01 +00:00
Stefan Niedermann
e2ded04cc8 Fix #24 Line breaks ignored 2016-02-10 20:29:14 +01:00
Stefan Niedermann
a75e77b8b7 Version bump to v0.7.0 2016-02-09 18:46:45 +01:00
Stefan Niedermann
c0273114fb #68 integrate a singular and plural version of <string name="ab_selected">
Added other languages and terminate non-plural-string.
2016-02-08 22:59:33 +01:00
Stefan Niedermann
b7141f3e0a #68 integrate a singular and plural version of <string name="ab_selected"> 2016-02-08 22:52:53 +01:00
Stefan Niedermann
39930e9357 Merge branch 'master' of https://github.com/stefan-niedermann/OwnCloud-Notes into local-search 2016-02-08 22:22:04 +01:00
Stefan Niedermann
8cff932736 #84 Switch to GPLv3+ in About 2016-02-08 22:18:33 +01:00
Stefan Niedermann
2d76040c73 #19 Local Search asynchronously
Searches are now performed asynchronously for performance reasons.
2016-02-08 22:16:05 +01:00
Stefan Niedermann
de652c3c42 #80 Update heading after text has changed 2016-02-03 15:02:28 +01:00
Stefan Niedermann
04f766d822 #19 Local Search 2016-02-03 14:58:44 +01:00
Stefan Niedermann
1a0066d897 version bump to 0.6.0 2016-02-02 19:53:34 +01:00
Stefan Niedermann
82bdf1521f Fix #72 Provide feedback on wrong credentials 2016-02-02 19:47:18 +01:00
Stefan Niedermann
cf6a702e96 Fix #74 Timestamp header not updated after modification 2016-02-02 14:44:47 +01:00
Stefan Niedermann
faf9ad3b1e Fix #56 Use auto-capitalization from system 2016-02-02 14:34:15 +01:00
Stefan Niedermann
713b8cfb69 Fix #70 Can't copy text when not in edit mode
This works only on API level 11 and higher
2016-01-31 21:07:32 +01:00
Stefan Niedermann
d2f10aa596 Mention french translator in every language and rename fr-FR to fr 2016-01-31 13:58:39 +01:00
ageru
e70001368d French (France) translation 2016-01-31 10:49:23 +00:00
Stefan Niedermann
8be2a539b1 Fix #65 NullPointer when trying to save 2016-01-30 17:47:24 +01:00
Stefan Niedermann
c1604b1e4c Version bump to v0.5.1
Lower minSDK to 10 (Android 2.3.3)
2016-01-30 10:45:52 +01:00
Stefan Niedermann
2af6e4555d Version bump to v0.5.0
Commented out widgets because they are not ready yet.
2016-01-29 15:35:14 +01:00
Jan-Christoph Borchardt
95620bec20 fix capitalization 2016-01-24 22:53:21 +01:00
Stefan Niedermann
599fd1505e Fix #55 Changing screen orientation causes data loss
Solution: use onSaveInstanceState to remember edited note. Because on every screen orientation change onCreate() is called which uses the original given note.
2016-01-24 22:43:30 +01:00
Stefan Niedermann
cae7402e70 #20 Fix Armenian Language 2016-01-24 20:12:39 +01:00
Stefan Niedermann
010ffd3957 #20 Fix Armenian Language 2016-01-24 20:09:05 +01:00
Stefan Niedermann
b34e327fa2 #20 Fix Armenian Language 2016-01-24 19:48:00 +01:00
Stefan Niedermann
9fa8fb055b #20 Added Armenian Language 2016-01-24 19:32:00 +01:00
Stefan Niedermann
c90e95e314 Fix SelectSingleNoteActivity, added previeImage for SingleNoteWidget and added labels for SingleNoteWidget and AllNotesWidget. 2016-01-24 18:48:46 +01:00
Stefan Niedermann
e8e8c0c9cb Fix #9 Links in About-Page not clickable 2016-01-24 17:48:53 +01:00
Stefan Niedermann
c6a752f9a1 #20 Added Russian Language 2016-01-24 17:27:48 +01:00
Mladen Pejaković
1c21929a8c Update Serbian 2016-01-24 14:44:15 +01:00
Stefan Niedermann
c3ac4925c1 WiP #40 Mention license, source code and call to contribution in the »About« section - Contributing Tab 2016-01-24 13:10:37 +01:00
Stefan Niedermann
932b75ed27 WiP #40 Mention license, source code and call to contribution in the »About« section - License Tab 2016-01-24 13:00:22 +01:00
Stefan Niedermann
47f8e31e1c WiP #40 Mention license, source code and call to contribution in the »About« section 2016-01-24 11:14:43 +01:00
Stefan Niedermann
353949760b WiP #40 Mention license, source code and call to contribution in the »About« section - Switched to Tabbed Layout in About Activity 2016-01-24 10:31:15 +01:00
Stefan Niedermann
5b989b9408 Remove unneeded GridLayout library 2016-01-21 20:48:39 +01:00
Stefan Niedermann
49a63917a5 Fix #44 On initial start, directly open keyboard alongside focusing server address field 2016-01-21 20:44:42 +01:00
Stefan Niedermann
33e6df4819 #45 On initial start, deactivate connect button initially 2016-01-21 20:36:23 +01:00
Stefan Niedermann
439267e408 Put new created Items to top of list 2016-01-21 20:16:23 +01:00
Stefan Niedermann
17812b6256 Fix section padding 2016-01-21 20:07:33 +01:00
Stefan Niedermann
94455672f0 Finish Action Mode on Swipe 2016-01-21 18:43:03 +01:00
Stefan Niedermann
c026d02e83 Remove Google APIs 2016-01-21 18:21:14 +01:00
Stefan Niedermann
063ecbaeec Fix separators and use white background for recycler view again. 2016-01-21 18:17:30 +01:00
headbanger84
904aae5e68 Fixed:
https://github.com/stefan-niedermann/OwnCloud-Notes/issues/48
2016-01-21 16:23:27 +01:00
headbanger84
0775724a17 Fixed:
- [x] Creating a new Note creates the note two times
 - [x] Deleting a Note via long-click selects another Note after Deletion
2016-01-21 16:13:12 +01:00
Stefan Niedermann
f50cf446fd Fix fragment dividers in notes list view 2016-01-20 22:30:58 +01:00
Stefan Niedermann
9ae5f08991 Fixed background color on selected Notes Items 2016-01-20 22:13:43 +01:00
Stefan Niedermann
18f0fb5942 Merged new icons from master branch 2016-01-20 22:06:06 +01:00
Stefan Niedermann
ec252fa6e6 Merge branch 'master' of https://github.com/stefan-niedermann/OwnCloud-Notes into RecyclerView 2016-01-20 22:04:52 +01:00
Stefan Niedermann
eb22ae6626 Use same padding on creation as on editing 2016-01-20 21:27:45 +01:00
Stefan Niedermann
0d6e9c7a55 Correct Height to wrap_content 2016-01-20 21:25:32 +01:00
Stefan Niedermann
c1d16c9197 Remove Auto Generated Google APIs 2016-01-19 18:05:23 +01:00
stefan-niedermann
7460d38403 New Icon 2016-01-19 10:42:56 +01:00
Stefan Niedermann
c277dcae10 Cherry Picking from 8ca35c65ec 2016-01-16 17:22:30 +01:00
Stefan Niedermann
6e74f9ea03 Fix #47 Pressing enter when finished writing in the password field should automatically connect 2016-01-02 18:43:48 +01:00
Stefan Niedermann
c2358f7c57 Fix #50 In edit view, text alignment should be the same as in note view and #49 Background color should be white everywhere 2016-01-02 18:31:01 +01:00
Stefan Niedermann
90bc4355ef version bump to 0.4.0 2016-01-02 17:09:25 +01:00
Stefan Niedermann
f4b35d5c8b Fix #41 Align text of date dividers with the note text 2016-01-02 17:00:40 +01:00
Stefan Niedermann
e8b27ccf97 Fix NullPointerException
on Returning from NoteActivity to NoteListViewActivity without deleting or editing a note.
2016-01-02 16:55:45 +01:00
Stefan Niedermann
f4fabaf299 Fix Delete Bug
After deleting a Note the Note was not removed from the list directly.
2016-01-02 16:22:38 +01:00
Stefan Niedermann
e26179cf49 Workaround for
#37 Headlines rendered as normal text
#24 Line breaks ignored

bypass now renders the markdown on every call. caching is disabled now.
2016-01-02 15:17:47 +01:00
Stefan Niedermann
7df680b483 Fix "Saved"-Message-Hiding after edited note has been saved. 2016-01-02 14:46:35 +01:00
Stefan Niedermann
a985b75b10 Fix #32 Autoload notes list on first connection 2016-01-02 10:16:46 +01:00
Stefan Niedermann
222aef7f49 Fix remove ActionBar Subtitle after Saved-Message 2016-01-02 09:26:23 +01:00
Stefan Niedermann
54cae305dc Move edited Note to top after editing 2016-01-02 09:14:34 +01:00
Stefan Niedermann
20b34a8c66 Fix #30 New note gets sorted all the way down in the list 2016-01-01 18:15:01 +01:00
Stefan Niedermann
cdd53a2f33 Bugfix (edit -> leave edit mode -> edit) 2016-01-01 17:46:40 +01:00
Stefan Niedermann
c77c9cf6f0 WiP #26 Autosave 2015-11-12 21:00:32 +01:00
Stefan Niedermann
057e136b92 Fix #28 Note »Copy« function really needed? 2015-10-25 16:44:47 +01:00
Stefan Niedermann
f6fdc80824 #33 Empty state for no notes 2015-10-25 16:41:39 +01:00
Stefan Niedermann
71f4d8086f Fix #29 Date and date header improvements 2015-10-25 09:35:27 +01:00
Stefan Niedermann
bf7b732765 Fix #17 Open Note on Click on Single Note Widget 2015-10-24 10:34:39 +02:00
Stefan Niedermann
41ec417921 Final Bugfix for Crash on quick scroll 2015-10-24 09:07:00 +02:00
Stefan Niedermann
5a2f4b69e5 Workaround for Crash on quick scroll 2015-10-23 14:42:57 +02:00
Stefan Niedermann
6f747eb939 Fix #12 Time Headers in List-View (Today, Yesterday, ...) 2015-10-23 14:25:11 +02:00
Stefan Niedermann
e8a3ff0f13 #12 Time Headers in List-View (Today, Yesterday, ...) 2015-10-23 14:15:25 +02:00
Stefan Niedermann
ec062ead7d #12 Time Headers in List-View (Today, Yesterday, ...) 2015-10-23 13:32:15 +02:00
Stefan Niedermann
ef67a889ec #27 use black background for widgets 2015-10-23 12:09:49 +02:00
Stefan Niedermann
ba5b309d8f Fix Unit Tests 2015-10-23 11:48:15 +02:00
Stefan Niedermann
9a1ed65f24 Fix Compliation Errors and added some Tests 2015-10-23 11:39:52 +02:00
Stefan Niedermann
9e95aab890 Fix #23 2015-10-23 10:54:07 +02:00
Stefan Niedermann
8c23698546 #21 Check for status.php 2015-10-23 10:04:03 +02:00
Stefan Niedermann
97ad2a2fc6 #27 Reduce font-size in Single Note Widget 2015-10-23 09:30:42 +02:00
Stefan Niedermann
5283b7682f #21 hitting the back arrow on the top left causes a strange animation and all the fields to be deleted –> highly annoying 2015-10-23 00:43:40 +02:00
Stefan Niedermann
990d8f682c #21 not sure if I need to type in http/https – it should work without any protocol prepended, and try with https by default 2015-10-23 00:05:32 +02:00
Stefan Niedermann
581e301635 #21 »URL« should be called »Server address« (less technical), the OK button should be called »Connect« and have a spinner after clicked, and say »Connecting«. Also the input fields should be disabled to give better feedback that the process is running 2015-10-23 00:00:35 +02:00
Stefan Niedermann
a22051cdda Enhanced SettingsActivity: Blue Button and Red Warning for HTTP. 2015-10-22 22:26:20 +02:00
Stefan Niedermann
896121bb62 Improved Settings Activity UX 2015-10-22 22:01:58 +02:00
Stefan Niedermann
b92810a1f3 Update README and bump version in AboutActivity to 0.3.0 2015-10-22 19:26:16 +02:00
Niedermann IT-Dienstleistungen
7eb2b14117 Merge pull request #20 from pejakm/srtr
Add Serbian translation
2015-10-22 19:19:08 +02:00
Stefan Niedermann
3f11bdd181 Show relative modified Date on NoteActivity, Fixed editing note. 2015-10-22 19:11:52 +02:00
Stefan Niedermann
848ccfd316 Show relative modified Date on ListView 2015-10-22 19:01:44 +02:00
Stefan Niedermann
5ba881c783 Order by Modified DESC in ListView 2015-10-22 18:46:03 +02:00
Stefan Niedermann
5f01c10616 Fix Bug: Modified / ID 2015-10-22 18:35:38 +02:00
Mladen Pejaković
d639e9d935 Add Serbian translation 2015-10-22 18:34:03 +02:00
Stefan Niedermann
e36e69de2e Reduced Warnings 2015-10-22 17:40:23 +02:00
Stefan Niedermann
e113469d77 Removed old Logs 2015-10-22 17:22:24 +02:00
Stefan Niedermann
78f05ad0cd Performance Improvements through using StringBuffer instead of += concatenation 2015-10-22 16:57:14 +02:00
Stefan Niedermann
8f0b4572fb Show Modified Date in ListView 2015-10-21 20:23:40 +02:00
Stefan Niedermann
76c90085fc Version Bump to 0.3.0 2015-10-21 19:12:58 +02:00
Stefan Niedermann
e92f1156c2 create new instance of NoteSQLiteOpenHelper on SettingsChangedEvent 2015-10-21 19:05:20 +02:00
Stefan Niedermann
407407f6cd create new instance of NoteSQLiteOpenHelper on SettingsChangedEvent 2015-10-21 17:49:49 +02:00
Stefan Niedermann
f9a2efc692 Removed AndDown-Dependency and switched to Bypass library 2015-10-21 17:47:07 +02:00
Stefan Niedermann
41f9808f3f Fix ArrayIndexOutOfBoundsException 2015-10-08 15:17:12 +02:00
Stefan Niedermann
723f843f2f Prototype of Single Note Widget 2015-10-08 15:08:59 +02:00
Stefan Niedermann
ef9f703551 version bump to 0.2.0 2015-10-08 11:58:27 +02:00
Stefan Niedermann
04f335d2c6 Code Clean-Up (purged some String literals) 2015-10-06 23:56:02 +02:00
Stefan Niedermann
2f7c66f744 Fix #10 (Mention Material Design Icons on About-Page) 2015-10-06 23:01:11 +02:00
Stefan Niedermann
727c8a93f2 - Fix #6 (Show Excerpt instead of Modified Date in List-View)
- Add some further JUnit Tests
2015-10-06 22:51:56 +02:00
Stefan Niedermann
9097f0050a Add some basic JUnit Tests 2015-10-06 21:10:23 +02:00
Stefan Niedermann
d9e9173362 Fix #4 ownCloud is incorrectly capitalized 2015-10-05 20:20:52 +02:00
Stefan Niedermann
9c4b2699e9 Removed polling while refreshing 2015-10-04 18:46:32 +02:00
Stefan Niedermann
820540ce48 Initial commit 2015-10-01 17:54:20 +02:00