117 Commits

Author SHA1 Message Date
zadam
8c4ff7ed2a fix using smart values with .dateCreated, closes #1338 2020-10-27 22:45:22 +01:00
zadam
d163289003 fixed messed up highlighting when searching e.g. "a" 2020-09-27 23:11:56 +02:00
zadam
748979eafd fix note.text #1263 2020-09-24 23:13:27 +02:00
zadam
1fcb99fa60 fix duplication of search results when conforming to multiple expressions in OR relation, closes #1262 2020-09-23 22:27:19 +02:00
zadam
bdebb35f62 better error reporting on failed search 2020-09-23 22:18:26 +02:00
zadam
2b1383205b test fixes 2020-09-23 21:05:26 +02:00
zadam
a73733d0fc renamed ParsingContext to SearchContext 2020-09-08 21:47:37 +02:00
zadam
80f269d844 moved similar notes from sidebar to the center pane 2020-09-07 23:35:41 +02:00
zadam
75c9db6432 fixed search API and its default settings to include archived notes 2020-09-07 22:11:16 +02:00
zadam
69e36d2677 refactoring for archived notes handling in note cache 2020-09-07 00:05:01 +02:00
zadam
15d94e91db fix note autocomplete for non-recent notes 2020-09-03 22:37:51 +02:00
zadam
0bd9b849b2 fix problems with updating note in note cache when entities are coming out of order (e.g. sync) 2020-09-03 21:37:06 +02:00
zadam
918e827d91 fix potential null in mime or type in note cache 2020-09-03 17:51:37 +02:00
zadam
0aef99b98e attr detail automatically focuses the name input and allows saving with ctrl+enter. 2020-09-01 22:47:36 +02:00
zadam
5fd58def11 small refactorings 2020-08-30 23:19:55 +02:00
zadam
b793f8cb88 search will also look for type and mime by default 2020-08-30 23:12:49 +02:00
zadam
172f3689fa optimization of search 2020-08-28 23:20:22 +02:00
zadam
5a8c3f6a2b removed forgotten console.logs 2020-08-28 22:52:57 +02:00
zadam
46e373e822 "smart" date values can now freely contain whitespaces 2020-08-23 21:53:50 +02:00
zadam
0b38e24185 fixes to saved search 2020-08-20 15:23:24 +02:00
zadam
d037420acb note. prefix also separates fulltext tokens from expression tokens 2020-08-20 13:53:15 +02:00
zadam
52e0f838a9 fulltext now ignores archived notes like it used to in the old implementation 2020-08-20 00:15:08 +02:00
zadam
5b1e229d7d added note.text + tests 2020-08-19 23:00:51 +02:00
zadam
53c361945b fix setting mime after import + cleanup of old search code 2020-08-18 22:20:47 +02:00
zadam
53b39e2e82 many changes related to #1192:
- use CSS contain wherever possible to reduce subtrees of forced reflows
- reduced dependency between note and note_contents updates which will reduce number of updates to components
- optimization of "many rows" querying
2020-08-16 22:57:48 +02:00
zadam
625483a8f2 fixes 2020-08-15 00:06:26 +02:00
zadam
02cc52af66 small improvements and fixes 2020-08-06 23:55:17 +02:00
zadam
0eb77e43e2 full text search uses in-memory search even for unprotected notes and preprocesses content with tag stripping 2020-07-23 23:38:38 +02:00
zadam
3109233d4f better reporting for search parsing errors 2020-07-22 22:52:15 +02:00
zadam
60e8bd98b9 improvements to lexer and its tests 2020-07-21 23:42:59 +02:00
zadam
32ecb43b5c search refactoring 2020-07-21 00:01:07 +02:00
zadam
f03e4bc7d7 detect attempts to compare between labels (only with constants is possible) 2020-07-20 23:27:30 +02:00
zadam
4e5ddaf7d1 fix inQuotes + tests 2020-07-19 23:23:48 +02:00
zadam
35469f6f2d lexer now marks "in quotes" tokens 2020-07-19 23:19:45 +02:00
zadam
4c7b1d6543 shortcut negation syntax 2020-07-19 15:25:24 +02:00
zadam
56d6384ae1 added protected note full text search 2020-06-20 23:46:49 +02:00
zadam
6207203b35 wip 2020-06-20 13:18:03 +02:00
zadam
88348c560c syncification 2020-06-20 12:31:38 +02:00
zadam
f700e6e12b use standard search to find notes with same attrs 2020-06-18 22:28:18 +02:00
zadam
eedeaca37d wip 2020-06-03 16:24:41 +02:00
zadam
55b210d7c5 added not() expression 2020-05-27 00:09:19 +02:00
zadam
dc2d5a0a79 fix fulltext content search 2020-05-26 23:25:13 +02:00
zadam
c753f228ac more tests & fixes 2020-05-25 23:39:34 +02:00
zadam
a1a744bb00 order & limit implementation WIP 2020-05-25 00:25:47 +02:00
zadam
b5627b138a integrate new search into the main global search 2020-05-24 09:30:08 +02:00
zadam
e2490f9975 faster implementation of ancestors 2020-05-23 23:57:59 +02:00
zadam
9ede77aead added ancestor 2020-05-23 23:44:55 +02:00
zadam
a2e1fb35b8 tests for note properties 2020-05-23 20:52:55 +02:00
zadam
ae772288e2 support for long syntax of labels and relations 2020-05-23 18:13:35 +02:00
zadam
355ffd3d02 added querying by relation's properties 2020-05-23 12:27:44 +02:00