Commit graph

1069 commits

Author SHA1 Message Date
stefan-niedermann
4e12fcef77 #365 Password protection
Refactor onActivityResult
2020-01-25 11:56:43 +01:00
stefan-niedermann
cc5b91ffaf #365 Password protection
Proof of concept
2020-01-25 11:46:21 +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
stefan-niedermann
3de558eb5e version bump to 2.5.0 2020-01-23 21:50:23 +01:00
stefan-niedermann
b797e1b639 Update build tools and compileSdk 2020-01-23 21:50:23 +01:00
stefan-niedermann
96378f87ac #608 Checklist auto-continuation
Respect also checked checkboxes and starred checkboxes as indicator
2020-01-23 21:50:23 +01:00
stefan-niedermann
bcf9e55617 #608 Checklist auto-continuation
Proof of concept
2020-01-23 21:50:23 +01:00
stefan-niedermann
4ba15087e0 Fix #696 Database upgrade
Do nothing more after recreating the database
2020-01-23 21:50:23 +01:00
stefan-niedermann
06a8d5ccbe Fix #696 Database upgrade 2020-01-23 21:50:23 +01:00
stefan-niedermann
587b22f0d3 Fix #696 Database upgrade 2020-01-23 21:50:23 +01:00
Nextcloud bot
192478055c [tx-robot] updated from transifex 2020-01-23 21:50:23 +01:00
stefan-niedermann
abd64c9fc5 Divide et impera 2020-01-23 21:50:23 +01:00
stefan-niedermann
b2d83009f4 Fix #670 Undo for bulk delete 2020-01-23 21:50:23 +01:00
stefan-niedermann
000c0d8784 Merge remote-tracking branch 'origin/sync-worker' into sync-worker
# Conflicts:
#	app/build.gradle
2020-01-19 19:13:04 +01:00
stefan-niedermann
393d35e103 SyncWorker for background synchronization 2020-01-19 19:11:48 +01:00
stefan-niedermann
1a17e82eb6 Fix imports 2020-01-19 19:08:29 +01:00
stefan-niedermann
e652f5bf12 #378 Enhance category handling
Removed AlwaysAutoCompleteView in favor of a recylcerview
2020-01-19 19:06:53 +01:00
stefan-niedermann
4608a904f5 Allow opening each file with the EditNoteActivity 2020-01-19 18:55:22 +01:00
stefan-niedermann
b9fb4cf243 Rename xml files for edit / preview fragments 2020-01-19 11:13:09 +01:00
stefan-niedermann
71458afd8f Style adjustments 2020-01-19 10:21:03 +01:00
stefan-niedermann
6e45e2339e Use AndroidX-fragment for compatibility reasons 2020-01-19 08:40:57 +01:00
stefan-niedermann
964d749974 Fix #640 Cancel and Delete are redundant on new note 2020-01-18 09:53:27 +01:00
stefan-niedermann
88a09edcb3 #655 Move notes to another account
Support Android 4
2020-01-18 09:23:19 +01:00
stefan-niedermann
a09ef2b19e Merge branch 'master' into move-note
# Conflicts:
#	app/src/main/res/values/strings.xml
2020-01-18 09:08:25 +01:00
stefan-niedermann
196bc2c3b8 Merge branch '623-note-links' of https://github.com/lenzls/nextcloud-notes
# Conflicts:
#	app/build.gradle
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
2020-01-18 09:01:06 +01:00
Nextcloud bot
362d39bcf9 [tx-robot] updated from transifex 2020-01-18 08:23:44 +01:00
Simon Lenz
93863f7e9e #623 - move getExistingNoteRemoteIds to database layer 2020-01-16 21:19:11 +01:00
Simon Lenz
a1ced561ab #623 - use db helper from BaseNoteFragment 2020-01-16 20:49:21 +01:00
Nextcloud bot
417a69c5c5 [tx-robot] updated from transifex 2020-01-16 19:04:34 +01:00
stefan-niedermann
0813b3e8e1 Version bump to 2.4.8 2020-01-16 18:26:43 +01:00
stefan-niedermann
1faa86fa80 Fix #677 dark mode colors with markdown 2020-01-16 18:26:05 +01:00
stefan-niedermann
0c96b6fd80 Fix IllegalArgumentException when closing the app via back button and reopen it 2020-01-16 18:10:54 +01:00
stefan-niedermann
feba44e679 Remove ReactiveX wrapper 2020-01-12 15:01:16 +01:00
stefan-niedermann
8b7a6780f5 Enable Base64 images and remove RxMDTextView dependency 2020-01-12 14:51:26 +01:00
stefan-niedermann
df666dde45 Use darkTheme from parameter to determine ToDo colors in Markdown 2020-01-12 13:37:45 +01:00
stefan-niedermann
bb4dccd47e version bump to 2.4.7 2020-01-12 12:11:57 +01:00
Nextcloud bot
f92d93cbe4 [tx-robot] updated from transifex 2020-01-12 12:11:32 +01:00
stefan-niedermann
0932e46966 #659 Display better hint when files app version is not supported 2020-01-12 12:07:22 +01:00
stefan-niedermann
23a535bf35 #655 Move notes to another account
Fixed ui states on bulk move
2020-01-11 11:49:43 +01:00
stefan-niedermann
9da687f847 Added tools:hint 2020-01-11 10:47:55 +01:00
stefan-niedermann
c60669d650 #655 Move notes to another account
Bulk mode
2020-01-11 10:08:10 +01:00
stefan-niedermann
9b6d968fe8 #655 Move notes to another account 2020-01-11 09:53:24 +01:00
stefan-niedermann
c6104b00e0 #655 Move notes to another account 2020-01-11 09:36:09 +01:00
stefan-niedermann
6c4b0d9a5b version bump to 2.4.6 2020-01-10 22:02:35 +01:00
stefan-niedermann
f2f9b60a4c Some refactorings regarding exceptions 2020-01-10 21:59:12 +01:00
stefan-niedermann
302f8ccf6c Display each exception on sync optional as dialog 2020-01-10 21:09:47 +01:00
stefan-niedermann
2e75678ded version bump to 2.4.5 2020-01-10 17:26:31 +01:00
Thore Goebel
b1d61995f3 Fix #538 - text area covers whole screen 2020-01-10 17:23:21 +01:00
stefan-niedermann
3c58ad33a9 version bump to 2.4.4 2020-01-08 17:14:37 +01:00
stefan-niedermann
681dc7f340 Merge remote-tracking branch 'origin/master' 2020-01-08 17:13:33 +01:00
Nextcloud bot
b2f33c33a7 [tx-robot] updated from transifex 2020-01-08 17:13:28 +01:00
stefan-niedermann
48b70a5499 Enhance ExceptionActivity
https://github.com/nextcloud/news-android/pull/810/files
2020-01-08 17:12:46 +01:00
stefan-niedermann
b11ed4da98 Fix #669 App crashes when select folder 2020-01-08 16:57:42 +01:00
stefan-niedermann
b295bc9050 Fix #668 Empty two-digit numbered-list item crashes application
and version bump to 2.4.3

Requires at least Files app¹ version 3.9.0
¹ https://github.com/nextcloud/android
2020-01-07 20:31:04 +01:00
Nextcloud bot
14313caa12 [tx-robot] updated from transifex 2020-01-07 16:53:34 +01:00
stefan-niedermann
f3c4f57865 Fix #663 Swipe to delete gesture is way to sensitive 2020-01-06 18:04:06 +01:00
stefan-niedermann
27e2e4601f Update sync status of note in UI after deleting and restoring it 2020-01-06 17:55:36 +01:00
stefan-niedermann
465b1c6863 version bump to 2.4.1 2020-01-05 12:30:51 +01:00
stefan-niedermann
d1dee7b9b8 Merge remote-tracking branch 'origin/master' 2020-01-05 12:30:34 +01:00
Nextcloud bot
59d213d78a [tx-robot] updated from transifex 2020-01-05 12:30:25 +01:00
stefan-niedermann
d7ca589e76 Fix #661 Swipe delete "Undo" creates new note 2020-01-05 12:29:26 +01:00
rakekniven
467736e0a8 Grammar for error message
Improved grammar for error message.

That string is used many times in other nextcloud apps.
2020-01-03 10:02:29 +01:00
stefan-niedermann
05d905212b Update app icon background layer
see https://github.com/nextcloud/talk-android/pull/695
2020-01-02 15:26:56 +01:00
stefan-niedermann
d8f436db9d Merge branch 'master' into sync-worker 2020-01-02 12:44:52 +01:00
stefan-niedermann
11be26bf80 Merge remote-tracking branch 'origin/master' 2020-01-02 12:35:33 +01:00
stefan-niedermann
90cd9a1bda version bump to v2.4.0 2020-01-02 12:34:29 +01:00
stefan-niedermann
1ffb6280d3 #451 Toggle checkboxes in view mode
wrong checkbox is associated with action
2020-01-02 12:32:42 +01:00
korelstar
f7f2d5e2f9 update local note after sync 2020-01-02 12:32:42 +01:00
stefan-niedermann
6afcca8567 #451 Toggle checkboxes in view mode
Print stacktrace on IndexOutOfBoundsException
2020-01-02 12:32:42 +01:00
stefan-niedermann
1c4ccdae5e #451 Toggle checkboxes in view mode 2020-01-02 12:32:42 +01:00
stefan-niedermann
8cee3a7ec5 #654 checkbox design
The color of the checkboxes is too dark in dark-mode (see screenshot below).
2020-01-02 11:39:01 +01:00
stefan-niedermann
029513c0dc version bump to 2.3.1 2020-01-02 09:59:43 +01:00
stefan-niedermann
909fd384fa Handle exceptions due Downsync more gracefully 2020-01-02 09:36:00 +01:00
stefan-niedermann
2dbaf41d9f version bump to 2.3.0 2019-12-31 10:32:54 +01:00
stefan-niedermann
da67505c50 Disallow toggling checkboxes from within the preview #157 #287 2019-12-31 10:28:58 +01:00
stefan-niedermann
eff22edc8f Allow toggling checkboxes from within the preview #157 #287 2019-12-30 21:51:51 +01:00
stefan-niedermann
eccc4e2aa0 Do not use Java Rx for rendering preview 2019-12-30 21:01:34 +01:00
stefan-niedermann
941d1e317f Merge master 2019-12-30 20:51:50 +01:00
stefan-niedermann
15edaa3797 Merge remote-tracking branch 'origin/master' into refresh-preview
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/NotePreviewFragment.java
#	app/src/main/res/layout/activity_single_note.xml
2019-12-30 20:46:28 +01:00
stefan-niedermann
6c4b941a09 Enhance exception catching in NotesClient 2019-12-30 20:35:46 +01:00
stefan-niedermann
3ec96e29d0 version bump to 2.2.2 2019-12-29 12:02:04 +01:00
stefan-niedermann
f0b1bd0d5c Merge branch 'show-progress-bar-on-notes-loading'
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
2019-12-29 12:00:19 +01:00
stefan-niedermann
63b5b8c687 Merge remote-tracking branch 'origin/master' 2019-12-29 11:27:27 +01:00
stefan-niedermann
6156d3744c version bump to 2.2.1 2019-12-29 11:26:23 +01:00
stefan-niedermann
8e93775dfe Fix some Codacy issues 2019-12-29 11:22:56 +01:00
Nextcloud bot
879b891be1 [tx-robot] updated from transifex 2019-12-29 10:57:24 +01:00
stefan-niedermann
4ff9198319 Handle not installed Files app more gracefully 2019-12-29 10:56:45 +01:00
stefan-niedermann
04471e5df7 Update changelog 2019-12-29 10:56:24 +01:00
stefan-niedermann
12472de6a8 Disable accountchooser after added a new account 2019-12-29 09:43:12 +01:00
stefan-niedermann
a14926bf81 #643 Empty state is shown even if there are notes 2019-12-29 08:38:42 +01:00
stefan-niedermann
f0646a61a4 version bump to 2.2.0 2019-12-28 14:53:22 +01:00
Nextcloud bot
370d0c4049 [tx-robot] updated from transifex 2019-12-28 14:41:18 +01:00
Simon Lenz
8d57463148 #623 - improve note-link prefix url 2019-12-28 14:20:18 +01:00
Simon Lenz
ebe5f73429 #623 - implement note-to-note links 2019-12-28 14:19:49 +01:00
korelstar
209de359de remove doubled excerpt generation 2019-12-27 23:21:48 +01:00
korelstar
73a43e3b70 fix update excerpt 2019-12-27 23:21:48 +01:00
korelstar
ec97e83406 remove unneeded index 2019-12-27 23:21:48 +01:00
stefan-niedermann
ce960250d4 #528 Save the excerpt in a separate column
Also load excerpt, when content is not pruned
2019-12-27 23:21:48 +01:00
stefan-niedermann
02e4976a02 #528 Save the excerpt in a separate column 2019-12-27 23:21:48 +01:00
stefan-niedermann
3bce16ec3e version bump to 2.1.3 2019-12-26 18:23:12 +01:00
stefan-niedermann
c435b0f1ad #33 Empty state for no notes
Less aggressive app icon (monochrome, no background)
2019-12-26 18:18:46 +01:00
stefan-niedermann
87b11eed6b Better translation for german empty content view 2019-12-26 18:17:48 +01:00
Nextcloud bot
d6e795bc05 [tx-robot] updated from transifex 2019-12-24 09:43:12 +01:00
stefan-niedermann
ef0117d1d9 version bump to 2.1.2
Contains mainly translation updates
2019-12-23 09:34:00 +01:00
Nextcloud bot
a6d524958f [tx-robot] updated from transifex 2019-12-23 09:05:16 +01:00
Nextcloud bot
747982a585 [tx-robot] updated from transifex 2019-12-22 20:32:25 +01:00
stefan-niedermann
772f5982af Fix #630 Note list widget now missing "+" button 2019-12-21 18:12:28 +01:00
Nextcloud bot
d8700a2872 [tx-robot] updated from transifex 2019-12-21 18:09:07 +01:00
stefan-niedermann
f8028542b2 Clean tools attributes for notes list widget 2019-12-21 13:29:25 +01:00
stefan-niedermann
4bd3b9f51f Cleaned up some warnings 2019-12-20 10:41:58 +01:00
stefan-niedermann
4433500faa Merge remote-tracking branch 'origin/master' 2019-12-20 10:28:25 +01:00
stefan-niedermann
bf85b336ca version bump to 2.1.0 2019-12-20 10:27:22 +01:00
stefan-niedermann
687d2c5abe Fix #33 Empty state for no notes 2019-12-20 10:26:02 +01:00
stefan-niedermann
2e559010c9 update changelog 2019-12-20 09:41:28 +01:00
Niedermann IT-Dienstleistungen
7782759826
Workaround for #477 and #604 (#622)
* Workaround for #477 and #604

* Workaround for #477 and #604

* [tx-robot] updated from transifex

* [tx-robot] updated from transifex

* 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>

* Bump butterknife-compiler from 10.2.0 to 10.2.1

Bumps [butterknife-compiler](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>

Co-authored-by: Nextcloud Bot <bot@nextcloud.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-20 09:38:53 +01:00
dependabot-preview[bot]
1d5e8ec26f Bump butterknife-compiler from 10.2.0 to 10.2.1
Bumps [butterknife-compiler](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:32:58 +01:00
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
8a9bb363f9 SyncWorker for background synchronization 2019-12-15 13:40:52 +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
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