Commit graph

2458 commits

Author SHA1 Message Date
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
5933b96a86 #130 Bugfixes for 0.9.0
Server-URL-checkmark in settings activity is misaligned
2016-09-14 08:52:29 +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
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
ageru
e70001368d French (France) translation 2016-01-31 10:49:23 +00:00
Stefan Niedermann
8be2a539b1 Fix #65 NullPointer when trying to save 2016-01-30 17:47:24 +01:00
Stefan Niedermann
18014dd833 Updated to latest support libs 2016-01-30 11:22:38 +01:00
Stefan Niedermann
c1604b1e4c Version bump to v0.5.1
Lower minSDK to 10 (Android 2.3.3)
2016-01-30 10:45:52 +01:00
Stefan Niedermann
2af6e4555d Version bump to v0.5.0
Commented out widgets because they are not ready yet.
2016-01-29 15:35:14 +01:00
Jan-Christoph Borchardt
95620bec20 fix capitalization 2016-01-24 22:53:21 +01:00
Stefan Niedermann
599fd1505e Fix #55 Changing screen orientation causes data loss
Solution: use onSaveInstanceState to remember edited note. Because on every screen orientation change onCreate() is called which uses the original given note.
2016-01-24 22:43:30 +01:00
Stefan Niedermann
cae7402e70 #20 Fix Armenian Language 2016-01-24 20:12:39 +01:00
Stefan Niedermann
010ffd3957 #20 Fix Armenian Language 2016-01-24 20:09:05 +01:00
Stefan Niedermann
b34e327fa2 #20 Fix Armenian Language 2016-01-24 19:48:00 +01:00
Stefan Niedermann
9fa8fb055b #20 Added Armenian Language 2016-01-24 19:32:00 +01:00
Stefan Niedermann
c90e95e314 Fix SelectSingleNoteActivity, added previeImage for SingleNoteWidget and added labels for SingleNoteWidget and AllNotesWidget. 2016-01-24 18:48:46 +01:00
Stefan Niedermann
e8e8c0c9cb Fix #9 Links in About-Page not clickable 2016-01-24 17:48:53 +01:00
Stefan Niedermann
c6a752f9a1 #20 Added Russian Language 2016-01-24 17:27:48 +01:00
Mladen Pejaković
1c21929a8c Update Serbian 2016-01-24 14:44:15 +01:00
Stefan Niedermann
50d2e598bb Use correct Icon for ic_launcher-web.png 2016-01-24 13:30:51 +01:00
Stefan Niedermann
c3ac4925c1 WiP #40 Mention license, source code and call to contribution in the »About« section - Contributing Tab 2016-01-24 13:10:37 +01:00
Stefan Niedermann
932b75ed27 WiP #40 Mention license, source code and call to contribution in the »About« section - License Tab 2016-01-24 13:00:22 +01:00
Stefan Niedermann
47f8e31e1c WiP #40 Mention license, source code and call to contribution in the »About« section 2016-01-24 11:14:43 +01:00
Stefan Niedermann
353949760b WiP #40 Mention license, source code and call to contribution in the »About« section - Switched to Tabbed Layout in About Activity 2016-01-24 10:31:15 +01:00
Stefan Niedermann
5b989b9408 Remove unneeded GridLayout library 2016-01-21 20:48:39 +01:00
Stefan Niedermann
49a63917a5 Fix #44 On initial start, directly open keyboard alongside focusing server address field 2016-01-21 20:44:42 +01:00
Stefan Niedermann
33e6df4819 #45 On initial start, deactivate connect button initially 2016-01-21 20:36:23 +01:00
Stefan Niedermann
439267e408 Put new created Items to top of list 2016-01-21 20:16:23 +01:00
Stefan Niedermann
17812b6256 Fix section padding 2016-01-21 20:07:33 +01:00
Stefan Niedermann
94455672f0 Finish Action Mode on Swipe 2016-01-21 18:43:03 +01:00
Stefan Niedermann
c026d02e83 Remove Google APIs 2016-01-21 18:21:14 +01:00
Stefan Niedermann
063ecbaeec Fix separators and use white background for recycler view again. 2016-01-21 18:17:30 +01:00
headbanger84
904aae5e68 Fixed:
https://github.com/stefan-niedermann/OwnCloud-Notes/issues/48
2016-01-21 16:23:27 +01:00
headbanger84
0775724a17 Fixed:
- [x] Creating a new Note creates the note two times
 - [x] Deleting a Note via long-click selects another Note after Deletion
2016-01-21 16:13:12 +01:00
Stefan Niedermann
f50cf446fd Fix fragment dividers in notes list view 2016-01-20 22:30:58 +01:00
Stefan Niedermann
9ae5f08991 Fixed background color on selected Notes Items 2016-01-20 22:13:43 +01:00
Stefan Niedermann
18f0fb5942 Merged new icons from master branch 2016-01-20 22:06:06 +01:00
Stefan Niedermann
ec252fa6e6 Merge branch 'master' of https://github.com/stefan-niedermann/OwnCloud-Notes into RecyclerView 2016-01-20 22:04:52 +01:00
Stefan Niedermann
eb22ae6626 Use same padding on creation as on editing 2016-01-20 21:27:45 +01:00
Stefan Niedermann
0d6e9c7a55 Correct Height to wrap_content 2016-01-20 21:25:32 +01:00
Stefan Niedermann
c1d16c9197 Remove Auto Generated Google APIs 2016-01-19 18:05:23 +01:00
stefan-niedermann
7460d38403 New Icon 2016-01-19 10:42:56 +01:00
Stefan Niedermann
c277dcae10 Cherry Picking from 8ca35c65ec 2016-01-16 17:22:30 +01:00
Stefan Niedermann
6e74f9ea03 Fix #47 Pressing enter when finished writing in the password field should automatically connect 2016-01-02 18:43:48 +01:00
Stefan Niedermann
c2358f7c57 Fix #50 In edit view, text alignment should be the same as in note view and #49 Background color should be white everywhere 2016-01-02 18:31:01 +01:00
Stefan Niedermann
90bc4355ef version bump to 0.4.0 2016-01-02 17:09:25 +01:00
Stefan Niedermann
f4b35d5c8b Fix #41 Align text of date dividers with the note text 2016-01-02 17:00:40 +01:00
Stefan Niedermann
e8b27ccf97 Fix NullPointerException
on Returning from NoteActivity to NoteListViewActivity without deleting or editing a note.
2016-01-02 16:55:45 +01:00
Stefan Niedermann
f4fabaf299 Fix Delete Bug
After deleting a Note the Note was not removed from the list directly.
2016-01-02 16:22:38 +01:00
Stefan Niedermann
e26179cf49 Workaround for
#37 Headlines rendered as normal text
#24 Line breaks ignored

bypass now renders the markdown on every call. caching is disabled now.
2016-01-02 15:17:47 +01:00
Stefan Niedermann
7df680b483 Fix "Saved"-Message-Hiding after edited note has been saved. 2016-01-02 14:46:35 +01:00
Stefan Niedermann
a985b75b10 Fix #32 Autoload notes list on first connection 2016-01-02 10:16:46 +01:00
Stefan Niedermann
222aef7f49 Fix remove ActionBar Subtitle after Saved-Message 2016-01-02 09:26:23 +01:00
Stefan Niedermann
54cae305dc Move edited Note to top after editing 2016-01-02 09:14:34 +01:00
Stefan Niedermann
20b34a8c66 Fix #30 New note gets sorted all the way down in the list 2016-01-01 18:15:01 +01:00
Stefan Niedermann
cdd53a2f33 Bugfix (edit -> leave edit mode -> edit) 2016-01-01 17:46:40 +01:00
Stefan Niedermann
c77c9cf6f0 WiP #26 Autosave 2015-11-12 21:00:32 +01:00
Stefan Niedermann
057e136b92 Fix #28 Note »Copy« function really needed? 2015-10-25 16:44:47 +01:00
Stefan Niedermann
f6fdc80824 #33 Empty state for no notes 2015-10-25 16:41:39 +01:00
Stefan Niedermann
71f4d8086f Fix #29 Date and date header improvements 2015-10-25 09:35:27 +01:00
Stefan Niedermann
bf7b732765 Fix #17 Open Note on Click on Single Note Widget 2015-10-24 10:34:39 +02:00
Stefan Niedermann
41ec417921 Final Bugfix for Crash on quick scroll 2015-10-24 09:07:00 +02:00
Stefan Niedermann
5a2f4b69e5 Workaround for Crash on quick scroll 2015-10-23 14:42:57 +02:00
Stefan Niedermann
6f747eb939 Fix #12 Time Headers in List-View (Today, Yesterday, ...) 2015-10-23 14:25:11 +02:00
Stefan Niedermann
e8a3ff0f13 #12 Time Headers in List-View (Today, Yesterday, ...) 2015-10-23 14:15:25 +02:00
Stefan Niedermann
ec062ead7d #12 Time Headers in List-View (Today, Yesterday, ...) 2015-10-23 13:32:15 +02:00
Stefan Niedermann
ef67a889ec #27 use black background for widgets 2015-10-23 12:09:49 +02:00
Stefan Niedermann
ba5b309d8f Fix Unit Tests 2015-10-23 11:48:15 +02:00
Stefan Niedermann
9a1ed65f24 Fix Compliation Errors and added some Tests 2015-10-23 11:39:52 +02:00
Stefan Niedermann
9e95aab890 Fix #23 2015-10-23 10:54:07 +02:00
Stefan Niedermann
8c23698546 #21 Check for status.php 2015-10-23 10:04:03 +02:00
Stefan Niedermann
97ad2a2fc6 #27 Reduce font-size in Single Note Widget 2015-10-23 09:30:42 +02:00
Stefan Niedermann
5283b7682f #21 hitting the back arrow on the top left causes a strange animation and all the fields to be deleted –> highly annoying 2015-10-23 00:43:40 +02:00
Stefan Niedermann
990d8f682c #21 not sure if I need to type in http/https – it should work without any protocol prepended, and try with https by default 2015-10-23 00:05:32 +02:00
Stefan Niedermann
581e301635 #21 »URL« should be called »Server address« (less technical), the OK button should be called »Connect« and have a spinner after clicked, and say »Connecting«. Also the input fields should be disabled to give better feedback that the process is running 2015-10-23 00:00:35 +02:00
Stefan Niedermann
a22051cdda Enhanced SettingsActivity: Blue Button and Red Warning for HTTP. 2015-10-22 22:26:20 +02:00
Stefan Niedermann
896121bb62 Improved Settings Activity UX 2015-10-22 22:01:58 +02:00
Stefan Niedermann
b92810a1f3 Update README and bump version in AboutActivity to 0.3.0 2015-10-22 19:26:16 +02:00
Niedermann IT-Dienstleistungen
7eb2b14117 Merge pull request #20 from pejakm/srtr
Add Serbian translation
2015-10-22 19:19:08 +02:00
Stefan Niedermann
3f11bdd181 Show relative modified Date on NoteActivity, Fixed editing note. 2015-10-22 19:11:52 +02:00
Stefan Niedermann
848ccfd316 Show relative modified Date on ListView 2015-10-22 19:01:44 +02:00
Stefan Niedermann
5ba881c783 Order by Modified DESC in ListView 2015-10-22 18:46:03 +02:00
Stefan Niedermann
5f01c10616 Fix Bug: Modified / ID 2015-10-22 18:35:38 +02:00
Mladen Pejaković
d639e9d935 Add Serbian translation 2015-10-22 18:34:03 +02:00
Stefan Niedermann
e36e69de2e Reduced Warnings 2015-10-22 17:40:23 +02:00
Stefan Niedermann
e113469d77 Removed old Logs 2015-10-22 17:22:24 +02:00
Stefan Niedermann
78f05ad0cd Performance Improvements through using StringBuffer instead of += concatenation 2015-10-22 16:57:14 +02:00
Stefan Niedermann
8f0b4572fb Show Modified Date in ListView 2015-10-21 20:23:40 +02:00
Stefan Niedermann
76c90085fc Version Bump to 0.3.0 2015-10-21 19:12:58 +02:00
Stefan Niedermann
e92f1156c2 create new instance of NoteSQLiteOpenHelper on SettingsChangedEvent 2015-10-21 19:05:20 +02:00
Stefan Niedermann
407407f6cd create new instance of NoteSQLiteOpenHelper on SettingsChangedEvent 2015-10-21 17:49:49 +02:00
Stefan Niedermann
f9a2efc692 Removed AndDown-Dependency and switched to Bypass library 2015-10-21 17:47:07 +02:00
Stefan Niedermann
41f9808f3f Fix ArrayIndexOutOfBoundsException 2015-10-08 15:17:12 +02:00
Stefan Niedermann
723f843f2f Prototype of Single Note Widget 2015-10-08 15:08:59 +02:00
Stefan Niedermann
ef9f703551 version bump to 0.2.0 2015-10-08 11:58:27 +02:00
Stefan Niedermann
04f335d2c6 Code Clean-Up (purged some String literals) 2015-10-06 23:56:02 +02:00
Stefan Niedermann
2f7c66f744 Fix #10 (Mention Material Design Icons on About-Page) 2015-10-06 23:01:11 +02:00
Stefan Niedermann
727c8a93f2 - Fix #6 (Show Excerpt instead of Modified Date in List-View)
- Add some further JUnit Tests
2015-10-06 22:51:56 +02:00
Stefan Niedermann
9097f0050a Add some basic JUnit Tests 2015-10-06 21:10:23 +02:00
Stefan Niedermann
d9e9173362 Fix #4 ownCloud is incorrectly capitalized 2015-10-05 20:20:52 +02:00
Stefan Niedermann
9c4b2699e9 Removed polling while refreshing 2015-10-04 18:46:32 +02:00
Stefan Niedermann
036e4c93d9 Move demo screenshots into Root Directory 2015-10-01 18:09:01 +02:00
Stefan Niedermann
259fbb785c Added demo screenshots 2015-10-01 18:07:59 +02:00
Stefan Niedermann
820540ce48 Initial commit 2015-10-01 17:54:20 +02:00