Gabriel Horner
06fa65861f
Minor clean up and help with feedback
...
- basic clj-kondo config and cleanup unused binding
- Add some unit tests
- Add a basic readme
2023-03-28 09:14:42 +08:00
Andelf
d26622872e
chore: address comments
2023-03-28 09:14:42 +08:00
Andelf
d5d3857466
refactor(migration): add file/path migration
2023-03-28 09:14:42 +08:00
Andelf
62b4f0a253
refactor(fs): simplify path/absolute?
2023-03-28 09:14:42 +08:00
Tienson Qin
c1e8d6ed8e
refactor: path/absolute?
2023-03-28 09:14:42 +08:00
Gabriel Horner
07c27b0f59
Fix lint and other minor fixes
...
- Rename is-file-url to reflect boolean return val
- Remove unused 3rd arg for set-config!
2023-03-28 09:14:42 +08:00
Gabriel Horner
94f35bda18
Add a workflow for test+lint and misc fixes
...
- Setup cljs tests
- No need for :no-doc
- No need to bind an unused _repo value
- Remove unused datascript dep
2023-03-28 09:14:42 +08:00
Andelf
da975da3da
fix(test): unit tests fail
2023-03-28 09:14:42 +08:00
Andelf
2ad52eab3e
fix(fs): file editing on windows
2023-03-28 09:14:42 +08:00
Andelf
94b27014dd
fix(fs): asset path on windows
2023-03-28 09:14:42 +08:00
Andelf
72a290d21c
fix(electron): initial warning of local dir
2023-03-28 09:14:42 +08:00
Andelf
c79c352e08
fix(fs/mobile): ios fs and loading fix
2023-03-28 09:14:42 +08:00
Andelf
f1404fd537
fix(fs): avoid nil repo on ios
2023-03-28 09:14:42 +08:00
Andelf
3c0973013b
refactor(fs): mv fs2 logic to logseq.common pkg
2023-03-28 09:14:42 +08:00
Andelf
e95d73059b
refactor(fs): refactor bfs to memory-fs, add memory:// support
2023-03-28 09:14:42 +08:00
Andelf
6082663f4c
fix(electron): assets:// url handling
2023-03-28 09:14:42 +08:00
Andelf
ad564a4d72
fix(fs): asset url handling
2023-03-28 09:14:42 +08:00
Andelf
31d7c8f836
refactor(fs): use rpath
2023-03-28 09:14:42 +08:00
Tienson Qin
db6fc6b7ee
feat: simple query builder ( #8774 )
...
Simple query builder
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
Gabriel Horner
1c3ef2ccb5
Fix url? detection for raw paste case - fix #7297
2023-03-20 09:54:41 -04:00
rcmerci
c3f7417682
enhance: add mldoc ast schema ( #8829 )
...
* enhance: add mldoc ast schema
* Add bb task to validate mldoc
Also move mldoc schema to make room for other schemas
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-20 13:41:13 +08:00
Gabriel Horner
6108aa1036
Add tests for timestamp blocks
...
Also make block attributes more explicit in pre-block and reduce needless coupling
2023-02-27 13:20:10 -05:00
Gabriel Horner
6506c369e8
Add support for block refs in page/block props
2023-02-27 13:20:10 -05:00
Gabriel Horner
d7d65a6c66
Remove :collapsed from properties-text-values like we do for :id
...
https://github.com/logseq/logseq/pull/8657/files#r1112206914
2023-02-21 12:35:23 -05:00
Zhizhen He
25c15053d6
feat: add typos to GitHub action
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Tienson Qin
40ad524443
fix: duplicated block ids in multiple files ( #8668 )
...
fix: duplicate block ids in multiple files
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-21 15:50:09 +08:00
Tienson Qin
3372b3bfbd
fix: duplicate block ids in same file ( #8657 )
...
fix: duplicate block ids in the same file
2023-02-21 14:40:43 +08:00
Tienson Qin
3fde6f59ec
fix(lint): add mldoc-link? to ignore
2023-02-13 15:27:20 +08:00
Tienson Qin
c8db7646e2
fix: use mldoc to check links
2023-02-13 15:19:11 +08:00
ksqsf
9f2ce3dd39
enhance: recognize refs as links when inserting links from selection
2023-02-13 15:19:11 +08:00
Junyi Du
9d2055f8b9
enhance: re-index performance
2023-02-10 15:32:54 +08:00
Konstantinos
206844d2a8
Fix: Auto heading on markdown mode ( #8327 )
...
* fix: markdown auto heading
* fix: do not remove heading property
* fix: always clear heading before setting
* fix: auto heading preview on edit mode
* fix: inc
* fix: remove console log
* fix: remove numeric heading and revert changes
* disable current state button
2023-02-06 23:04:22 +08:00
sallto
351a4f34a3
feat: support Media Fragment URIs with audio ( #8300 )
...
* fix: fragment urls for audio player
* fix: add Support for url queries and fragments to extension detection
* feat: add tests for extraction of file extension
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-06 16:47:23 +08:00
Gabriel Horner
917a8aa098
Fix page blocks not displaying full property values in query tables
...
We were only saving these in pre-block but we also need them in page
block. Also adds tests for blocks that had this behavior since #6529
2023-02-01 16:28:42 -05:00
Ben Yorke
c76da13570
Adds support for :query-page as an input
2023-01-31 16:05:20 -05:00
Gabriel Horner
78506f22d0
Fix deftests that have confusing args that only apply to defn
...
Follow up to #8412 where we're accidentally copying
invalid forms from other tests
2023-01-30 10:56:06 -05:00
Brooks Rady
e7b511dc5b
fix: normalize the case of property keys ( #8412 )
...
* fix: normalize the case of property keys
* chore: remove debugging print statement
* chore: remove unneeded file from diff
* Added tests for Org title parsing
---------
Co-authored-by: Bad3r <bad3r@protonmail.com>
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-01-30 10:44:23 -05:00
Gabriel Horner
5ac1415726
Comments to describe unresolved behavior more explicitly
2023-01-20 16:19:19 -05:00
Gabriel Horner
5fb73ebb4f
Bump nbb-logseq to confirm branch is nbb compatible
2023-01-20 15:57:49 -05:00
Ben Yorke
a2efbdb333
Add error test conditions
2023-01-20 13:07:29 +01:00
Ben Yorke
ba68a368f4
Add HHMMSS and HHMMSSmmm
2023-01-20 12:53:24 +01:00
Ben Yorke
b6c00254e8
Add tests for time related queries
2023-01-20 12:29:22 +01:00
Ben Yorke
4855a539f8
Added HHMM support and split out :relative-date-time
2023-01-20 10:36:05 +01:00
Ben Yorke
5e0d0d4bbe
Remove extra date relatives
2023-01-18 14:22:33 +01:00
Ben Yorke
07f58f33d6
Refactor resolve-input to use simple query relative date syntax
2023-01-18 14:08:54 +01:00
Andelf
193677b46f
perf: Reduce usage of remove-nils since it's too slow ( #8323 )
...
* reduce usage of remove-nils since it's too slow
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-01-12 19:00:50 +08:00
Andelf
8431187eb7
chore: fix lint by adding .carve/ignore
2023-01-12 18:11:04 +08:00
Andelf
268f0a5442
fix(fs): wrong graph name impl
...
Fix #8292
2023-01-12 18:11:04 +08:00
Gabriel Horner
17f51c7b77
Make resolve-input nbb compatible
...
- Brought back Xd-{before,after}-ms and tested it
- Move it to its own ns in graph-parser
- Updated nbb-logseq in deps/
- Made db-utils alias consistent
- Organized resolve-input
2023-01-07 02:49:07 -05:00
rcmerci
1790223ed6
copy distinct-by to graph-parser
2022-12-26 15:50:21 +08:00