Commit Graph

298 Commits

Author SHA1 Message Date
leizhe
48243d5089 fix: remove abundant newline if content is nil 2021-11-04 17:40:48 +08:00
leizhe
977fd2bacc fix: insert page attributes instead of block property when creating
and renaming page

Creating or renaming a page with namespace will add block-styled title
property, which is not proper. This PR fixed this issue.
2021-11-04 17:40:48 +08:00
Charlie
8ad9836ca7 Enhance/all pages filters (#2976)
Enhanced all pages
2021-10-21 18:21:54 +08:00
rcmerci
532a08c2d6 enhance: add export testcases 2021-10-21 17:52:09 +08:00
leizhe
625c75494e fix property test 2021-10-20 16:40:27 +08:00
llcc
fef5bbf068 enhance(clock): support recording in repeated block // cleanup unused namespaces (#2777)
* enhance(clock): support recording in repeated block

* cleanup: unused namespaces

* cleanup: missing-else-branch if --> when

* enhance: wider search results window for mobile browser

* fix: namespace requirement
2021-09-08 10:23:16 +08:00
Sebastian Bensusan
c05034cc34 feat(calc): Understand percentages 2021-09-06 08:49:03 +08:00
Tienson Qin
d251043637 fix CI 2021-08-26 09:12:15 +08:00
Tienson Qin
7d85770a10 fix: /scheduled doesn't work well if the content has extra spaces
at the end.
2021-08-25 17:37:03 +08:00
Tienson Qin
977c6dc25b fix: Advanced query went error after editing with block properties
close #2609
2021-08-24 21:42:46 +08:00
Tienson Qin
e87f83c395 Use web workers to speed up parsing (#2655)
* wip: use web workers to speed up parsing

* chore: uncomment forget.config.js

* fix: parser pool initialization

* fix: extract parser-worker

* fix: can't run the parser worker in the release mode

* fix: extract async tests

* fix: dsl query async test

* fix: img path in dev mode
2021-08-18 17:02:40 +08:00
Tienson Qin
bfaa65a996 fix: remove properties 2021-07-30 13:17:39 +08:00
Tienson Qin
fe105038d7 fix: CI 2021-07-30 00:44:44 +08:00
Weihua Lu
17966ed565 fix tests 2021-07-28 13:11:54 +08:00
Weihua Lu
85305b591e add some tests 2021-07-23 01:01:50 +08:00
Sebastian Bensusan
5c426ec603 fix: simplify calc parsing 2021-07-19 19:32:58 +08:00
Sebastian Bensusan
4c10750fce fix: calc parses negative numbers 2021-07-19 19:32:58 +08:00
Tienson Qin
46685ba4da fix: properties handling 2021-07-14 15:14:35 +08:00
Tienson Qin
70bbc2082a fix: CI 2021-07-08 20:45:39 +08:00
Sebastian Bensusan
a357d7d983 fix: allow numbers to have commas in calc 2021-06-29 10:59:22 +08:00
Sebastian Bensusan
7817efb81c fix: stricter parsing for variables 2021-06-27 23:13:51 +08:00
Sebastian Bensusan
64c314048e fix: don't show calc parse errors to the UI (#2246) 2021-06-22 10:44:03 +08:00
Tienson Qin
903a757ce2 fix: or nested queries
related to #2218
2021-06-17 23:57:30 +08:00
Sebastian Bensusan
d4fd6acd28 fix: use more robust regex to get underscores in JS 2021-06-13 08:49:18 +08:00
Sebastian Bensusan
37676bf7df fix: remove test cases that don't work in JS 2021-06-13 08:49:18 +08:00
Sebastian Bensusan
f611657bef feat: add scientific numbers and variables with underscores 2021-06-13 08:49:18 +08:00
Tienson Qin
673d345d32 fix: CI 2021-06-10 20:23:06 +08:00
Tienson Qin
ff0084bebc fix: CI 2021-06-07 16:58:23 +08:00
Sebastian Bensusan
a53eb09846 feat: add calc parsing and evaluation (#2052)
Co-authored-by: Sebastian Bensusan <sebas@stripe.com>
2021-05-31 14:55:22 +08:00
Tienson Qin
4a339384ca fix: CI 2021-05-30 12:25:47 +08:00
Tienson Qin
43101c3c43 fix: nested page properties extracting 2021-05-26 12:56:06 +08:00
Tienson Qin
20626ef670 fix: nested pages refs not working in block properties 2021-05-26 12:56:06 +08:00
Tienson Qin
f8e63fd486 chore: update test query example 2021-05-25 22:44:30 +08:00
Tienson Qin
e7879c5388 fix: query dsl 2021-05-25 20:12:50 +08:00
Tienson Qin
fca9f27fde fix: CI 2021-05-23 23:27:24 +08:00
Tienson Qin
d3b3f6f48e fix: properties inserted at wrong positions
Close #1952
2021-05-23 13:58:06 +08:00
Tienson Qin
73cc631db6 fix: page alias with spaces
There's still a bug related to nested pages when extracting the
properties, will address it later.
2021-05-21 23:18:14 +08:00
Tienson Qin
691c3972a2 fix: wrong title in page's properties 2021-05-21 16:51:22 +08:00
Tienson Qin
bee9eead17 chore: remove unused code 2021-05-21 11:20:44 +08:00
Tienson Qin
324ab6b170 wip: refactor db references && general queries 2021-05-18 11:57:46 +08:00
Tienson Qin
6fcfa06bc1 fix: each block should have a different left node when importing
close #1902
2021-05-18 00:27:15 +08:00
rcmerci
a7a9f649c2 remove redundant ! on property-related funcs & add some tests
enter the commit message for your changes. Lines starting
2021-05-17 20:35:30 +08:00
rcmerci
e8c68a62e5 add util.property & move unit-tests 2021-05-17 20:35:30 +08:00
Tienson Qin
67536013e6 fix: CI 2021-05-14 20:58:54 +08:00
Tienson Qin
50f34b7859 fix: wrong ns name 2021-05-14 17:56:59 +08:00
Tienson Qin
66c0200b51 fix: wrong indentation when extracting blocks
close #1785
2021-05-11 20:21:28 +08:00
rcmerci
850d8d8c7a add marker_test & priority_test 2021-05-11 19:01:13 +08:00
Tienson Qin
be63c87baf feat: delete to concat blocks
close #557
2021-05-05 13:45:53 +08:00
Tienson Qin
7de23f1397 fix: remove-property! 2021-04-30 19:31:18 +08:00
Tienson Qin
dc6acbab6c fix: remove-properties! 2021-04-30 19:10:49 +08:00