Commit Graph

331 Commits

Author SHA1 Message Date
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
Gabriel Horner
02c0489a26 Add CI job for invalid dicts
And tweak fn so that it actually fails
2022-01-27 17:43:10 -05:00
Gabriel Horner
8b428796bc Setup carve and ignore all unused vars by default
Also split out lint jobs to their own step
2022-01-27 14:11:59 -05:00
Tienson Qin
6aba8c3241 Improve long page editing performance (#3855)
* Remove expensive parsing when saving files

* Add limit to page blocks query

* Don't collapse block's body to make it compatible with other tools

* Alert if there're unsaved changes when switching graphs

* DB schema migration for :block/collapsed? from it's property

Co-authored-by: Andelf <andelf@gmail.com>
2022-01-18 10:37:31 +08:00
Gabriel Horner
2b46cc4938 Fix kondo invocation and output progress 2022-01-16 12:42:34 +08:00
Gabriel Horner
8b0026f34b Tweak lint docs 2022-01-16 12:42:34 +08:00
Gabriel Horner
3ec587d6eb lint :all-the-things: 2022-01-16 12:42:34 +08:00
Andelf
71ff117d59 ci(build): rename job 2022-01-13 22:48:27 +08:00
Andelf
bee80914a6 ci: refacotr test, add as many cache to speedup 2022-01-13 12:27:47 +08:00
Gabriel Horner
b7b3375f62 Lint extensions/ and wrap up hanging frontend dirs
fs/, format/ and logseq/ also added to linting by adding todos for later
inspection
2022-01-12 16:38:17 -05:00
Gabriel Horner
f1d15b0e05 Lint components and address comments in review
Start using :clj-kondo/ignore as lint violations that need to be
revisited. They may side effect and should be removed with better
understanding of their context
2022-01-12 15:32:47 -05:00
Gabriel Horner
f864f0fd1c Add linting that passes so far to CI 2022-01-11 17:41:04 -05:00
Gabriel Horner
3ded9ee1ff Add comment about allowed node version
node 17.x is the default for homebrew which doesn't work with this repo.
Make allowed node version more explicit to avoid dev confusion
2022-01-12 00:22:37 +08:00
Andelf
0aa36ae78c fix(ci): trigger pr-labeler on pull_request_target 2022-01-11 16:21:50 +08:00
Andelf
b4371ce8a4 ci: add pr labeler 2022-01-07 22:13:18 +08:00
Andelf
4badfcd899 ci: rename release title 2022-01-06 18:27:47 +08:00
Andelf
27af2a8234 fix(ci): version check cmd 2021-12-28 15:36:36 +08:00
Andelf
9acafb2745 build(docker): add docker build 2021-12-28 15:36:36 +08:00
Andelf
bd6bb97293 ci: non release for non-beta 2021-12-25 10:29:14 +08:00
Andelf
d5921e3a33 ci: add android apk build to nightly and beta release 2021-12-23 01:17:35 +08:00
Andelf
d18e8d4c03 ci: add android apk build 2021-12-22 15:01:21 +08:00
Andelf
ed8850111d fix(ci): fix typo, add missing checksum 2021-12-15 12:27:06 +08:00
Andelf
096e285090 fix: nightly build with draft=false 2021-12-14 13:49:38 +08:00
Andelf
878524355b ci: always non-draft for nightly build 2021-12-14 00:17:05 +08:00
Andelf
e1a7f6b8c6 ci: add nightly release job 2021-12-14 00:17:05 +08:00
Andelf
0f6c68711c fix(ci): enable e2e test on push 2021-12-13 11:11:03 +08:00
Andelf
adf0680c00 fix(ci): force macos-11 2021-12-08 23:56:45 +08:00
Tienson Qin
cf795aeaef fix: add apple asc provider 2021-12-08 22:40:39 +08:00
Andelf
8f211e21c5 fix(ci): missing variables in release build, disable nightly 2021-12-01 13:19:26 +08:00
Andelf
935a317c6e ci: use version.cljs instead 2021-11-30 11:06:35 +08:00
Andelf
fa003e6f57 ci: refactor desktop app release ci, add nightly build 2021-11-30 11:06:35 +08:00
Andelf
dc8972b08a ci: add .gitlibs to build cache 2021-11-26 12:03:22 +08:00
Tienson Qin
50904f6fb3 ci: another try 2021-11-24 17:45:18 +08:00
Tienson Qin
b05f79a032 ci: fix cert path 2021-11-24 16:53:42 +08:00
Tienson Qin
f24211de00 ci: another try 2021-11-24 16:29:17 +08:00
Tienson Qin
6bb9e79ef9 ci: use WIN_CSC_LINK instead 2021-11-24 15:59:06 +08:00
Tienson Qin
eb187b85b9 chore: add debug 2021-11-24 15:43:48 +08:00
Tienson Qin
a55ffc674a fix: add CSC_LINK and CSC_KEY_PASSWORD to github action 2021-11-24 15:10:13 +08:00
Tienson Qin
622a04b7b3 fix: github action 2021-11-24 14:35:46 +08:00
Tienson Qin
c4abb02539 fix: add windows cert 2021-11-24 11:40:31 +08:00
Andelf
a80b3d1c68 ci: add e2e test 2021-11-23 17:26:53 +08:00
Gabriel Horner
d2675cdfe7 Remove clj testing as it's no longer used 2021-11-22 14:59:57 +08:00
Gabriel Horner
fb256884ba Use clojure invocation that doesn't depend on rlwrap 2021-11-22 14:59:57 +08:00
Gabriel Horner
24807eef17 Fix clj test so that it passes
roam-test was no longer clj compatible with dependence on text and date
namespaces. Added to CI to ensure clj tests continue to pass
2021-11-22 14:59:57 +08:00
Tienson Qin
df2d3cfeea release: disable npm caches 2021-11-18 21:42:10 +08:00
Tienson Qin
d022c6828d fix: run yarn clean first 2021-11-18 21:37:07 +08:00
Tienson Qin
53aa6afcac chore: update github workflow 2021-11-18 18:23:11 +08:00
Tienson Qin
f2f21add46 release: add debug 2021-11-18 16:16:34 +08:00