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

302 Commits

Author SHA1 Message Date
Laurent Cozic
ccec93eaa3 fix tests 2023-05-19 10:44:49 +01:00
Laurent Cozic
caf66068bf Desktop, Mobile: Security: Disable SVG tag support in editor to prevent XSS 2023-05-17 16:00:24 +01:00
Laurent Cozic
19bdda25c6 Desktop: Security: Prevent XSS and potential RCE when using a special HTML tag 2023-05-11 14:17:37 +01:00
Laurent Cozic
b26bc9ed5f Desktop: Security: Fixed possible XSS injection 2023-05-10 16:27:16 +01:00
Julien
71ea74d273
Desktop: Fixes #4801: Do not allow update for plugins incompatible with current version (#7936) 2023-03-17 08:50:51 +00:00
Laurent Cozic
3eca4ada5a Tools: Add eslint rule "jest/require-top-level-describe" 2023-03-09 17:50:56 +00:00
pedr
f2995dd196
Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
Laurent Cozic
7fa1459dc3 Tools: Apply eslint rules "no-console" and "id-denylist" 2023-02-16 10:58:24 +00:00
Laurent Cozic
f4f96cfe89 Update plugin types 2023-01-05 10:41:17 +00:00
Wartijn
527a7da2ff
Desktop: Fixes #7329: Fixes import of tasklists from enex files (#7344) 2022-12-27 15:17:42 +00:00
Laurent Cozic
466d79e5d0 Chore: Fixed tests 2022-11-24 21:08:25 +01:00
Laurent Cozic
64199704c2 Chore: Complete Jest upgrade 2022-11-15 10:23:50 +00:00
Laurent Cozic
a2de167b95 All: Security: Fix XSS when a specially crafted string is passed to the renderer 2022-11-14 17:16:59 +00:00
Laurent Cozic
12531a63f9 Tools: Also pin dev dependencies 2022-11-05 14:52:40 +00:00
Laurent Cozic
3a09945ad0 Tools: Pin all dependencies 2022-11-05 13:09:41 +00:00
Mayank Bondre
66c9ee0a1a
Desktop: Fix missing plugin file error and missing setting key error in dev mode (#6827) 2022-09-12 16:08:06 +01:00
Mayank Bondre
3942029c90
Desktop: Bundle default plugins with desktop application (#6679) 2022-09-01 11:53:58 +01:00
Mayank Bondre
01f4bb0591
Desktop: Install default plugins on first app start (#6585) 2022-09-01 11:44:33 +01:00
Laurent Cozic
052d9f03d6 Chore: Add eslint rule to enforce strict equality (eqeqeq) 2022-07-23 09:31:32 +02:00
Laurent Cozic
8abdbfe2bd Fixed MdToHtml regression 2022-04-26 12:52:48 +01:00
Laurent Cozic
774c20772b Security: Fixed disallowed tag XSS 2022-04-25 17:18:27 +01:00
Laurent Cozic
fc095986b0 Plugins: Add support for file and directory selector in Settings API 2022-04-20 16:21:57 +01:00
Kenichi Kobayashi
f6e21e0180
Desktop: Fixes #6074: Scroll jumps when typing if heavy scripts or many large elements are used (#6383) 2022-04-10 11:31:17 +01:00
Mayank Bondre
bc977bf43f
Desktop: Fixes #5803: Fixes alt text not appearing in html (#6017) 2022-01-18 11:11:21 +00:00
Laurent Cozic
de569bd995 Plugins: Updated types 2021-12-27 17:46:46 +01:00
Laurent Cozic
e08359f7e0 Tools: Removed no longer needed double-dash and fixed CI 2021-12-21 17:55:30 +01:00
Laurent
7f64fbfd9b
Tools: Use Yarn 3 to manage monorepo (#5833) 2021-12-20 15:08:43 +00:00
Laurent Cozic
4deeed0d5c Desktop, Mobile: Fixes #5687: Fixed issue with parts of HTML notes not being displayed in some cases 2021-11-09 18:33:28 +00:00
Laurent Cozic
89179c2776 Desktop, Cli: Add support for more style of highlighted texts when importing ENEX files 2021-11-09 16:42:50 +00:00
agerardin
6b31609338
Plugins: Allow posting messages from plugin to webview (#5569) 2021-11-09 15:50:50 +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
Caleb John
2acd55eb81
Desktop, Cli: Resolves #5224: Add Markdown + Front Matter exporter/importer (#5465) 2021-10-16 09:59:37 +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
87f83236cf Desktop: Fixes #5480: Underline was not applied when using Cmd+U in Rich Text editor 2021-09-19 12:35:06 +01:00
Caleb John
4ba417a2f4
Desktop: Various improvements to Markdown import and export (#5290)
In preparation for #5224
2021-08-23 00:35:45 +01:00
Ahmad Mamdouh
9b27b3b1fb
Plugins: Resolves #5288: Improved support for fitToContent webview property (#5298) 2021-08-18 12:09:45 +01:00
Roman Musin
e57e5d3b3f
All: Fixes #5245: Bump hightlight.js to v11.2 (#5278) 2021-08-12 22:07:57 +01:00
Laurent
dcd5a8d975
All: Improved E2EE usability by making its state a property of the sync target (#5276) 2021-08-12 16:54:10 +01:00
Laurent Cozic
98d6aff275 Doc: Create page with info about Configuration Screen and added links to it 2021-08-12 16:20:56 +01:00
Laurent Cozic
70cdaa3a22 Revert "Plugins: Add ability to make dialogs fit the application window (#5219)"
This reverts commit c89037b4a2.

Ref: https://github.com/laurent22/joplin/pull/5219#issuecomment-896702259
2021-08-11 11:25:14 +01:00
Laurent Cozic
bac0d68156 Plugins: Updated types 2021-08-10 11:34:49 +01:00
Laurent Cozic
c3f10d31cb Chore: Convert E2EE related files to TypeScript 2021-08-07 12:22:37 +01:00
Ahmad Mamdouh
d3c1edc3ee
Fix wrong variable name (#5235) 2021-07-24 10:41:39 +01:00
Laurent Cozic
07d2a60c75 Plugins: Add support for loading application chrome and note CSS from the plugin 2021-07-23 11:05:21 +01:00
Ahmad Mamdouh
c89037b4a2
Plugins: Add ability to make dialogs fit the application window (#5219) 2021-07-22 10:21:57 +01:00
Laurent Cozic
75cc73cc0c Desktop, Cli: Fixes #5213: Import highlighted text from ENEX files 2021-07-20 10:39:20 +01:00
Laurent Cozic
0019bd147a Desktop, Cli: Fixes #4965: Handle special type of code block when importing ENEX files 2021-06-23 11:55:10 +01:00
Laurent Cozic
50ecdc2ff1 Plugins: Add support for read and writing text, HTML and images from/to clipboard 2021-06-20 12:03:18 +01:00
Laurent Cozic
097e49d797 All: Fixes #5051: Fixed error that could prevent a revision from being created, and that would prevent the revision service from processing the rest of the notes 2021-06-20 11:19:59 +01:00
Laurent Cozic
ab9bbcbff2 Plugins: Fixed saving secure settings to the keychain, and added way to store plugin settings to settings.json 2021-06-19 15:56:37 +01:00
Laurent Cozic
7aff6d271d Cli: Added flag to disable local lock when synchronising 2021-06-19 11:41:36 +01:00
Laurent Cozic
a86a80b21c Fixed column type for Postgres 2021-06-19 11:05:06 +01:00
Laurent Cozic
4dc1210eb5 All: Improved first sync speed when synchronising with Joplin Server 2021-06-19 10:34:44 +01:00
Laurent Cozic
0222c0f0a6 All: Allow uploading items in batch when synchronising with Joplin Server 2021-06-18 17:17:25 +01:00
Laurent Cozic
a38958ab7b Tools: Added scripts to test server performances 2021-06-17 11:21:37 +01:00
Laurent Cozic
578550e824 Plugins: Updated types 2021-06-16 20:01:32 +01:00
Subhra264
ce02a30441
Desktop, Mobile: Fixes #5025: Inline Katex gets broken when editing in Rich Text editor (#5052) 2021-06-08 19:23:10 +01:00
Laurent Cozic
8f6a47536c Desktop: Download plugins from GitHub release 2021-06-01 11:09:46 +02:00
Laurent Cozic
5f94de0f24 Fixed tests 2021-05-27 15:44:07 +02:00
JackGruber
2b286410f6
Desktop: Fixes #4411: Count tags based on showCompletedTodos setting (#4957) 2021-05-27 12:44:58 +01:00
Laurent Cozic
cde25fad92 Fixed tests and server build 2021-05-25 17:50:51 +02:00
Laurent Cozic
e94503abbe Tools: Fixed tests 2021-05-21 17:02:56 +02:00
Laurent Cozic
2806aa1b19 Tools: Moved lib-specific tests under lib package 2021-05-21 15:17:21 +02:00
JackGruber
eceb14ff9e
Desktop: Resolves #4433: Import linked local files when importing Markdown files (#4966) 2021-05-19 22:22:03 +01:00
Laurent Cozic
6577f4f35d Desktop: Regression: It was no longer possible to add list items in an empty note 2021-05-17 20:30:48 +02:00
Laurent Cozic
aec3ea9c0c Desktop, Cli: Fixes #4965: Improved importing Evernote notes that contain codeblocks 2021-05-15 11:12:11 +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
Helmut K. C. Tessarek
fa6981faa8
All: Add new date format YYMMDD (#4954) 2021-05-13 08:55:41 +01:00
Laurent Cozic
66dbbf3822 Plugins: Updated types 2021-05-10 11:33:28 +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
JackGruber
0aef1f95ef
All: Resolves #3157: Also duplicate the tags when the note is duplicated (#4876) 2021-04-24 09:16:36 +01: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
Ahmad Mamdouh
1354c247b4
Desktop: Resolves #4766: ENTER key no longer submits dialogs when a textarea is focused. (#4777) 2021-04-08 10:31:26 +01:00
Jalaj
518d7fc187
Desktop: Fixes #4697: Prevent Goto anything from changing folders when all notes filter is on (#4751)
Fixes #4697
2021-04-08 10:10:11 +01:00
mbalint
c516ab405b
Mobile: Resolves #720: Add "Sync only on Wi-Fi" option (#4729) 2021-03-29 09:35:39 +01:00
iamtalwinder
99b55129f2
Doc: Update TOC plugin (#4708) 2021-03-26 09:10:06 +00:00
Jalaj
0985340a7f
Desktop: Resolves #4614: Allow registering multiple settings in one call (#4627) 2021-03-23 09:01:02 +00:00
Laurent Cozic
8ba49c6fdf Desktop: Add support for strikethrough, sub, sup and insert formatting on Rich Text editor 2021-03-17 09:48:01 +00:00
Laurent Cozic
f3b2ca4752 Desktop: Add support for higlighting text from Rich Text editor 2021-03-16 19:39:35 +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
Laurent Cozic
71f976f6a5 Desktop, Cli: Save user settings to JSON file 2021-02-09 17:54:29 +00:00
Laurent Cozic
3a8aea1aa4 Fixed tests 2021-02-08 16:28:18 +00:00
Laurent Cozic
f0943f7b67 Fixed tests 2021-02-08 15:36: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
526b16b931 Plugins: Resolves #4474: Focus dialog when it is opened so that ENTER/ESC shortcuts work 2021-02-07 09:39:56 +00:00
Caleb John
33e1214ef6
Desktop: Undo changes introduced in #4303 (#4406) 2021-02-06 16:01:06 +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
127a28e9b0 Desktop: Fixes #4416: Fixed formatting of consecutive code blocks 2021-02-05 16:51:37 +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
b1b5069a23 Desktop: Fixes #4426: Improved handling of empty paths for Joplin Server sync target 2021-02-01 10:48:37 +00:00
Laurent Cozic
dadec484e9 Merge branch 'release-1.7' into dev 2021-01-30 12:21:14 +00:00
Laurent Cozic
285482804a Converted htmlUtils to TypeScript 2021-01-30 12:19:43 +00:00
Laurent Cozic
ccbc329cbf Server: Add support for sharing notes via a link 2021-01-29 18:45:11 +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
f7a457fb6c Desktop, Cli: Some imported ENEX files incorrectly had invisible sections 2021-01-25 15:54:11 +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
3ecf942b44 Merge branch 'release-1.6' into dev 2021-01-21 13:49:23 +00:00
Laurent Cozic
8d35298500 Desktop: Fixes #4305: Fixed infinite sync issue with OneDrive
- Disable support for unreliable OneDrive delta sync, and switched to basic sync
- More robust error handling to take into account how unreliable the OneDrive API became
2021-01-20 15:49:02 +00:00
Laurent Cozic
f37d37e613 Desktop: Allow updating a plugin 2021-01-19 22:58:09 +00:00
Laurent Cozic
63e30f6ccb Plugins: Updated types 2021-01-19 16:48:13 +00:00
Laurent Cozic
4743b0b5ce Plugins: Updated types 2021-01-13 12:17:54 +00:00
Laurent Cozic
5aa5089ae0 Plugins: Add support for "keywords" manifest field 2021-01-12 15:34:59 +00:00
Laurent Cozic
79dde365f0 Doc: Updated doc and tests for plugin postMessage() update 2021-01-11 23:34:06 +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
Laurent Cozic
023170548f Plugins: Added joplin.settings.onChange event 2021-01-08 22:20:59 +00:00
Laurent Cozic
d75adc3740 Desktop: Fixed attaching local files that contain spaces in path
Ref: https://discourse.joplinapp.org/t/a-minor-bug-on-linking-to-local-files/13654
2021-01-08 18:33:22 +00:00
Laurent Cozic
c8755839be Desktop, Cli: Resolves #4316: Improved support for bold and italic format when importing ENEX file 2021-01-08 17:40:18 +00:00
Laurent Cozic
b66d90bbcc Tools: Fixed config of demo plugins 2021-01-08 16:44:11 +00:00
Laurent Cozic
41edf5b2da Plugins: Updated types 2021-01-08 16:36:48 +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
Jerry Zhao
7a6966405c
All: Support natural sorting by title (#4272) 2021-01-07 16:29:53 +00:00
Laurent Cozic
330ef6f7e6 Tools: Fixed plugin package.json 2021-01-04 19:18:29 +00:00
Laurent Cozic
4a579393f3 Plugins: Updated types 2021-01-04 18:46:43 +00:00
Laurent Cozic
b5fc206202 Plugins: Added joplin.workspace.selectedFolder() 2021-01-04 16:49:59 +00:00
Laurent Cozic
1dbeff1908 Tests: Fixed potential timing issue in tests
Might fix this: https://travis-ci.org/github/laurent22/joplin/jobs/752585346#L1352
2021-01-03 16:27:51 +00:00
Laurent Cozic
3e948146cd Generator: Resolves #4229: Add support for compiling content script 2021-01-03 13:21:48 +00:00
Laurent Cozic
491714cde6 Desktop, Mobile: Fixed issue where file:// URLs would not be rendered correctly 2021-01-02 16:53:59 +00:00
Laurent Cozic
5b295d5f6f Plugins: Add support for hiding and showing panels 2021-01-02 13:32:15 +00:00
Laurent Cozic
70381a233b Merge branch 'release-1.5' into dev 2020-12-29 16:17:18 +00:00
Laurent Cozic
143f0b4bc5 Desktop, Cli: Improve support for SVG images when importing ENEX files 2020-12-29 15:58:20 +00:00
Laurent
41684a64ef
Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
Laurent Cozic
d0f1a67d96 Plugins: Updated types 2020-12-27 22:26:17 +00:00
Laurent Cozic
b8f14d50f5 Desktop, Cli: Add table captions when importing ENEX files 2020-12-25 17:44:51 +00:00
Laurent Cozic
9e2f60523f Desktop, Cli: Fixed issues when importing hidden tables within hidden sections in Enex files 2020-12-25 16:37:05 +00:00
Laurent Cozic
5826a8d373 Desktop, Cli: Improved error handling when importing ENEX files 2020-12-23 17:25:26 +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
b8493baa5e Desktop, Cli: Fixed import of ENEX files that contain invisible sections
Ref: https://discourse.joplinapp.org/t/code-block-imports-from-evernote/13113/4
2020-12-19 16:18:07 +00:00
Laurent Cozic
f53a7d3a8a Desktop, Cli: Fixed importing certain code blocks from ENEX
Ref: https://discourse.joplinapp.org/t/13113
2020-12-19 15:37:42 +00:00
Laurent Cozic
33c5037816 Desktop, Cli: Fixed importing ENEX files that contain resources with invalid mime type 2020-12-18 23:56:38 +00:00
Laurent Cozic
693f59d07a Tools: Fixed OneDrive test units 2020-12-16 11:19:35 +00:00
Laurent Cozic
59e2e65de0 Tools: Fixed auth for OneDrive test units 2020-12-16 01:00:53 +00:00
Laurent Cozic
e351564bec Fixed tests 2020-12-11 16:03:55 +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
65cc6853bd Plugins: Added a way to execute commands from Markdown-it content scripts 2020-12-11 12:00:24 +00:00
Laurent Cozic
3ed0083e94 Plugins: Add support for content script asset files, for Markdown-it plugins 2020-12-10 16:09:31 +00:00
Laurent Cozic
a737a21185 Tools: Fixed another race condition in test units 2020-12-09 15:06:22 +00:00
Laurent Cozic
234c05a966 Desktop: Rich Text: Do not converts to markdown links URLs that would be linkified 2020-12-09 14:58:38 +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
3e21e9a334 Tests: Increased 'slow threshold' to 20 seconds, because we use Jest for integration testing too 2020-12-09 12:57:25 +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