Commit graph

1300 commits

Author SHA1 Message Date
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
Nextcloud bot
041bf2e822 [tx-robot] updated from transifex 2020-04-16 11:49:08 +02:00
Stefan Niedermann
5ecaa4f702 version bump to 2.11.9 2020-04-16 11:41:28 +02:00
Stefan Niedermann
e1cc30c347 Add more tips for TokenMismatchException 2020-04-16 11:32:44 +02:00
Stefan Niedermann
a300e3a96a Merge remote-tracking branch 'origin/master' 2020-04-16 11:26:47 +02:00
Stefan Niedermann
30adfc6295 Invalidate API cache on TokenMismatchException 2020-04-16 11:26:38 +02:00
dependabot-preview[bot]
1450ae1daf Bump preference from 1.1.0 to 1.1.1
Bumps preference from 1.1.0 to 1.1.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 09:30:38 +02:00
Stefan Niedermann
807c17a6ca Fix TokenMismatchException after deleting and readding an account 2020-04-16 08:08:10 +02:00
Nextcloud bot
35ad855d48 [tx-robot] updated from transifex 2020-04-15 16:11:09 +02:00
Valdnet
d5f4780dab Correction of the description
Word correction "hesitate".
2020-04-15 12:40:51 +02:00
Stefan Niedermann
468ff07394 Fix #790 Change the message description 2020-04-15 11:08:00 +02:00
Stefan Niedermann
fcacdef1e6 Upgrade database and add entries for API_VERSION and brand 2020-04-14 22:29:33 +02:00
Stefan Niedermann
924fdfb00b Added some final modifiers 2020-04-14 21:47:29 +02:00
Stefan Niedermann
675936a513 Remove testing exception 2020-04-14 21:45:32 +02:00
Stefan Niedermann
70e75ae343 Refactor margins 2020-04-14 21:44:37 +02:00
Stefan Niedermann
02f9a7aa2e Use RecyclerView for tips 2020-04-14 21:44:37 +02:00
Stefan Niedermann
00ee9375c3 Display hints and tips on sync errors 2020-04-14 21:44:37 +02:00
Stefan Niedermann
2a121479d0 Add TokenMismatchException to catchable exceptions on sync 2020-04-14 17:57:27 +02:00