Commit graph

1071 commits

Author SHA1 Message Date
IF-ACT
5b0ec91c86 Fixed wrong icon on activity start 2020-05-24 19:10:56 +08:00
IF-ACT
b4eaefd6d4 Fixed sort 2020-05-23 21:38:24 +08:00
IF-ACT
fdf0adb5b8 Add sorting method to special categories 2020-05-23 21:15:17 +08:00
IF-ACT
87b3fb03ba Can sort by certern sorting method now 2020-05-23 19:40:04 +08:00
IF-ACT
248233f670 Fixed wrong icon on activity start 2020-05-23 19:19:26 +08:00
IF-ACT
6b457cee94 Fixed null exception in All notes, Favourite, and Uncategorized notes 2020-05-23 06:28:43 +08:00
IF-ACT
3dab7989ff Add icon and frontend code 2020-05-23 05:16:55 +08:00
Hui-Ouyang16
c9da790226 overload searchNotes method for supporting choose ordering method 2020-05-23 04:11:16 +08:00
Hui-Ouyang16
f36b94e025 modify get/modify ordering method from byId to byTitle 2020-05-23 03:40:00 +08:00
Hui-Ouyang16
17687b2511 Merge branch '814-normalize-database' of https://github.com/stefan-niedermann/nextcloud-notes into 603-sorting-method 2020-05-23 03:24:01 +08:00
Hui-Ouyang16
0dc19d0134 fixed a bug in junit test 2020-05-23 03:11:22 +08:00
Hui-Ouyang16
ab89852b22 finish the backend API and corresponding test case for category sorting method 2020-05-23 00:20:10 +08:00
Peter S
a6580bcdbc add a new column in category table to store the sorting method, and modify CategorySortingMethod enum class 2020-05-22 23:07:54 +08:00
Peter S
d40800c666 add test for enum and corresponding methods 2020-05-20 00:17:19 +08:00
Peter S
f6b9b8c48e add two sorting methods: lexicographical_asc & modified_desc 2020-05-20 00:00:29 +08:00
Peter S
491f2c1230 add a enum for category note list sorting method 2020-05-19 23:43:14 +08:00
Isc
81389d847a Remove random test for fixed test is good enough 2020-05-12 18:26:31 +08:00
Isc
415813b26c Fix CI error 2020-05-12 12:19:32 +08:00
Isc
94dce5a20a Add unique over category_account_id and category_title 2020-05-12 12:11:57 +08:00
Isc
43f88a2387 Fix CI error 2020-05-12 03:01:22 +08:00
Isc
895f1b0eab Persist the capabilities values in addAccount 2020-05-12 02:20:18 +08:00
Isc
b2203285c2 Add @NonNull in the constructor for response in the constructor in Capabilities 2020-05-12 01:43:37 +08:00
Isaac-Graham
4e53d7ff93
Merge branch '814-normalize-database' into master 2020-05-12 00:55:35 +08:00
Nextcloud bot
3b2c2a3314 [tx-robot] updated from transifex 2020-05-11 13:12:45 +02:00
Stefan Niedermann
a11a127f50 #174 Allow to share into exiting note 2020-05-11 12:46:48 +02:00
Stefan Niedermann
dfc3943124 Merge remote-tracking branch 'origin/share-into-existing-note'
# Conflicts:
#	fastlane/metadata/android/en-US/changelogs/2012000.txt
2020-05-11 12:42:13 +02:00
Stefan Niedermann
15d69022d2 #824 Error 302 when notes app is not installed on server
Added explicit hint in ExceptionDialogFragment
2020-05-11 11:51:27 +02:00
Stefan Niedermann
0676b195fb 🐞 Fix upgrading from version <= 1.0.1 to a current version 2020-05-11 11:47:25 +02:00
Isc
29d23f4d9d Remove random 2020-05-11 14:40:17 +08:00
Isc
916a5fef7b Remove useless random in SearchableBaseNoteFragmentTest 2020-05-11 05:40:18 +08:00
Isc
aaf994054e Switch arguments for consistency in NotesDatabase.java 2020-05-11 05:33:36 +08:00
korelstar
83c841a1eb fix synchronization (push local changes) 2020-05-10 22:29:40 +02:00
Stefan Niedermann
f3c49094a9 #174 Allow to share into exiting note 2020-05-09 20:41:29 +02:00
Isc
35fafaf557 Remove useless group by and order by in NotesDatabase.java 2020-05-09 16:26:37 +08:00
Isc
5854b90877 Clean up NotesDatabase 2020-05-09 14:05:00 +08:00
Peter S
9107c54058 fulfill all tests to reach full coverage for modified methods 2020-05-08 23:10:21 +08:00
Stefan Niedermann
cefb6a9df2 Fix Pull 2 Refresh in Preview (outdated note) 2020-05-08 11:40:05 +02:00
Peter S
68c565a0c6 update test_12_getCategoryIdByTitle 2020-05-08 03:30:14 +08:00
Isaac_Chen
855ea87836 Update test_12_getCategoryIdByTitle() 2020-05-08 03:14:51 +08:00
Peter S
9d7566be2a minor update 2020-05-08 02:54:28 +08:00
Peter S
15e9ff36f1 Merge branch 'master' of https://github.com/Isaac-Graham/nextcloud-notes 2020-05-08 02:36:24 +08:00
Peter S
4e777bff70 clean up useless tests, add new tests for changes 2020-05-08 02:34:09 +08:00
Isaac_Chen
53b9f2df1a 1) update searchCategories for maintain; 2) Remove useless paramter 'create' in getCategoryIdByTitle; 2020-05-08 02:28:21 +08:00
Peter S
5f655d608a Add one more test to reach full coverage for the test method 2020-05-08 01:28:51 +08:00
Isaac_Chen
fc32639f8b Prevent too many SQL query in database when getting notes 2020-05-08 00:57:57 +08:00
Isaac_Chen
4dccc3eee0 Rename column account id in table category as category_account_id 2020-05-07 23:55:05 +08:00
Isaac_Chen
c6fedb1c5c Change Id of table category to category_id and titole to category_title 2020-05-07 23:31:26 +08:00
Isaac_Chen
9aba743b3c Remove empty categories 2020-05-07 22:53:26 +08:00
Isaac_Chen
46fa52a9a7 1) Use subquery in searchNotes(long, CharSequence, String, Boolean); 2) Remove comments with old codes; 3) Merge getCategories(long) and searchCategories(long, String); 4) Abandon recursion in getCategoryIdByTitle(long, String, boolean) 2020-05-07 22:14:04 +08:00
Nextcloud bot
463dee551e [tx-robot] updated from transifex 2020-05-06 20:26:38 +02:00