Commit graph

1317 commits

Author SHA1 Message Date
Isaac_Chen
4a23044253 Use ? instead of concat in NotesDatabase 2020-05-06 00:15:59 +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
Hui-Ouyang16
baaceeb02d fixed the reflection problems 2020-05-05 19:52:53 +08:00
Isaac_Chen
ab0820db6d Use function instead of sqlite statement to move database 2020-05-05 19:50:32 +08:00
Isaac_Chen
a1c22a262f Bug fixed: not including accountId in search category 2020-05-05 18:52:07 +08:00
Isaac_Chen
39c43f74fd Finish onUpgrade() 2020-05-05 18:38:57 +08:00
Hui-Ouyang16
4d1ed6bbde find some bugs in NotesDatabase and add some test template 2020-05-05 04:52:48 +08:00
Hui-Ouyang16
cc2aaed5eb finished chinese character test case 2020-05-05 03:25:20 +08:00
Isc
789b2e20d1 Bug fixed: move where before group by 2020-05-05 02:51:01 +08:00
Isc
76204e39db Bug fixed: Missing account id in geCategories 2020-05-05 02:37:10 +08:00
Hui-Ouyang16
c52be90511 finish multiple test case and find a bug in getCategories 2020-05-05 02:26:43 +08:00
Hui-Ouyang16
57f88551e1 upload some multiple test case 2020-05-05 01:57:19 +08:00
Hui-Ouyang16
06a4a6fa01 finish all signle test case 2020-05-05 01:23:39 +08:00
Peter S
13c20ae4ac provide a demo of searchCategories 2020-05-05 01:05:56 +08:00
Isc
1ef76f8237 Bug fixed: No matched category will runtime error in searchNotes(long, CharSequeence, String, Boolean) 2020-05-05 00:07:55 +08:00
Hui-Ouyang16
89f98a7678 refactor some test case and find a bug in searchNotes 2020-05-04 23:52:11 +08:00
Peter S
1be99b1349 create more test methods 2020-05-04 22:52:58 +08:00
Hui-Ouyang16
94e23a8f5b fixed the timezone problem 2020-05-04 22:01:18 +08:00
Peter S
261c7cd7a0 add a first test method: testAddDeleteNote 2020-05-04 21:45:57 +08:00
Peter S
e1e37740e1 add an instrumented test to test NotesDatabase.java 2020-05-04 19:46:39 +08:00
Isaac_Chen
ecde100310 Add somt test TODO 2020-05-04 13:26:54 +08:00
Isaac_Chen
e0467e8916 Normalize database. Extract Category from Notes. Need to be tested 2020-05-04 04:02:41 +08:00
Isc
e413287dc0 Add some todo to modify database 2020-04-28 22:37:42 +08:00
Stefan Niedermann
2f52c20921 version bump to 2.11.13 2020-04-24 14:59:19 +02:00
Stefan Niedermann
5d23398ea4 update changelog 2020-04-24 14:59:07 +02:00
Stefan Niedermann
c8a2ec3f2f update changelog 2020-04-24 14:57:25 +02:00
Nextcloud bot
c480086f89 [tx-robot] updated from transifex 2020-04-24 14:57:02 +02:00
Stefan Niedermann
46be932978 Merge branch 'Isaac-Graham-master' 2020-04-24 14:54:50 +02:00
Mike Chester Wang
e0c292bafd
Update SearchableBaseNoteFragment.java 2020-04-23 23:58:03 +08:00
Mike Chester Wang
5bfb3ee70a
804: Fixed prev and submit button in search
While doing searching, if the content is changed, the search result will NOT change. So if prev and submit are clicked, it may not give the correct respond.
2020-04-23 23:56:35 +08:00
Isaac_Chen
117a3c8e24 Merge remote-tracking branch 'upstream/master' 2020-04-23 23:39:22 +08:00
Stefan Niedermann
ee680f37d9 version bump to 2.11.12 2020-04-22 13:07:46 +02:00
Nextcloud bot
2ead387350 [tx-robot] updated from transifex 2020-04-22 12:26:56 +02:00
Stefan Niedermann
9d5049e4fe Updated changelog 2020-04-22 12:26:09 +02:00
Isaac_Chen
d3cfecebe8 Two main midifications: 1) Move delay to the top of class SearchableBaseNoteFragment; 2) If there is only one char in the search pattern, search it immediately without delay 2020-04-22 12:23:29 +02:00
Isaac_Chen
c975c07b97 Enhancement for 769: Currently, If the search string changes too frequently, there will be many search tasks running. We add a delay in this commit to prevent this. If the search string does not change in $delay ms, then the search task will start. 2020-04-22 12:23:29 +02:00
Isaac_Chen
3b5124e0b2 Make up for the missing condition judgment in last commit 2020-04-22 12:23:29 +02:00
Isaac_Chen
20388c2e7b Bug fix: 769. The main reason is that the complexity of countOccurrences is O(mn^2), which is too large. So that the main thread may be frozen for a long time. We use a O(m+n) implementation 2020-04-22 12:23:29 +02:00
Isaac_Chen
cb42949e7f Two main midifications: 1) Move delay to the top of class SearchableBaseNoteFragment; 2) If there is only one char in the search pattern, search it immediately without delay 2020-04-22 18:20:55 +08:00
Isaac_Chen
d2e8f97742 Enhancement for 769: Currently, If the search string changes too frequently, there will be many search tasks running. We add a delay in this commit to prevent this. If the search string does not change in $delay ms, then the search task will start. 2020-04-21 23:58:07 +08:00
Isaac_Chen
b674d6351a Make up for the missing condition judgment in last commit 2020-04-21 22:32:30 +08:00
Isaac_Chen
be2c17d2d3 Bug fix: 769. The main reason is that the complexity of countOccurrences is O(mn^2), which is too large. So that the main thread may be frozen for a long time. We use a O(m+n) implementation 2020-04-21 22:02:44 +08:00
dependabot-preview[bot]
8cdf426315 Bump gradle from 3.6.2 to 3.6.3
Bumps gradle from 3.6.2 to 3.6.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 09:24:47 +02:00
Stefan Niedermann
0649a68342 Initial support for instrumented tests in CI 2020-04-18 23:23:38 +02:00
Stefan Niedermann
f07605d3a6 Initial support for instrumented tests 2020-04-18 23:23:38 +02:00
Stefan Niedermann
d724623e28 Fix #796 Changing the word "odd" 2020-04-17 10:21:28 +02:00
Stefan Niedermann
252d4c239c Merge remote-tracking branch 'origin/master' 2020-04-16 11:50:00 +02:00
Stefan Niedermann
12ee76d0e1 version bump to 2.11.10 2020-04-16 11:49:53 +02:00