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

378 Commits

Author SHA1 Message Date
Laurent Cozic
6959f14a3f Desktop: Fixes #4958: Display proper error message when JEX file is corrupted 2021-05-13 22:13:53 +02:00
Laurent
0765cf5955
All: Add support for sharing notebooks with Joplin Server (#4772)
- Joplin Server: Adds support for sharing a notebook
- Desktop: Adds support for sharing a notebook with Joplin Server
- Mobile: Adds support for reading and writing to a shared notebook (not possible to share a notebook)
- Cli: Adds support for reading and writing to a shared notebook (not possible to share a notebook)
2021-05-13 17:57:37 +01:00
JackGruber
09ad70983a
Desktop: Fix #4581: Show or hide completed todos in search results based on user settings (#4951) 2021-05-13 13:23:17 +01:00
Laurent Cozic
4b26893b21 Desktop: Fixes #4919: Make sure sync startup operations are cleared after startup 2021-05-09 18:12:47 +02:00
Laurent Cozic
a6caa357c8 Desktop: Add synchronization tools to clear local sync state or data 2021-05-03 12:57:46 +02:00
JackGruber
156a681ecf
All: Add "id" and "due" search filters (#4898) 2021-04-29 15:27:38 +01:00
Caleb John
b1ea3f3ad1
Desktop: Add "duplicate line" command in Markdown editor (#4873)
Ref: https://discourse.joplinapp.org/t/duplicate-line-command/12650/15
2021-04-25 09:57:35 +01:00
Laurent Cozic
3235f58f5a Desktop: Resolves #4727: Add support for safe mode, which temporarily disables note rendering and plugins 2021-04-24 20:23:33 +02:00
Laurent Cozic
5a620ee26e Desktop: Fixes #4669: Copying code block from Rich Text editor results in two copies of the text
Also improved copying plain text from Rich Text editor - in that case the HTML is converted to Markdown
2021-04-11 19:01:06 +02:00
Helmut K. C. Tessarek
2fc9c53ff0
Desktop: Add an option to renew the API token (#4811) 2021-04-07 19:27:16 +01:00
Aksh-Konda
c37c2256c6
Desktop: Resolves #4759: Fixed editor focus issue when running command from palette (#4812) 2021-04-06 21:21:24 +01:00
Jalaj
0985340a7f
Desktop: Resolves #4614: Allow registering multiple settings in one call (#4627) 2021-03-23 09:01:02 +00:00
Laurent Cozic
d76ec0ba0d Chore: Fixed TS issues 2021-03-15 16:33:42 +00:00
Nishant Mittal
f8b7d20255
API: Resolves #4655: Don't compress image when resource is added through api (#4660) 2021-03-14 15:28:34 +00:00
Naveen M V
a1423e4851
All: Filter "notebook" can now be negated (#4651) 2021-03-11 14:42:39 +00:00
Naveen M V
3657c0369e
Chore: Clean up unused fuzzy search code (#4593) 2021-03-10 22:27:45 +00:00
Laurent Cozic
ce8f156f51 Desktop: Fixed issue which could cause plugin views to be orphaned 2021-02-07 16:47:56 +00:00
Laurent Cozic
26bce33e98 Plugins: Only call onNoteChange for the current note
Otherwise it could mean hundreds of updates when notes are being imported
or during sync.
2021-02-07 15:29:36 +00:00
Laurent Cozic
6f52107234 Merge branch 'dev' of github.com:laurent22/joplin into dev 2021-02-07 10:10:30 +00:00
Laurent Cozic
c5b8d82234 Desktop: Fixes #4473: Improved enabling/disabling commands depending on application state 2021-02-07 10:09:28 +00:00
Caleb John
33e1214ef6
Desktop: Undo changes introduced in #4303 (#4406) 2021-02-06 16:01:06 +00:00
Laurent Cozic
11c8bf7e6e Desktop: Resolves #4458: Improved spell checking support in dialogs and text input fields 2021-02-06 12:17:30 +00:00
Laurent Cozic
bd5e3d363c Desktop: Fixes #4452: Fixed exporting as HTML or PDF when a plugin is active, and make sure plugin assets are also exported 2021-02-05 21:27:19 +00:00
Laurent Cozic
1f536ba3d9 Plugins: Fixes #4407: Apply "fields" query parameter when requesting data from data API 2021-02-01 12:41:25 +00:00
Laurent Cozic
dadec484e9 Merge branch 'release-1.7' into dev 2021-01-30 12:21:14 +00:00
Laurent Cozic
73314447b9 Desktop: Fixes #4441: Fixed copying text from Rich Text editor 2021-01-30 11:08:11 +00:00
Laurent Cozic
ccbc329cbf Server: Add support for sharing notes via a link 2021-01-29 18:45:11 +00:00
Laurent Cozic
12187b9da3 Mobile: Fixed mobile build 2021-01-27 17:42:58 +00:00
Laurent Cozic
ea49242f24 Plugins: Add support for joplin.plugins.installationDir to allow accessing external files packaged with the plugin 2021-01-27 12:48:47 +00:00
Laurent Cozic
774be9cc0d Desktop: Do not allow installing plugins incompatible with current app version 2021-01-24 18:45:42 +00:00
Laurent Cozic
a320e113ac Plugins: Add support for joplin.plugins.require API to allow using sqlite3 or fs-extra from a plugin 2021-01-24 18:03:33 +00:00
Laurent Cozic
cbd842c268 Plugins: Add support for plugins.dataDir function, to provide a path for plugin to store its own data 2021-01-24 15:51:35 +00:00
Laurent Cozic
63559ac8b9 Tools: Apply eslint rule "no-multi-spaces" 2021-01-23 15:51:19 +00:00
Laurent Cozic
86610e7561 Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
Laurent Cozic
469143c2e8 Plugins: Fixed dropdown settings 2021-01-22 00:55:58 +00:00
Laurent Cozic
63493214a0 Desktop: Move plugin settings under separate section in config menu 2021-01-21 22:40:14 +00:00
Laurent Cozic
f9b0e2f6df Tools: Various improvements on plugin-repo-cli 2021-01-21 00:12:59 +00:00
Laurent Cozic
f37d37e613 Desktop: Allow updating a plugin 2021-01-19 22:58:09 +00:00
Laurent Cozic
5aa5089ae0 Plugins: Add support for "keywords" manifest field 2021-01-12 15:34:59 +00:00
Laurent Cozic
e595e19c0d Typo 2021-01-12 02:27:56 +00:00
Laurent Cozic
2489409abb Plugins: Added support for bi-directional messages in content scripts and webview scripts using postMessage 2021-01-11 23:33:10 +00:00
Caleb John
b7313568de
Desktop: Fixes #4338: Some commands were no longer working (#4343) 2021-01-11 22:17:34 +00:00
Laurent Cozic
023170548f Plugins: Added joplin.settings.onChange event 2021-01-08 22:20:59 +00:00
Laurent Cozic
c9f40ea23f Desktop, Cli: Resolves #4310: Do not display error message when fixing ENEX resource mime type 2021-01-08 17:49:53 +00:00
Caleb John
c484c88715
Desktop: Fix issue that was preventing editor context menu from being refreshed (#4303) 2021-01-08 16:35:23 +00:00
Laurent Cozic
32dab88054 Tools: Fixed validatePluginId test 2021-01-07 19:30:29 +00:00
Laurent Cozic
6dc5a816e5 Desktop: Add support for searching and installing plugins from repository 2021-01-07 16:30:53 +00:00
Laurent Cozic
7114228fd6 Validate plugin ID 2021-01-06 20:27:04 +00:00
Laurent Cozic
8d4d438136 Tools: Updated script to build plugin repository 2021-01-06 20:23:23 +00:00
Laurent Cozic
b5fc206202 Plugins: Added joplin.workspace.selectedFolder() 2021-01-04 16:49:59 +00:00
Laurent Cozic
794fb6a122 Plugins: Fixes #4285: Allow API paths that contain 4 elements 2021-01-04 16:17:06 +00:00
Laurent Cozic
3e948146cd Generator: Resolves #4229: Add support for compiling content script 2021-01-03 13:21:48 +00:00
Laurent Cozic
34c1096307 Plugins: Allow loading external JS or CSS from dialog 2021-01-02 16:21:32 +00:00
Laurent Cozic
5b295d5f6f Plugins: Add support for hiding and showing panels 2021-01-02 13:32:15 +00:00
Laurent Cozic
d2771029a3 Server: Support for notifications and clean up 2020-12-30 18:35:18 +00:00
Laurent Cozic
5dc3baa50c Desktop: Removed warning for Markdown editor spell checking 2020-12-23 23:19:35 +00:00
Laurent Cozic
5826a8d373 Desktop, Cli: Improved error handling when importing ENEX files 2020-12-23 17:25:26 +00:00
Laurent Cozic
db4f6e9ce5 Chore: Fixed mobile build 2020-12-20 07:52:28 +00:00
Laurent Cozic
1aebcbb27c Merge branch 'dev' of github.com:laurent22/joplin into dev 2020-12-19 22:17:48 +00:00
Caleb John
2529da5b09
Desktop: Fixes #4130: Register Markdown editor commands with the Keyboard Shortcut editor (#4136) 2020-12-19 17:57:41 +00:00
Laurent Cozic
d1a7d31335 Desktop: Use plugins whenever printing or exporting notes
Ref: https://discourse.joplinapp.org/t/external-css-per-note-is-being-ignored/13016/6
2020-12-19 17:42:18 +00:00
Laurent Cozic
9f8e6a3060 Plugins: Add support for context menu items on notebooks and tags 2020-12-11 13:28:59 +00:00
Laurent Cozic
5cd9114334 Chore: access modifiers on classes 2020-12-11 12:29:21 +00:00
Laurent Cozic
65cc6853bd Plugins: Added a way to execute commands from Markdown-it content scripts 2020-12-11 12:00:24 +00:00
Laurent Cozic
bc76e4a918 Plugins: Fixed disabling plugin files that start with "_" 2020-12-10 16:45:00 +00:00
Laurent Cozic
5cafc8cea5 Chore: Fixed a few links that were broken after Lerna upgrade 2020-12-10 15:13:29 +00:00
Laurent Cozic
ff5e8ee7aa Chore: Fixed a few links that were broken after Lerna upgrade 2020-12-10 15:04:54 +00:00
Laurent Cozic
afebce145f Doc: Fixed formatting 2020-12-09 22:04:10 +00:00
Roman Musin
92b4795410
All: Fixed #4025: Fixed issue when searching for text that contains diacritic (#4152) 2020-12-09 13:02:54 +00:00
Laurent Cozic
dc3e9178ef Desktop: Fixed issue with attachment paths being invalid when user has spaces in home directory path. Also fixed race condition in test units that could make them randomly fail. 2020-12-09 12:53:47 +00:00
Laurent Cozic
f21199a7f3 Chore: Convert test-utils to TypeScript 2020-12-08 20:01:33 +00:00
Laurent Cozic
cdf2873883 Plugins: Commands would not show up in keymap editor when no shortcut was associated with them
Ref: https://discourse.joplinapp.org/t/plugin-note-tabs/12752/39
2020-12-08 19:45:08 +00:00
Laurent Cozic
0390928fea Merge branch 'dev' of github.com:laurent22/joplin into dev 2020-12-08 19:04:03 +00:00
Laurent Cozic
efb3546675 Plugins: Add support for workspace.onSyncStart event 2020-12-08 19:03:22 +00:00
Helmut K. C. Tessarek
b780261153
Chore: moving the keycode map to a separate file (#4192)
/ref https://github.com/laurent22/joplin/pull/4022#issuecomment-726263640
2020-12-06 15:01:30 +00:00
Laurent Cozic
046433a947 Tools: Fixed issue with gettext not knowing how to parse regex that includes backtick 2020-12-05 11:54:58 +00:00
Caleb John
92fe5e2362
Desktop: Fixes #4036: Focus editor after pressing toolbar buttons (#4037) 2020-12-02 10:36:00 +00:00
Laurent Cozic
05e9000087 Plugins: Improved note change event handling. Also added tests and improved debugging plugins. 2020-12-01 14:08:41 +00:00
Laurent Cozic
d588bddfaa Revert "Tools: Adding debug info to tests"
This reverts commit 154b3573a4.
2020-11-29 16:47:07 +00:00
Laurent Cozic
154b3573a4 Tools: Adding debug info to tests 2020-11-29 13:13:53 +00:00
Laurent Cozic
1851b0e7d1 Merge branch 'release-1.4' into dev 2020-11-29 00:22:17 +00:00
Laurent Cozic
849ef418a6 Desktop: Fixed notifications on macOS 2020-11-28 12:03:06 +00:00
Laurent Cozic
5f80628a4d Desktop: Fixed potential crash when watching note files or resources 2020-11-27 12:19:57 +00:00
Laurent Cozic
011a65f73b Desktop: Fixed potential crash when watching note files or resources 2020-11-27 11:08:42 +00:00
Naveen M V
69a4a895d4
All: Fixed basic search when executing a query in Chinese (#4034) 2020-11-26 12:35:04 +00:00
Laurent Cozic
9b64c1fbdb Added no-floating-promises eslint rule 2020-11-25 14:40:25 +00:00
Laurent Cozic
a37f84e988 Clipper: Certain tags could be missing from the dropdownlist 2020-11-25 10:27:41 +00:00
Laurent Cozic
c213d5056c Desktop: Fixed resource watching on Windows 2020-11-23 16:38:29 +00:00
Laurent Cozic
544d879c0b Plugins: Use plugin ID as filename 2020-11-19 23:46:04 +00:00
Laurent Cozic
dbbd930f81 All: Added global logger
Avoids having to pass around a logger to every module and sub-module,
and makes it easier to set log level globally.
2020-11-19 15:25:02 +00:00
Laurent Cozic
e57444dc32 Desktop: Add config screen to add, remove or enable, disable plugins 2020-11-19 12:34:49 +00:00
Laurent Cozic
8e2daef144 Plugins: Add support for the JPL plugin format 2020-11-18 10:17:27 +00:00
Laurent Cozic
73571f1c48 Merge branch 'dev' of github.com:laurent22/joplin into dev 2020-11-17 18:28:46 +00:00
Caleb John
3e00f6078d
Plugins: Add support for external CodeMirror plugins (#4015) 2020-11-17 18:28:32 +00:00
Laurent Cozic
355ba2c278 Plugins: Add support for JPL archive format 2020-11-17 18:26:24 +00:00
Laurent Cozic
4e08adb76f Plugins: Added command to export folders and notes 2020-11-17 14:50:28 +00:00
Laurent Cozic
eb8284ecdb Desktop, Cli: Resolves #4095: Allow exporting conflict notes 2020-11-17 11:50:46 +00:00
Laurent Cozic
7be93b1fbb API: Make sure pagination sort options are respected for search and other requests 2020-11-17 09:53:50 +00:00
Laurent Cozic
5f05f85e41 Desktop: Fixes #4011: Prevent log from filling up when certain external editors trigger many watch events 2020-11-16 16:34:05 +00:00
Laurent Cozic
adde092ea6 Plugins: Fixed issue with dialog being empty in some cases 2020-11-16 16:14:26 +00:00
Laurent Cozic
a808281dd2 Desktop: Regression: Fixed external edit file watching 2020-11-16 11:03:44 +00:00
Laurent Cozic
ce59d29bb3 Plugins: Added support app_min_version property and made it required 2020-11-15 14:18:46 +00:00
Laurent Cozic
2f1cc71922 Fixed path 2020-11-14 00:31:45 +00:00
Laurent Cozic
4f41fb7b54 Plugins: Add support for editor context menu 2020-11-14 00:02:17 +00:00
Laurent Cozic
7151a48138 Merge branch 'dev' of github.com:laurent22/joplin into dev 2020-11-13 23:37:24 +00:00
Laurent Cozic
872d2942b4 All: Allow lowercase filters when doing search 2020-11-13 22:29:28 +00:00
Laurent Cozic
918b768634 Plugins: Fix crash when path includes trailing slash 2020-11-13 22:03:10 +00:00
Laurent Cozic
8305eb4403 API: Fix note and resource association end points 2020-11-13 21:45:25 +00:00
Laurent Cozic
458ae3731d Doc: Add beta banner for plugin API 2020-11-13 19:12:49 +00:00
Laurent Cozic
a647272cf0 Plugins: Allow retrieving form values from dialogs 2020-11-13 18:48:42 +00:00
Laurent Cozic
67f0739d3c Desktop: Allow customising application layout 2020-11-13 17:09:28 +00:00
Laurent Cozic
17d835d694 Tools: Apply rule @typescript-eslint/member-delimiter-style 2020-11-12 19:29:22 +00:00
Laurent Cozic
42799b0662 Tools: Apply rule @typescript-eslint/comma-dangle 2020-11-12 19:23:54 +00:00
Laurent Cozic
d20694e52c Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
Helmut K. C. Tessarek
340312fa80
Desktop: Fix handling of certain keys in shortcut editor (#4022)
String.fromCharCode expects unicode charcodes as an argument; e.keyCode returns javascript keycodes.
Javascript keycodes and unicode charcodes are not the same thing!

Therefore I used an array to map keycodes. This seems to be the only way to make this work properly.

I also changed the width of the shortcut recorder input field to 200px, since certain key combinations are cut off, because they don't fit in the field.
2020-11-12 18:40:00 +00:00
Laurent Cozic
8808b38d83 Fixed desktop build 2020-11-11 12:51:51 +00:00
Laurent Cozic
0fd0451c17 API: Change pagination to has_more model 2020-11-11 11:52:47 +00:00
Laurent Cozic
06f2fda946 Tools: Replace Jasmine with Jest to run tests 2020-11-10 15:59:30 +00:00
Laurent Cozic
31a0449e71 Tools: Added script to generate database types for TypeScript 2020-11-09 13:12:11 +00:00
Laurent Cozic
d0ec598ee4 Desktop: Fixes #3904, Fixes #3973: Fixed inconsistent note list state when using search 2020-11-09 12:07:37 +00:00
Laurent Cozic
ca8b05631a Tools: Fixed tests 2020-11-09 09:21:05 +00:00
Laurent Cozic
5269a4b7fa Chore: Convert ResourceService to TypeScript 2020-11-08 16:46:48 +00:00
Laurent Cozic
88a2f9c85c Desktop: Regression: Fix exporting to HTML and PDF 2020-11-08 02:20:56 +00:00
Laurent Cozic
bd2081c3b6 Desktop: Added toolbar button to switch spell checker language 2020-11-08 01:08:33 +00:00
Laurent Cozic
aa47ffb30f Api: Added way to get the notes associated with a resource 2020-11-07 16:45:02 +00:00
Laurent Cozic
83b175bb5b Api: Added ability to watch resource file 2020-11-07 16:32:08 +00:00
Laurent Cozic
04bfbec96b Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
Laurent Cozic
cc07016b07 All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00