Commit Graph

986 Commits

Author SHA1 Message Date
Tienson Qin
83569141fc feat: add encryption back 2022-05-09 22:15:30 +08:00
Andelf
c6369d7c03 fix(sync): update rsapi to 0.0.9 2022-05-08 09:43:05 +08:00
Andelf
22c8544092 chore: bump version 0.6.7 2022-04-29 21:17:19 +08:00
charlie
fc0f2b75c6 chore(plugin): update resources 2022-04-29 18:51:25 +08:00
charlie
2b826f17de improve(plugin): add api of query element rect data from host 2022-04-29 18:51:25 +08:00
charlie
2c33c1111f chore: rebuild libs core 2022-04-29 18:51:25 +08:00
charlie
c36a026502 chore(plugin): build libs core & update README.md 2022-04-29 18:51:25 +08:00
Tienson Qin
4e30fda343 Add lightningfs back 2022-04-24 11:17:47 +08:00
Tienson Qin
b5a572ddae Remove worker.js backup file 2022-04-24 11:17:47 +08:00
Tienson Qin
b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
charlie
c363c47a21 fix(plugin): compatible hooks strategy for old libs sdk 2022-04-22 15:51:40 +08:00
Charlie
79bc33e1e3 Enhance/more ns plugin api (#4828)
* improve(plugin): WIP add settings schema

* improve(plugin): add identity for settings modal

* improve(plugin): WIP add settings input

* fix(ui): scrollbar overlay of modal panel content

* improve(plugin): WIP add more render types of setting item

* improve(plugin): WIP polish settings items

* improve(plugin): WIP settings list of plugins

* improve(plugin): more settings types & polish releated ui

* fix(plugin): sometimes disable plugin not work

* improve(plugin): polish ui of plugin settings

* fix(dev): warning of lint

* improve(plugin): add api of settings changed

* chore: build libs core

* fix(ui): width of settings panel wrap

* improve(plugin): separate layouts data from settings aio file

* imporve(plugin): container size of single plugin settings

* fix: add missing state

* improve(plugin): add Git ns

* improve(plugin): git related api

* improve(api): type of git result

* chore: build libs core

* fix(dev): kondo lint

* fix(plugin): use cdn sdk when js entry

* chore: build libs core

* fix(plugin): env condition

* improve(plugin): add UI ns

* fix(api): arguments of datascript query

* enhance(api): manageable message instance of UI tools

* enhance(api): WIP add experiments api

* enhance(api): WIP add resources state of plugin

* improve(plugin): add status of loading script resources

* improve(plugin): more opts for script loader

* improve(plugin): WIP add fenced code renderer hook

* improve(plugin): fenced code renderer hook

* fix(plugin): resource root path of plugin fs location

* imporve(plugin): support local files for loading scripts

* improve(plugin): types of expirements api

* fix: typo of class

* enhance(api): add namespace related apis

* enhance(api): add linked refrences related apis

* enhance(plugin): add sample links to related api comments

* improve(plugin): add db changed hook & optimize strategy of caller for hooks

* improve(plugin): compatible commands registration for old sdk

* improve(plugin): collect user sdk version for plugin local

* improve(plugin): add internal callable apis for user sdk

* chore(plugin): missing files & bump libs version

* improve(plugin): compatiable for old sdk about hook messaging optimization

* improve(plugin): db hook optimization for old sdk

* enhance(ux): auto focus searchbar when open plugins list

* improve(plugin): api of a hook from specific block changed event

* improve(plugin): api of db block change hook

* improve(plugin): add show bracket user config of api

* improve(plugin): api of db block change hook

* fix(api): toggle collapsed of block

* improve(api): try to init grpah with git before exec git commands

* improve(plugin): attributes of sandbox container

* improve(dev): support register command with keybinding

* improve(plugin): add api of register shortcut command

* fix(plugin): reubild slash commands when new command registration

* fix(dev): lint

* improve(dev): lint script of libs codebase

* chore(dev): remove useless codes

* improve(plugin):sanitize path string of plugin repo value

* fix(plugin): rebuild commands list when unregister a plugin

* fix(ui): overflow width of query result table

* chore: rebuild libs core

* improve(plugin): add assets related apis

* chore: rebuild libs core

* improve(plugin): support replace state of into block in page api

* improve(plugin): prepend/append child block in page

* improve(plugin): polished exceptions message of plugin update/install

* fix(plugin): update settings within gui

* improve(ux): debounce change event of input for plugin settings gui

* chore: rebuild libs core

* enhance(plugin): catch exception of hook plugin
2022-04-21 18:43:16 +08:00
Tienson Qin
71e9bdee49 enhance: parsing progress bar 2022-04-21 08:42:52 +08:00
Tienson Qin
6add647572 chore: bump git to address a pair of security vulnerabilities
See more at https://github.blog/2022-04-12-git-security-vulnerability-announced/
2022-04-18 10:01:32 +08:00
Andelf
f7ab5c9685 chore: bump version 0.6.6 2022-04-18 09:33:25 +08:00
Peng Xiao
714d3ce53b fix: menu items should not be selectable 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
rcmerci
f072a29727 feat(sync): support dev&prod env 2022-04-12 09:24:21 +08:00
Tienson Qin
2c86d9af91 enhance: deeplink support (logseq://) in development
This package https://www.npmjs.com/package/electron-deeplink provides
the ability to support both development and production environments.
2022-04-11 11:45:50 +08:00
sawhney17
dd1321e1d7 fix(markers): Blocks marked "cancelled" not working (#4812)
* fix #3663

* Update dicts.cljs

* close #4697

* fix: Cancelled not treated as canceled #4810
2022-04-04 16:49:42 -04:00
rcmerci
85a5ba4154 fix(sync): encode&decode file-path 2022-04-04 22:28:27 +08:00
rcmerci
85bb55a784 feat(sync): support concurrent full-sync local->remote 2022-04-04 22:28:27 +08:00
Tienson Qin
918f6f8613 feat(sync): add logseq protocol 2022-04-04 22:20:25 +08:00
Charlie
0d3ac91ca3 Feature/Setups of Onboarding Process (#4580)
UX enhancement: onboarding setup graphs 

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-04-02 21:37:38 +08:00
Yue Yang
1987d7dc79 BREAKING CHANGE: unify light mode identifier (#4652)
* chore: unify light mode identifier

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

Co-authored-by: charlie <xyhp915@qq.com>
Co-authored-by: Andelf <andelf@gmail.com>
2022-03-25 13:14:52 +08:00
Andelf
76982e61a7 fix(deps): warning of missing sourcemaps 2022-03-24 15:44:32 +08:00
Andelf
015a2edf6b chore: bump version 0.6.5 2022-03-24 14:03:51 +08:00
Andelf
e19f574f4f chore: bump version 0.6.4 2022-03-19 19:14:02 +08:00
Tienson Qin
8454ec1ee5 fix: sentry
close #4613
2022-03-18 16:44:03 +08:00
Andelf
b1aa906e89 chore: bump version 0.6.3 2022-03-11 00:13:59 +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
Andelf
10c1b2c427 chore: bump version 0.6.2 2022-03-08 20:16:26 +08:00
Tienson Qin
8e6fb5613d enhance: backup files when there're differences between db and disk
Previously, files are backuped to logseq/bak when logseq detects
there're differences between the db and disk. But it has two problems:

1. Only a few of users know `logseq/bak`, other users think that their
data has been lost.
2. Files in the logseq/bak folder are never truncated.

This PR backups old file in DB with timestamp suffixes instead of
logesq/bak, and only keep the latest 10 versions of any changed file.
2022-03-08 12:58:59 +08:00
Charlie
779cacf715 enhance(electron): add custom https proxy options for settings (#4373)
* enhance(electron): add custom https proxy options for settings
2022-03-01 17:07:13 +08:00
Tienson Qin
8846be9d5f chore: bump version 2022-02-20 01:57:57 +08:00
charlie
e6c1fc2b3d enhance(ui): rename of page when ESC event 2022-02-19 17:43:36 +08:00
Andelf
d22df2b922 fix(electron): rewrite electron-context-menu
Fix #4274
2022-02-19 17:39:51 +08:00
Andelf
8ef3b8cb05 chore: bump version 0.6.0 2022-02-18 22:01:25 +08:00
Andelf
f1e59e69fd chore(dev): rm unused js 2022-02-18 18:48:46 +08:00
Andelf
54215ef196 refactor(draw): handle static assets from node_modules 2022-02-18 17:55:50 +08:00
charlie
21ce5dae99 chore: bump minor version of libs package 2022-02-17 22:18:54 +08:00
Charlie
24b0236b7d Enhance/Settings UI of plugins (#4035)
more settings types & polish releated ui
2022-02-17 10:00:53 +08:00
Andelf
f4f215b3cf fix(deps): missing electron-context-menu in final build 2022-02-17 09:55:51 +08:00
Andelf
80fb613e8a chore: bump version 0.5.9 2022-01-20 21:28:44 +08:00
clark-cui
1abbefbe4b enhance(marketplace): ui position 2022-01-16 12:46:53 +08:00
Andelf
2c18a651f1 fix(deps): bad colors.js (#3831) 2022-01-09 16:55:26 +08:00
Charlie
3ea7635daa Enhance/marketplace (#3686)
Marketplace enhancement

Nested modal support
2022-01-07 19:00:35 +08:00
charlie
3a04cf859a fix(ui): fixed new page button relative to left sidebar container 2022-01-06 21:08:42 +08:00
Andelf
8f73d27eda fix(ui): missing padding in mark element
Revert #3660
Fix #3775
2022-01-06 18:47:35 +08:00
Andelf
c292f6fb96 chore: bump version 0.5.8 2022-01-06 13:43:05 +08:00