Commit graph

718 commits

Author SHA1 Message Date
dependabot-preview[bot]
a6a68776e6 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>
2019-12-20 09:31:25 +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
stefan-niedermann
14afe47e7e version bump to 2.0.2
with translation updates only
2019-12-16 09:07:31 +01:00
Nextcloud bot
e6294a9ff3 [tx-robot] updated from transifex 2019-12-16 09:02:03 +01:00
stefan-niedermann
315e4fdbd6 version bump to 2.0.1 2019-12-15 16:20:52 +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
b71d3dafc1 version bump to 2.0.0 2019-12-14 15:21:59 +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
dependabot-preview[bot]
b9e5010a97 Bump recyclerview from 1.0.0 to 1.1.0
Bumps recyclerview from 1.0.0 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-14 15:04:54 +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
ab964ff9ad
use ssoHeaders branch 2019-10-24 08:15:06 +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
2cc25a9d2b version bump to 1.0.1 2019-10-19 22:42:00 +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