Commit Graph

402 Commits

Author SHA1 Message Date
rcmerci
628cecc2fd enhance: use transducers 2022-09-21 18:32:14 +08:00
Tienson Qin
eae49ec1f5 chore: misc clean 2022-09-21 17:10:40 +08:00
Tienson Qin
baba078323 fix: support comma in Chinese 2022-09-21 17:03:17 +08:00
Tienson Qin
50db6e42a0 fix: extract property refs support mixed values 2022-09-21 16:46:56 +08:00
Tienson Qin
0ede2d1263 fix: lint 2022-09-21 16:07:05 +08:00
Tienson Qin
310bff0fad fix: CI 2022-09-21 16:02:21 +08:00
Tienson Qin
1fbb364512 Add :block/properties-text-values 2022-09-21 15:06:48 +08:00
Tienson Qin
da72d4d620 Some cleanup suggested by Gabe 2022-09-21 12:59:14 +08:00
Gabriel Horner
a368cab5e4 Add ns linter to deps libs and then add+update ns docstrings 2022-09-21 10:17:15 +08:00
Gabriel Horner
edd79954c1 Another test and address review feedback that shouldn't be controversial
- Added test for 71514ab36c
- Also removed dependency that is no longer used
2022-09-15 18:01:29 -04:00
Gabriel Horner
ecce39d13b Misc cleanup and test improvements
- Remove incorrect carve entry
- Move test-only code for extract-properties to test
- Remove unused if branches in extract-properties
- Move json parsing of get-references into mldoc to be consistent about
  json encapsulation like other mldoc fns
- reorganize relevant unit tests
- add tests for alias, tags and comma separated config properties
- Update incorrect docstring
2022-09-14 23:26:00 -04:00
Tienson Qin
b0aecd10b4 fix: keep invalid-properties for page too 2022-09-14 22:24:01 +08:00
Tienson Qin
00e13c1fc5 fix: datoms count 2022-09-14 20:45:04 +08:00
Tienson Qin
71514ab36c fix: extracting page's title property from mldoc ast 2022-09-14 20:29:44 +08:00
Peng Xiao
3d8fa09d0d fix: merge issues 2022-09-10 01:02:16 +08:00
Peng Xiao
4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Tienson Qin
8bd28eeeb8 fix: comma separated refs are not included in block/refs 2022-09-09 15:16:33 +08:00
Tienson Qin
79af14d75e fix: graph parser CI 2022-09-09 14:30:39 +08:00
Tienson Qin
58839059ac fix: CI 2022-09-09 14:13:35 +08:00
Tienson Qin
cab5dc45a2 fix: tag parsing 2022-09-09 13:19:35 +08:00
Tienson Qin
b516c1db5f Add :property/separated-by-commas option 2022-09-09 12:40:14 +08:00
Tienson Qin
2c7bae1190 fix: , and some chars shouldn't be supported for tags 2022-09-09 12:39:28 +08:00
Tienson Qin
7adf1c9d67 fix: extract ref from mldoc Tag 2022-09-09 12:39:28 +08:00
Tienson Qin
040fd5510f fix: some tests on graph_parser 2022-09-09 12:39:26 +08:00
Tienson Qin
d64042df81 chore: bump mldoc for graph parser 2022-09-09 12:38:35 +08:00
Tienson Qin
2dfc3be462 fix: unused vars in graph-parser 2022-09-09 12:38:33 +08:00
Tienson Qin
c376c408e0 fix: lint warnings in graph_parser 2022-09-09 12:37:57 +08:00
Tienson Qin
0266c1586b fix ci 2022-09-09 12:37:57 +08:00
Tienson Qin
9e2d6e7cfb fix: page refs 2022-09-09 12:37:57 +08:00
Tienson Qin
336fa578d5 refactor: replace directives(front matter or org) with properties 2022-09-09 12:37:55 +08:00
Tienson Qin
d1d1dc50c2 wip: get references from property values 2022-09-09 12:36:54 +08:00
Gabriel Horner
51c318e2da Enable two disabled linters and bump kondo dep
All the fixes were on used-underscored-binding
2022-09-09 12:14:32 +08:00
Tienson Qin
e5fd0b6529 perf: importing graph
There're two things makes the importing slow:
1. db transact! for each file, now it's batched for 100 files.
2. block waiting for 10s before parsing so that the progress bar ui
can be changed, this is batched too for 10 files.
2022-09-08 20:21:09 +08:00
Gabriel Horner
7ade955df7 Additional polish and fixes
- fix two bugs with subs - didn't have global config and missing merge
- explicit re-watch for global config
- more docs
2022-09-08 12:34:27 +08:00
Peng Xiao
a58e513928 fix: whiteboard load issue on file name 2022-09-07 17:46:11 +08:00
Peng Xiao
91d63b82b9 test: failed test 2022-09-06 23:42:27 +08:00
Peng Xiao
f3418a6278 fix: a potential data loss issue for whiteboard blocks 2022-09-06 23:09:26 +08:00
Peng Xiao
5e44055984 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 09:46:58 +08:00
Tienson Qin
935ba7930c fix: journal titles with different capitalization in Query
results/Linked References

close #6541
2022-09-01 20:06:50 +08:00
Peng Xiao
33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +08:00
Charlie
01d879c18e feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Peng Xiao
f5d83483ce Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-31 10:44:18 +08:00
Peng Xiao
94e5c9d1a3 fix: whiteboard block left index on reindex 2022-08-31 10:43:11 +08:00
Peng Xiao
89c6f17283 fix: exclude whiteboard properties for auto complete 2022-08-31 10:17:19 +08:00
Gabriel Horner
9a9e793177 Update test for change in b15da3e78a 2022-08-30 11:13:38 -04:00
Tienson Qin
b15da3e78a fix: page name not changed after parsing the title property 2022-08-30 12:14:11 +08:00
Peng Xiao
0ff5324c02 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-29 10:45:15 +08:00
Gabriel Horner
b47826d69d Fix page block not saving invalid-properties 2022-08-27 10:52:29 +08:00
Gabriel Horner
340fb8cf9a Invalid property fix and tests
- Fix validator considering 'foo bar' or a number or any valid edn, a valid keyword
- Rename property keys to names as users don't know what keys are
- Also bumped nbb-logseq to latest version
- Also give property validation more product focused namespace and name
2022-08-27 10:52:29 +08:00
Peng Xiao
1e607907f3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 15:46:20 +08:00