Commit Graph

328 Commits (14bf84dc30e0c21119f3918bbef1c815c6946152)

Author SHA1 Message Date
charlie 9b57580962 chore(dev): just one command for ios/android development 2022-09-14 11:30:11 +08:00
Gabriel Horner 35e526e717 Merge branch 'master' into refactor/refs-from-property-values 2022-09-13 14:52:48 -04:00
Andelf 6253800b16 chore(deps): update some deps that have cve warnings 2022-09-13 11:51:18 +08:00
Tienson Qin 569ac4c0d8 chore: bump mldoc in yarn.lock 2022-09-09 15:19:23 +08:00
Tienson Qin cab5dc45a2 fix: tag parsing 2022-09-09 13:19:35 +08:00
Tienson Qin 2c7bae1190 fix: , and some chars shouldn't be supported for tags 2022-09-09 12:39:28 +08:00
Tienson Qin 336fa578d5 refactor: replace directives(front matter or org) with properties 2022-09-09 12:37:55 +08:00
Tienson Qin d1d1dc50c2 wip: get references from property values 2022-09-09 12:36:54 +08:00
Konstantinos Kaloutas 44d0cd172f chore: use the axe core playwright package 2022-09-09 12:13:56 +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
Kan-Ru Chen 0fce4a4792 chore(deps): update electron 19.0.12 2022-08-29 06:53:34 +08:00
Konstantinos Kaloutas 723e860226 enhance: install axe-playwright 2022-08-26 11:52:23 +08:00
Andelf 80fb12b6e7 chore(deps): update electron 19.0.10
BREAKING CHANGE: IndexDB version incomaptible, should clear cache
2022-08-09 00:08:09 +08:00
Grant Moyer 161d3174e4
Upgrade electron to 19 (#6032) 2022-08-08 23:54:30 +08:00
Phoenix Eliot 0747d5ccb7
Fix pasting race condition (#5964)
* Fix re-running e2e tests when it reuses old app instances

I'm not certain this doesn't break things for other OSes/setups, but it was required for e2e tests to run after the first time I ran them. It keeps a list of all previous (now missing) graphs in the sidebar, and this flow properly causes the new one to be selected, where the old flow did not match what the UI was doing anymore.

* Add e2e test for quickly pasting blocks after editing new blocks

* Fix pasting quickly after editing a new block

* Remove "test.only" focus

* Fix clicking add button in first test by closing error notification

* Improve some flaky race conditions in tests

* Remove unrelated waits in E2E tests

* Update playwright version; update tests to match

* Fix logic for checking if there are unsaved edits

* Fix typescript complaints

* Reduce how long we wait after closing each error popup
2022-08-02 10:54:09 -04:00
Phoenix Eliot cda2a1849d Replace react-visibility-sensor with react-intersection-observer 2022-07-06 22:34:04 +08:00
Tienson Qin 7c2eccd6f1 Style tweaks 2022-06-14 15:11:07 +08:00
Tienson Qin b7ae3684be fix: notify graph dir is gone when starting or running the apps
Also, disabled both re-index and refresh when logseq detects that
a graph's dir doesn't exists anymore.
2022-06-13 19:16:34 +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 b3b406ba31 chore: bump mldoc 2022-06-05 16:54:39 +08:00
Tienson Qin 10d2adc0ec fix: copy paste inside logseq
related to #5522, #5533
2022-06-04 10:52:32 +08:00
Tienson Qin 3c886f4330
Merge pull request #5374 from jonasdiemer/calc-pretty-floats
Calculator: improved output of float numbers
2022-05-30 18:19:26 +08:00
Tienson Qin c7698ab77e
Merge pull request #5088 from logseq/gesture-support-on-block
Gesture support on mobile
2022-05-30 17:48:47 +08:00
Tienson Qin d428270178 enhance: keep line breaks for exported markdown
bump mldoc
2022-05-29 16:18:11 +08:00
llcc ee3b578d99
Merge branch 'master' into gesture-support-on-block 2022-05-23 22:07:36 +08:00
Jonas Diemer dcddb9e935 use bignumber.js for calculations 2022-05-21 22:52:44 +02:00
Gabriel Horner 6f68d985bd Use core uuid fns where possible
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible

- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
2022-05-19 14:58:33 +08:00
Tienson Qin 0e5d1614a0
Merge pull request #5265 from logseq/enhance/graph-parser-part-two
Enhance: Migrate mldoc and text to graph-parser
2022-05-12 20:22:51 +08:00
llcc 8332be2bd9 fix lints 2022-05-12 20:13:13 +08:00
llcc e119fef6bd
Merge branch 'master' into gesture-support-on-block 2022-05-12 09:58:53 +08:00
Gabriel Horner a9664272db Merge branch 'master' into enhance/graph-parser-part-two 2022-05-11 20:22:31 -04:00
Tienson Qin 3ca8228a74 Only render references when it's visible in the window viewport 2022-05-12 07:39:37 +08:00
Gabriel Horner 112e6e2d97 Test second nbb ns thanks to upstream nbb fix :) 2022-05-11 12:33:17 -04:00
Tienson Qin 188a6fe988 chore: updated yarn.lock 2022-05-08 10:13:05 +08:00
llcc 8044e18ff2 fix yarn.lock 2022-05-06 16:20:00 +08:00
Gabriel Horner c0e1e16372 Finish up CI job for requiring nbb-compatible namespaces 2022-05-04 12:02:36 -04:00
Tienson Qin 50f8954886 fix: markdown fenced code parsing 2022-04-24 11:48:30 +08:00
llcc 4207df1b1a fix copy to clipboard failure on iOS 2022-04-15 17:30:59 +08:00
Peng Xiao ec4008d054 chore: upgrade tailwindcss to most compatible version 2022-04-12 10:00:06 -04:00
llcc f4985fd8ef
Feat: record audio on mobile (#4766)
* feat(audio): render audio link as component

* refactor frontend/component/block/inline

* fix audio component on mobile

* Fix(iOS): allow clock to replay audio

* feat(mobile): audio record

* add permission request code on record

* rename `editor/recording?` to `editor/record-status`

* move `get-asset-path` into handler/editor.cljs

* add android settings

* support sharing audio file from some apps

* enhance(record): insert audio link in a new block if non-editing

* feat(audio): allow cancelling record

* fix lints

* feat(iOS): add a tab bar

* tweak some css on mobile

* fix lints

* fix https://github.com/logseq/logseq/issues/4798

* enable tab bar on Android

* fix landscape height of tab bar

* add :reuse-last-block? option

* dont't show tab bar when editing mirror code

* tweak code-editor css

* increase width for more functional buttons

* fix card preview css on iPad

* add document-mode to tab bar

* remove tabbar when editing code and tweak textarea resize cursor behavior

* reduce SplashScreen launch screen duration

* don't show tabbar when editing page title

* enhance: float timer

* fix lint

* fix tabbar height on iPhone without notch

* remove .embed-page width

* fix lint

Co-authored-by: Andelf <andelf@gmail.com>
2022-04-12 20:17:54 +08:00
llcc 21e172feb6
feat(mobile): share intent (#4599)
* feat(mobile): share intent

* feat(ios): share content

* feat(share): fix kUTType* deprecation

* feat(share): fix result of call to 'openURL' is unused

* fix screenshot copy rewrite issue

* fix AndroidManifest.xml

* fix(iOS): app not showing in share list

* address comment
2022-03-28 12:30:32 +08:00
dependabot[bot] daa5ac18a2 chore(deps): bump plist from 3.0.4 to 3.0.5
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-27 15:06:54 +08:00
dependabot[bot] 50efdecfcc chore(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 14:45:37 +08:00
Tienson Qin 8454ec1ee5 fix: sentry
close #4613
2022-03-18 16:44:03 +08:00
Andelf 6de55dc597 chore: fix yarn.lock 2022-03-15 11:56:32 +08:00
Andelf 1b163d7bff chore(deps): upgrade playwright 2022-03-15 11:56:32 +08:00
Tienson Qin 725ca1c6a1
Feature: flashcards random mode (#4535)
* feat: add flashcards shuffle mode
* fix: flashcards navigation
* refactor(build): use @tabler/icons from node_modules

Co-authored-by: Andelf <andelf@gmail.com>
2022-03-11 00:13:37 +08:00
Tienson Qin ba71e8e071 chore: bump react-icon-base 2022-03-02 12:31:45 +08:00
Tienson Qin 693258b4a5 chore: bump yarn.lock 2022-03-02 12:12:33 +08: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 465765abc8 Fix outdated yarn.lock 2022-02-23 00:04:42 +08:00
Andelf 54d3ff2fed chore: update yarn.lock 2022-02-19 17:39:51 +08:00
Tienson Qin 7936da9dad Bump mldoc in yarn.lock too 2022-02-19 17:28:03 +08:00
Tienson Qin e1064d21d3 fix: page/block refs not working
close #4289
2022-02-19 13:29:34 +08:00
Andelf bbbfc0fc81 chore: update yarn.lock 2022-02-18 17:55:50 +08:00
Andelf 736a4610e6 chore: update yarn.lock 2022-02-17 09:55:51 +08:00
Tienson Qin 8ef6fd3f5f Update yarn.lock 2022-02-08 21:16:40 +08:00
Tienson Qin 982eba9396 refactor: remove i18n tongue context 2022-02-08 17:31:32 +08:00
Tienson Qin 1870f44f9a fix lint warnings 2022-02-08 15:50:54 +08:00
Tienson Qin faea913a40 enhance: cut memory usage 2022-02-08 15:49:09 +08:00
Gabriel Horner 54420c9a5d Address review feedback 2022-01-28 10:48:44 -05:00
dependabot[bot] de82c1463c chore(deps): bump nanoid from 3.1.30 to 3.2.0
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-23 13:01:11 +08:00
leizhe 79a1c15ba9 feat(mobile): tap status bar to scroll to top 2022-01-20 10:35:11 +08:00
Junyi Du 226541ff5e enhance: apply normalization on page indexing & diacritics / accents searching compat. 2022-01-20 10:33:50 +08:00
dependabot[bot] d360a11ed8 chore(deps-dev): bump postcss from 8.2.10 to 8.2.13
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 14:11:21 +08:00
dependabot[bot] 3f5aac8e04 chore(deps): bump is-svg from 4.2.2 to 4.3.0
Bumps [is-svg](https://github.com/sindresorhus/is-svg) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/sindresorhus/is-svg/releases)
- [Commits](https://github.com/sindresorhus/is-svg/compare/v4.2.2...v4.3.0)

---
updated-dependencies:
- dependency-name: is-svg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 14:11:04 +08:00
Andelf 4196c42b51 chore: update yarn.lock 2022-01-13 12:27:47 +08:00
Junyi Du 5726f1507c yarn locks 2022-01-13 12:27:47 +08:00
Tienson Qin 75cd265606 chore: delete yarn.lock 2021-11-18 21:52:19 +08:00
Tienson Qin 2e2e8f23aa fix: specify npm packages version 2021-11-18 21:04:29 +08:00
Tienson Qin 6855d2703b chore: update yarn.lock too 2021-11-18 20:15:02 +08:00
Tienson Qin 641bdb5df4 chore: bump electron to 15 2021-11-17 11:06:32 +08:00
Devon Zuegel 6db51cf6bf update yarn.lock 2021-11-16 20:18:46 -05:00
Peng Xiao b38531295a fix: electron field in lockfile 2021-11-15 09:42:13 +08:00
charlie e10361824d Revert "fix(dev): using latest path-browserify"
This reverts commit 647c92c0aa.
2021-11-09 10:04:11 +08:00
charlie 2a812cced3 fix(dev): using latest path-browserify 2021-11-09 10:04:11 +08:00
Tienson Qin d8c9045320 chore: bump mldoc
Disable macos arm64 temporarily because github action doesn't work.
2021-11-06 20:46:39 +08:00
Tienson Qin 707598a9f7 chore: bump mldoc 2021-11-04 18:07:09 +08:00
Tienson Qin 0f4622a946 chore: bump mldoc 2021-11-02 17:49:01 +08:00
GoldinGuy 7282c15ee1 add time wrapper for scheduled/deadline 2021-10-25 11:39:41 +08:00
Tienson Qin ab993d5028 chore: bump mldoc 2021-10-22 22:35:52 +08:00
Tienson Qin 7daa65fcfb fix: can't open graph on Linux
Downgrade Electron.
2021-10-12 20:43:53 +08:00
Tienson Qin 5b5690237f chore: bump electron 2021-10-12 19:45:11 +08:00
Tienson Qin 5a3d8dfe5b chore: yarn.lock 2021-10-11 12:24:55 +08:00
Tienson Qin 9e0ee04829 fix: markdown footnote definition sometimes doesn't work 2021-10-11 10:14:14 +08:00
Tienson Qin 431814f577 enhance: remove blank line for some blocks when outputing to md/org
Related to #2937
2021-10-09 23:51:10 +08:00
Tienson Qin 0467fdba2a chore: bump electron
close #2905
2021-10-08 13:19:52 +08:00
Charlie 7f9a04d2c1
feat(ui): enhance left sidebar (#2899)
* feat(ui): enhance left sidebar

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-10-01 21:27:31 +08:00
Tienson Qin a5a38d9ccd fix: splash screen squashed on Android 2021-09-30 14:03:50 +08:00
Weihua Lu f09a928778 fix: fix white screen after splash 2021-09-30 12:42:03 +08:00
Tienson Qin 0afd15c23d enhance(mobile): bottom buttons
also, fixed todo cycle
2021-09-28 14:58:43 +08:00
Tienson Qin 328dfa841e mobile: open dir && read/write files 2021-09-28 14:58:43 +08:00
Tienson Qin 5b11a90c67 mobile: use capacitor.config.ts && yarn app-watch 2021-09-28 14:58:43 +08:00
Weihua Lu c0ec0ee227 wip, test folder picker 2021-09-28 14:58:43 +08:00
Weihua Lu c3e53ef2db mobile: file system init 2021-09-28 14:58:43 +08:00
Weihua Lu f2afcd707e feat: init ios/android template 2021-09-28 14:58:43 +08:00
Devon Zuegel 7581f3e0a1 Update yarn.lock 2021-09-17 11:01:06 +08:00
Tienson Qin e978a8f972 fix: block parsing 2021-09-13 20:04:09 +08:00
Tienson Qin dd9a90b4ad enhance: hide logbook by default 2021-08-31 12:48:51 +08:00
Tienson Qin 6bfaead43c fix: handle empty errors returned by dugite 2021-08-26 19:18:00 +08:00