Commit graph

355 commits

Author SHA1 Message Date
Stefan Niedermann
4529801fce #244 Search should also include category of note 2017-09-17 11:10:17 +02:00
Stefan Niedermann
186149beba #204 Quickwin for category label 2017-09-17 10:48:00 +02:00
Daniel Bailey
e09512ae3f Remove unnecessary if/else statement
Removed bool test of isInitialised.
Small change to manifest.
2017-09-13 21:55:32 +02:00
schaarsc
426103b971 use string for preference key/value 2017-09-11 20:22:01 +03:00
schaarsc
2f4a7aa71d don't call saveData if data has not changed 2017-09-11 18:16:27 +02:00
korelstar
d12923d1d6 fix menu label and order 2017-09-07 21:36:02 +02:00
schaarsc
23d9aa24e5 Fix rotation of note activity 2017-09-07 21:21:33 +02:00
schaarsc
afe4732664 use style to set text color in AlertDialog. 2017-09-03 17:45:57 +02:00
schaarsc
a948077466 Align L&F of category and starts.
- Menu items are shown in Edit and Preview Mode
- Update is done without callback
2017-09-03 17:45:19 +02:00
korelstar
400de7c8ca code formatting and quality 2017-09-02 21:16:05 +02:00
korelstar
7d634e9021 fix: update widget after synchronization 2017-09-02 20:58:42 +02:00
korelstar
15a57f4a7e remove obsolete activity reference 2017-09-02 20:16:28 +02:00
Daniel Bailey
a8cddf24c4 Single Note Widget 2017-09-02 12:39:20 +02:00
korelstar
33de4f6a51 fix auto sync on app opening 2017-09-02 12:38:55 +02:00
korelstar
17e342e310 make preferences more clearer 2017-08-31 21:10:44 +02:00
schaarsc
467d2e578b Merge Edit & Preview into one activity. 2017-08-31 07:00:40 +02:00
korelstar
92917f0cce Auto-save without sync if sync is not possible 2017-08-27 17:03:41 +02:00
Daniel Bailey
141a3373f3 Create Note Widget
Addition of "Create Note" widget as referenced in https://github.com/stefan-niedermann/nextcloud-notes/issues/15.
2017-08-16 10:36:31 +02:00
korelstar
ae252ea6ba auto-save category 2017-08-01 07:37:43 +02:00
korelstar
832503ecc8 simple interface for category change 2017-08-01 07:37:43 +02:00
korelstar
57ad5c21d1 simplify version detection 2017-08-01 07:37:43 +02:00
korelstar
2e7ab5a857 speed-up synchronization (ETag and Last-Modified) 2017-07-30 10:20:40 +02:00
Nextcloud bot
d6ac2cc6e6 [tx-robot] updated from transifex 2017-07-30 10:20:10 +02:00
korelstar
09aa05cf45 remove permission USE_CREDENTIALS since it is not used 2017-06-29 22:11:07 +02:00
korelstar
0ac9b3a4a7 Downgrade for database 2017-06-29 22:11:07 +02:00
schaarsc
8ec387acea align L&F with other activities. 2017-06-26 22:48:03 +02:00
schaarsc
5fbbdcd4c3 reduce number of calls to CustomCertManager constructor.
instead of creating CustomCertManager on demand
 - create CCM in calling class
 - close CCM in finalize
2017-06-26 22:48:03 +02:00
schaarsc
6f47d59877 rename preferrence: server -> account 2017-06-26 22:48:03 +02:00
schaarsc
b3c2cc2f0e only synch if cert4android service is available. 2017-06-26 22:48:03 +02:00
schaarsc
4d2dfc6d77 move cert4android configuration to PreferencesActivity. 2017-06-26 22:48:03 +02:00
schaarsc
231de0a64c integrate cert4android 2017-06-26 22:48:03 +02:00
Niedermann IT-Dienstleistungen
472d549677 #206 Implement splash screen (#211)
Fix #206 Implement splash screen
2017-05-08 08:15:02 +02:00
korelstar
fad71709ea remove db.close() 2017-04-24 21:54:07 +02:00
korelstar
d211b2fe85 save new note if back pressed 2017-04-24 21:52:53 +02:00
korelstar
2cd26c0d06 don't show saved password 2017-04-24 21:50:11 +02:00
Nextcloud bot
36726e4abc
[tx-robot] updated from transifex 2017-04-18 00:21:48 +00:00
Nextcloud bot
74a976ba06
[tx-robot] updated from transifex 2017-04-17 00:21:26 +00:00
Nextcloud bot
44dd41f70f
[tx-robot] updated from transifex 2017-04-14 00:22:17 +00:00
Nextcloud bot
c912b4e71e
[tx-robot] updated from transifex 2017-04-12 00:21:45 +00:00
Nextcloud bot
dd550e3221
[tx-robot] updated from transifex 2017-04-11 00:21:31 +00:00
Stefan Niedermann
4c06d99890 Center permanent notification checkbox vertically 2017-04-10 22:28:44 +02:00
Nextcloud bot
6fcb9b6b0b
[tx-robot] updated from transifex 2017-04-10 00:22:49 +00:00
Niedermann IT-Dienstleistungen
68aaae4d72 Fix #197 Shortcuts for Android 7
Added a shortcut to create a new note for Android 7 and above.
2017-04-09 15:45:33 +02:00
Nextcloud bot
bc4a3f2aac
[tx-robot] updated from transifex 2017-04-09 00:22:11 +00:00
Nextcloud bot
803e902de1
[tx-robot] updated from transifex 2017-04-07 00:23:46 +00:00
Nextcloud bot
b755ee4c83
[tx-robot] updated from transifex 2017-04-06 00:22:33 +00:00
Nextcloud bot
610609a179
[tx-robot] updated from transifex 2017-04-05 00:23:06 +00:00
Niedermann IT-Dienstleistungen
837c679815 Update dependencies (#200)
update buildToolsVersion
    update rxMarkDown
    update support libs
    remove this, because it seems not to be needed (?)
```
-    compile 'io.reactivex:rxandroid:1.2.0'
-    compile 'io.reactivex:rxjava:1.1.5'
```
2017-04-01 12:38:22 +02:00
Nextcloud bot
0d3cbe2cb3
[tx-robot] updated from transifex 2017-04-01 00:22:31 +00:00
Nextcloud bot
4afb170ada
[tx-robot] updated from transifex 2017-03-29 07:06:23 +00:00
Nextcloud bot
32782abafd
[tx-robot] updated from transifex 2017-03-29 00:21:22 +00:00
Nextcloud bot
71a61d23fb
[tx-robot] updated from transifex 2017-03-28 00:21:43 +00:00
Nextcloud bot
b4590ba6f6
[tx-robot] updated from transifex 2017-03-27 00:21:48 +00:00
rakekniven
3763d22015 Update strings.xml
Removed brand owncloud. Could be nextcloud as well. Suggest to remove cloud name.
2017-03-25 21:08:41 +01:00
Stefan Niedermann
6425a4a755 Minor layout issue and version bump to v0.10.0 2017-03-21 11:09:36 +01:00
Andrea Scarpino
524c60d0da Accept user-installed certificates with Nougat 2017-03-20 16:46:35 +01:00
Nextcloud bot
af67f425bb [tx-robot] updated from transifex 2017-03-04 08:57:12 +01:00
korelstar
e1014a908d show leave-behind on swipe-delete 2017-03-03 20:33:25 +01:00
korelstar
a8504a4e6f linkify URLs in preview 2017-03-03 20:31:34 +01:00
korelstar
ddeffe0bb9 remove widget and obsolete navigation editor files 2017-03-03 20:30:46 +01:00
Niedermann IT-Dienstleistungen
ac63b64813 Merge pull request #181 from stefan-niedermann/sync-speedup1
speed-up synchronization and introduce categories
2017-03-03 18:43:04 +01:00
Niedermann IT-Dienstleistungen
e53fb5ad80 Merge pull request #182 from stefan-niedermann/update-rxmd
update RxMarkdown to 0.0.8-beta
2017-03-03 07:55:59 +01:00
Nextcloud bot
96334180c8
[tx-robot] updated from transifex 2017-03-03 01:19:14 +00:00
korelstar
da870b5a1e Revert "linkify...", commit was in wrong branch 2017-03-02 20:46:13 +01:00
korelstar
0ad49351ed linkify URLs in preview 2017-03-02 20:36:06 +01:00
Nextcloud bot
f1444e2bae
[tx-robot] updated from transifex 2017-03-02 01:19:19 +00:00
Nextcloud bot
29c91ba437
[tx-robot] updated from transifex 2017-03-01 01:19:34 +00:00
korelstar
f33ec328bd update RxMarkdown to 0.0.8-beta 2017-02-28 11:02:21 +01:00
Nextcloud bot
d099ab558a
[tx-robot] updated from transifex 2017-02-28 01:19:50 +00:00
korelstar
a48020b75e Fix and clear up translations 2017-02-26 18:36:41 +01:00
korelstar
accb42b756 speed-up synchronization and introduce categories 2017-02-26 09:20:05 +01:00
Nextcloud bot
dbf94141bb
[tx-robot] updated from transifex 2017-02-25 01:38:09 +00:00
Nextcloud bot
0544d231a6
[tx-robot] updated from transifex 2017-02-16 01:20:09 +00:00
Nextcloud bot
6b9e8568af
[tx-robot] updated from transifex 2017-02-15 01:19:02 +00:00
Nextcloud bot
94d6fe3c5b
[tx-robot] updated from transifex 2017-02-14 01:19:32 +00:00
Nextcloud bot
685bf90d32
[tx-robot] updated from transifex 2017-02-13 01:18:42 +00:00
Nextcloud bot
3d70686454
[tx-robot] updated from transifex 2017-02-11 01:19:01 +00:00
Nextcloud bot
7e10b9e282
[tx-robot] updated from transifex 2017-02-10 01:18:10 +00:00
Nextcloud bot
4e145f9441
[tx-robot] updated from transifex 2017-02-08 01:18:48 +00:00
Nextcloud bot
c728ddd392
[tx-robot] updated from transifex 2017-02-07 01:20:48 +00:00
Nextcloud bot
80540fd537
[tx-robot] updated from transifex 2017-02-05 01:18:18 +00:00
Nextcloud bot
6aaf2e4597
[tx-robot] updated from transifex 2017-02-04 01:19:28 +00:00
Nextcloud bot
759e240f4e
[tx-robot] updated from transifex 2017-02-03 01:18:20 +00:00
Nextcloud bot
ff4452ba88
[tx-robot] updated from transifex 2017-02-02 01:18:24 +00:00
Nextcloud bot
c616556f3b
[tx-robot] updated from transifex 2017-02-01 01:17:49 +00:00
Nextcloud bot
8ca1082529
[tx-robot] updated from transifex 2017-01-31 01:36:39 +00:00
Nextcloud bot
eaacc88381
[tx-robot] updated from transifex 2017-01-29 01:17:50 +00:00
Nextcloud bot
3647ec3c35
[tx-robot] updated from transifex 2017-01-28 01:17:32 +00:00
Nextcloud bot
0c986e4760
[tx-robot] updated from transifex 2017-01-27 01:17:36 +00:00
Nextcloud bot
3a26cd0161
[tx-robot] updated from transifex 2017-01-26 01:17:53 +00:00
Nextcloud bot
e828bfd0c8
[tx-robot] updated from transifex 2017-01-24 01:17:40 +00:00
Andy Scherzinger
87088e563c trim leading and trailing spaces in the URL (#172) 2017-01-23 21:04:09 +01:00
Nextcloud bot
16796eadf6
[tx-robot] updated from transifex 2017-01-23 06:07:38 +00:00
Morris Jobke
127877588f
fix plural
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-22 23:45:09 -06:00
Morris Jobke
4203118905
fix plural
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-22 23:37:45 -06:00
Niedermann IT-Dienstleistungen
958759f84f Rx markdown, Undo for "Swipe to delete", Nextcloud rebrand
Rx markdown, Undo for "Swipe to delete", Nextcloud rebrand
2017-01-19 11:00:56 +01:00
Stefan Niedermann
a76b8f0be9 #147 Move from ownCloud to Nextcloud
- Adjust theme to match the lighter blue color set of nextcloud
- Adjust README.md in this repository
2016-12-07 20:31:40 +01:00
korelstar
8384792d27 New Feature: set note as favorite; refactoring NotesListViewActivity.refreshList (#151)
Fix #118 Every touch brings to the top
Fix #92 Option to change sort method
2016-11-06 20:39:34 +01:00
korelstar
12cc1bf3bb Fix order after edit without changes (#148)
- Bugfix: create was not possible, due to wrong HTTP-Method
- Fix wrong order after edit without changes
2016-10-28 09:18:38 +02:00
korelstar
d8c3ca78c8 Consolidate repeated and untranslatable names; new author (#149) 2016-10-28 09:17:35 +02:00
korelstar
aa33b89927 Fix #146: don't autosave if the note isn't modified
New feature: cancel edit; refactoring of NotesClient; send local modified time to server
2016-10-26 11:32:20 +02:00
kas70
a57ecfeb4c Persistant notification for creating new notes (#142)
Can be enabled with a checkbox preference, disabled per default
2016-10-24 12:28:15 +02:00
korelstar
f2e275c082 Change activity flow: NotesList -> EditNote -> PreviewNote (#141)
Fix #3 and fix #39
2016-10-24 12:25:52 +02:00
korelstar
5895dc113b more logging (#145) 2016-10-24 12:21:02 +02:00
korelstar
abf8dc4702 Extend "excerpt" with text from the following lines (#138)
Use multiple lines up to 200 characters for generating excerpt
2016-10-17 22:01:18 +02:00
korelstar
ee084e4565 Fix #87 Heading doesn't allow hyphens
Enhancing removeMarkDown
2016-10-17 21:36:08 +02:00
korelstar
054000631c Load version name dynamically from package (#139) 2016-10-06 10:53:16 +02:00
Stefan Niedermann
94c03518b3 Merge branch 'master' of https://github.com/stefan-niedermann/OwnCloud-Notes 2016-09-17 09:24:06 +02:00
Stefan Niedermann
15250276fd #130 Bugfixes for 0.9.0
Version bump and code formatting
2016-09-17 09:23:56 +02:00
korelstar
0a1fddf961 Fix error message for synchronization on first/unconfigured run (#133) 2016-09-17 09:08:43 +02:00
Stefan Niedermann
9dd1a8b89c Fix #129 Swipe to delete 2016-08-31 13:57:34 +02:00
Stefan Niedermann
f0762d78b3 Fix #124 Shorter name for activity label 2016-08-31 13:41:37 +02:00
korelstar
d9b3d87ac0 Fixing sychronization and concurrency issues (#123)
* Improved presentation of errors if login (SettingsActivity) or synchronization fails.

* Show icon if a note is not synchronized (hint to a possible error)

* Refactoring: move common code to new private method getNotesRawQuery(String sql, String[] selectionArgs)
New method getLocalModifiedNotes() is a preparation for bugfixing #117

* last part from the previous refactoring

* use material design icon and remove old holo icon

* Refactoring NoteSQLiteOpenHelper and NoteServerSyncHelper in order to fix several bugs belonging concurrency and synchronization. Outstanding: documentation, testing, cosmetic changes

* Show icon if a note is not synchronized (hint to a possible error)

* Refactoring: move common code to new private method getNotesRawQuery(String sql, String[] selectionArgs)
New method getLocalModifiedNotes() is a preparation for bugfixing #117

* last part from the previous refactoring

* use material design icon and remove old holo icon

* Refactoring NoteSQLiteOpenHelper and NoteServerSyncHelper in order to fix several bugs belonging concurrency and synchronization. Outstanding: documentation, testing, cosmetic changes

* only pull remote changes if this was demanded by the caller

* restructure the communication between synchronization task and user interface using callbacks, only try to sync if not offline, otherwise show an error message.

* updateNoteAndSync(): only make database changes, if the content really changed (see #104)

* javadoc and cleanup

* Bugfix for EditNoteActivity: invoke callbacks directly if note wasn't changed in edit (before, callback was never invoked in this case)

* Make sure, that saveDataWithUI is not called, when the previous saveAndSync is still running. In addition, start next saveAndSync not before a small delay has passed.

* rename auto-sync method; adjust DELAYs

* Quick Bugfix: Toast in AsyncTask have to be in onPostExecute

* Bugfix: save edited note in offline mode, too

* Bugfix: Show error message in UI thread

* reduce writes to local storage

* reduce logging

* Refactor: remove recurrent code

* UI enhancement when editing notes (with no changes)
2016-08-13 21:10:19 +02:00
YSmhXQDd6Z
dbe60a3cc2 Add portuguese (Portugal) translation (#122)
* Add portuguese (Portugal) translation

* Update strings.xml

* Create plurals.xml
2016-07-05 11:30:51 +02:00
Ivan Pomykacz
3fd3a1f173 Czech translation (#112)
* Added Czech translation.

* Added mist between tranlastors to other language strings.

* Fix plurals in Czech translation.
2016-07-05 11:30:29 +02:00
korelstar
f9dfa16bec Improved presentation of errors if login or synchronization fails (#120)
* Improved presentation of errors if login (SettingsActivity) or synchronization fails.

* FR: formatted string

* Update strings.xml
2016-07-05 11:30:08 +02:00
fxedel
f8497076a0 Added Felix Edelmann to developers (see #109) (#110) 2016-04-07 19:29:29 +02:00
Stefan Niedermann
6a3575c6a9 #38 Spinner as feedback on initial notes load
Works now when switching to another account, but still does not work on the very first sign in.
2016-04-06 21:58:53 +02:00
Stefan Niedermann
4baf533bc1 Fix #85 About: Make tabs swipeable
Uses #109 from fxedel
2016-04-06 21:30:35 +02:00
Stefan Niedermann
0d02b7cd07 Fix #105 Scroll: bar [...]
Added a vertical scrollbar to the list view
2016-03-30 12:30:34 +02:00
Stefan Niedermann
0b8907c34a Version bump to 0.8.1 2016-03-30 12:23:33 +02:00
Stefan Niedermann
09b1b9f261 #105 automatic go to the top
Solved by just downloading new notes onResume and add them dynamically to the adapter. Manual pull2refresh will still cause this behaviour which is imho fine since a user has to be at the top position to trigger this action.
2016-03-30 12:21:11 +02:00
Stefan Niedermann
edf066df85 #66 Handle remote note deleted 2016-03-26 11:28:15 +01:00
Stefan Niedermann
f06621400a Handle inserted and deleted Note correctly 2016-03-26 10:36:34 +01:00
Stefan Niedermann
9da6b3954b Prevent RecyclerView from jumping up to top after synchronization finished 2016-03-26 10:24:09 +01:00
Stefan Niedermann
df5ce398bc Updated gradle libs, version bump to 0.8.0 2016-03-25 14:50:19 +01:00
Stefan Niedermann
7bb3419e3f Fix duplicate requests
Caused by whole synchronize on resume
Fixed by only download on resume
2016-03-24 23:46:48 +01:00
Stefan Niedermann
cdb9bd9a74 Fix #101 Option to synchronise notes when opening the app 2016-03-24 22:39:56 +01:00
Stefan Niedermann
6275006b45 #101 Option to synchronise notes when opening the app 2016-03-24 22:30:30 +01:00
Stefan Niedermann
b9f5182640 Fix #103 make links openable 2016-03-24 22:18:14 +01:00
Stefan Niedermann
ef331d05a0 Fix #102 0.7.1 crashes on saving an edited note and version bump to 0.7.2 2016-03-10 19:51:38 +01:00
Stefan Niedermann
6f6aa18cea Version Bump to 0.7.1 2016-03-09 15:23:26 +01:00
Stefan Niedermann
2483bafbe8 Version Bump to 0.7.1 2016-03-09 15:06:41 +01:00
Niedermann IT-Dienstleistungen
e57b4ce96e Merge pull request #99 from proninyaroslav/master
Update russian translations
2016-03-09 14:52:39 +01:00
Stefan Niedermann
eb6e2b0d74 Don't overwrite DB Status LOCAL_CREATED with LOCAL_EDITED
To prevent errors on synchronization (create -> edit -> sync)
2016-03-09 14:47:39 +01:00
proninyaroslav
9b56ee3b2c Fix translations 2016-03-07 13:44:34 +03:00
proninyaroslav
d71196a00e Update russian translations 2016-03-05 18:10:45 +03:00
ageru
2a423a502b Merge pull request #2 from stefan-niedermann/master
Update from original
2016-03-03 23:27:30 +00:00
ageru
3e4a8837a5 Amends to FR translation
Just read #91 and now I get it: error_invalid_login means to replace error_username_password_invalid and expand its meaning, so retranslated accordingly
Retranslated "invalid" in other error messages to be more natural
Remove useless lines
2016-03-03 22:50:28 +00:00
ageru
b033b07967 Updated FR translation
Added Invalid login error
Re-ordered Error strings according to source
2016-03-03 22:35:42 +00:00
fxedel
a4c02c2f92 #91 Use error_invalid_login string instead of error_username_password_invalid 2016-02-20 19:44:10 +01:00
fxedel
0504c3b7c1 Updated german translation 2016-02-20 19:42:57 +01:00
fxedel
1617de4cb7 Added invalid login error
(and made a few code style improvements)
2016-02-20 19:38:17 +01:00
ageru
e0c701a52b FR singular & plural implementation
Out with the translation hack, in with the proper grammar.
2016-02-18 23:57:01 +00:00
Stefan Niedermann
e2ded04cc8 Fix #24 Line breaks ignored 2016-02-10 20:29:14 +01:00
Stefan Niedermann
a75e77b8b7 Version bump to v0.7.0 2016-02-09 18:46:45 +01:00
Stefan Niedermann
c0273114fb #68 integrate a singular and plural version of <string name="ab_selected">
Added other languages and terminate non-plural-string.
2016-02-08 22:59:33 +01:00
Stefan Niedermann
b7141f3e0a #68 integrate a singular and plural version of <string name="ab_selected"> 2016-02-08 22:52:53 +01:00
Stefan Niedermann
39930e9357 Merge branch 'master' of https://github.com/stefan-niedermann/OwnCloud-Notes into local-search 2016-02-08 22:22:04 +01:00
Stefan Niedermann
8cff932736 #84 Switch to GPLv3+ in About 2016-02-08 22:18:33 +01:00