Commit Graph

76 Commits (57c8bfe6c595090d0d2195c22fe4b1f3666e90f7)

Author SHA1 Message Date
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
Gabriel Horner 47c4305f62 Temporarily disable outliner tests which are hanging
Hang started in 3fdac736d9
2022-06-07 14:01:07 -04:00
Gabriel Horner b142327491 Finish up logseq.graph-parser
- Parser now parses all graph files like the app does, not just pages and journals.
  This required extracting another fn from repo-handler
- Add and tweak CI steps that are specific to graph-parser. All
  namespaces in this library are checked for nbb compatibility
- Cleaned up parser cli API so only one fn is needed for scripts
- Tests were updated to match new parsing behavior
- large_vars.clj can run with a smaller max-line-count after only refactoring two fns
- Add docs
2022-05-27 00:54:30 -04:00
Gabriel Horner 1e299052ce Setup cljs tests for graph-parser
- Also reuse docs graph test assertions to ensure main app
and graph-parser are in sync.
- Removed promesa from extract tests
since they are no longer async
- Added cljs and npm deps that were missing and caught by cljs tests
2022-05-26 18:04:45 -04:00
Gabriel Horner 4813d903d5 Move graph-parser to its own dir 2022-05-26 18:04:45 -04:00
Gabriel Horner b79b1ca36e Mldoc tests run under nbb 2022-05-10 20:22:48 -04:00
Gabriel Horner 461f7e067d Forgot bb install in job 2022-05-04 12:02:36 -04:00
Gabriel Horner c0e1e16372 Finish up CI job for requiring nbb-compatible namespaces 2022-05-04 12:02:36 -04:00
Gabriel Horner d6082156c5 Find namespaces for nbb-compatible CI step 2022-05-04 12:02:36 -04:00
Andelf 115054736d
test(e2e): add test for backspace and cursor pos (#4896)
* test(e2e): add test for backspace and cursor pos
* fix(test): refine, fix wrong helper
2022-04-15 19:50:25 +08:00
Peng Xiao 3beb46261e fix: lock file & ci check 2022-04-12 10:00:06 -04:00
Junyi Du a97c37c2ad test(e2e): fix missing event_ property of KeyboardEvent in Google Closure Library 2022-04-01 17:36:39 +08:00
Gabriel Horner 9af9150a0a Add CI check to make sure static yarn.lock is updated 2022-03-18 11:04:47 -04:00
Gabriel Horner d34e53b6f7 Bump bb to a version that supports datalog parser 2022-03-09 14:10:38 +08:00
Gabriel Horner 6200ec70d3 Add rules linter for unbound vars and invalid queries
Linter caught one unbound var which wasn't an error but nonetheless good
to cleanup
2022-03-09 14:10:38 +08:00
Gabriel Horner 465765abc8 Fix outdated yarn.lock 2022-02-23 00:04:42 +08:00
Gabriel Horner c70bc56d75 Add CI check for outdated yarn.lock 2022-02-23 00:04:42 +08:00
Gabriel Horner 40eb74a47c Add first pass at large vars linter
Had to tweak rewrite-clj to read vars with metadata.
Added fail fast behavior to fns to prevent silent failure
which was impacting tasks. Started looking at a few vars. More to look
at
2022-02-04 14:06:50 -05:00
Gabriel Horner 0fcdb498d8 Update lang tasks to also read shortcuts
- Updated docs with more accurate picture of translation state
- invalid task found keys that were no longer used from 2 commands
- Cleaned up rewrite-clj
2022-02-02 11:26:20 -05:00
Gabriel Horner 04241dfe96 Merge branch 'master' into feature/lang-tasks-and-ci 2022-01-29 10:06:44 -05:00