Commit graph

814 commits

Author SHA1 Message Date
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
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
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
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
18dd44f848 Rename layout files according to their functions 2020-01-25 15:56:24 +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
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