Commit Graph

95 Commits

Author SHA1 Message Date
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
Gabriel Horner
ce18010b2b refactor: Decouple simple queries in db graph
from original *property rules by giving simple queries
their own rules. This allows simple queries to grow in functionality
and complexity without affecting other features. Also fixed
private-property rule wasn't working because deps weren't configured
2024-11-21 17:56:58 -05:00
Gabriel Horner
bcacc84f25 fix(dev): catch CI failures before they land on feat/db
feat/db is our stable branch for the db version and should remain green.
There were CI failures on #11492 but we didn't know until it was merged.
Just run CI on PRs to prevent this in the future
2024-09-02 09:39:34 -04:00
Gabriel Horner
89c89f0244 chore: disable e2e-tests for now so we can ship with 2024-08-22 10:52:27 -04:00
Gabriel Horner
7a40761eca refactor: organize worker namespaces and lint them
Organize them to live under src/main/frontend/worker and add a lint to ensure
that common code with frontend is only under frontend/common/.
Add a linter to ensure that worker doesn't depend on frontend.
Motivated to fix after recent worker breakage fixed by
75463c4df4
2024-08-08 23:01:57 -04:00
Gabriel Horner
9636fbe7ab fix: remaining query dsl tests for db graphs
Re-enable CI step for testing query-dsl and db graphs
2024-06-07 18:02:32 -04:00
Gabriel Horner
af200f9f2f fix: add temporary fixmes for linters that have failed for awhile
/cc @RCmerci for remove unused rtc fns
2024-05-06 10:47:07 -04:00
Gabriel Horner
517eef9c27 fix: lint and disable tests that have been failing
for a couple days with new fix-me flag
2024-03-13 16:41:38 -04:00
Gabriel Horner
6f9143df4f chore: add db and file graph linter to CI
This has run successfully locally for weeks. Also fix install doc for
bb tasks
2023-11-17 10:35:01 -05:00
Gabriel Horner
7c70f09ebe Merge branch 'master' into feat/db 2023-11-09 11:30:15 -05:00
Andelf
23bb5e8b9b chore(build): update clojure 1.11.1.1413 2023-11-03 01:49:14 +08:00
Gabriel Horner
f8fea1d7b0 Add enum to properties test graph
Also test classes with schema script for now
2023-10-13 17:20:37 -04:00
Gabriel Horner
8756600fd7 Add CI job to test creating and validating a db graph
also update older actions
2023-10-13 10:53:01 -04:00
Gabriel Horner
41bd76a704 Merge branch 'master' into feat/db 2023-09-07 17:52:25 -04:00
Zhizhen He
4cb23ab193 ci: upgrade typos to 1.16.8 2023-08-24 10:29:51 -04:00
Gabriel Horner
991c0994e5 All query-dsl tests pass for db graphs
Add to CI. Also fix graph-parser lint and typo
2023-08-01 16:34:48 -04:00
Konstantinos Kaloutas
766e4844e7 chore: document fluxbox and xvfb 2023-05-26 10:38:45 +03:00
Konstantinos Kaloutas
d7f4f5943f add test 2023-05-23 11:31:37 +03:00
Konstantinos Kaloutas
1b787b279f add display 2023-05-22 17:51:42 +03:00
Konstantinos Kaloutas
57c8bfe6c5 e2e test fix 2023-05-22 17:23:59 +03:00
Konstantinos Kaloutas
b24e173a12 test 2023-05-22 16:32:47 +03:00
Konstantinos Kaloutas
478c21cb92 e2e 2023-05-22 16:03:05 +03:00
Konstantinos Kaloutas
ba8c8d6f7b e2e fix 2023-05-22 15:45:01 +03:00
Konstantinos Kaloutas
2969d777ef run fluxbox 2023-05-22 15:31:10 +03:00
Konstantinos Kaloutas
956d789737 e2e test 2023-05-22 15:30:06 +03:00
Konstantinos Kaloutas
3a9c448d92 fix: e2e 2023-05-22 14:54:19 +03:00
Konstantinos Kaloutas
a30a308ed0 e2e fix 2023-05-22 14:22:13 +03:00
Konstantinos Kaloutas
2dff7336c9 test Xvfb 2023-05-22 14:10:08 +03:00
Konstantinos Kaloutas
03d83ac807 fix install 2023-05-22 13:11:46 +03:00
Konstantinos Kaloutas
71c56e70c6 fix install 2023-05-22 12:55:29 +03:00
Konstantinos Kaloutas
8c51ed214f fluxbox test 2023-05-22 12:41:31 +03:00
Konstantinos
2cace8894c Enhance: Add more translations, remove unused ones and add linter for unused (#8568)
* chore: remove unused dictionary keys

* wip: add dictionary keys for hardcoded strings

* resolve conflicts

* Add linter to detect :en ui translation keys match used ones

- Fix a couple entries caught by linter
- Copy :command.editor/open-link-in-sidebar entries to
  :help/open-link-in-sidebar as translation keys shouldn't be reused in
  multiple contexts, especially when it's across ui and shortcut dicts

* fix: remove dead keys

* chore: reuse dict keys

* chore: reintroduce useful keys

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-24 09:21:57 -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
Andelf
f6d4560044 ci: update actions and build deps 2023-02-22 00:32:05 +08:00
Bad3r
ebb2a5c1d7 chore(dep): bump NodeJS from 16.x to 18.x LTS (#8406)
* chore(dep): bump NodeJS to LTS 18.x

* update nginx image CVE-2022-43551

* upgrade node version in GH workflows

* update nodejs version in dev docs

* upgrade tldraw version nodejs version to 18.x

* update static/yarn.lock

* fix yarn.lock electron version

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-02-21 23:07:35 +08:00
Bad3r
6bb925740e chore(dep): bump actions/checkout to v3.3.0 (#8393) 2023-01-21 21:10:19 +08:00
Gabriel Horner
6bb805918a Upgrade bb - it's been awhile 2022-12-09 13:17:09 -05:00
Andelf
88b160e215 chore(dev): cleanup unused package.json entries 2022-12-03 00:28:42 +08:00
Junyi Du
a84a8028bd test(e2e): alias test robustness 2 2022-12-01 15:41:37 +08:00
Junyi Du
7efa4d8da6 chore: enable e2e dump 2022-12-01 15:41:37 +08:00
Andelf
4bdfb59fb8 chore(ci): bump actions version 2022-11-30 13:35:17 +08:00
Andelf
ee14560b2b chore(deps): update electron 19.1.8
fix(test): shard test
2022-11-30 11:22:55 +08:00
Andelf
c1bec2fc44 fix(test): refine e2e test 2022-11-30 11:22:55 +08:00
Andelf
f65fbc809e fix(ci): use LOGSEQ_CI instead of reserved CI (#7516) 2022-11-30 00:42:27 +08:00
Andelf
c837afd075 ci: ignore stderr for bb lint tasks 2022-10-10 13:14:50 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Andelf
dda818c26a fix(e2e): add missing esc for (()) 2022-07-07 01:42:16 +08:00
Gabriel Horner
ee9f390761 Localize bb-tasks for deps
Deps need to be independent to not introduce testing bugs.
These bb tasks are good candidates to move into bb-tasks gitlib
2022-06-10 15:39:11 +08:00
Gabriel Horner
17d2462343 Move rules into db dep as it's useful for external apps
- rules is already used by logseq-query and will be useful for
  nbb-logseq
- Updated db jobs to run in deps/db by default. Less typing but
  more importantly discourages independent libraries from depending on
  external scripts.
- Moved lint-rules task into db since it is db specific now
- Also remove nbb-logseq from top-level as all nbb compatibility is in
  deps.
2022-06-10 15:39:11 +08:00
Tienson Qin
f4f1ff1ba2 fix: outdent blocks and re-enable outliner tests
related to #5604
2022-06-08 13:06:10 +08:00