Commit graph

150 commits

Author SHA1 Message Date
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
c2e9765e1e Fix translations 2016-03-07 13:54:37 +03:00
proninyaroslav
9b56ee3b2c Fix translations 2016-03-07 13:44:34 +03:00
proninyaroslav
4112776d2c Update russian translations 2016-03-05 19:35:33 +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
Stefan Niedermann
2d76040c73 #19 Local Search asynchronously
Searches are now performed asynchronously for performance reasons.
2016-02-08 22:16:05 +01:00
Stefan Niedermann
de652c3c42 #80 Update heading after text has changed 2016-02-03 15:02:28 +01:00
Stefan Niedermann
04f766d822 #19 Local Search 2016-02-03 14:58:44 +01:00
Stefan Niedermann
1a0066d897 version bump to 0.6.0 2016-02-02 19:53:34 +01:00
Stefan Niedermann
82bdf1521f Fix #72 Provide feedback on wrong credentials 2016-02-02 19:47:18 +01:00
Stefan Niedermann
cf6a702e96 Fix #74 Timestamp header not updated after modification 2016-02-02 14:44:47 +01:00
Stefan Niedermann
faf9ad3b1e Fix #56 Use auto-capitalization from system 2016-02-02 14:34:15 +01:00
Stefan Niedermann
713b8cfb69 Fix #70 Can't copy text when not in edit mode
This works only on API level 11 and higher
2016-01-31 21:07:32 +01:00
Stefan Niedermann
d2f10aa596 Mention french translator in every language and rename fr-FR to fr 2016-01-31 13:58:39 +01:00