1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
Commit Graph

592 Commits

Author SHA1 Message Date
Kenichi Kobayashi
5c82e439a7
Desktop: Fixes #5708: Scroll positions are preserved (#5826)
Features:
- Scroll position is preserved when the editor layout changes.
- Scroll position is remembered when a note selection changes.

Modifications:
- The current Sync Scroll feature (in v2.6.2) is modified to use line-percent-based scroll positions.
- Scroll position translation functions, Viewer-to-Editor and Editor-to-Viewer, are separated into V2L / L2E and E2L / L2V respectively.
- The scrollmap is moved from gui/utils/SyncScrollMap.ts to note-viewer/scrollmap.js.
- IPC Protocol about the scrollmap becomes not necessary and is removed.
- Ignores non-user scroll events to avoid sync with incorrect scroll positions.
- When CodeMirror is not ready, setEditorPercentScroll() is waited.
- Fixes the bug: An incorrect scroll position is sometimes recorded.
- Since scroll positions become line-percent-based, the following incompatibilities of scroll positions are fixed:
  - Between Editor and Viewer.
  - Between Viewer Layout and Split Layout of Viewer
  - Between Editor Layout and Split Layout of Editor
2021-12-15 18:03:20 +00:00
Kenichi Kobayashi
7ce9ae11c7
Desktop: Added detailed tooltip for 'Toggle Sort Order Field' button (#5854) 2021-12-13 15:29:23 +00:00
Laurent Cozic
227c9dcfee Desktop release v2.6.6 2021-12-13 11:52:48 +01:00
Helmut K. C. Tessarek
c499473467
All: fixes #5801: Links in flowchart Mermaid diagrams (#5830) 2021-12-13 10:38:12 +00:00
Daeraxa
51f7dc9ab8
Desktop: Changed note sort buttons to 3px radius (#5771) 2021-12-13 10:34:54 +00:00
Laurent Cozic
bfcc02a769 Desktop release v2.6.5 2021-12-13 10:34:21 +01:00
Laurent Cozic
16c94d95cb Desktop release v2.6.4 2021-12-09 20:18:17 +01:00
Laurent Cozic
1626170ea6 Desktop release v2.6.3 2021-12-09 10:22:32 +01:00
Caleb John
aac044fc9c
Desktop: Fixes #5311: Rich text editor flashing white when switching notes/editor (#5793) 2021-12-03 12:23:31 +00:00
Laurent Cozic
a3703cc895 lock files 2021-11-26 18:13:23 +00:00
Laurent Cozic
82defbdd7b Chore: Fixed mobile build 2021-11-23 12:12:27 +00:00
Laurent Cozic
0e11273c45 Desktop: Fixes #5693: Opening a file with ctrl and click leads to an error in the Rich Text editor 2021-11-22 17:20:48 +00:00
Laurent Cozic
c972da1b15 Merge branch 'dev' into release-2.6 2021-11-21 15:36:24 +00:00
Laurent Cozic
1bb7bbb9e5 Desktop: Fixed sharing notebook when recipient is not allowed to share 2021-11-21 14:35:01 +00:00
Rishabhraghwendra18
c0b76cbd55
Desktop: Fixes #5373: Sync wizard is displayed incorrectly in dev mode (#5749) 2021-11-18 15:36:21 +00:00
Laurent Cozic
5a82f5db93 Desktop release v2.6.2 2021-11-17 19:48:50 +00:00
Laurent Cozic
c759982890 Desktop: Fixes #5710: Text was unreadable in dark mode when dropping a note on Rich Text editor 2021-11-17 19:44:08 +00:00
Laurent Cozic
c48d92b18b Desktop: Fixes #5726: OneDrive login screen was not readable in dark mode 2021-11-17 19:35:23 +00:00
Laurent Cozic
e53da58602 Desktop: Fixes #5666: Message in search box dialog was not readable in dark mode 2021-11-17 19:32:27 +00:00
Laurent Cozic
fc1c974c79 fixed tests 2021-11-15 19:27:31 +00:00
Laurent Cozic
e97bb78ce4 Desktop, Mobile: Added support for notebook icons 2021-11-15 17:19:51 +00:00
Laurent Cozic
79d97f2ba7 Desktop: Allow showing passwords in Master Password dialog 2021-11-15 12:10:47 +00:00
Laurent Cozic
0a4c43631d All: Fixes #5721: Sharing multiple notebooks via Joplin Server with the same user results in an error 2021-11-14 18:34:58 +00:00
Kenichi Kobayashi
ec8b9b8ea8
Desktop: Fixes #5694: Sync-scroll support for HTML notes (#5695) 2021-11-11 17:28:32 +00:00
Helmut K. C. Tessarek
b58ea0f202
Desktop: Add shortcut for bulleted list (#5698)
Ref: https://discourse.joplinapp.org/t/shortcut-for-lists/21646
2021-11-11 15:50:15 +00:00
Kenichi Kobayashi
d7e08770bd
Desktop: Resolves #4827, Resolves #5652: Fixed and improve laggy scroll in text editor (#5606) 2021-11-11 15:43:32 +00:00
Kenichi Kobayashi
f495db1391
Desktop: Sort Order Buttons and Per-Notebook Sort Order (#5437) 2021-11-11 15:33:37 +00:00
Kenichi Kobayashi
e4d5e9cefb
Desktop: Fixes #5582: Currently opened note is not updated after sync (5582) (#5711) 2021-11-11 15:31:20 +00:00
Laurent Cozic
725c79d1ec Desktop: Fixed button to upgrade a master key 2021-11-10 15:40:32 +00:00
agerardin
6b31609338
Plugins: Allow posting messages from plugin to webview (#5569) 2021-11-09 15:50:50 +00:00
Kenichi Kobayashi
200ba858dd
Deskop: Fixes flickering when switching notes while the Note Search Bar is visible (#5548) 2021-11-09 15:47:25 +00:00
Laurent Cozic
c4017e52dc Fixed a few strings 2021-11-08 10:00:11 +00:00
Laurent
af19865865
All, Server: Add support for sharing notes when E2EE is enabled (#5529) 2021-11-03 16:24:40 +00:00
Laurent Cozic
030b18d7c7 Desktop release v2.6.1 2021-11-03 12:27:39 +00:00
Kenichi Kobayashi
630a400181
Desktop: Resolves #2242: Implements Sync-Scroll for Markdown Editor and Viewer (#5512) 2021-11-03 12:10:46 +00:00
Laurent Cozic
bcd568a496 Setup new release 2.6 2021-11-02 20:07:13 +00:00
Laurent Cozic
b80242dbcf Desktop release v2.5.10 2021-11-01 07:41:36 +00:00
Laurent Cozic
1eda835236 Desktop release v2.5.9 2021-11-01 07:40:54 +00:00
Laurent Cozic
60127831b8 Desktop: Fixed crash on certain Linux distributions when importing or exporting a file
Ref: https://discourse.joplinapp.org/t/20702/37
2021-11-01 07:38:06 +00:00
Laurent Cozic
dbdb82d0a9 Desktop release v2.5.8 2021-10-31 10:05:33 +00:00
Brett Bender
8de9032321
Deskop: Fixed shortcut to focus the note body (#5597) 2021-10-30 18:00:01 +01:00
Laurent Cozic
0b01b5b0ef Desktop, Mobile: Resolves #5593: Enable safe mode for Markdown editor too 2021-10-30 17:51:19 +01:00
Laurent Cozic
2d1a6da1cb Revert "Desktop: Upgrade to Electron 15.1.3"
No longer necessary because it was to try to fix this bug, but it
doesn't fix it:

https://discourse.joplinapp.org/t/20702/32

This reverts commit 9704b29c03.
2021-10-30 15:20:33 +01:00
Laurent Cozic
4e1f315151 Desktop release v2.5.7 2021-10-29 12:12:30 +01:00
Laurent Cozic
9704b29c03 Desktop: Upgrade to Electron 15.1.3 2021-10-29 12:11:38 +01:00
Laurent Cozic
7d70dea265 Desktop release v2.5.6 2021-10-28 22:27:47 +01:00
Laurent Cozic
e4403d4452 Desktop release v2.5.5 2021-10-28 20:56:40 +01:00
Laurent Cozic
17cf9b3272 Tools: Improved desktop app runForTesting script 2021-10-24 19:13:56 +01:00
Laurent Cozic
22e5c3a200 Desktop: Fixed Goto Anything scrolling for long lists 2021-10-24 19:12:25 +01:00
Laurent Cozic
0188824421 Merge branch 'dev' into release-2.5 2021-10-19 11:13:38 +01:00
Laurent Cozic
7d62df8906 Desktop: Improved master password state handling in Encryption screen 2021-10-17 19:10:37 +01:00
Laurent Cozic
6eced7ec4b Desktop release v2.5.4 2021-10-17 18:52:35 +01:00
Laurent Cozic
8d09ed3bac Fixed package path 2021-10-17 18:50:56 +01:00
Laurent Cozic
b8919156d1 Desktop release v2.5.3 2021-10-17 17:45:10 +01:00
Laurent Cozic
21a7149493 Fixed mobile build 2021-10-17 14:54:48 +01:00
Kenichi Kobayashi
1d46d9f657
Desktop: Resolves #4827: Laggy scrolling in Markdown viewer (#5496) 2021-10-16 11:44:02 +01:00
Roman Musin
6879481fd5
Desktop: Resolves #5168: Add support for callback URLs (#5416) 2021-10-16 10:07:41 +01:00
Laurent Cozic
1fee83d408 Desktop: Fixed share dialog button sizes 2021-10-15 16:41:38 +01:00
Laurent Cozic
852c6f2f8d Desktop: Mentioned on share dialog that it may take a few minutes for all notes to appear on the recipient device 2021-10-15 16:34:09 +01:00
Laurent Cozic
0bae4690c9 Removed debug code 2021-10-15 16:17:47 +01:00
Laurent Cozic
8a7fa78c54 Chore: Moved share invitation response logic to separate file (Desktop) 2021-10-15 16:16:02 +01:00
Laurent Cozic
fb935dde18 Tools: Added syncDebugLog to help debugging sync operations 2021-10-15 12:24:22 +01:00
Laurent Cozic
9bff2d1ef4 Desktop: Improved share error handling 2021-10-14 15:39:17 +01:00
Laurent Cozic
73545484c9 Desktop: Allows a shared notebook recipient to leave the notebook 2021-10-14 15:39:17 +01:00
Laurent Cozic
1f005656a2 Merge branch 'release-2.4' into dev 2021-10-13 18:59:41 +01:00
Laurent Cozic
b45585dc21 Desktop release v2.4.12 2021-10-13 17:43:03 +01:00
Laurent Cozic
46786cc186 Tools: Update Electron Builder time server (previous was not working anymore) 2021-10-13 17:42:49 +01:00
Laurent Cozic
eca6e2ff3d Desktop release v2.4.11 2021-10-13 12:51:15 +01:00
Laurent Cozic
523382ec83 Desktop release v2.4.10 2021-10-13 10:58:10 +01:00
Laurent Cozic
03f40daedc Chore: Refactor compilePackageInfo script so that it can be used from both desktop and server app 2021-10-09 15:32:15 +01:00
Rishabhraghwendra18
7b2480179f
Desktop: Fixes #5310: Bright background around code block insertion dialog in dark mode (#5491) 2021-10-08 15:18:26 +01:00
Laurent Cozic
e069fe90c8 Chore: Fixed lib paths 2021-10-04 15:33:50 +01:00
Helmut K. C. Tessarek
5c7dcf0117
Mobile: Resolves #4701: Improve delete dialog message (#5481) 2021-10-03 18:41:32 +01:00
Laurent
c758377188
All: Add support for public-private key pairs and improved master password support (#5438)
Also improved SCSS support, which was needed for the master password dialog.
2021-10-03 16:00:49 +01:00
Laurent Cozic
e5e1382255 Desktop release v2.5.1 2021-10-02 11:10:25 +01:00
Laurent Cozic
4a7746beb2 Desktop: Upgrade Electron from v10 to v14 2021-10-01 19:35:27 +01:00
Laurent Cozic
bb44c4e6ab Desktop release v2.4.9 2021-09-29 19:28:24 +01:00
Laurent Cozic
6a22fb51f3 Setup new release 2.5 2021-09-29 16:45:06 +01:00
Laurent Cozic
8ada059401 Desktop: Improved accepting a folder share 2021-09-25 18:00:43 +01:00
Laurent Cozic
62f81b4315 Chore: Converts ENEX import file to TypeScript 2021-09-23 13:16:22 +01:00
Laurent Cozic
f3d4d8eaed Desktop release v2.4.8 2021-09-22 17:29:57 +01:00
Laurent Cozic
56cac1f729 Desktop: Fixes #5161: Improved plugin search and installing new plugins from China 2021-09-21 16:22:58 +01:00
Laurent Cozic
da884752a8 Desktop: Fixed Sync Wizard logo images on Windows 2021-09-20 16:29:05 +01:00
Laurent Cozic
0cbc261051 Chore: Remove last remnants of discontinued Nextcloud App 2021-09-19 19:15:10 +01:00
Laurent Cozic
542fdb496a Set default options 2021-09-19 18:54:14 +01:00
Laurent Cozic
bb740c75ec Desktop release v2.4.7 2021-09-19 13:04:59 +01:00
Laurent Cozic
e447acc076 Desktop: Resolves #5440: Do not escape content when copying from Rich Text editor 2021-09-19 13:00:06 +01:00
Laurent Cozic
6d981864ef Desktop: Fixes #5461: Editor max width was not always applied in Rich Text editor 2021-09-19 12:04:23 +01:00
Nikhil Gautam
0d40026d8b
Desktop: Resolves #5299: Display 0/0 when no search results are found in editor (#5360) 2021-09-19 11:37:33 +01:00
Caleb John
7a9ec627ee
Desktop: Resolves #5233: Fire resize event whenever the layout changes (#5344)
* Fire resize event whenever the layout changes

This solves an issue where the markdown editor was changing size
physically, but the refresh function wasn't being called so the
editor would lose track of it's size and place the cursor wrongly.
The editor was able to correctly resize when the window resize event
was fired, but this didn't happen when the sidebars were toggled.
The solution implemented here is to hook in to the function where
layout props are changed, and emit a resize event there.
This means that anytime the layout changes (whether or not it affects
sizing), the resize event will be fired.
2021-09-19 11:36:23 +01:00
Helmut K. C. Tessarek
12ec7b0c1d
macOS: Added Cmd+Backspace shortcut to delete line (#5478) 2021-09-19 11:32:58 +01:00
Laurent Cozic
f6f5d6808d Merge branch 'dev' into release-2.4 2021-09-14 12:07:04 +01:00
Laurent Cozic
a7130ce17a Tools: Added script to compile SASS files 2021-09-12 16:35:08 +01:00
Laurent Cozic
20f8743079 Tools: Upgrade back package-lock files to v2 2021-09-12 16:34:03 +01:00
Helmut K. C. Tessarek
9d5d891fe3
Desktop, Mobile: Resolves #5295: Update Mermaid 8.10.2 -> 8.12.1 and fix gitGraph crash (#5448) 2021-09-11 19:47:01 +01:00
Laurent Cozic
96ac12b460 Chore: Converted encryption config screens to React Hooks to share logic between desktop and mobile 2021-09-10 19:05:47 +01:00
Laurent Cozic
4b93664240 Desktop release v2.4.6 2021-09-09 19:25:54 +01:00
Laurent Cozic
d33b99cffb Desktop: Fix handling of disabled master keys when enabling E2EE 2021-09-09 18:46:58 +01:00
Laurent Cozic
267c32143b Desktop: Fix handling of disabled master keys when enabling E2EE 2021-09-09 18:42:00 +01:00
Laurent Cozic
6181250d86 Desktop release v2.4.5 2021-09-06 18:35:37 +01:00