Commit Graph

115 Commits (cce2ba50ed5affa40a0458d304ca59adbb84f4e4)

Author SHA1 Message Date
rcmerci 7ba2811e11 dev(rtc): some test helpers & mock utils for rtc 2023-10-27 23:06:36 +08:00
Gabriel Horner b66bde0230 Merge branch 'master' into feat/db 2023-10-02 17:09:53 -04:00
Tienson Qin 02271642ad Add icon search component 2023-10-02 18:41:12 +08:00
Andelf 062515639b fixup! chore(deps): update rewrite-edn to fix #10218 2023-09-15 16:41:36 -04:00
Andelf d3ab56442a chore(deps): update rewrite-edn to fix #10218 2023-09-15 16:41:36 -04:00
Gabriel Horner b3efb93335 Move initial namespaces to start outliner dep 2023-09-01 17:23:34 -04:00
Tienson Qin fd6b587235 Merge branch 'master' into feat/db 2023-06-21 14:09:16 +08:00
Tienson Qin 55ff7584b7 wrap-parse-block impl for db && file 2023-06-14 15:13:22 +08:00
Gabriel Horner 29ebf73476 Upgrade clj-kondo in frontend with new fixes
- Couple tests didn't have an is so nothing was tested
- test-non-consecutive-blocks->vec-tree test was fixed
  by updating block->entity-map to include nil attributes
  as the original test wanted
- Also removed a stray :focus
2023-06-13 14:48:50 +08:00
rcmerci 4613a1e3ee store datoms to sqlite as transit 2023-05-31 01:17:55 +08:00
Gabriel Horner 5f44d9bdf2 Cleanup remaining clj(s) resources
* Move template files into a more organized resources templates dir
  except for zotero-items.edn which isn't a template
* Remove unused favorites templates
* Move grammar file which should be in a resource path and not a
  standard source path
2023-05-30 15:07:30 +08:00
Gabriel Horner 28ff6b1894 Move dictionaries to EDN
Also introduce src/resources/ for classpath resources as templates/ is a
misleading name for generic resources and resources/ is being used for
non-resource things. Confirmed translations are the same with bb
lang:list
2023-05-24 16:07:54 -04:00
Ben Yorke 928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Gabriel Horner fef07fe812 Add docs and workflow for dep
Also rename dep to publishing for consistency with existing names
2023-04-09 23:13:33 +08:00
Gabriel Horner 9ac17d485a Wire up frontend to use nbb export and html
- Add tests for export
- Refactor export to be more readable
- Add error notification for export that user can see
- Remove unused :ui/show-recent? state
- Cleanup and move escape fns to proper locations
2023-04-09 23:13:33 +08:00
Andelf 3c0973013b refactor(fs): mv fs2 logic to logseq.common pkg 2023-03-28 09:14:42 +08:00
charlie 22dfa621e4 enhance(pdf): UI lag for the case of large highlights data 2023-03-09 09:15:33 +08:00
Gabriel Horner b08e079ab7 Update :commands in config schema - fixes #8403
Update malli to pull in :some schema
2023-01-20 15:55:24 -05:00
Junyi Du 414fef6933
Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-12 19:28:24 +08:00
rcmerci 0480983af9 dev: update cider-nrepl to 0.29.0 2023-01-12 10:31:59 +08:00
rcmerci 21e8a2eab9 dev: add malli-schema & generate kondo config 2023-01-08 20:33:27 +08:00
Gabriel Horner 13277b875d Upgrade to latest clj-kondo - pods were pretty out of date 2022-12-09 13:17:09 -05:00
Gabriel Horner 7a5310eb5d Update rewrite-edn and hickory deps
shadow workaround for hickory is no longer needed since hickory got node
support
2022-12-08 10:26:33 +08:00
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