Commit graph

612 commits

Author SHA1 Message Date
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
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
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
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