Commit Graph

454 Commits (004e567fb5217510b2910bb7ba416c0a94db3c14)

Author SHA1 Message Date
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
Peng Xiao 17b5cdb9e8
feat: add a secret global flag to load graph progammtically (#3531)
* feat: add a secret global flag to load graph from a user defined dir

* fix: use LOGSEQ_OVERWRITE_OPEN_DIR env var to overwrite the openning graph dir

* e2e: add a test for load & check saved graph data

* fix: should also pass in process.env for testing fixtures

* feat: new way to set open dir folder

* fix: e2e

* fix: remove playwright global flag check

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-01-05 21:05:05 +08:00
YangKeao 0a57b739eb chore: build libs core
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
2021-12-31 10:51:35 +08:00
Tienson Qin 5bd9a106e3 chore: bump to 0.5.7 2021-12-30 00:30:53 +08:00
Stian Haklev 3cf1c85189 Removing padding on mark 2021-12-29 20:27:18 +08:00
Andelf 3c6ef2c182 chore: bump version 0.5.6 2021-12-29 18:09:34 +08:00
Tienson Qin 8d605afa9f feat: add {{namespace [[page]]}} macro which can be used as a toc 2021-12-28 16:14:23 +08:00
Andelf d95be218e8 chore: bump version 0.5.5 2021-12-25 22:42:21 +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
Andelf 4575d6648e chore: add license field to package.json 2021-12-21 12:36:24 +08:00
charlie 746f2aa71f chore: build libs core 2021-12-16 19:23:43 +08:00
Tienson Qin 3aadda4303 fix: downgrade electron to v15
related to #3421
2021-12-16 00:23:23 +08:00
Tienson Qin 338f10eaef debug: downgrade electron version to test cpu usage on Linux 2021-12-15 11:24:18 +08:00
Tienson Qin d7b1ce51e3 chore: bump version 2021-12-14 15:25:49 +08:00
Tienson Qin 8bbca5d2ed chore: bump version 2021-12-12 16:49:01 +08:00
Tienson Qin 353ff34920 fix: remove block-control style tweak for mobile 2021-12-10 22:56:28 +08:00
Tienson Qin cf795aeaef fix: add apple asc provider 2021-12-08 22:40:39 +08:00
Tienson Qin 52c109f4e9 chore: bump version 2021-12-08 21:27:13 +08:00
Charlie c63f1f0d15
Enhance/left sidebar responsive (#3376)
* improve(ui): [WIP] refactor left sidebar component

* improve(ui): [WIP] refactor left sidebar component

* improve(ui): polish left sidebar for mobile

* improve(ui): polish left sidebar for mobile native

* fix: unnecessary stateful component

* improve(ui): tweak padding inner left sidebar

* fix(tests): update tests

* fix(ui): close left sidebar when create page on sm breakpoint

* improve(ui): tweak `--ls-left-sidebar-sm-width` to 70%

* fix(ui): overlap between left sidebar and toolbar right area on mobile
2021-12-08 21:13:57 +08:00
Charlie 9029c632ef
Enhance/plugin apis (#3355)
* improve(plugin): support autoFocus option for main ui frame

* improve(plugin): make single selected block as current block

* improve(api): get selected blocks

* improve(plugin): support call built-in command from api

* fix(plugin): sanitize key of shortcut id

* improve(plugin): add invoke built-in command api &

* fix(editor): overwritten class of collapsed block

* improve(plugin): add `getStateFromStore` api

* chore: build libs core

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-12-08 10:43:58 +08:00
Tienson Qin d9452bd739
enhance(mobile): fixed position of head-bar & mobile-bar (#3360)
enhance(mobile): fixed position of head-bar & mobile-bar
Co-authored-by: charlie <xyhp915@qq.com>
2021-12-07 13:40:47 +08:00
Tienson Qin 1539e0e806 fix: block ref style 2021-12-05 22:25:57 +08:00
Tienson Qin d7c4392ecb perf: reduce start time from minutes to seconds for large graphs 2021-12-05 22:18:19 +08:00
leizhe 49b93ae378 Merge branch 'mobile' of github.com:logseq/logseq into mobile 2021-12-01 14:07:13 +08:00
leizhe 885ef0bcd1 enhance(mobile): less left/right spaces in Reference 2021-12-01 14:04:37 +08:00
Tienson Qin 2cb001b22d mobile: replace splash screen 2021-12-01 14:01:37 +08:00
charlie 0d16b12885 Merge branch 'master' into mobile 2021-11-25 15:58:01 +08:00
Tienson Qin 5b2ae552ae chore: bump version 2021-11-25 15:20:12 +08:00
charlie 662460ffb8 fix(ui): font style of native android platform 2021-11-24 14:41:16 +08:00
Tienson Qin 1642a68892 chore: remove certificatefile and password 2021-11-24 14:25:42 +08:00
Tienson Qin c4abb02539 fix: add windows cert 2021-11-24 11:40:31 +08:00
charlie 35c785c3be chore(plugin): rebuild core 2021-11-24 11:38:06 +08:00