Commit graph

718 commits

Author SHA1 Message Date
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
stefan-niedermann
738843fbcb Make account switchable in Navigation Drawer 2019-10-04 10:19:23 +02:00
stefan-niedermann
7b1f409637 Enable Network requests via SSO 2019-10-04 10:11:42 +02:00
stefan-niedermann
18aad1613d Setup account table and include SSO lib 2019-10-03 19:39:12 +02:00
stefan-niedermann
7fccb792b9 version bump to 1.0.0 2019-10-03 17:24:42 +02:00
Niedermann IT-Dienstleistungen
586660bb2a
Merge pull request #596 from stefan-niedermann/transifex
[tx-robot] updated from transifex
2019-10-03 17:15:31 +02:00
stefan-niedermann
62bc15edbd Kill app when custom certificate has been rejected 2019-10-03 17:06:45 +02:00
stefan-niedermann
c204e2f1f3 Merge branch 'weblogin' 2019-10-03 16:52:42 +02:00
stefan-niedermann
35061253f5 Append version to UncaughtExceptionHandler 2019-10-03 16:35:47 +02:00
stefan-niedermann
63b3603059 Use lambda for snackbar callback 2019-10-03 09:41:03 +02:00
Nextcloud bot
e8c606df0c
[tx-robot] updated from transifex 2019-10-03 03:10:20 +00:00
stefan-niedermann
12e23855b0 Enable data binding 2019-10-02 21:13:24 +02:00
stefan-niedermann
3ac7b1cbad Merge branch 'master' into weblogin 2019-10-02 20:35:45 +02:00
stefan-niedermann
3f32594d9d Background 2019-09-22 09:28:12 +02:00
stefan-niedermann
7001756bf1 Use ic_launcher as avatar fallback image 2019-09-22 09:28:05 +02:00
stefan-niedermann
f100bbd46a Merge branch 'master' into weblogin 2019-09-21 21:43:50 +02:00
stefan-niedermann
9a161c1fea New header (show avatar) 2019-09-21 21:42:02 +02:00
tobiasKaminsky
a0cddca244
support for server side client 2019-09-18 16:42:26 +02:00
stefan-niedermann
9875160c24 Enhanced animation on closing about activity 2019-09-16 19:29:06 +02:00
Niedermann IT-Dienstleistungen
91fd6933a2
Merge branch 'master' into refresh-preview 2019-09-14 22:24:55 +02:00
stefan-niedermann
23652e55a3 Increase old login flow delay to 45 2019-09-14 22:24:35 +02:00
stefan-niedermann
7d71fcc7e5 Fix Weblogin 2019-09-14 22:24:07 +02:00
stefan-niedermann
eedf38d3dc Fix merge error 2019-09-14 22:05:14 +02:00
stefan-niedermann
4214737e83 Merge branch 'master' into weblogin
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/SettingsActivity.java
#	app/src/main/res/values/strings.xml
2019-09-14 22:04:40 +02:00
Niedermann IT-Dienstleistungen
1dd74bb7a5
Merge pull request #586 from stefan-niedermann/fix-search
fix search in category
2019-09-14 21:27:03 +02:00
Niedermann IT-Dienstleistungen
f3fddb03da
Merge branch 'master' into dependabot/gradle/com.jakewharton-butterknife-compiler-10.2.0 2019-09-14 18:19:43 +02:00
dependabot-preview[bot]
f61a0b8813 Bump butterknife from 10.1.0 to 10.2.0
Bumps [butterknife](https://github.com/JakeWharton/butterknife) from 10.1.0 to 10.2.0.
- [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.1.0...10.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-14 18:19:13 +02:00
dependabot-preview[bot]
c732edb662
Bump butterknife-compiler from 10.1.0 to 10.2.0
Bumps [butterknife-compiler](https://github.com/JakeWharton/butterknife) from 10.1.0 to 10.2.0.
- [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.1.0...10.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-14 16:16:49 +00:00
korelstar
3b6149384b fix duplicated sub-category header when using search 2019-09-12 21:36:31 +02:00
korelstar
b7e6272532
fix search in category 2019-09-12 09:10:55 +02:00
korelstar
ff7f766ce7 fix background for code in dark mode 2019-09-11 23:10:35 +02:00
stefan-niedermann
466645e2a3 versio bump to 0.27.1 2019-09-10 14:08:26 +02:00
Nextcloud bot
cccf3e79d7 [tx-robot] updated from transifex 2019-09-10 14:06:23 +02:00
korelstar
b391ba3af5 update dependencies 2019-08-29 21:58:45 +02:00
stefan-niedermann
8955a298f1 Fix "New note" tile 2019-08-21 15:32:10 +02:00
Nextcloud bot
9624bb65c9 [tx-robot] updated from transifex 2019-08-21 15:19:20 +02:00
Nextcloud bot
e4128bf46b [tx-robot] updated from transifex 2019-08-13 09:30:53 +02:00
keeshii
c85db0c647 Removed "Tiny" from font sizes. 2019-08-11 14:01:12 +02:00
keeshii
87da8601e3 Changed icon color in the settings. 2019-08-11 14:01:12 +02:00
Kamil K
6f23054f60 Added font size preference. 2019-08-11 14:01:12 +02:00
Nextcloud bot
5d1a3e617e [tx-robot] updated from transifex 2019-08-05 09:57:13 +02:00
stefan-niedermann
f1be6cfcc8 bump version to 0.26.0 2019-07-26 13:56:07 +02:00
stefan-niedermann
48d57dad0d Merge remote-tracking branch 'origin/master' 2019-07-26 13:52:17 +02:00
stefan-niedermann
e17329fa94 Fix #567 Enable pinning notes as shortcut 2019-07-26 13:52:08 +02:00
Nextcloud bot
f7c8d453d1 [tx-robot] updated from transifex 2019-07-25 12:46:19 +02:00
Nextcloud bot
0ccc1d2067 [tx-robot] updated from transifex 2019-07-21 13:57:42 +02:00
stefan-niedermann
bbb74e33c0 Merge remote-tracking branch 'origin/master' 2019-07-19 20:02:40 +02:00
stefan-niedermann
c06998b4a5 version bump to 0.25.0 2019-07-19 20:02:08 +02:00
Nextcloud bot
1e10cc0cb8 [tx-robot] updated from transifex 2019-07-19 19:15:48 +02:00
stefan-niedermann
9b10f20649 Add uncaught exception handler 2019-07-19 14:27:30 +02:00
stefan-niedermann
d2e22451ac Display keyboard directly when editing a new / empty note 2019-07-19 13:20:26 +02:00
stefan-niedermann
743ae5308a #554 Add dynamic shortcuts for recent notes 2019-07-19 13:07:19 +02:00
stefan-niedermann
8c6bcaaec9 Update butterknife dependency 2019-07-19 09:16:56 +02:00
stefan-niedermann
a30db4e41b #554 App shortcuts for fav / recent notes and settings 2019-07-19 08:56:40 +02:00
stefan-niedermann
5e554a7dff Align actionbar text to content in NotesListView 2019-03-14 12:36:51 +01:00
stefan-niedermann
1990ba3015 version bump to 0.24.3 2019-02-19 19:33:50 +01:00
Nextcloud bot
b782bf4f43 [tx-robot] updated from transifex 2019-02-19 19:17:34 +01:00
stefan-niedermann
712ba7b1c6 - #536, #534 Missing translation, replaced by filler text 2019-02-11 22:11:41 +01:00
Nextcloud bot
0df40d42f5 [tx-robot] updated from transifex 2019-02-11 22:02:48 +01:00
stefan-niedermann
7ffd489163 version bump to 0.24.1 2019-02-10 21:25:04 +01:00
Nextcloud bot
ef6c5ff3ed [tx-robot] updated from transifex 2019-02-10 21:19:33 +01:00
stefan-niedermann
ec3ccba3db #529 Switching theme must recreate MainActivity 2019-02-10 21:18:19 +01:00
stefan-niedermann
b6684d6be2 Switch from magic string literals to ressource ids 2019-02-10 19:13:32 +01:00
stefan-niedermann
b9cd8c3592 Added some null checks & more defensive programming 2019-02-10 19:01:10 +01:00
Nextcloud bot
c2aef80d9d [tx-robot] updated from transifex 2019-02-09 19:35:10 +01:00
stefan-niedermann
7e6e540733 #519 Synchronize on WiFi only
- Move setting down
2019-02-09 19:25:03 +01:00
stefan-niedermann
41054d5b7e Eliminate summary for dark theme since it has only a bool value 2019-02-09 19:22:18 +01:00
stefan-niedermann
b4bb471481 #396 Initial support for weblogin
- Use lambda
2019-02-08 12:12:14 +01:00
stefan-niedermann
40b49ac895 #396 Initial support for weblogin
Fix imports
2019-02-08 12:07:54 +01:00
stefan-niedermann
7d1de66625 Merge branch 'master' into weblogin
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/SettingsActivity.java
#	app/src/main/res/values/strings.xml
2019-02-08 12:06:25 +01:00
stefan-niedermann
5485d88481 #248 Refresh from server when in view mode
- Merge master
2019-02-08 11:34:15 +01:00
stefan-niedermann
b29fadc276 Merge branch 'master' into refresh-preview
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
2019-02-08 11:31:29 +01:00
stefan-niedermann
465ee9294b #519 Synchronize on WiFi only
- Update documentation
2019-02-08 11:21:22 +01:00
stefan-niedermann
4b4c639aa0 #519 Synchronize on WiFi only
- Move listener back to class member (Garbage Collection?)
2019-02-08 11:17:44 +01:00
stefan-niedermann
ee0c809671 #519 Synchronize on WiFi only
- Remove not needed initializations
2019-02-08 11:14:33 +01:00
stefan-niedermann
8e876c2c76 #519 Synchronize on WiFi only
- Make `OnSharedPreferencesListener` local
- Use "wifiOnly" via string resource instead of hard coded literal
2019-02-08 11:05:41 +01:00
stefan-niedermann
547cb83890 Merge remote-tracking branch 'origin/master' into synchronize-on-wifi-only 2019-02-08 10:53:32 +01:00
stefan-niedermann
8fc3337620 Merge remote-tracking branch 'origin/synchronize-on-wifi-only' into synchronize-on-wifi-only 2019-02-08 10:53:17 +01:00
stefan-niedermann
7e75743320 #519 Synchronize on WiFi only
- Use `OnSharedPreferencesListener` instead of polling the wifi-only-preference every time
2019-02-08 10:52:41 +01:00
stefan-niedermann
3bf7caacfd version bump to 0.24.0 2019-02-08 08:17:05 +01:00
stefan-niedermann
4f88b37fcb #363 Context based formatting
- Use selection as link target instead of label when it starts with `http`
2019-02-08 08:05:25 +01:00
stefan-niedermann
f89357e046 Fix da-translation (escaping problem) 2019-02-07 23:37:33 +01:00
Nextcloud bot
4115da63bb [tx-robot] updated from transifex 2019-02-07 23:34:59 +01:00
stefan-niedermann
c83ec61934 version bump to 0.23.0 2019-02-07 23:30:44 +01:00
Niedermann IT-Dienstleistungen
3e0ad77b3c
Merge branch 'master' into synchronize-on-wifi-only 2019-02-07 23:20:16 +01:00
stefan-niedermann
d5cfb38ac5 #363 Context based formatting
- place cursor at the end of the selection after markdown has been added
2019-02-07 23:19:27 +01:00
stefan-niedermann
1b882b43fa #363 Context based formatting
- render 'bold' & 'italic' in pop-over-menu in bold & italic
2019-02-07 23:16:19 +01:00
stefan-niedermann
b9d46cf758 #363 Context based formatting
- removing markdown disabled, because it does not work properly and might cause data loss
2019-02-07 22:45:47 +01:00
stefan-niedermann
e080c42a4f Merge branch 'master' into synchronize-on-wifi-only
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/PreferencesFragment.java
2019-02-07 22:24:01 +01:00
stefan-niedermann
d5693c5ac2 Do not finish PreferencesActivity when switching theme 2019-02-07 22:23:02 +01:00
stefan-niedermann
5e48d8c6ae #519 Synchronize on WiFi only
- Simplify setting
2019-02-07 21:59:54 +01:00
stefan-niedermann
d0b94df723 Merge remote-tracking branch 'origin/master' into synchronize-on-wifi-only
# Conflicts:
#	app/src/main/res/values/strings.xml
#	app/src/main/res/xml/preferences.xml
2019-02-07 21:51:35 +01:00
stefan-niedermann
b4d260b7b8 Merge branch '520-register-as-notes-app' 2019-02-07 21:47:18 +01:00
stefan-niedermann
6617ee91b2 #359 Use monospace font
- Merge current master
- Update settings title
2019-02-07 21:36:35 +01:00
stefan-niedermann
c221aa1329 Merge branch 'master' into monospace-font
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NoteEditFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
2019-02-07 21:27:26 +01:00
stefan-niedermann
58e663b30f #498 Remove borders between notes in list
- Adjust separator to `#fbfbfb` in light theme and `#262626` in dark theme
2019-02-07 21:14:08 +01:00
stefan-niedermann
07fd912fe3 #520 App should register as notes app
- Use constants instead of string literals
2019-02-07 21:00:46 +01:00
stefan-niedermann
257b3424e8 #519 Synchronize on Wi-Fi only
- Sync icon
2019-02-07 16:24:15 +01:00
stefan-niedermann
40e54fb8b6 #519 Synchronize on Wi-Fi only
- Fix preference
2019-02-07 16:21:20 +01:00
stefan-niedermann
1998c04b3e #519 Synchronize on Wi-Fi only
- Add preference
- Add check in isSyncPossible()
- Add strings and resources
2019-02-06 23:35:49 +01:00
stefan-niedermann
b1b2d64cb7 Enable link creation and bold/italic toggle 2019-02-06 22:45:03 +01:00