Commit graph

1206 commits

Author SHA1 Message Date
stefan-niedermann
c2c8e37560 Merge remote-tracking branch 'origin/master' 2020-02-16 11:20:55 +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
f405a20491 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:00:18 +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
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
53638b2a03 Update changelog
Signed-off-by: stefan-niedermann <info@niedermann.it>
2020-02-04 17:31:00 +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
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
e58e053097 Merge remote-tracking branch 'origin/sync-worker' into sync-worker
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/PreferencesFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/persistence/SyncWorker.java
2020-01-30 20:12:13 +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
f9383c47db #656 Background synchronization
Add preference to UI
2020-01-30 18:19:48 +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
cbf7d572a1 Update README.md (Removed link to in-note-search) 2020-01-29 16:14:33 +01:00