Commit graph

932 commits

Author SHA1 Message Date
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
b672b505f7 version bump to 2.10.2
Signed-off-by: stefan-niedermann <info@niedermann.it>
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
96e9b04d5b version bump to 2.10.2
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-16 11:22:14 +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
stefan-niedermann
0125009abc version bump to 2.10.1
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-05 20:43:55 +01:00
dependabot-preview[bot]
c94ea2f59e Bump material from 1.0.0 to 1.1.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.0.0...1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 20:42:18 +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
25393b111a version bump to 2.10.0
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-01-31 13:57:50 +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
stefan-niedermann
c20044c23d version bump to 2.9.0 2020-01-28 19:25:36 +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
b3b7dd00d6 version bump to 2.7.0 2020-01-23 23:15:14 +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
771b9020fb - Improved in-note search 🔎 (#106, #400, #550, #700)
Requires at least Files app¹ version 3.9.0
¹ https://github.com/nextcloud/android
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
dependabot-preview[bot]
9c275c12ac Bump fragment from 1.1.0 to 1.2.0
Bumps fragment from 1.1.0 to 1.2.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 21:50:23 +01:00