Commit Graph

18312 Commits

Author SHA1 Message Date
Tienson Qin
2c33eeb053 disable diacritics e2e test 2024-12-11 02:12:21 +08:00
Tienson Qin
d97e7dfd4c Revert "fix: e2e tests"
This reverts commit 911b373e04.
2024-12-11 01:50:02 +08:00
Tienson Qin
911b373e04 fix: e2e tests 2024-12-11 01:34:47 +08:00
Tienson Qin
61a150695e chore: bump better-sqlite3 2024-12-11 00:32:49 +08:00
Tienson Qin
65be0cff2e Update yarn.lock 2024-12-10 23:24:59 +08:00
Tienson Qin
cbbefaa278 copy from c6bf04c287 2024-12-10 22:53:29 +08:00
Andelf
c1dead5ed0 fix(ci): change timestamp server 2024-12-10 22:53:19 +08:00
Tienson Qin
7fd0541c22 fix: add string-width resolution 2024-12-10 21:45:09 +08:00
rcmerci
9ff47dc1ed fix: config.edn content must be a string 2024-12-10 21:43:13 +08:00
rcmerci
da781b03c1 update rsapi 2024-12-10 20:31:56 +08:00
Gabriel Horner
838d97d7ea Bump to NODE_VERSION 20 as our electron version requires it (#11636)
https://github.com/electron/electron/blob/main/docs/tutorial/electron-timelines.md
2024-12-10 20:20:44 +08:00
Tienson Qin
10caf40312 chore: bump electron 2024-12-10 20:16:07 +08:00
Tienson Qin
ebc2ea31de fix: MacOS CI for x64 2024-12-10 18:46:05 +08:00
Gabriel Horner
bcdd162145 fix: queries with default values
and objects that are descendants of a tag with
a default-value property. Fixes
https://test.logseq.com/#/page/67551ea7-bd58-48bb-a0ea-8b976fa94423.
Also extended sqlite.build to allow closed value properties to
be configured with :build/properties
2024-12-09 12:11:06 -05:00
Gabriel Horner
f5666fab47 fix: deadline query doesn't work for db graphs
Fixes LOG-3245
2024-12-06 22:09:28 -05:00
Gabriel Horner
b89a4925d8 fix: Task descendant object added Task tag
when Status added. Fixes
https://test.logseq.com/#/page/675326b3-7e92-4cf0-b9d3-cc367049b920.
Also fixes class-instance? not working for parent classes
2024-12-06 14:41:21 -05:00
Gabriel Horner
7092444903 fix: large var lint 2024-12-06 10:24:07 -05:00
Tienson Qin
808e5b49e5 perf: enable WAL for all sqlite dbs including search 2024-12-06 22:15:26 +08:00
rcmerci
c9062e0ab6 test(rtc): add testcase for previous commit 2024-12-06 20:22:40 +08:00
rcmerci
137c3dc394 fix(rtc): update remote-ops by unpushed-client-ops 2024-12-06 20:13:25 +08:00
Tienson Qin
a4533b9a3d fix: can't undo/redo deleted blocks 2024-12-06 19:09:56 +08:00
charlie
69fc37b714 fix(pdf): broken area image for the pdf highlights list 2024-12-06 17:17:35 +08:00
Gabriel Horner
b95d17840a Bump to NODE_VERSION 20 as our electron version requires it (#11636)
https://github.com/electron/electron/blob/main/docs/tutorial/electron-timelines.md
2024-12-05 17:06:10 -05:00
rcmerci
593c1fe19b perf(rtc): reduce transact calls in rtc-add-ops 2024-12-05 19:30:03 +08:00
charlie
4a74e652be enhance(ui): polish table header details 2024-12-05 12:00:17 +08:00
Gabriel Horner
1249e32409 fix: can't remove Parent property from classes
Fixes logseq/db-test-cn#27
2024-12-04 16:36:55 -05:00
Gabriel Horner
af044ddb1e fix: remove unnecessary block/refs task calculations
Part of LOG-3198. Also fix test assertion and add another
2024-12-04 15:57:55 -05:00
Gabriel Horner
c6bf04c287 fix: Unable to install and start electron after package.json changes
For osx with node 18.X, yarn install in static/ failed hard with error:
Error [ERR_REQUIRE_ESM]: require() of ES Module
<path>/node_modules/string-width/index.js

Solution in
https://github.com/yarnpkg/yarn/issues/8994#issuecomment-2207025146
initially worked but also needed to add strip-ansi for install to
consistently work
2024-12-04 13:51:43 -05:00
Tienson Qin
4f531ec8cc fix: can't open block url from another graph 2024-12-05 00:02:20 +08:00
charlie
9a4fecc0b3 chore: remove debugger 2024-12-04 22:18:12 +08:00
Tienson Qin
36a4443472 enhance: polish collaboration button 2024-12-04 19:41:02 +08:00
rcmerci
bbd9e4d906 enhance(rtc): show online-users 2024-12-04 18:11:55 +08:00
rcmerci
e7248fa8b7 fix(rtc): ignore remote-block-kv if related schema not exists 2024-12-04 17:36:48 +08:00
Tienson Qin
07c8b7ed74 fix: undo && redo 2024-12-04 17:33:46 +08:00
Tienson Qin
55e0de5d61 fix: delete property pairs when deleting the property page 2024-12-04 15:21:52 +08:00
Tienson Qin
48f3c364b0 fix: UUID page created when visiting non existing block 2024-12-04 14:49:56 +08:00
charlie
c862e5c7d7 fix(electron): upgrade api server https://github.com/logseq/db-test/issues/181 2024-12-04 14:39:43 +08:00
Tienson Qin
4c8a611224 fix: can't click on slider of recent blocks on desktop 2024-12-04 14:27:03 +08:00
charlie
4968ceddc5 fix(pdf): incorrect cmapurl for web https://github.com/logseq/db-test/issues/180 2024-12-04 09:43:36 +08:00
charlie
e7b8401326 fix(ui): polish git commit modal 2024-12-04 08:27:30 +08:00
charlie
9513185f2e chore(yarn): update dugite 2024-12-04 08:26:40 +08:00
Bad3r
39a1b95b18 Upgrade dugite Dependency (2.5.1->2.7.1) to Resolve Linux Build Issues (#11550)
### Overview

This PR addresses a build failure encountered on Linux systems within the Logseq DB branch. The issue stems from a hash mismatch in the dugite dependency, which prevents successful builds. By upgrading dugite to the latest stable version, this PR aims to resolve the build errors without introducing any regressions.

Problem Description

Over the past few days, attempts to build logseq-desktop on Linux have consistently failed due to a hash mismatch error in the dugite package. Below is the error log for reference:
```sh
error /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite: Command failed.
Exit code: 1
Command: node ./script/download-git.js
Arguments: 
Directory: /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite
Output:
Validation failed. Expected '78375b97c802caa33c4ab585e3cf113001f0f53d0ab623ef0086e7c5b819189d' but got '1605228e7cad9e7229a8ff992b8c100caaf632323402dd64475efd33ee8acc01'
/tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:123
          rmSync(tempFile)
          ^

ReferenceError: rmSync is not defined
    at /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:123:11
    at Hash.<anonymous> (/tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:18:5)
    at Hash.emit (node:events:529:35)
    at finish (node:internal/streams/writable:748:10)

```

I acknowledge that building the db branch locally is not the recommended testing method. However, this approach facilitates my workflow by integrating custom scripts for window layout management. Rest assured, all issues I report are still reproduced and verified on official testing builds such as test.logseq.com and db-demo.logseq.com before any bug reports are submitted.


This error is easy to fix by upgrading the duglite dependency. I have been using this fix for the last few commits over the past two days and there are no issues with the change.

Please consider accepting this PR i.e. upgrading duglite if it doesn't affect anything else.

Changelog:
https://github.com/desktop/dugite/releases
2024-12-04 08:11:34 +08:00
Gabriel Horner
d0a6ebf389 chore: add test for page block/refs fix
test for logseq/db-test#134
2024-12-03 17:12:18 -05:00
Gabriel Horner
1fc9a2f085 fix: outliner lint 2024-12-03 16:32:03 -05:00
Gabriel Horner
14a621fdcb fix: imported pages don't have :block/refs
Fixes logseq/db-test#134. Also does a good chunk of
https://github.com/logseq/db-test/issues/134 as ref calculation of db
graphs was refactored to be reused across UI and CLI
2024-12-03 16:16:56 -05:00
Tienson Qin
43542bca3c fix: no bullet before :node property value
if the property has some description.
2024-12-04 00:50:44 +08:00
Tienson Qin
431add952a fix(rtc): resolve temp id before transacting downloaaded blocks 2024-12-04 00:35:20 +08:00
Gabriel Horner
02e4937604 Merge branch 'master' into feat/db 2024-12-03 09:22:20 -05:00
hanla99
a751d5dfc4 Update ko.edn (#11454)
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2024-12-03 09:09:13 -05:00
rcmerci
c2c227a54e fix(rtc): /code not works when rtc-open
refactor `listen-db-changes!`.
tx-data from pipeline-replace cannot be sent to rtc-db-listeners in
original impl.
in most cases it's okay, bacause most of these tx-data are about
:block/refs and other attrs rtc doesn't care.
but in some cases, :block/tags updated in pipline-replace tx-data.
2024-12-03 21:40:34 +08:00