Commit Graph

7146 Commits

Author SHA1 Message Date
sosuisen
ac1b535444 fix: add Japanese translation for new shortcuts and menus 2022-12-26 18:32:53 +08:00
rcmerci
b4a5589857 add pre check for distinct-by-last-wins 2022-12-26 15:50:21 +08:00
rcmerci
db7975d09f enhance: also replace distinct-by in deps/graph-parser & electron/search 2022-12-26 15:50:21 +08:00
rcmerci
fa0a03263d fix: distinct-by: convert col to seq first 2022-12-26 15:50:21 +08:00
rcmerci
c4f3e44be1 enhance: replace util/distinct-by 2022-12-26 15:50:21 +08:00
charlie
d188e28427 fix(editor): move caret logic for the block right-boundary in the journals list 2022-12-26 12:20:30 +08:00
Konstantinos Kaloutas
6eee0e1afd fix: unresolved symbol 2022-12-22 12:48:08 +08:00
Konstantinos Kaloutas
4213a417f4 fix: remove unused namespace 2022-12-22 12:48:08 +08:00
Konstantinos Kaloutas
2800b3b703 fix: remove unused namespace 2022-12-22 12:48:08 +08:00
Tienson Qin
3a0fa79611 fix: can't switch between modals by shortcuts 2022-12-22 12:48:08 +08:00
Gabriel Horner
b6abd05a97 Fix inconsistent page links for web/publishing
When coming from search, page links were capitalized but most everywhere else
page links were lower case. This fix consistently enforces lower case
2022-12-22 12:47:33 +08:00
glippi
7249651345 Fix format property reference when org mode 2022-12-21 10:00:22 -05:00
rcmerci
31e6c2c2df fix lint 2022-12-20 17:22:52 -05:00
rcmerci
5287c24cf2 add testcase for get-block-children-ids-in-db 2022-12-20 17:22:52 -05:00
rcmerci
838ac93b69 enhance: validate outliner data when get-block-children-ids 2022-12-20 17:22:52 -05:00
Guy Pursey
6618c1228d Fix: query table sorting (#7751)
* test: sorting for mixed type block properties

* test: edited integer sorting test

Wanted to ensure it included a case where the sorting would
behave different if the numbers were coerced to strings.

In that case, "77" would precede "8" whereas for integer sorting
we want "8" to precede "77".

Renamed `:rating` to `:integer` to reflect this new scenario.

* test: new decimal number test

* test: query table sort semver-style string block properties

* test: query table sort positive and negative integers

* fix: replace separate sort strategies with natural sorting strategy

* fix: comparing only numbers in query table sort

* test: consolidate query table sort integer tests

* format: removed line breaks and consolidated small comparison lines to pass large-vars lint

* Tweaks to PR

- use reader literal for js
- Bring back readability to test, each case should have whitespace
  between it. Split up deftest at a natural spot as deftest exceeds
  reasonable size of a large var

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-12-20 17:02:03 -05:00
queeup
2454360fe9 i18n: update Turkish translation 2022-12-21 00:44:54 +08:00
Andelf
0c4198c824 chore: bump version 0.8.14 2022-12-20 21:41:13 +08:00
Konstantinos Kaloutas
ccca56efd9 fix: button display 2022-12-20 21:40:11 +08:00
Tienson Qin
ae77281f47 fix: temporal validation for the current graph's config
related to #7794, #7795
2022-12-20 20:27:23 +08:00
Tienson Qin
3f01f66214 fix: linked References Filter Empty
close #7788
2022-12-20 18:41:39 +08:00
Tienson Qin
542137047c fix: UI not updated after code changes 2022-12-20 14:57:20 +08:00
Tienson Qin
10704da424 fix: file content cleared when onblur 2022-12-20 10:53:21 +08:00
Gabriel Horner
396c42c9c5 Fix wording for #7555 2022-12-19 12:43:59 -05:00
Tienson Qin
6c5caf9d8a fix: get-page-format should always returns a keyword 2022-12-20 00:04:13 +08:00
Tienson Qin
81d4960315 fix: block Reference only return the first level of data
close #7633
2022-12-19 22:30:57 +08:00
Andelf
86b9cdfce7 chore(build): use token from ci env for sentry and posthog (#7777) 2022-12-19 22:20:50 +08:00
Charlie
020317911f Enhance/plugin APIs (#7555)
* feat: WIP native cli command support

* Add :shell/command-whitelist option

* Integrate cli to code block

* Add :code-block/command-whitelist option

* fix: size of icon

* improve(shell): cache user shell whitelist on application configures file

* improve(electron): promisify run cli command

* chore(libs): update version

* fix(plugin): incorrect payload of pdf highlights section hook

* improve(plugin): block renderer with specific block uuid

* improve(plugin): expose logger for user lib

* improve(plugin): block hooks type

* improve(plugin): block slot hook with specific block

* improve(plugin): auto generate key for provide UI options

* improve(plugin): style of injected ui container

* improve(plugin): types

* improve(plugin): async messaging api from host to plugin

* improve(plugin): add types

* improve(apis): get external plugin metadata

* improve(apis): invoke external plugin impls

* improve(apis): call external plugin impls for simple commands

* enhance(apis): datascript query api for predicate inputs

* enhance(apis): datascript query api for predicate inputs

* fix(apis): redundant args of datascript query api

* enhance(plugins): position of float ui container

* enhance(plugins): style of setting options

* enhance(plugins): layouts data for float ui

* chore(plugins): update CHANGELOG.md

* improve(apis): add types

* chore: fix some inclusive terms

* improve(apis): types

* chore(plugins): update CHANGELOG.md

* chore(plugins): build libs

* chore: update CHANGELOG.md

* chore: remove experiemental alda integration

* fix(lint): remove unused methods

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2022-12-19 20:23:25 +08:00
charlie
38e58b7de5 fix(mobile): maximum width for modal content container 2022-12-19 17:30:10 +08:00
charlie
ef06aedcfb fix(ios): can't scroll when search results overflow with soft keyboard opened 2022-12-19 17:30:10 +08:00
Tienson Qin
7cb8d61347 fix: don't send pixi exceptions to sentry 2022-12-19 13:32:10 +08:00
Andelf
9a4541c7f5 feat(sync): impl proxy support
refactor: use system proxy when possible
chore: update yarn.lock
2022-12-19 13:09:24 +08:00
Andelf
0fe3ec12f3 fix(ui): wrong attribute for select component 2022-12-19 13:09:24 +08:00
Andelf
f9730b1685 enhance(ui): refine proxy test notification 2022-12-19 13:09:24 +08:00
Andelf
6fc5a265b5 enhance(electron): refine app proxy test url 2022-12-19 13:09:24 +08:00
Tienson Qin
1b04ea84da fix: ignored paths not working on web 2022-12-18 18:44:56 +08:00
sid597
35badf5c52 use ->> for better readability 2022-12-16 21:24:01 +08:00
sid597
d2b45a59b3 Update code edit for the codeblocks that are opened in main area and sidebar,or as embeds 2022-12-16 21:24:01 +08:00
Tienson Qin
160c09851f fix: backup the file in db when moving a file with a different case 2022-12-16 21:00:54 +08:00
Konstantinos Kaloutas
561b16f522 fix: open whiteboards for beta 2022-12-16 20:58:57 +08:00
Tienson Qin
2bf07a3851 enhance: automatically enable whiteboards for alpha or beta users 2022-12-16 20:58:57 +08:00
Tienson Qin
fb03581561 release: open whiteboards for beta users 2022-12-16 20:58:57 +08:00
Tienson Qin
de660638e6 fix: no need to convert blocks to tree for whiteboards 2022-12-16 20:56:31 +08:00
Andelf
dda5abd698 fix(electron): windows path 2022-12-16 17:02:42 +08:00
sallto
e0dcb7e2a3 fix: overflow of instaled plugin settings dialog 2022-12-16 15:50:17 +08:00
Tienson Qin
8ce551f827 fix: slow re-index
The reason is that reload-dir! returns a promise, but should block
waiting graph-added-chan to determine whether the parsing is finished
2022-12-16 15:05:58 +08:00
Tienson Qin
df2845b398 fix: copy block-ref instantly after input text lost block content
close #7541
2022-12-16 13:34:22 +08:00
Tienson Qin
3e71b1d6f3 fix: db/entity with interger id is not nil with non-exist block (#7723)
fix: returns nil for db/entity if the entity doesn't exist

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
2022-12-16 00:21:42 +08:00
Gabriel Horner
10d6bc28da Switch named block links to autolink to header blocks
Replaced block property approach as it doesn't provide as much
functionality initially
2022-12-15 11:14:56 -05:00
Gabriel Horner
78345ac473 Fix property completion for namespaced keywords
e.g. logseq.block/route-name
2022-12-15 11:14:56 -05:00