Commit Graph

142 Commits (ba9d8d7920bcfb6e02ec07ca4a50deca2df0bf5e)

Author SHA1 Message Date
Timothy Pratley 3b6a89c975 replace whiteboard printing with ugly print
Prints fast with newlines

clojure -M:test:bench

Testing frontend.benchmark-test-runner
[], (with-out-str (pprint/pprint onboarding)), 10 runs, 2950 msecs
[], (with-out-str (fipp/pprint onboarding)), 10 runs, 2447 msecs
[], (up/ugly-pr-str onboarding), 10 runs, 94 msecs
[], (pr-str onboarding), 10 runs, 82 msecs
2022-11-14 17:23:42 +08:00
Gabriel Horner fa6c5da6c6 Use supported hickory dep
Includes the only commit we had and has a security patch we don't
2022-10-19 21:24:54 +08:00
Gabriel Horner 5962e0621d Bump to latest kondo and enable new aliased-namespace-symbol linter 2022-10-19 21:24:54 +08:00
Gabriel Horner 2685cd1325 Fix bug with certain plugins and misc cleanup
- Plugins that used effects weren't loading correctly e.g.
  logseq-power-plugin
- Cleaned up translation, docs and some fn naming
2022-10-17 10:31:07 -04:00
Gabriel Horner 0c570a0300 Fix more bugs, move plugins.edn and add enabled
- Move plugins.edn to config/ as it is user configuration
- Add plugin-config enabled flag and moved plugin enabled
- Fixed bugs with manual install
- Refactored plugin-config component to have its own listener
- Split out shared plugin fns to a common ns - plugin-config shouldn't
  need to depend on a component like plugin-handler
- Bump rewrite-edn to include upstream fix and avoid tons of cljs
  warnings with earlier versions
- Fix react warning introduced outside this PR in ui/icon
2022-10-17 10:13:27 -04:00
Gabriel Horner c8cda90373 Fix plugin install bugs and add plugin-config tests
- Add validation for plugins.edn with malli
- Add bb task using malli schema
- Add first async test that interacts with frontend.fs
- Add test helpers to make future async testing easier
2022-10-17 10:13:27 -04:00
Gabriel Horner da6c617a5b First pass at writing plugins.edn on install/update/uninstall 2022-10-17 10:13:27 -04:00
Andelf c3e96dba43 chore(dev): rm unused workspace card 2022-09-13 11:18:44 +08:00
Gabriel Horner 51c318e2da Enable two disabled linters and bump kondo dep
All the fixes were on used-underscored-binding
2022-09-09 12:14:32 +08:00
Charlie 01d879c18e
feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Tienson Qin b59d98ada5 fix: paste blocks 2022-06-16 04:47:17 +08:00
Gabriel Horner d0755ef161 Update dependencies in deps
Also fix conditional workflows that didn't trigger if changes were made
to them
2022-06-10 15:39:11 +08:00
Gabriel Horner 70c0708f09 Add nbb:watch task and example
Also update to latest clj-kondo
2022-05-27 20:42:17 -04:00
Gabriel Horner 7e5ba8d705 Upgrade to latest clj-kondo dep and pods
- Remove cljs 1.11 workarounds since latest includes those symbols
- Unique duplicate ns which intermittently show up in script-vars
  despite using :lang :cljs
- Able to use :format :progress since failing bug no longer shows up
- Remove unnecessary ignore and unused garden config
2022-05-27 10:07:22 -04:00
Gabriel Horner 4813d903d5 Move graph-parser to its own dir 2022-05-26 18:04:45 -04:00
Gabriel Horner a672719394 Update medley and tongue that were printing 1.11 refer warnings 2022-05-19 14:58:33 +08:00
Gabriel Horner fec0b755a8 Upgrade cljs + shadow
- Upgraded shadow to keep goog compiler versions the same
- Converted some safe-parse-int's to parse-long
- Converted some safe-parse-float's to parse-double
- Simplified impl of safe-parse-* fns
2022-05-19 14:58:33 +08:00
Gabriel Horner ca9cc2454f Convert roam namespaces to cljs
The clj functionality was only for tests and those tests no longer
exist for clj. Also removed unused dependency
2022-05-04 15:16:13 -04:00
Tienson Qin ac436ee9fa Use upstream rum 2022-04-02 22:05:13 +08:00
Tienson Qin e37649299f use forked rum 2022-04-02 21:49:37 +08:00
Tienson Qin c3d95482bc Bump rum to batch updates 2022-04-02 21:40:28 +08:00
Michiel Borkent 689e86b527 Upgrade SCI
SCI has moved to a new organization: `org.babashka/sci {:mvn/version "0.3.2"}`.

Having both `borkdude/sci` and `org.babashka/sci` on the classpath can cause problems.
2022-03-15 11:22:31 +08:00
Gabriel Horner 3987395ab5 Merge branch 'master' into fix/dsl-query-boolean-operators 2022-03-04 09:54:23 -05:00
Gabriel Horner 669a56911e Document logging setup and bump to latest devtools 2022-03-03 13:31:58 -05:00
Gabriel Horner ce618443bf Improve query dsl tests
- Each dsl test can load its own test data
- Refactored property and page-property tests to test accuracy
  of each
- Also added humane-test-output to make diff easier to read when tests
  fail
- Also fixed weird behavior of test runner that runs all tests when no
  tests selected
2022-03-01 16:42:19 -05:00
Gabriel Horner 2a03753955 Bump to latest shadow-cljs
Bumped glogi and cljs to minimum versions that would not fail with this
version of shadow
2022-02-28 16:27:22 +08:00
Gabriel Horner 35d2023e24 Add shadow test runner that provides most test-runner like options 2022-02-24 22:45:52 +08:00
Gabriel Horner 163d31005f Add testing library and document workflow
Also moved testing instruction to dev-practices as it didn't make sense
to have them split
2022-02-24 00:32:30 +08:00
Gabriel Horner dea0ca5441 chore: Use standard datascript now that it has get built-in :) 2022-02-08 14:54:17 +08:00
Gabriel Horner 78eb6366ef Upgrade clj-kondo without hang issue per https://github.com/clj-kondo/clj-kondo/issues/1536 2022-01-16 12:42:34 +08:00
Andelf 7bd30a6204 refactor(dev): use global dev-http in shadow-cljs 2021-12-22 10:40:58 +08:00
Andelf f80af25b94 enhance: format build cfgs, reorder module deps 2021-12-22 10:40:58 +08:00
Tienson Qin 566ba16965 enhance: add blocks ast cache 2021-12-13 12:26:51 +08:00
Tienson Qin 117cc9f83d chore: bump datascript 2021-12-05 16:28:05 +08:00
Gabriel Horner d2675cdfe7 Remove clj testing as it's no longer used 2021-11-22 14:59:57 +08:00
Junyi Du 0245da0a5a Expand kondo configuration 2021-11-18 21:13:35 +08:00
Tienson Qin 031d53011f fix: make hickory compatible for tests 2021-11-05 17:41:34 +08:00
Tienson Qin e87f83c395
Use web workers to speed up parsing (#2655)
* wip: use web workers to speed up parsing

* chore: uncomment forget.config.js

* fix: parser pool initialization

* fix: extract parser-worker

* fix: can't run the parser worker in the release mode

* fix: extract async tests

* fix: dsl query async test

* fix: img path in dev mode
2021-08-18 17:02:40 +08:00
Weihua Lu c1368c58d0 fix: add back missing dep 2021-07-12 10:16:43 +08:00
Weihua Lu ab21d88786 wip, zotero poc 2021-07-07 16:13:44 +08:00
Weihua Lu 361dca3c23 fix: bump correct version 2021-06-23 19:33:40 +08:00
Weihua Lu f79bc1437e chore: bump datascript to 1.2.0 2021-06-23 19:33:40 +08:00
charlie dd0af57f6f Merge branch 'master' into feat/integration-plugins-core
# Conflicts:
#	deps.edn
2021-06-08 16:54:07 +08:00
Tienson Qin bf3f3da81d feat: add workspaces for UI prototype 2021-06-08 15:01:41 +08:00
Charlie 52b54a34af
Merge branch 'master' into feat/integration-plugins-core 2021-06-01 10:50:05 +08:00
Sebastian Bensusan a53eb09846
feat: add calc parsing and evaluation (#2052)
Co-authored-by: Sebastian Bensusan <sebas@stripe.com>
2021-05-31 14:55:22 +08:00
charlie e3447ef021 fix: conflicts 2021-05-17 10:19:02 +08:00
Weihua Lu 2e6ab3e40b feat: extract template files 2021-05-14 21:07:42 +08:00
charlie f3edb9b77f feat(plugin): merge implementation 2021-05-08 20:32:20 +08:00
Tienson Qin f1f9800d96 Revert "feat(plugin): merge implementation"
This reverts commit 7f867236d7.
2021-05-08 19:02:34 +08:00
charlie 7f867236d7 feat(plugin): merge implementation 2021-05-07 16:54:14 +08:00
Weihua Lu 7dd9e6349c chore: upgrade glogi 2021-04-29 16:44:26 +08:00
Tienson Qin 9a8f76b408 enhance: clear old data when switching to the refactored one 2021-04-29 15:32:51 +08:00
Tienson Qin 6bcdfd66fc chore: bump shadow-cljs 2021-04-29 13:40:35 +08:00
Tienson Qin 8f05fb66b7 Merge branch 'master' into feat/outliner-core 2021-03-24 21:28:47 +08:00
Weihua 7f51f667bb use logseq fork of datascript
cherry-picked one commit from upstream to deprecate qualified lib warning

everything else is same
2021-03-24 13:05:21 +08:00
Weihua f0911f43b1
fix: use qualified lib 2021-03-24 12:34:07 +08:00
defclass 917e83309b chore: remove nano-id 2021-03-23 20:47:26 +08:00
defclass b4b12ffa6f test: add deps 2021-03-23 20:47:26 +08:00
Tienson Qin d29b265e28 refactor: db migrate wip 2021-03-13 20:43:04 +08:00
Tienson Qin 7f08cdea2e chore: add cljs-run-test 2021-03-13 10:54:26 +08:00
Tienson Qin ac4de8a8c3 Merge branch 'master' into feat/outliner-core 2021-03-13 10:47:43 +08:00
defclass 974a9bd758 chore(deps): update deps 2021-03-01 10:53:08 +08:00
Tienson Qin 467888e7c6 query: experiments 2021-02-19 13:44:38 +08:00
defclass 57aeac6cb3 chore(id): add nano id deps 2021-02-05 10:21:40 +08:00
Tienson Qin 9add190613 fix: add minimal deps.edn for the cljs-time fork 2021-02-03 18:48:25 +08:00
Tienson Qin 6ace64e8b2 fix: Title and journal file mapping error
Closed #1222

Fixed by @rainmote, https://github.com/logseq/cljs-time/pull/1
2021-02-03 18:28:10 +08:00
defclass f75bf5e1b7 Revert "Merge pull request #1158 from logseq/refacotor/add-cljs-env"
This reverts commit d82555a6f9, reversing
changes made to df1da263ac.
2021-02-02 21:32:34 +08:00
defclass 8d868bf842 Merge remote-tracking branch 'upstream/master' into refacotor/add-cljs-env 2021-02-02 14:45:54 +08:00
Tienson Qin cc33b82d74 fix: add binaryage/devtools to deps 2021-01-30 12:05:47 +08:00
Tienson Qin ea66b25a5a Merge branch 'master' into feat/electron 2021-01-26 15:27:12 +08:00
Adam Schmideg a9df8deaae final touches on dual platform testing of Raom import 2021-01-22 06:33:08 -08:00
Adam Schmideg b9416ac989 roam/json->edn test runs in clj 2021-01-22 06:33:08 -08:00
Adam Schmideg 06f7d6ddc1 Change deps.edn to we can run both clj, and cljs tests 2021-01-22 06:33:08 -08:00
Adam Schmideg d1e595ff76 roam test with cljs 2021-01-22 06:33:08 -08:00
defclass ac337f0e52 chore(deps): add deps on test 2021-01-19 15:03:07 +08:00
Tienson Qin 538a3dd5c1 feat: electron wip
Copy the code from defclass/electron to build ipc layer
2021-01-18 23:16:33 +08:00
defclass 073df06617 chore(env): add cljs env 2021-01-18 17:46:19 +08:00
Tienson Qin ec12ce1c51 chore: bump version of shadow-cljs 2021-01-17 18:11:17 +08:00
Tienson Qin 22551b33a6 chore: downgrade shadow-cljs
Related to #1087
2021-01-10 21:03:30 +08:00
Kaile 47c8e0a269 feat: upgrade some dependencies 2021-01-04 15:20:07 +08:00
Tienson Qin abf2544a8e chore: use borkdude/rewrite-edn (the cljc PR has been merged) 2020-12-23 00:08:04 +08:00
Tienson Qin bc8463265d fix: preserve config.file order when updating 2020-12-22 23:55:48 +08:00
Tienson Qin 2a4451ebf2 fix: aliases not working 2020-12-21 19:27:44 +08:00
Yukun Guo 4a5318a494 chore: use qualified lib names 2020-11-25 11:46:32 +08:00
Tienson Qin bfc1d2af01
Merge branch 'master' into ci/init 2020-11-24 21:56:55 +08:00
defclass 0f65305ebe feat: add log lib 2020-11-24 21:54:33 +08:00
Yukun Guo 8acab303f9 test: add a dummy test 2020-11-24 11:41:11 +08:00
defclass 9fda0a4c03 feat: add cljs.spec.alpha 2020-11-09 22:57:41 +08:00
Tienson Qin 3ea34ded54 chore: updated datascript version 2020-11-09 09:21:45 +08:00
Tienson Qin 5d4168ef6c chore: create custom.css automatically
Also, make it possible to create a file using the search box.
2020-11-08 07:27:13 +08:00
Tienson Qin 2d1fa33204 refactor: remove web 2020-10-27 23:19:40 +08:00