Commit Graph

5042 Commits (571c81af307fd0a28596a425965524485ce783cc)

Author SHA1 Message Date
Tienson Qin 571c81af30 enhance: add sync from local files (the old refresh way) 2021-09-06 18:00:12 +08:00
Tienson Qin a16e5c98ba fix: Dragging blocks to update notes does not synchronize updates to
the notes file in real time.

close #2744
2021-09-06 17:23:57 +08:00
Tienson Qin 6897a22a3f fix: disable page/block auto-complete once the cursor went outside 2021-09-06 16:43:30 +08:00
Tienson Qin feb4404874 fix: wrong page metadata saved for another graph 2021-09-06 13:28:47 +08:00
Tienson Qin b96332122f enhance: catch errors when app quits 2021-09-06 13:08:28 +08:00
Jiang Hailong 1ee0c240c3 FIX: Linked reference is not refresh after file altering #2694 2021-09-06 12:37:23 +08:00
Tienson Qin 0550c8a876 fix: display logbook for scheduled tasks 2021-09-06 12:25:39 +08:00
Tienson Qin 2a5f0cee7c fix: spent hours for logbook 2021-09-06 12:21:19 +08:00
leizhe 1f2c9e4d3f fix(timestamp): remove old SCHEDULED/DEADLINE timestamp
When using `date-picker` to update the SCHEDULED/DEADLINE timestamp by
clicking an existing one, logseq will add a new timestamp instead of
updating the old one. This patch fixs this issue.
2021-09-06 12:14:05 +08:00
leizhe cb23b967e4 fix(repeat): more consistent with orgmode style
Ref: https://orgmode.org/manual/Tracking-your-habits.html
2021-09-06 12:14:05 +08:00
leizhe 229c7f2594 enhance(property): remove empty properties drawer 2021-09-06 12:13:45 +08:00
leizhe a76df9ce97 fix(clock): duplicate clock-in log twice
1. `set-marker` will not log time anymore. The time logging is moved
to `with-timetracking`
2. Concat `logbook` only if `new-clocks` is nil, which fixs the
duplication of clock-in log.
2021-09-06 12:13:45 +08:00
Tienson Qin c79e9f9e3e code: cleanup 2021-09-06 12:10:38 +08:00
DarshanSudhakar 9ec85db09a Fixing typo for the tooltip 'Block reference' 2021-09-06 11:51:17 +08:00
Tienson Qin eec677873b enhance: page history support reverting back 2021-09-06 11:49:58 +08:00
Tienson Qin 7273112a00 git: revert back 2021-09-06 11:23:31 +08:00
Tienson Qin cd853b5864 git: should compare ignored-files with disk content 2021-09-06 10:39:08 +08:00
Tienson Qin a84dfb5eff git: add ignore-files to avoid repeated notifications 2021-09-06 10:31:16 +08:00
Tienson Qin 86577e7ebf fix: ignore permission denied error when git add all 2021-09-06 10:07:39 +08:00
Tienson Qin 8dc0ca9ff5 fix: run git config core.safecrlf false on windows 2021-09-06 09:54:03 +08:00
Tienson Qin 9edaae559d refactor: extract file ops 2021-09-06 09:21:02 +08:00
tiagodevezas f12f58d3fa fix typos 2021-09-06 08:49:34 +08:00
tiagodevezas 9e82f0117c Translate shortcuts to Portuguese (pt-PT) 2021-09-06 08:49:34 +08:00
tiagodevezas 9a2c17bb05 Translate new settings to pt-PT 2021-09-06 08:49:34 +08:00
Sebastian Bensusan c05034cc34 feat(calc): Understand percentages 2021-09-06 08:49:03 +08:00
Tienson Qin bfe6a5d6cb enhance: commit the content in logseq when detecting any disk changes 2021-09-06 08:46:30 +08:00
Tienson Qin 2fdc601c15 fix: parser path on web 2021-09-02 19:39:55 +08:00
Weihua Lu 01312293d1 chore: add some docstring 2021-09-02 11:11:57 +08:00
Weihua Lu 29a3025e7d enhance: i18n support for command palette 2021-09-02 10:57:59 +08:00
Tienson Qin c4708fb9f9 fix: deleting blocks 2021-09-01 11:26:38 +08:00
dependabot[bot] 6bf9a85bda chore(deps): bump tar from 4.4.17 to 4.4.19 in /resources
Bumps [tar](https://github.com/npm/node-tar) from 4.4.17 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.17...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 10:52:14 +08:00
Tienson Qin 76595cc69b fix: schedule doesn't work well with logbook together 2021-09-01 10:30:29 +08:00
Tienson Qin 98cb06b86e fix: Tag with brackets but without spaces creates an extra page
close #2742
2021-08-31 21:28:38 +08:00
Tienson Qin 3f37ae4b74 chore: bump version 2021-08-31 20:45:05 +08:00
Tienson Qin 78f4cc35a4 fix: atom not derefed 2021-08-31 20:35:02 +08:00
Tienson Qin fff5532e3f enhance: better workflow to resolve the modified file 2021-08-31 20:22:27 +08:00
Tienson Qin 7736fd96c8 fix: diff jumps when overwriting Zotero items 2021-08-31 18:44:20 +08:00
Tienson Qin 81d971eff9 enhance: reverse logbook and limit the display length to 10 2021-08-31 17:29:47 +08:00
Weihua Lu 37af6a31ae feat: Zotero overwrite mode 2021-08-31 17:06:13 +08:00
Tienson Qin dd9a90b4ad enhance: hide logbook by default 2021-08-31 12:48:51 +08:00
Weihua Lu 719f780f3d feat: command palette history 2021-08-31 12:04:53 +08:00
Weihua Lu 82b2f8ca77 chore: deprecate fn warning 2021-08-31 12:04:53 +08:00
Tienson Qin d87b341f7b chore: bump mldoc 2021-08-31 11:51:05 +08:00
Tienson Qin ac64623ae8 fix: logbook editing 2021-08-31 00:59:23 +08:00
Tienson Qin 3a98f92dff enhance: hide logbook drawer when editing 2021-08-31 00:38:51 +08:00
Tienson Qin 422c2de99d enhance: better error report when parsing 2021-08-30 23:36:15 +08:00
Tienson Qin b63aa2c03c enhance: better time tracking with logbook history 2021-08-30 23:13:36 +08:00
leizhe 80bfc4105e feat(clock): add markdown support 2021-08-30 20:18:51 +08:00
leizhe be3dd3aa10 feat(clock): replicate orgmode clock system
This commit repicated the beautiful orgmode clock system [1]. Only
`clock-in` `clock-continue` `clock-out` are currently supported in
orgmode format. Markdown users couldn't use it since the old
logseq-system support better for markdown files. However, the new
system could be easily applied to markdown, if the community needs
this, I would like to implement it. Let me hear your voices.

The new system stores the clock log in the `LOGBOOK` drawer as orgmode
does, which is supported from the latest ver. `0.3.6` logseq. `TODO`
-> `DOING`, `LATER` -> `NOW` marker switch starts the clock on the
current block, while `DOING`->`DONE`, `NOW`->`DONE` ends the clock. If
the same marker switch got started on the same block again, a new
clock will be started, once clocked out, a total sum of working time
will be estimated and showed on the right side of headline as logseq
does now.

The advantage of the new clock is:
- It is from orgmode, and is compatible with orgmode.
- The total clock summary is calculated more accurately. Logseq now
erases the last clock if you re-clock on the same block, in no way
the total time could be calculated.
- more extensible to produce various clock report.

[1] https://orgmode.org/manual/Clocking-commands.html#Clocking-commands
2021-08-30 20:18:51 +08:00
leizhe 9b239ffc07 fix(logbook): ignore seconds 2021-08-30 20:18:51 +08:00