Commit graph

1391 commits

Author SHA1 Message Date
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
b8567db525
Merge pull request #815 from Isaac-Graham/master
Normalize database
2020-05-12 00:57:03 +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
af22d0022d version bump to 2.12.0 2020-05-11 12:48:35 +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
54243b4298 Update changelog 2020-05-09 20:42:17 +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
Hui-Ouyang16
6415e8d220 add coverage enable for testing coverages 2020-05-08 03:38:34 +08: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
Isaac_Chen
313b13d5c4 Add some comments for previous pr 2020-05-07 01:31:08 +08:00
Isaac_Chen
e02bd35309 Final check about normalization 2020-05-07 01:27:03 +08:00
Isaac_Chen
4f01955c60 Bug fixed: Wrong result in sub-category 2020-05-06 20:10:37 +08:00
Isaac_Chen
6889989c3e Merge branch 'master' of https://github.com/Isaac-Graham/nextcloud-notes 2020-05-06 14:44:37 +08:00
Peter S
98d7187d55 Remove invalid tests 2020-05-06 14:38:42 +08:00
Isaac_Chen
d036e1d548 Add some JavaDoc for modified methods 2020-05-06 01:58:26 +08:00
Isaac_Chen
027fbd5236 Add more tests for NotesDatabase 2020-05-06 01:18:50 +08:00
Isaac_Chen
d7b0352fb5 Bug fixed: search Category fails 2020-05-06 00:26:44 +08:00
Isaac_Chen
4a23044253 Use ? instead of concat in NotesDatabase 2020-05-06 00:15:59 +08:00
Stefan Niedermann
04642e6b64 Fix shortcuts in dev builds 2020-05-05 17:29:53 +02:00
Stefan Niedermann
0713472943 Add tip for 302 error 2020-05-05 16:58:25 +02:00
Hui-Ouyang16
b0849a5274 finished test case and find getCategoryIdsByTitle not fuzzy 2020-05-05 22:44:31 +08:00
Hui-Ouyang16
e800b60340 finised countOccurrences test case 2020-05-05 22:11:30 +08:00
Peter S
0cb5398b68 add test for countOccurrences 2020-05-05 21:35:34 +08:00
Hui-Ouyang16
27cec02c19 find a bug in getCategories 2020-05-05 21:23:55 +08:00
Peter S
f3b55e1d9c Finish all the tests for Issue - 814, but need more validations 2020-05-05 20:47:17 +08:00