Commit Graph

6542 Commits

Author SHA1 Message Date
Peng Xiao
d172c4cce3 fix: remove debug log 2022-10-10 22:09:43 +08:00
Peng Xiao
a06cb23c7f fix(whiteboard): fallback codemirror to hljs in whiteboard 2022-10-10 22:09:43 +08:00
Peng Xiao
46d873b61d fix(whiteboard): another possible issue of missing uuid 2022-10-10 22:09:43 +08:00
Peng Xiao
df67c68005 fix(whiteboard): shape block-ref display issue 2022-10-10 22:09:43 +08:00
charlie
efbd8d0027 fix(plugin): enter to break line not work for textarea settings item 2022-10-10 18:09:16 +08:00
charlie
766f0e56ce improve(ui): alignment of toggle right sidebar icon 2022-10-10 18:08:48 +08:00
Tienson Qin
7d3ed2bc97 Style tweaks 2022-10-10 18:08:48 +08:00
Tienson Qin
3e06beb23e fix: lint warnings 2022-10-10 17:04:59 +08:00
Tienson Qin
1b6060b4f4 fix: enable whiteboards on mobile (iOS/Android/Pad) 2022-10-10 14:00:05 +08:00
Konstantinos Kaloutas
d70c291d8e refactor: hiccup to html 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
60790763dd fix: remove attributes and protocols 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
c5ebca26b6 fix: hiccup to string 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
604dd20d33 fix: inline hiccup 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
a36f56c8df chore: add tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
f18cc5c6fb chore: remove redundant functions 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
56584121e6 chore: add sanitization options 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
f70d4c6bac fix: sanitize html 2022-10-10 13:42:22 +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
Andelf
ad4fec8ce7 enhance(ios): add sync progress 2022-10-09 19:36:05 +08:00
rcmerci
bc89d60664 fix: refresh tokens when almost-expired-or-expired 2022-10-08 20:49:40 +08:00
Peng Xiao
1588cf9bd4 fix: merge issues 2022-10-08 17:27:19 +08:00
Peng Xiao
cca1d35510 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-08 17:26:45 +08:00
Tienson Qin
8ec98c0a68 instrument: db persist failed 2022-10-08 15:52:24 +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
Peng Xiao
316be7e260 fix(whiteboard): deleting the last block in a logseq portal block shape 2022-10-07 20:46:56 +08:00
Peng Xiao
c7fe4933b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-07 16:18:27 +08:00
Tienson Qin
91dddd7541 Fix: stuck re-index when there're multiple whiteboards have the same UUID (#6890)
* fix: keep parsing even if some whiteboards can't be transacted

* enhance: notice parse errors

* enhance: instrument parse-and-load-error

* chore: add tests for whiteboards parsing and loading
2022-10-07 12:04:43 +08:00
Konstantinos
6007d6061f Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +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
4a1d840fed Merge branch 'enhance/activation-settings' of github.com:logseq/logseq into enhance/activation-settings 2022-10-04 19:26:21 +03:00
Konstantinos Kaloutas
187ffb7ff7 chore: handle signed in state 2022-10-04 19:23:16 +03:00
Konstantinos Kaloutas
35763e75ce fix: reset width on resize 2022-10-04 22:37:06 +08:00
Konstantinos Kaloutas
b270ed4a9d chore: remove empty line 2022-10-04 22:37:06 +08:00
Konstantinos Kaloutas
107af5da30 fix: update component on main node resize 2022-10-04 22:37:06 +08:00
Konstantinos Kaloutas
306ec17ebd chore: remove unneeded file extension 2022-10-04 22:37:06 +08:00
Konstantinos Kaloutas
42f2910a0e chore: upgrade excalidraw 2022-10-04 22:37:06 +08:00
Konstantinos Kaloutas
5a3911db9a fix: icon size on command panel 2022-10-04 16:26:03 +03:00
Andelf
c4d09e58ba fix(mobile): use .m4a for mobile audio record 2022-10-04 20:46:44 +08:00
Tienson Qin
3a1607718d fix: remove # doesn't remove the heading property 2022-10-04 12:47:09 +08:00
Tienson Qin
f4262cf919 Enhance/api storages for graph assets (#6488)
* improve(api): assets storage for plugin

Co-authored-by: charlie <xyhp915@qq.com>
2022-10-04 12:30:19 +08:00
Konstantinos Kaloutas
198aab7888 feat: add login button to alpha features 2022-10-03 18:03:03 +03:00
Peng Xiao
a4417c5f1a Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-02 12:36:45 +08:00
Andelf
0de13bf553 chore: bump version 0.8.8 2022-09-30 18:49:16 +08:00
Peng Xiao
a5aeabea68 Merge pull request #6850 from logseq/enhance/whiteboards-ux 2022-09-30 17:56:34 +08:00
Tienson Qin
18297c224f Merge branch 'master' into whiteboards 2022-09-30 17:38:18 +08:00
Tienson Qin
b6c0198f87 fix: lint warning 2022-09-30 17:33:32 +08:00
Tienson Qin
5f8d8e832c chore: remove unused *sync-starting? 2022-09-30 17:33:32 +08:00
rcmerci
fd91db1449 fix(sync): remove sync-stop in sync-start 2022-09-30 17:33:32 +08:00