Commit Graph

5291 Commits

Author SHA1 Message Date
llcc
e3fa589396 use mod+shift+v to wrap video marco if clipboard is a url
Pasting a video url as {{video url}} is removed
2022-05-23 12:49:55 +08:00
llcc
3e36af8de8 fix lints 2022-05-23 12:49:55 +08:00
llcc
36aa4bf74c remove bilibili shorten url from regexp 2022-05-23 12:49:55 +08:00
llcc
1fb3fdcf6d feat: add macro video to embed various video URLs
This macro replaces `youtube`, `vimeo` and `bilibili` macros.
For backward compatibility, users can still use above macros,
but they can't access those commands from the commands menu anymore.
2022-05-23 12:49:55 +08:00
llcc
2d8047de7f fix: dwiw paste in markdown source block 2022-05-23 11:15:38 +08:00
Jonas Diemer
dcddb9e935 use bignumber.js for calculations 2022-05-21 22:52:44 +02:00
sawhney17
877b55eaf8 fix(tags): correctly sort "pages tagged with" (#5389)
fix: sort by treating capitalized and non capitalized the same
2022-05-21 23:26:24 +08:00
Tienson Qin
25b9b1469e fix: youtube timestamps not working
seconds could be missing
2022-05-21 14:36:30 +08:00
Andelf
1e3a628c31 fix(fs-watcher): notify all files, skip read non-text files 2022-05-21 13:21:02 +08:00
charlie
04df7fa881 fix(ui): page blink caused by query lazy load skeleton 2022-05-20 12:33:44 +08:00
llcc
e076b9d812 fix: failed to share file with special chars in its filename 2022-05-20 09:51:07 +08:00
Tienson Qin
fa198b691a fix: missing the "More" button on the right sidebar
close #4991
2022-05-20 09:43:56 +08:00
Andelf
941de325b8 fix(editor): asset link when drop PDF file 2022-05-19 23:27:26 +08:00
llcc
b13f0e336e Merge branch 'master' into disable-webview-resize 2022-05-19 15:26:03 +08:00
charlie
a4d158d7cb fix(plugin): not apply custom theme when lsp disabled 2022-05-19 14:59:09 +08:00
Gabriel Horner
1d390f7bd4 Replace medley/{map-keys/map-vals} with {update-keys,update-vals} 2022-05-19 14:58:33 +08:00
Gabriel Horner
6f68d985bd Use core uuid fns where possible
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible

- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
2022-05-19 14:58:33 +08:00
Gabriel Horner
fec0b755a8 Upgrade cljs + shadow
- Upgraded shadow to keep goog compiler versions the same
- Converted some safe-parse-int's to parse-long
- Converted some safe-parse-float's to parse-double
- Simplified impl of safe-parse-* fns
2022-05-19 14:58:33 +08:00
Yue Yang
29eb3dbca9 fix: load legacy theme
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-05-19 13:34:07 +08:00
llcc
9a2f3d8caf fix lints 2022-05-19 11:02:54 +08:00
llcc
957c895082 Merge branch 'master' into disable-webview-resize 2022-05-19 10:32:19 +08:00
Tienson Qin
1d9da5c847 fix: properties update 2022-05-19 10:28:13 +08:00
Yue Yang
17b91e51c3 feat: custom theme switching (#4741)
* feat: custom theme switching

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: handle reset-custom-theme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: unregisterTheme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: format with ts-standard

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: reset extra formats

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: simplify array types

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* Update lsplugin.core.js

* fix: sync upstream

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: add `no mode` themes into panel

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: ci

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: remove first <hr />

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: lockfile

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: update

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: set-theme! => set-theme-mode!

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: selectTheme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* perf: reduce unnecessary logic

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-05-19 10:18:43 +08:00
llcc
fd75cc57f0 don't open page if graph doesn't exist 2022-05-19 10:03:58 +08:00
llcc
02dd4725fa fix PDF share intent 2022-05-19 10:03:58 +08:00
llcc
d5fc2188f6 fix library require 2022-05-19 10:03:58 +08:00
llcc
3c3890f668 add share intent back 2022-05-19 10:03:58 +08:00
llcc
851cc779db feat(deeplink): support deeplink across graphs 2022-05-19 10:03:58 +08:00
llcc
ddef181f88 fix appUrlOpen fired twice 2022-05-19 10:03:58 +08:00
llcc
58ebc5b4d7 use deeplink to handle shared content 2022-05-19 10:03:58 +08:00
llcc
cdd59d259e feat(mobile): deeplink support 2022-05-19 10:03:58 +08:00
rcmerci
3a87dd191f fix lint 2022-05-18 19:33:15 +08:00
rcmerci
047f8bc142 enhance(sync): add progress-bar when init-download remote graph 2022-05-18 19:33:15 +08:00
Andelf
33907e4738 fix(sync): check current-user-uuid against nil 2022-05-18 02:17:17 +08:00
llcc
92e716d935 fix lints 2022-05-17 22:50:03 +08:00
llcc
29bcd4ad8e Merge branch 'master' into disable-webview-resize 2022-05-17 22:44:57 +08:00
rcmerci
61178ef6af enhance(electron): add ns electron.backup-file 2022-05-17 21:48:48 +08:00
rcmerci
7808612444 enhance(sync): create version files when sync conflict 2022-05-17 21:48:48 +08:00
Tienson Qin
d3acc42105 fix: switch to pt style 2022-05-16 21:09:44 +08:00
Tienson Qin
f2d1dc367a fix: scroll loop for lazy visible view 2022-05-16 21:06:12 +08:00
Tienson Qin
bf954d6cc5 chore: remove pprint 2022-05-16 19:58:10 +08:00
Tienson Qin
0d29421117 fix: blocks disappear in long page when outdent 2022-05-16 19:46:55 +08:00
llcc
d95aa14ca5 Merge branch 'master' into disable-webview-resize 2022-05-16 19:39:18 +08:00
Andelf
18f4c21dc9 chore(release): bump version 0.6.9 2022-05-16 19:21:03 +08:00
sawhney17
705348f370 make overflow visible 2022-05-16 19:08:29 +08:00
Tienson Qin
7f256b8872 fix: sample query 2022-05-16 15:35:43 +08:00
Tienson Qin
7a8965584b Merge pull request #5299 from logseq/enhance/graph-parser-part-trois
Enhance: Migrate block and extract to graph parser
2022-05-16 12:51:07 +08:00
Alex L
7dac9e2748 Improved Italian localization
Improved localization, fixed many grammar mistakes. Also "graph" in Logseq context is "grafo" not "diagramma" or "grafico": search Google Images in Italian for confirmation. Also "Graph Theory" (branch of Math) is known as "Teoria dei Grafi" in Italian.
2022-05-16 12:48:48 +08:00
charlie
12eecde29f fix(lint): carve 2022-05-16 12:46:01 +08:00
charlie
5a8b4a6dc7 fix: lint 2022-05-16 12:46:01 +08:00