Commit Graph

166 Commits

Author SHA1 Message Date
Junyi Du
160793e0d1 fix: some date related issues 2022-11-11 17:32:44 +08:00
Tienson Qin
393b16648d enhance: add "what's new?" link near to the latest version 2022-11-10 22:12:15 +08:00
situ2001
1a216aa1aa feat(paste): toggle between pasting text or file when they both exist (#7198)
* feat(paste): toggle between pasting text or file when they both exist
2022-11-09 11:15:41 +08:00
Tienson Qin
2dfac3d774 deprecate: on-disk encryption
Why?
1. there're still a lot issues on it and there's no resource to
maintain and develop it considering we need to support it on all the
platforms.
2. it creates more bugs with Logseq Sync.
2022-11-07 10:46:17 +08:00
Tienson Qin
504e7a156e enhance: enable sync for backers automatically 2022-11-06 23:37:46 +08:00
Tienson Qin
148f6aa62e enhance: blog article 2022-11-03 19:19:22 +08:00
Tienson Qin
55d211319c enhance: add blog title 2022-11-03 17:53:05 +08:00
Tienson Qin
8aa5bd1e89 Add blog post hint on how to setup and use logseq sync 2022-11-03 15:24:21 +08:00
Tienson Qin
1a0012974f Move sync to close beta 2022-10-28 17:22:16 +08: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
Tienson Qin
3e06beb23e fix: lint warnings 2022-10-10 17:04:59 +08:00
Tienson Qin
adb4d84e31 fix: disable assets alias temporally 2022-10-09 23:43:09 +08:00
Charlie
d53ac94bfc Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +08:00
Peng Xiao
cca1d35510 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-08 17:26:45 +08:00
Junyi Du
0e4037ab61 Feat: new file name escaping rules (#6134)
* feat: new file name escaping for namespace

feat: new file name decoding back to page name

* test: file name sanitization

feat: use _0x to encode %

feat: don't create title property

test: extra URL encoding for escaped file names

fix: fit pdf prefix into new file name rules

fix: encoding rules on some characters

fix: handle the buggy file names imported by users

fix: pdf block ref failed to jump

fix: #6167

* fix: enhance backward compatibility

chore: title validation

test: fix namespace queries test

chore: use index version stored in config.edn instead of search.versions

* feat: convert old version graph mechanism

ui: file conversion UI

feat: rename files for conversion

feat: don't trigger conversion when title property is manually edited

fix: file conflict notification while renaming files on some OS

feat: re-index on update version

feat: clicking NO in the re-index dialog would update the index-ver flag to suppress the dialog

feat: use html entities for reserved char escaping

dev: remove unresolved vars & minor refactor

chore: move file name sanity from gp-util to fs-util, as it's for encoding only but not parsing

test: update file name tests to html entities rule

test: convert files from dir ver 3 for repo_tests

feat: convert Windows reserved file names

fix: save index version into idb instead of file

fix: decode uri of path while parsing files on mobile

fix: couple dir version and index version to ensure only re-index on converted dirs

feat: go back to url-encode for special chars

* chore: fix lint

chore: improve codebase to address Gabriel's comments

fix: remove file remnants on add conflict

fix: remove file remnants on rename conflict

chore: add test ns to nbb runner

Also fix typoed fn and remove unused code

* fix: issues of rebase PR6134 to master after file-sync merged

* feat: switchable filename format

* fix: use  go block to replace promesa for rename all with blocking

* feat: re-index after apply rename all

* ui: file conversion enhancement

* fix: merging filename format PR with master

* fix: filename format lint & CI

* ui: filename format flow

* fix: error handling on the rare internal file path confliction case

* chore: shorten component code for files-breaking-changed

* chore: fix CI

* Minor fixes per latest code review

- Remove unused page-name-order
- Update catch usage to be consistent with what's on master
- Place state fn in right place
- Wording fixes:
  - select and apply -> manual. There are no checkboxes for the user
  - Update -> Edit. We use edit for all other settings button
  - Alternatives to starting sentences with May. Not a common way to
    start a sentence
  - update outdated template comment

* ux: rename instruction update

* ux: rename instruction update (2)

* Tweak wording of conversion modal

Simplifed first paragraph and explained the page to the user in first
sentence, may isn't a common way to start sentences and updated outdated
wording

* Fix large-var warning by splitting out a piece of component

* fix: right slash on Windows; legacy format file sanitization

* fix: triple lowbar renaming fns

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-10-08 15:47:45 +08:00
Konstantinos Kaloutas
cbd6b54414 refactor: add icon support to button component 2022-10-05 12:25:48 +03:00
Konstantinos Kaloutas
61d57f7921 fix: signed out styles 2022-10-04 19:37:37 +03:00
Konstantinos Kaloutas
187ffb7ff7 chore: handle signed in state 2022-10-04 19:23:16 +03:00
Konstantinos Kaloutas
198aab7888 feat: add login button to alpha features 2022-10-03 18:03:03 +03:00
Peng Xiao
fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00
charlie
dad5bc3609 improve(ui): polish built-in icon 2022-09-21 14:49:20 +08:00
charlie
f8cc6378c3 improve(ui): update built-in icon mode 2022-09-21 14:49:20 +08:00
Peng Xiao
564e2fe1b4 fix: lint issues 2022-09-17 22:53:08 +08:00
Peng Xiao
0156eb0414 fix: only enable whiteboard for alpha testers 2022-09-10 02:05:37 +08:00
Peng Xiao
4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Gabriel Horner
b1d210d26b Merge configs and create global config file if not present
- Cleanup repo and global config with system components
- test merging
- fix edge cases
2022-09-08 12:34:27 +08:00
Gabriel Horner
095a4ef1cd Save global config edits
Also alert user if write fails
2022-09-08 12:34:27 +08:00
Gabriel Horner
9c0bb02dcd Can access read global config file from UI
Only for reload case
2022-09-08 12:34:27 +08:00
Andelf
dd2adac2b1 refactor(electron): use electron-log, add auto update for windows 2022-09-07 11:43:54 +08:00
Peng Xiao
9904133988 fix: move whiteboards feature settings to feature catalog 2022-09-01 10:39:21 +08:00
Peng Xiao
33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +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
Peng Xiao
92286819ed Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-17 01:01:56 +08:00
yoyurec
722d858158 feat(settings): add plugin pid to buttons and panel 2022-08-16 15:40:40 +08:00
Peng Xiao
035b96e70a feat: add whiteboard toggle 2022-08-02 10:55:19 +08:00
Andelf
fb92e64967 refactor(build): use env flags to control feature gate 2022-06-28 15:46:12 +08:00
Tienson Qin
1857f884d2 feat: toggle displaying flashcards 2022-06-09 17:35:04 +08:00
Alex
b08de902a5 Enhance: Use separate export.css instead of custom.css for export (#5303)
* Use separate export.css instead of custom.css for export

* use export.css if exists, otherwise custom.css

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-05-30 10:39:14 -04:00
llcc
407325ecc2 Merge branch 'master' into disable-webview-resize 2022-05-12 09:53:30 +08:00
charlie
8fcf5b5d60 enhance(ui): show network proxy hints on plugins page if it's settled 2022-05-12 08:26:22 +08:00
llcc
edf4943298 Merge branch 'master' into disable-webview-resize 2022-05-10 17:12:14 +08:00
Tienson Qin
9045e3dd74 enhance: ask encryption password if user enabled the encryption feature 2022-05-09 22:15:30 +08:00
Tienson Qin
83569141fc feat: add encryption back 2022-05-09 22:15:30 +08:00
llcc
9e568c8016 enhance(iOS): disable webview resize 2022-04-29 11:19:44 +08:00
Tienson Qin
b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
Tienson Qin
403bb10b14 Fix: creating new pages from bracketing text is broken #4971
close #4971
2022-04-23 06:50:22 +08:00
llcc
631f374ae5 display version info on mobile 2022-04-21 08:38:33 +08:00
Andelf
e004576fce style(settings): line-space of general/journals 2022-04-16 00:40:48 +08:00
Andelf
dbd8e1e9ee fix(ui): warn about illegal git commit interval 2022-04-15 21:27:33 +08:00
rcmerci
93be69da0f chore(sync): remove commented out code 2022-04-04 22:31:34 +08:00