Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 0f6266e
Author: Andelf <[email protected]>
Date:   Tue Sep 12 23:23:30 2023 +0800

    chore(electron): use logger instead of console.log

commit 2029ffa
Author: WsinGithub <[email protected]>
Date:   Tue Sep 12 22:50:14 2023 +0800

    Disable autoplay in Bilibili video links

    fix logseq#8650

commit f2b6c01
Author: Andelf <[email protected]>
Date:   Tue Sep 12 22:24:54 2023 +0800

    chore: bump ios version 0.9.18 for tf release

commit c3836a7
Author: Jeffrey 'jf' Lim <[email protected]>
Date:   Tue Sep 12 18:54:43 2023 +0800

    youtube.cljs: allow for single-digit minutes and seconds in youtube-timestamp (addresses logseq#9920) (logseq#9930)

    * youtube.cljs: allow for single-digit minutes and seconds in youtube-timestamp (addresses logseq#9920)

    * youtube.cljs: parse "<number>:<number>" as MM:SS to be consistent with the UI display

    *NOTE that with this commit, we essentially pass util/safe-parse-int a
    value we do not say it can take (although it works): nil. This will be
    fixed in a subsequent commit.

    * youtube.cljs: remove unreachable branches from cond in parse-timestamp

    * frontend/util.cljc: update safe-parse-int to accept nil as well. TODO:
    need help fixing malli schema!

    * fix: parse timestamp

    ---------

    Co-authored-by: charlie <[email protected]>

commit a7dc7c4
Author: Andelf <[email protected]>
Date:   Tue Sep 12 13:31:21 2023 +0800

    chore: update static/yarn.lock

commit 6909768
Author: Andelf <[email protected]>
Date:   Tue Sep 12 10:51:53 2023 +0800

    enhance(electron): support socks5 proxy

commit a6d9cd8
Author: Konstantinos <[email protected]>
Date:   Tue Sep 12 11:05:49 2023 +0300

    Enhance (UX): Electron loading (fixed) (logseq#10201)

    * run use-effect once

commit b92d01d
Author: hasecilu <[email protected]>
Date:   Mon Sep 11 09:14:31 2023 -0600

    i18n: Update Spanish translations.

commit fa53fe2
Author: queeup <[email protected]>
Date:   Sat Sep 9 00:01:02 2023 +0300

    enhance(i18n): update Turkish translation

commit 0cef911
Author: rcmerci <[email protected]>
Date:   Thu Sep 7 21:16:03 2023 +0800

    remove redundant codes

commit c346116
Author: Andelf <[email protected]>
Date:   Thu Sep 7 20:34:45 2023 +0800

    refactor(sync): start-sync loop

commit 0e4e42a
Author: Andelf <[email protected]>
Date:   Thu Sep 7 20:06:52 2023 +0800

    fix(sync): check user refresh-token as well

commit 70cb124
Author: Andelf <[email protected]>
Date:   Thu Sep 7 17:27:52 2023 +0800

    fix(sync): avoid check connectivity for non-sync graph

    Close logseq#10169

commit f786b64
Author: rcmerci <[email protected]>
Date:   Thu Sep 7 11:55:46 2023 +0800

    add timestamp to log

commit b17cf11
Author: charlie <[email protected]>
Date:   Thu Sep 7 15:19:35 2023 +0800

    enhance(dev): better logs

commit 645a8d3
Author: Andelf <[email protected]>
Date:   Thu Sep 7 10:35:30 2023 +0800

    chore: bump version 0.9.17

commit 390a7f6
Author: Andelf <[email protected]>
Date:   Thu Sep 7 10:35:15 2023 +0800

    chore(scripts): use prerelease style alpha version num

commit 9e2fe79
Author: Andelf <[email protected]>
Date:   Thu Sep 7 11:36:53 2023 +0800

    Revert "Enhance (UX): Electron loading (logseq#10049)" (logseq#10165)

    This reverts commit 12642f5.

commit 850bc1a
Author: Andelf <[email protected]>
Date:   Thu Sep 7 11:33:42 2023 +0800

    fix(sync): missing cross-origin handling for conn check (logseq#10163)

commit e043a2c
Author: Andelf <[email protected]>
Date:   Wed Sep 6 22:52:25 2023 +0800

    chore(release): bump version 0.9.16 (logseq#10149)

commit b678a80
Author: Konstantinos <[email protected]>
Date:   Wed Sep 6 17:51:44 2023 +0300

    fix: close button visibility (logseq#10145)

commit 331afbc
Author: Charlie <[email protected]>
Date:   Wed Sep 6 22:49:18 2023 +0800

    Enhance/plugins apis (logseq#10127)

    * enhance(api): add page to recent for route api

    * enhance(api): support open block in right sidebar with entity id

commit 12642f5
Author: Konstantinos <[email protected]>
Date:   Wed Sep 6 10:34:52 2023 +0300

    Enhance (UX): Electron loading (logseq#10049)

    * hide window until theme is loaded

    * show window on db-restored

    * move manage call to handle maximized state

    * hook on theme load

commit a6ace12
Author: charlie <[email protected]>
Date:   Wed Sep 6 14:28:48 2023 +0800

    fix: lint

commit e0543eb
Author: charlie <[email protected]>
Date:   Wed Sep 6 13:48:41 2023 +0800

    enhance(ui): remove legacy shortcuts entry from the general settings

commit cd24919
Author: Andelf <[email protected]>
Date:   Wed Sep 6 00:18:34 2023 +0800

    enhance(sync): refine network checking (logseq#10147)

commit 4b60ed2
Author: bluemeda <[email protected]>
Date:   Tue Sep 5 19:54:11 2023 +0700

    add some Indonesian terms to allowed-duplicates

commit fe495f0
Author: bluemeda <[email protected]>
Date:   Tue Sep 5 14:24:59 2023 +0700

    add translation `id`

commit 52134b3
Author: omahs <[email protected]>
Date:   Tue Sep 5 05:23:21 2023 +0200

    fix(docs): typos (logseq#10143)

commit 5058f59
Author: Andelf <[email protected]>
Date:   Mon Sep 4 12:59:32 2023 +0800

    enhance(fs): check graph folder for bad name and nested graph

commit 2d34af9
Author: rcmerci <[email protected]>
Date:   Mon Sep 4 17:27:51 2023 +0800

    Enhance(sync): serveral enhancements in sync (logseq#10134)

    * enhance(sync): 1. dont clear-tokens when refresh-token failed

    2. log invalid json when fail to parse api json body,
       usually, it's returned by firewall (e.g. a XML)
    3. handle exceptions carefully in frontend.fs.sync

    * enhance(sync): update avoid reentrancy related code

    * rename exp to guard-ex

commit 98bff93
Author: rcmerci <[email protected]>
Date:   Thu Aug 31 12:20:53 2023 +0800

    enhance(sync): add connectivity-testing (logseq#10112)

    * enhance(sync): add connectivity-testing

    * update connectivity-testing s3 url

commit 92ad2e4
Author: Konstantinos Kaloutas <[email protected]>
Date:   Tue Aug 29 12:45:41 2023 +0300

    move filter rule to pdf page

commit 2eaa116
Author: charlie <[email protected]>
Date:   Wed Aug 30 12:07:53 2023 +0800

    enhance(plugin): better log for beforeunload hook on user side

commit bba8aa5
Author: Allan Chain <[email protected]>
Date:   Mon Aug 28 17:50:09 2023 +0800

    fix: reject promise on child error

    So that the we won't await infinitely.

    Fixes logseq#10107

commit 474360f
Author: Allan Chain <[email protected]>
Date:   Mon Aug 28 15:08:03 2023 +0800

    fix: input-selection-end is not firing correctly

    Fixes logseq#10106

commit 5e1117e
Author: Leonardo Salgueiro <[email protected]>
Date:   Tue Aug 29 23:15:45 2023 -0700

    fix(bug): logseq#4447 (logseq#10111)

    * actually using result from deepMerge when updating settings
    * replacing merge from lodash with merge from deepmerge

    ---------

    Co-authored-by: Tienson Qin <[email protected]>

commit 10caacd
Author: Charlie <[email protected]>
Date:   Wed Aug 30 14:14:29 2023 +0800

    fix(ux): make linked references filters reactive when the page properties changed (logseq#9638)

    * enhance(ux): reactive page properties for the linked references filters

commit 7de9284
Author: djm2k <[email protected]>
Date:   Tue Aug 22 11:25:28 2023 +1000

    Update develop-logseq-on-windows.md

commit 6d6da20
Author: Charlie <[email protected]>
Date:   Tue Aug 29 19:33:48 2023 +0800

    Enhance/shortcuts (logseq#9803)

    * refactor(shortcuts): simplify to build handler category map

    * fix(shortcuts): redundant re-mount for the pdf shortcuts

    * refactor(shortcuts): simplify names

    * refactor(shortcuts): simplify user keynames

    * fix(shortcuts): persist inited state for dev mode

    * refactor(shortcuts): simplify handlers installation

    * refactor(shortcuts): optimize shortcuts mixin

    * fix: incorrect function ref

    * refactor(shortcuts): shortcuts mixin

    * fix(shortcuts): incorrect initialization for the pdf shortcut handler

    * refactor(shortcuts): optimize binding keys map

    * refactor(shortcuts): optimize shortcuts conflicts detection

    * refactor(shortcuts): optimize binding ids map

    * refactor(shortcuts): WIP the new keymap page

    * refactor(shortcuts): WIP the new keymap related components

    * feat(shortcuts): WIP fuzzy search for the shortcuts

    * refactor(shortcuts): WIP the new keymap related components

    * feat(shortcuts): WIP the new shorcuts record component

    * feat(shortcuts): WIP the new shorcuts record component

    * feat(shortcuts): WIP check shortcut conflicts component

    * feat(shortcuts): WIP the new shorcuts record component

    * refactor(shortcuts): WIP persist user shortcuts

    * fix(shortcuts): detection for the conflicts

    * feat(shortcuts): WIP detection for the conflicts

    * feat(shortcuts): WIP persist user shortcuts

    * refactor(shortcuts): add unit tests

    * enhance(ux): search pane for the shortcuts

    * feat(shortcuts): remove the existent shortcut item

    * feat(shortcuts): fold/unfold categories

    * feat(shortcuts): add shortcuts filters

    * enhance(shortcuts): resove binding map description

    * enhance(shortcuts): reactive category shortcuts

    * enhance(shortcuts): register api for plugins

    * feat(shortcuts): add keyboard shortcuts filters

    * feat(shortcuts): impl keyboard shortcuts filters

    * enhance(shortcuts): leader keys for the shortcut conflicts detection

    * enhance(tests): leader keys conflicts for the shortucts

    * enhance(shortcuts): parse conflicts from current binding list

    * enhance(ui): polish the component of the restore shortcut action

    * enhance(shortcuts): get conflicts with specific handler id

    * enhance(shortcuts): polish the confilts component

    * enhance(shortcuts): polish keymap conflicts component

    * enhance(shortcuts): ux for handling shorcuts conflicts

    * enhance(ui): polish notifications cp

    * fix(shortcuts): remove reduplicate shortcuts for category

    * enhance(shortcuts): polish ux for handling shorcuts conflicts

    * chore(plugin): build libs core

    * enhance(plugin): support shortcut command lifecycle hooks

    * enhance(plugin): support shortcut command lifecycle hooks

    * chore(plugin): build libs core

    * enhance(shortcuts): support shortcuts saved to global config

    * enhance(shortcuts): support shortcuts be saved to global config

    * feat(shortcuts): support keymap manager to global settings

    * enhance(shortcuts): shortcut to open keymap settings

    * fix(units): tests

    * fix: lints

    * enhance(shortcuts): unlisten all shortcuts

    * fix: lints

    * fix: lints

    * fix(units): tests

    * fix(units): tests

    * fix(units): tests

    * enhance(shortcuts): unlisten/listen all shortcuts

    * enhance(shortcuts): polish conflicts component

    * fix(ui): modal size

    * fix(ui): modal panel container

    * enhance(shortcuts): i18n

    * enhance(ui): layout of the shortcuts recorder component

    * fix(lint): i18n

    * enhance(ui): keyboard icon for the keymap settings tab

    * fix(shortcuts): incorrect filters for the collaspsed shortcuts

    * enhance(ui): polish details for the keymap settings

    * enhance(ui): polish details for the keymap settings

    * fix(shortcuts): get shortcut description error when the associated handler-id not exist

    * fix(ui): the shortcut disabled label overlaps with section headers.

    * refactor(shortcuts): names

    * enhance(ui): filter icons

commit 99865a5
Author: Konstantinos Kaloutas <[email protected]>
Date:   Mon Aug 28 16:42:12 2023 +0300

    fix: excalidraw focus

commit 9c97bad
Author: Konstantinos Kaloutas <[email protected]>
Date:   Tue Aug 29 09:31:45 2023 +0300

    remove viewer duplicated css

commit 7a53eaa
Author: Konstantinos Kaloutas <[email protected]>
Date:   Mon Aug 28 14:03:50 2023 +0300

    add pdfjs styles

commit 361d08d
Author: Konstantinos Kaloutas <[email protected]>
Date:   Fri Aug 25 16:09:09 2023 +0300

    keep the default submenu on mac

commit 2173d5a
Author: Konstantinos Kaloutas <[email protected]>
Date:   Thu Aug 24 16:42:19 2023 +0300

    disable close window shortcut logseq#3967

commit e41c673
Author: Konstantinos Kaloutas <[email protected]>
Date:   Fri Aug 25 17:08:53 2023 +0300

    update: static yarn.lock

commit e9798b3
Author: SPQV MF <[email protected]>
Date:   Tue Aug 22 19:01:35 2023 +0800

    fix: remove `word-spacing` css rule, so inline code are actually monospace

commit 6df4a30
Author: Andelf <[email protected]>
Date:   Fri Aug 25 14:08:54 2023 +0800

    fix(ios): crash caused by capacitor saved call

commit 1147bb5
Author: Andelf <[email protected]>
Date:   Fri Aug 25 05:21:04 2023 +0800

    chore(ios): bump version

commit 9c99c6d
Author: Konstantinos Kaloutas <[email protected]>
Date:   Thu Aug 24 11:42:04 2023 +0300

    fix (pdf): copy keyboard shortcut

commit 4876a78
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Aug 24 11:01:27 2023 +0000

    chore(deps): bump semver from 7.3.5 to 7.5.2 in /resources

    Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.2.
    - [Release notes](https://github.com/npm/node-semver/releases)
    - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
    - [Commits](npm/node-semver@v7.3.5...v7.5.2)

    ---
    updated-dependencies:
    - dependency-name: semver
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 4cb23ab
Author: Zhizhen He <[email protected]>
Date:   Thu Aug 24 13:23:11 2023 +0800

    ci: upgrade typos to 1.16.8

commit 73b92a8
Author: Andelf <[email protected]>
Date:   Thu Aug 24 18:59:34 2023 +0800

    chore(deps): update capacitor-file-sync, use async tasks for ios

commit ebc8e81
Author: Andelf <[email protected]>
Date:   Thu Aug 24 16:13:39 2023 +0800

    refacotr(editor): reorder create-today-journal condition, avoid file reading

commit 97a2027
Author: Andelf <[email protected]>
Date:   Thu Aug 24 16:01:21 2023 +0800

    fix(capacitor): avoid reading out all version files when backup

commit 4dd753d
Author: Andelf <[email protected]>
Date:   Thu Aug 24 01:26:47 2023 +0800

    refactor(ios): refine ios initial appOpenUrl handling using preinit-homepage

commit 74eea4b
Author: Andelf <[email protected]>
Date:   Thu Aug 24 01:25:20 2023 +0800

    dev(ios): enable capacitor logging only when debug

commit 785d876
Author: Andelf <[email protected]>
Date:   Thu Aug 24 01:24:51 2023 +0800

    chore(deps): update capacitor-diff-merge; fix ios download progress

commit 481aa57
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Aug 22 14:07:33 2023 +0000

    chore(deps): bump @excalidraw/excalidraw from 0.12.0 to 0.15.3

    Bumps [@excalidraw/excalidraw](https://github.com/excalidraw/excalidraw) from 0.12.0 to 0.15.3.
    - [Release notes](https://github.com/excalidraw/excalidraw/releases)
    - [Changelog](https://github.com/excalidraw/excalidraw/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/excalidraw/excalidraw/commits)

    ---
    updated-dependencies:
    - dependency-name: "@excalidraw/excalidraw"
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 2d82bf0
Author: Andelf <[email protected]>
Date:   Wed Aug 23 13:33:46 2023 +0800

    refator(watcher): add homepage preload

commit 8274ff8
Author: Andelf <[email protected]>
Date:   Wed Aug 23 02:57:14 2023 +0800

    refactor(ios): refine handling of app id change(upgrading)

commit 914cb2a
Author: Andelf <[email protected]>
Date:   Wed Aug 23 02:40:07 2023 +0800

    enhance(fs): reorder initial fs watcher files

commit e04aaf2
Author: charlie <[email protected]>
Date:   Wed Aug 23 12:35:01 2023 +0800

    fix(pdf): incorrect path of pdfjs cmaps resources

commit f134570
Author: Andelf <[email protected]>
Date:   Tue Aug 22 22:04:20 2023 +0800

    chore(release): bump version 0.9.15

commit 583a3d5
Author: Charlie <[email protected]>
Date:   Tue Aug 22 21:36:38 2023 +0800

    Enhance/plugin APIs x (logseq#10022)

    * fix(apis): validate non-empty uuid input for query block

    * fix(plugin): missing block data for the nested renderer macro hook

    * fix(plugin): incorrect block config for the query table block items

commit 6ce6b19
Author: Konstantinos Kaloutas <[email protected]>
Date:   Mon Aug 21 22:49:27 2023 +0300

    reorder fix

commit 8ebf2db
Author: Konstantinos Kaloutas <[email protected]>
Date:   Mon Aug 21 21:05:12 2023 +0300

    fix: left sidebar duplicate favorites

commit 9507f0e
Author: Konstantinos Kaloutas <[email protected]>
Date:   Mon Aug 21 19:59:33 2023 +0300

    fix: right sidebar header wrap and content padding

commit fbee361
Author: Gabriel Horner <[email protected]>
Date:   Mon Aug 21 16:42:44 2023 -0400

    Fix typos in right sidebar lang keys

commit d32a22a
Author: hasecilu <[email protected]>
Date:   Sat Aug 19 18:53:03 2023 -0600

    i18n: Update Spanish translations.

commit 1db0708
Author: Inge <[email protected]>
Date:   Sun Aug 20 18:14:24 2023 +0200

    Update Norwegian translations

commit f04fcf4
Author: Konstantinos Kaloutas <[email protected]>
Date:   Mon Aug 21 18:59:50 2023 +0300

    disable sidebar pane conetnt scrolling

commit 90bbd03
Author: charlie <[email protected]>
Date:   Fri Aug 18 10:44:27 2023 +0800

    enhance(pdf): remove password model close fn state

commit 29188f9
Author: Andelf <[email protected]>
Date:   Thu Aug 17 01:28:13 2023 +0800

    enhance(pdf): pdf password input modal

    Close logseq#10033

commit 40edb61
Author: Konstantinos Kaloutas <[email protected]>
Date:   Fri Aug 18 10:18:03 2023 +0300

    fix: right sidebar pane menu overflow

commit d851778
Author: Andelf <[email protected]>
Date:   Tue Aug 15 21:12:03 2023 +0800

    chore(release): bump version 0.9.14

commit c089fde
Author: Konstantinos Kaloutas <[email protected]>
Date:   Thu Aug 17 10:33:46 2023 +0300

    fix: recent whiteboards click

commit 74fadb0
Author: Konstantinos Kaloutas <[email protected]>
Date:   Wed Aug 16 13:34:40 2023 +0300

    fix sub-pixel anti-aliasing logseq#2813

commit caf1d9d
Author: Konstantinos <[email protected]>
Date:   Wed Aug 16 18:39:29 2023 +0300

    Enhance: Left sidebar (logseq#9880)

    * wip: right sidebar

    * fix: graph height

    * re-enable scrolling on list

    * style: indentation

    * fix: always expand block when added to sidebar

    * fix: show close button on mobile

    * wip: right sidebar

    * support default and custom icons

    * fix whiteboard icon

    * fix: header overflow

    * remove unneeded dependency

    * fix graph icon

    * add middle click action and context menu

    * add more context menu actions

    * add reordering support

    * fix dropdown visibility

    * dnd fixes and initial state

    * varous fixes

    * fix event propagation

    * enhance accesibility

    * area expanded fix

    * add translations

    * refactoring

    * enhance performance

    * enhance text overflow

    * fix page link

    * drag enter fix

    * add rounded corners and transition

    * add keyboard shortcuts icon

    * revert left sidebar change

    * left sidebar bg and border

    * various left sidebar enhancements

    * alignment fixes

    * split favorites and recents scrolling

    * handle unavailable icon

    * handle overflow edge case

    * fix and refactor menu shortcuts

    * handle zero items

    * display nan shortcuts on mouse over

    * min height fix

    * min height fix

    * simplify chevron icon

    * minor fixes

    * add flashcards shortcut

    * revert initial sidebar state changes

    * cloud icon fix

    * fix border radius

    * add missing go-home shortcut

    * add clear recent button

    * fix typo

    * hide scrollbars

    * remove transition

    * fix: favorites

    * fix: border and rounded corners

    * fix: dnd delay

    * Revert "add clear recent button"

    This reverts commit d8c52c3.

    * fix: keyboard shortcuts

    * fix: shortcuts

    * remove unused require

commit 5cd3bec
Author: Tienson Qin <[email protected]>
Date:   Wed Aug 16 00:36:29 2023 +0800

    fix: can't redirect to block

commit 6fee36d
Author: Andelf <[email protected]>
Date:   Thu Aug 3 00:47:30 2023 +0800

    fix(editor): error notification when template insert error

commit deba094
Author: Andelf <[email protected]>
Date:   Wed Aug 2 23:27:05 2023 +0800

    fix(editor): template expansion if ac-ui is blurred

    See-also: logseq#8728

commit 35124d5
Author: situ2001 <[email protected]>
Date:   Sat Aug 5 19:46:15 2023 +0800

    fix: add drag threshold

commit 1d7b6c9
Author: charlie <[email protected]>
Date:   Wed Aug 9 12:16:48 2023 +0800

    enhance(zotero): polish ui details of the zotero search component

commit 248b835
Author: Andelf <[email protected]>
Date:   Tue Aug 15 00:23:17 2023 +0800

    fix(editor): avoid nav to empty page name

commit cbed7f7
Author: Gabriel Horner <[email protected]>
Date:   Mon Aug 14 15:34:46 2023 -0400

    Tweak login wording to let users know that email login works

    This will reduce support requests

commit d419487
Author: Matheus Francisco <[email protected]>
Date:   Mon Aug 14 13:20:52 2023 -0300

    fix: whiteboard page sidebar empty string (logseq#10018)

commit 62dcbb2
Author: ROCKTAKEY <[email protected]>
Date:   Wed Aug 9 02:17:31 2023 +0900

    enhance: Update Japanese translation (logseq#10004)

commit 62eb86f
Author: charlie <[email protected]>
Date:   Mon Aug 7 17:40:14 2023 +0800

    enhance(pdf): support `shift + enter` to pick the previous searching results item

commit a160151
Author: HikoriHawky <[email protected]>
Date:   Sat Aug 5 17:13:29 2023 +0800

    altered hardcoded pressure values
  • Loading branch information
Bad3r committed Sep 13, 2023
1 parent c992725 commit fe02ead
Show file tree
Hide file tree
Showing 141 changed files with 4,773 additions and 3,228 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Check spelling with custom config file
uses: crate-ci/typos@v1.13.10
uses: crate-ci/typos@v1.16.8
with:
config: ./typos.toml

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "com.logseq.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 66
versionName "0.9.13"
versionCode 70
versionName "0.9.17"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
1 change: 1 addition & 0 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const config: CapacitorConfig = {
appName: 'Logseq',
bundledWebRuntime: false,
webDir: 'public',
loggingBehavior: 'debug',
plugins: {
SplashScreen: {
launchShowDuration: 500,
Expand Down
2 changes: 1 addition & 1 deletion deps/common/src/logseq/common/path.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
;; compat
(defn basename
[path]
(let [path (string/replace path #"/$" "")]
(let [path (string/replace path #"/+$" "")]
(filename path)))

(defn dirname
Expand Down
6 changes: 3 additions & 3 deletions deps/shui/src/logseq/shui/context.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
:config app-config
;; Until components are converted over, they need to fallback to the old inline function
;; Wrap the old inline function to allow for interception, but fallback to the old inline function
:inline-block (inline->inline-block inline block-config)
:inline-block (inline->inline-block inline block-config)
:map-inline-block (inline->map-inline-block inline block-config)
;; Currently frontend component are provided an object map containin at least the following keys:
;; Currently frontend component are provided an object map containing at least the following keys:
;; These will be passed through in a whitelisted fashion so as to be able to track the dependencies
;; back to the core application
;; TODO: document the following
:block (:block block-config) ;; the db entity of the current block
:block? (:block? block-config)
:blocks-container-id (:blocks-container-id block-config)
:editor-box (:editor-box block-config)
:id (:id block-config)
:id (:id block-config)
:mode? (:mode? block-config)
:query-result (:query-result block-config)
:sidebar? (:sidebar? block-config)
Expand Down
2 changes: 1 addition & 1 deletion docs/Build LogSeq Desktop for windows on Ubuntu.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Building Logseq Desktop app for Windows on Ubuntu
## Intro
My Logseq dev machine is on Ubuntu 18.x and my production machine is running Windows 10, I needed a way to compile the Logseq desktop APP for Windows.
I tired & failed to make the "build" run on my windows machine but I did, however, succeed in letting my Ubuntu machine make Windows x64 files
I tried & failed to make the "build" run on my windows machine but I did, however, succeed in letting my Ubuntu machine make Windows x64 files
## Pre-requisites
These are the steps I took to make it work on my Ubuntu machine, sharing them hoping it helps someone else. I assume you have all the basic pre-requisites for Logseq, if not you can find them at https://github.com/logseq/logseq#1-requirements
1. clone Logseq repo if you haven't already
Expand Down
6 changes: 3 additions & 3 deletions docs/accessibility.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- Accessibility is a vague term, which is why it is usually misunderstood. It is not just about people with with specific disabilities. You can read more about [what is accessibility](https://developer.mozilla.org/en-US/docs/Learn/Accessibility/What_is_accessibility#so_what_is_accessibility) and [diverse abilities and barriers](https://www.w3.org/WAI/people-use-web/abilities-barriers/).
- Accessibility is a vague term, which is why it is usually misunderstood. It is not just about people with specific disabilities. You can read more about [what is accessibility](https://developer.mozilla.org/en-US/docs/Learn/Accessibility/What_is_accessibility#so_what_is_accessibility) and [diverse abilities and barriers](https://www.w3.org/WAI/people-use-web/abilities-barriers/).
- ## Web Content Accessibility Guidelines
- [WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/) (Web Content Accessibility Guidelines) is the international standard for web content accessibility, developed by [W3C](https://www.w3.org/). Logseq is a web application, so conforming with WCAG should be our first priority. In general, there is no simple way to determine if a website is accessible or not, but WCAG can help us make the tool usable by as many people as possible.
- ## Levels of conformance
- There are three levels of conformance defined by WCAG
- Level **A** is the minimum level.
- Level **AA** includes all Level A and AA requirements.
- Level **AAA** includes all Level A, AA, and AAA requirements.
- Many organizations strive to meet Level AA. The reason behind this decision, is that in some cases AAA standard is too strict. That does't mean that triple-A issues should be disregarded. On the contrary, all of them should be handled if possible.
- Many organizations strive to meet Level AA. The reason behind this decision, is that in some cases AAA standard is too strict. That doesn't mean that triple-A issues should be disregarded. On the contrary, all of them should be handled if possible.
- We can also provide alternative options in order to conform with AAA standards. For instance, our default themes can aim for AA, but we can provide a high-contrast theme that aims for AAA. Providing [alternative versions](https://www.w3.org/WAI/GL/2007/05/alternate-versions.html) with different levels of conformance is permitted according to WCAG, if there is an accessible way to reach those alternatives.
- ## Simple development guidelines
- Use semantically correct markup whenever possible. Every time you are about to decide which html tag you are going to use, choose the one that behaves the way you want it. For example, let's say you want to create an element that looks like plain text, but triggers an action on click. Usually, the best approach would be to create a `<button>` and make it look like a `<span>` using css. If you use a `span`, you will also have to override other html attributes like `tabindex` and `role` to make the element behave like a button. This is almost always a bad sign, and should be avoided. If you use the appropriate html element, the browser will be able to properly handle it.
Expand All @@ -18,7 +18,7 @@
- There is a [huge list of tools](https://www.w3.org/WAI/ER/tools/) that can help us test our application. Most of them use [axe-core](https://github.com/dequelabs/axe-core) internally. There are [browser extensions](https://www.deque.com/axe/browser-extensions/) based on axe, a [VSCode Linter Plugin](https://marketplace.visualstudio.com/items?itemName=deque-systems.vscode-axe-linter) and also [multiple community projects](https://github.com/dequelabs/axe-core/blob/develop/doc/projects.md#community-projects).
- Basic accessibility testing could be integrated into our CI, by using the appropriate axe package (e.g. [@axe-core/playwright](https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/README.md))
- ## Manual testing
- In theory, all of the cases described by WCAG should be testable. In practice, there are issues that can't be replicated by code. Also, manual accessibility testing would help us have a better understanding of the difficulties that certain people might encounter. Even if the all the individual cases pass the tests, the overall navigation might be nonsensical.
- In theory, all of the cases described by WCAG should be testable. In practice, there are issues that can't be replicated by code. Also, manual accessibility testing would help us have a better understanding of the difficulties that certain people might encounter. Even if all the individual cases pass the tests, the overall navigation might be nonsensical.
- ### Manual accessibility testing musts
- Keyboard-only navigation
- Screen reader testing and compatibility
Expand Down
6 changes: 3 additions & 3 deletions docs/contributing-to-translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In order to run the commands in this doc, you will need to install
## Where to Contribute

Language translations are under,
[src/resources/dicts/](https://github.com/logseq/logseq/blob/master/src/resources/dicts/) with each language having it's own file. For example, the es locale is in `es.edn`.
[src/resources/dicts/](https://github.com/logseq/logseq/blob/master/src/resources/dicts/) with each language having its own file. For example, the es locale is in `es.edn`.

## Language Overview

Expand Down Expand Up @@ -83,7 +83,7 @@ Almost all translations are small. The only exceptions to this are the keys `:tu
### Editing Tips

* Some translations may include punctuation like `:` or `!`. When translating them, please use the punctuation that makes the most sense for your language as you don't have to follow the English ones.
* Some translations may include arguments/interpolations e.g. `{1}`. If you see them in a translation, be sure to include them. These arguments are substituted in the string and are usually used something the app needs to calculate e.g. a number. See [these docs](https://github.com/tonsky/tongue#interpolation) for more examples.
* Some translations may include arguments/interpolations e.g. `{1}`. If you see them in a translation, be sure to include them. These arguments are substituted in the string and are usually used for something the app needs to calculate e.g. a number. See [these docs](https://github.com/tonsky/tongue#interpolation) for more examples.
* Rarely, a translation may need to translate formatted text by returning [hiccup-style HTML](https://github.com/weavejester/hiccup#syntax). In this case, a Clojure function is the recommended approach. For example, a function translation would look like `(fn [] [:div "FOO"])`. See `:on-boarding/main-title` for an example.
## Fix Mistakes

Expand All @@ -105,4 +105,4 @@ To add a new language:
* Add an entry to `frontend.dicts/languages`
* Create a new file under `src/resources/dicts/` and name the file the same as the locale e.g. zz.edn for a hypothetical zz locale.
* Add an entry in `frontend.dicts/dicts` referencing the file you created.
* Then start translating for your language and adding entries in your language's EDN file using the `bb lang:missing` workflow.
* Then start translating for your language and adding entries in your language's EDN file using the `bb lang:missing` workflow.
6 changes: 3 additions & 3 deletions docs/develop-logseq-on-mobile.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
```
- Working directory: Logseq root directory
- Run `yarn && yarn app-watch` from the logseq project root directory in terminal.
- Run `npx cap sync ios` in another termimal to copy web assets from public to *ios/App/App/public*, and create *capacitor.config.json* in *ios/App/App*, and update iOS plugins.
- Run `npx cap sync ios` in another terminal to copy web assets from public to *ios/App/App/public*, and create *capacitor.config.json* in *ios/App/App*, and update iOS plugins.
- Connect your iOS device to MacBook.
- Run `npx cap open ios` to open Logseq project in Xcode, and build the app there.

Expand Down Expand Up @@ -70,13 +70,13 @@ or, you can run `bb release:ios-app` to do those steps with one command.
}
```
- Run `yarn && yarn app-watch` from the logseq project root directory in terminal.
- Run `npx cap sync android` in another termimal.
- Run `npx cap sync android` in another terminal.
- Run `npx cap run android` to install app into your device.

or, you can run `bb dev:android-app` to do those steps with one command if you are on macOS.

Then,
- In Android Studio, open **Tools** -> **AVD Manager** to create Android Virtual Device (AVD), and lanuch it in the emulator.
- In Android Studio, open **Tools** -> **AVD Manager** to create Android Virtual Device (AVD), and launch it in the emulator.
- In Android Studio, open **Run** -> **Run** to run Logseq.
- After logseq startup in Android virtual device, repl should be able to connect
- For browser console print and devtool remote debug, open chrome, type url chrome://inspect/#devices, you should see your device there, click inspect
Expand Down
25 changes: 15 additions & 10 deletions docs/develop-logseq-on-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

This is a guide on setting up Logseq development dependencies on Windows. Once these dependencies are installed, you can follow the [develop-logseq](develop-logseq.md) docs for build instructions.

## [scoop](https://scoop.sh/)

Scoop provides a `clojure.exe` shim which works in Command Prompt and Powershell windows.

```
scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure
scoop bucket add extras
scoop bucket add java
scoop install java/openjdk clj-deps babashka leiningen nodejs-lts
```

## Winget

Winget is a package manager installed by default on windows.
Expand All @@ -19,6 +30,10 @@ An installer for clojure is available from [casselc/clj-msi](https://github.com/

## [chocolatey](https://chocolatey.org/)

Chocolatey installs Clojure as a PowerShell module and alias, and does not provide `clojure` for `cmd.exe`.

[@andelf has written a wrapper utility](https://github.com/andelf/clojure-cli) which you can install with `cargo install --git https://github.com/andelf/clojure-cli.git` instead.

```
choco install nvm
nvm install 18
Expand All @@ -29,16 +44,6 @@ choco install javaruntime
choco install clojure
```


## [scoop](https://scoop.sh/)

```
scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure
scoop bucket add extras
scoop bucket add java
scoop install java/openjdk clojure clj-deps babashka leiningen nodejs-lts
```

## Troubleshooting

### Configuring a proxy for internet access
Expand Down
8 changes: 4 additions & 4 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.9.13;
MARKETING_VERSION = 0.9.18;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = com.logseq.logseq;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -546,7 +546,7 @@
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.9.13;
MARKETING_VERSION = 0.9.18;
PRODUCT_BUNDLE_IDENTIFIER = com.logseq.logseq;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
Expand All @@ -571,7 +571,7 @@
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 0.9.13;
MARKETING_VERSION = 0.9.18;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.logseq.logseq.ShareViewController;
Expand All @@ -598,7 +598,7 @@
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 0.9.13;
MARKETING_VERSION = 0.9.18;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.logseq.logseq.ShareViewController;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
1 change: 1 addition & 0 deletions libs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dependencies": {
"csstype": "3.1.0",
"debug": "4.3.4",
"deepmerge": "4.3.1",
"dompurify": "2.3.8",
"eventemitter3": "4.0.7",
"fast-deep-equal": "3.1.3",
Expand Down
15 changes: 10 additions & 5 deletions libs/src/LSPlugin.caller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,23 @@ class LSPluginCaller extends EventEmitter {
let { width, height, left, top, vw, vh } = mainLayoutInfo

left = Math.max(left, 0)
left = (typeof vw === 'number') ?
`${Math.min(left * 100 / vw, 99)}%` : `${left}px`
left =
typeof vw === 'number'
? `${Math.min((left * 100) / vw, 99)}%`
: `${left}px`

// 45 is height of headbar
top = Math.max(top, 45)
top = (typeof vh === 'number') ?
`${Math.min(top * 100 / vh, 99)}%` : `${top}px`
top =
typeof vh === 'number'
? `${Math.min((top * 100) / vh, 99)}%`
: `${top}px`

Object.assign(cnt.style, {
width: width + 'px',
height: height + 'px',
left, top
left,
top,
})
}
} catch (e) {
Expand Down
Loading

0 comments on commit fe02ead

Please sign in to comment.