Commit Graph

9417 Commits (ba2b5e09a826d92762704174fe43bc870069e34f)

Author SHA1 Message Date
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
Andelf c837afd075 ci: ignore stderr for bb lint tasks 2022-10-10 13:14:50 +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
Andelf df15c68f16 ci(ios): add ios build ci 2022-10-08 20:29:03 +08:00
Andelf 6e2292e40a fix(build): rm old pod spec 2022-10-08 20:29:03 +08:00
Tienson Qin bc568f6d5b
Merge pull request #5341 from logseq/whiteboards
feat: whiteboards support
2022-10-08 20:24:48 +08:00
Peng Xiao cffc30a076 fix: icon styles 2022-10-08 18:20:25 +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
Peng Xiao 68084bbf0b fix: html shape display issue 2022-10-08 17:00:36 +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 b864b88907 chore: remove false commit 2022-10-08 10:12:22 +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 fea248a03c fix(whiteboard): clearing state when exiting editing state 2022-10-07 20:18:11 +08:00
Peng Xiao 2ade3d326d fix(whiteboard): an issue on clicking logseq search items 2022-10-07 18:47:30 +08:00
Peng Xiao 9608910055 fix(whiteboard): allows pasting HTML content with format 2022-10-07 18:39:46 +08:00
Peng Xiao 66470437ae chore(tldraw): using https for local dev 2022-10-07 18:39:11 +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
Peng Xiao e975974638
Merge pull request #6894 from logseq/enhance/activation-settings 2022-10-05 19:12:35 +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
Patrick Moriarty 3bf9e1a262 iOS: Continue recording audio when phone sleeps (Fixes #6407) 2022-10-04 12:17:06 +08:00
Konstantinos Kaloutas 198aab7888 feat: add login button to alpha features 2022-10-03 18:03:03 +03:00
Andelf 96fc757793 fix(windows): update rsapi, use static link 2022-10-02 19:27:14 +08:00
Andelf af5bc77f95 Revert "fix(build): windows7 compatibility"
This reverts commit cef186132d.
2022-10-02 13:57:28 +08:00
Peng Xiao e8e80ed2aa fix: e2e 2022-10-02 13:19:49 +08:00
Peng Xiao a4417c5f1a Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-02 12:36:45 +08:00
Andelf cef186132d fix(build): windows7 compatibility 2022-10-01 23:45:12 +08:00