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

1210 Commits

Author SHA1 Message Date
Laurent Cozic
5516b3284c Cli: Fix build 2020-03-07 01:00:11 +00:00
Laurent Cozic
ed0fae36ad CLI v1.0.157 2020-03-07 00:57:10 +00:00
Laurent Cozic
35d27f03bd Cli: Fix build 2020-03-07 00:55:59 +00:00
Laurent Cozic
1600d27db4 CLI v1.0.156 2020-03-07 00:33:12 +00:00
Laurent Cozic
03146ed85f All: Security: Changed default encryption method to CCM 2020-03-06 22:33:33 +00:00
Laurent Cozic
c6c4e950db All: Fixes #2591: Handle invalid UTF-8 data when encrypting 2020-03-06 19:11:51 +00:00
Laurent Cozic
972e5aed8a All: Regression: Fixed issue with style embeded in notes 2020-03-06 18:22:40 +00:00
Laurent Cozic
71d1e6eb82 All: Fixes #2667: Fixed sanitize function so that it does not break HTML 2020-03-06 00:54:21 +00:00
Gen NK
465691d5c9
Translation: Update ja_JP.po (#2657)
* Translate new strings

* Make existing translations for 'title' consistent
2020-03-04 12:36:20 -05:00
Laurent Cozic
cb2df32d91 All: Fixes #2640: HTML code within Markdown was rendered incorrectly in some cases 2020-03-04 00:54:27 +00:00
Helmut K. C. Tessarek
80fff62b34
update de_DE.po 2020-03-03 03:20:09 -05:00
Helmut K. C. Tessarek
0f6867662c
Update translations 2020-03-03 02:56:10 -05:00
mic704b
54dc2219fe
Tests: Integration harness fixes and refactors. (#2569)
* Test harness fixes and integration test refactor and addition.

* Clean up.

* Address review comments.

* Improve method names.
2020-02-27 18:25:42 +00:00
mic704b
3830f5ee46
Desktop: Fix to update tag list when note is deleted. (#2554)
* Ensure tag list updated when note is deleted.

Add integration tests.

* Revert whitespace changes.
2020-02-26 23:42:14 +00:00
Jeremy Robertson
0e23ea5284
Desktop: Resolves #160: Add word counter feature to notes (#2444)
* Add word counter logic

Fix errant whitespace changes

* update to using react hooks
Use React hooks
remove extra theme set
Update styling function

* correct linting and package lock issues

* WIP: update button functionality

* Add line count and update styling from feedback

* corrected file location to fit new build
2020-02-25 09:43:31 +00:00
StarFang208
fd405457e4
Translation: Update it_IT.po (#2551)
Translated the missing lines.
2020-02-22 17:53:25 -05:00
Sem
65706980a2
Translation: Update de_DE.po (#2557) 2020-02-22 15:48:24 -05:00
mic704b
fbedc6b29b
Desktop: Resolves #262: Implement "show all notes" (#2472)
* Implement "show all notes" feature.

* Ensure middleware is completely flushed and shutdown before continuing tests.
2020-02-22 11:25:16 +00:00
Laurent Cozic
3cf3cd1598 Cli: Fixes #2536: Fixed issue when a notebook does not have a parent 2020-02-21 18:01:15 +00:00
Laurent Cozic
b4b424bf8a Tools: Moved testing under "npm run test" and clean-up no longer used shell scripts 2020-02-21 12:15:06 +00:00
mic704b
1f803662d3
Tools: Improve test building (#2546) 2020-02-21 11:48:53 +00:00
genneko
ea1db84fcc
Translation: Fix an sprintf format error in ja (#2541) 2020-02-20 23:10:21 -05:00
Laurent Cozic
3407a31cf6
Tools: Improve and simplify how to build the apps (#2538)
* Improving CLI build

* Improving CLI build

* Remove requirement to build the tools

* Moved Electron app one level down

* Clean up Electron build

* Moved tools to sub-dir

* Updated root script

* update root

* update root

* update root

* update root

* update root

* update root

* Updated build

* Added doc

* Update CI config

* Should not lint index.js

* Fixing jetify

* Fixed linter errors

* Fixed pod build

* Fixed Windows build
2020-02-20 22:59:18 +00:00
genneko
8d43e1215a
Translation: Update ja_JP.po (#2537) 2020-02-20 12:02:59 -05:00
Ji-Hyeon Gim
6449289147
Translation: Update ko.po (#2534)
Signed-off-by: Ji-Hyeon Gim <potatogim@potatogim.net>
2020-02-20 12:00:52 -05:00
zaoyifan
5a33dcaf07
Translation: Update zh_CN.po (#2525)
* Improve Simplified Chinese translation

* Improve Simplified Chinese translation
2020-02-20 02:52:59 -05:00
TheoDutch
2e804086eb
Translation: Update nl_NL .po (#2526) 2020-02-19 19:02:30 -05:00
Devon Zuegel
eeb9999334
Mobile: Add quick actions (#2247)
* Super basic QuickAction is working!

* QuickAction successfully creates notes

* Update icons

* Update icons and support new to-do

* Update icons and support new to-do

* Fixed

* Extract QuickActions

* It works as long as you go out of the edit screen (saving is not sufficient)

* working? but still kinda buggy...

* Cleanup

* Cleanup

* Cleanup

* Use the same pattern as onJoplinLinkClick_

* Cleanup

* Cleanup

* Remove pluginAssets/index.js change

* manual Andoid linking

* Transition QuickActions.js to .ts

* Unstage QuickActions.js in favor of .ts

* Move QuickActions out of lib/

* Add comment about userInfo in QuickActions

* Remove redundant QuickActions file

* Remove pluginAssets/index to resolve conflict

* Update CONTRIBUTING.md to include test runner troubleshooting

* Add `npm run tsc` to Unit Tests docs

Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
2020-02-18 23:52:36 +00:00
Helmut K. C. Tessarek
e6cbd8c8f8
Update translations 2020-02-18 15:01:29 -05:00
Mario
5a40204cb3
Translation: add Estonian language (et_EE.po) (#2512)
* Estonian lang

* correction of mistakes
2020-02-18 14:58:13 -05:00
Laurent Cozic
ca9102d4f5 Tools: Move Cli compiles locales under git to simplify build 2020-02-17 20:41:11 +00:00
Laurent Cozic
3361901cd8 Merge branch 'master' of github.com:laurent22/joplin 2020-02-13 23:59:34 +00:00
Laurent Cozic
3db47b575b All: Security: Fixed potential Arbitrary File Read via XSS 2020-02-13 23:59:23 +00:00
Bailey
652b852f6d
Translation: Update nl_NL.po (#2498)
I felt like improving some of the Dutch translation work for Joplin so here are some more and improved translations

(not all that many but more may come)
2020-02-12 18:03:28 -05:00
Fernando Pindado
54fd2049a8
Translation: Update es_ES.po (#2497)
Updated some already translated messages and translated new ones
2020-02-12 16:28:28 -05:00
Laurent Cozic
06d807d9ff Clipper: Fixes #2489: Fixed clipping of pages that contain images without sources (YouTube), and improved support for SVG graphics 2020-02-12 18:15:16 +00:00
Laurent Cozic
9ec1e84ed0 Desktop, Cli: Fix importing of very large attachments (150MB+) from Evernote ENEX files 2020-02-10 21:50:45 +00:00
Helmut K. C. Tessarek
1abff212f9
CLI v1.0.155 2020-02-07 20:06:29 -05:00
Helmut K. C. Tessarek
df63572b7c
Update translations 2020-02-07 19:47:39 -05:00
mic704b
6973952892
Desktop, Cli: Fixes #2455: Fix markdown export (#2463)
* Ensure directory exists when export md file.

* Add tests.
2020-02-07 23:36:25 +00:00
Laurent Cozic
d679ceeb9b Removed postinstall for joplin-renderer 2020-02-07 23:29:53 +00:00
Laurent Cozic
74c8a38d48 CLI v1.0.154 2020-02-07 23:23:30 +00:00
Laurent Cozic
cd19cedd46 Moved joplin-renderer dependencies to client package.json as a workaround to electron-builder bug
Due to this bug:

https://github.com/electron-userland/electron-builder/issues/3185
2020-02-07 23:21:16 +00:00
Helmut K. C. Tessarek
3f23d8ed06
Desktop, Cli: Fixes #2085: Fix escaping of title when generating a markdown link (#2456)
Previously a title with brackets was escaped incorrectly. The brackets were replaced by underscores.

The following title `title [square] (round)` looked like this:

[title _square_ _round_](:/c54794f53e5e4b1aa558699e255d5f95)

Now it looks like this:

[title \[square\] (round)](:/c54794f53e5e4b1aa558699e255d5f95)

fixes #2085
2020-02-07 22:15:41 +00:00
Helmut K. C. Tessarek
8cbb0d03e8
fix de_DE.po 2020-02-07 16:31:47 -05:00
Tomáš Bambas
52b99a1520
Translation: Update cs_CZ.po (#2462) 2020-02-07 16:07:22 -05:00
mic704b
5128190942
Desktop: Resolves #2330: Fix rendering of tabs in code blocks (#2446)
* Add renderer plugin to handle tabs in code blocks.

* Add plugin to renderer package list.

* Attempt to fix unrelated linter issues.

* Fix unrelated linter problems.

The problems exist on master prior to the branch.

* Fix more inherited linter problems.
2020-02-05 22:15:40 +00:00
mic704b
82f5e26ef4
Desktop: Resolves #539: Add "add or remove tags" for multiple notes. (#2386)
* Add `add or remove tags` for multiple notes.

* Fix test.

* Handle invalid argument.

* Enable "Edit > Tag" menu item.

* Clean up variable naming.
2020-02-05 21:24:12 +00:00
Andrey Dolgov
aef4a88d7f
All: Reset time fields when duplicating a note (#2428) 2020-02-05 11:18:14 +00:00
Laurent Cozic
0f1633dfbf Tools: Linter: Enforce array-bracket-spacing - never 2020-02-04 22:11:35 +00:00
Laurent Cozic
737c3f62db Tools: Linter: Enforce object-curly-spacing - always 2020-02-04 22:09:34 +00:00
fab4x
49701fbc55
Translation: update de_DE.po (#2443)
* update de_DE.po

Added some translations

* Update German translation 

Added some translations

* deletion
2020-02-04 16:56:11 -05:00
mic704b
5395d57df8
Desktop: Support "select all" in the note list (#2403)
* Select all notes in note list, block select all in folder and tags lists.

* Adjust key mappings.

* Adjust key mappings.
2020-02-04 21:55:05 +00:00
chenlhlinux
ffdae41605
Translation: Update zh_CN.po (#2421) 2020-01-31 18:41:04 -05:00
Laurent Cozic
688edd4b32 Moved the Joplin renderer back to the main repository to make development easier 2020-01-30 21:05:23 +00:00
Marton Paulo
59c8a87047
Remove personal e-mail address eo.po pt_BR.po (#2414)
* Remove personal e-mail address

* Remove personal e-mail address

* Remove personal e-mail address

* Revert "Remove personal e-mail address"

This reverts commit 7a66c4a5b6.

* Remove space

* Remove space
2020-01-30 15:55:23 -05:00
Kirtan Purohit
fcda843778
All: Resolves #2279: Handle Thai language in search (#2387)
* Update SearchEngine.js

use basicSearch if thai string

* Update string-utils.js

added thai regex support

* Update services_SearchEngine.js

added thai language test

* Update services_SearchEngine.js

remove trailing spaces
2020-01-29 12:50:52 +00:00
Helmut K. C. Tessarek
e1216dce4b
Update en_US.po 2020-01-26 23:19:54 -05:00
Helmut K. C. Tessarek
3839c7818e
Update de_DE.po 2020-01-26 23:19:37 -05:00
abonte
90652e40b4 Translation: Update it_IT.po (#2366)
* Update Italian translations

* fix double quotes
2020-01-26 19:56:06 -05:00
Laurent Cozic
c61e4cae4d CLI v1.0.153 2020-01-24 23:17:46 +00:00
Laurent Cozic
8e531ca87a Update translations 2020-01-24 22:28:54 +00:00
genneko
4ec9492f7c Update ja_JP.po (#2358) 2020-01-24 15:19:57 +00:00
Laurent Cozic
6563606799 Merge branch 'master' of github.com:laurent22/joplin 2020-01-23 17:43:16 +00:00
Laurent Cozic
c01bc1c363 All: Added new, more secure encryption methods, so that they can be switched to at a later time 2020-01-22 22:01:58 +00:00
Alexander Pankratov
22a93994aa Translation: Update ru_RU.po (#2347) 2020-01-23 01:07:12 -05:00
Xaris Ar
e0013858c4 Translation: Update el_GR.po (#2340)
* Create el_GR.po (part1)

* Update el_GR.po

* Update el_GR.po (part 2)

* Update el_GR.po

* Finished Greek(el_GR) translation

Finished translating all texts.
Update el_GR.po (beta)

* Update el_GR.po

to meet requirements for Joplin 1.0.173

* Update locale.js

* Delete el_GR.po

* Create el_GR.po

* Update Greek Translation

* Update Greek Translation
2020-01-22 22:31:19 -05:00
Laurent Cozic
be210233be Desktop, Mobile: Fixes #2339, Fixes #2343, Fixes #2345: Fixed issues with Katex and MultiMd table plugin 2020-01-22 17:16:37 +00:00
Laurent Cozic
fba325f60e Doc: Fixed APIdoc 2020-01-21 09:44:46 +00:00
Helmut K. C. Tessarek
e9366a0d41
Update translations 2020-01-20 19:11:57 -05:00
Laurent Cozic
3fed1abc36 API: Add ability to search by folder or tag title 2020-01-20 02:19:57 +00:00
Bart
d9c15b84d0 Desktop: when importing MD files create resources for local linked files (#2262)
* md importer: first pass import attachment resources with markdown files

* md importer: import resources from md - no unneeded saves, check if files exist, regex name

* md importer: test import of local files as resources, separate method for importing linked files, comment regex matching md tags

* md importer: move stateful regex to method scope, remove spurius await

* md importer: lint

* md importer: respond to PR comments: remove test nesting, test sample, check if path is dir, use shim.fsDriver

* md importer: use file-path methods for getting attachment path

* md importer: use extractImageUrls helper, test for file with zero links

* md importer: try catch around importLocalImages, improve test

* md importer: importing attached images cover case where link also appears elsewhere in doc

* md importer: only create 1 resource if note contains duplicate links, test

* md importer: remove log

* md importer: remove use of lodash
2020-01-19 15:39:38 +00:00
mic704b
65cbb6e388 Desktop: Maintain selection when non-selected note is deleted (#2290)
* Fix jump of focus following deletion action.

Applies to notes, folders and tags.

* Add tests for reducer item delete handling.

* Add comments.

* Clean up.
2020-01-18 13:53:00 +00:00
lightray22
960d7f84eb Desktop: Don't count completed to-dos in note counts when they are not shown (#2288)
* Desktop: don't count completed to-dos in note counts when they are not shown

* Desktop: review comments for commit 0383dcc

* Desktop: fix remaining lint issues with commit 1fe4685
2020-01-18 13:46:04 +00:00
Vaidotas Simkus
d9d75d6c71 Desktop, Cli: Replace note links with relative paths in MD Exporter (#2161)
* Replace linked Note ids by relative paths in MD Exporter.

* Added tests for the MD Exporter.

* Changed fs.readdirSync use for earlier Node version (v8)

In the previous commit the code used fs.readdirSync from Node v10 or
later. But since Joplin still uses v8, I changed the use of
fs.readdirSync to be in line with the earlier api.

* Updated readDirSync use for Node v10, which allows gets folder names too.

* Revert "Updated readDirSync use for Node v10, which allows gets folder names too."

This reverts commit 8f255db120861dd7773d99e1b63f4864d39594cf.
Because the Travis builds still use Node v8. This is fine as well, the
readdirSync returns the filenames in the directory.

* Added reservedNames param to findUniqueFilename
2020-01-18 13:16:14 +00:00
zen-quo
e078de25f0 Translation: Update tr_TR.po (#2295) 2020-01-12 19:01:00 -05:00
Laurent Cozic
fc61b474cd Clipper: Fixes #2252: Some pages that contain tables with only one cell would trigger an error 2020-01-08 18:35:41 +00:00
Laurent Cozic
00c3ed715c Update PT translation 2020-01-07 15:44:54 +00:00
Devon Zuegel
4a2d9bb028 CLI: Upgrade sqlite (#2248)
* Upgrade sqlite

* Add info about sqlite installation to docs
2020-01-06 22:24:38 +00:00
Laurent Cozic
589f0803e6 Fixed Electron upgrade regressions 2019-12-30 15:10:43 +01:00
Laurent Cozic
2a63ecef2a
All: Extract note renderer to separate package (WIP) (#2206)
* Started updating to use external renderer package

* Added way to build renderer assets

* Done mobile compatilibty

* Upgrade joplin-renderer

* Added joplin-renderer package
2019-12-29 18:58:40 +01:00
2jaeyeol
1d660d7141 Translation: update ko.po (#2227)
* translate_korean

* translate_korean2
2019-12-29 11:20:54 +01:00
Ibrahim AHMED BACHA
69000c0fc5 Translation: update ar.po (#2231) 2019-12-29 08:52:41 +01:00
Marcus Hill
90de63e650 CLI: Add --export, --import, and --import-file flags to joplin config (#2179)
* Add --export, --import, and --import-file flags to joplin config

* Convert config --export/--import to work with JSON

* Remove unnecessary check in renderKeyValue
2019-12-28 22:48:34 +01:00
oscaretu
f9c77171cf Translation: Update es_ES.po (#2211) 2019-12-23 12:32:23 +01:00
Ethan Chen
9628b64d3e Translation: Update zh_TW.po (#2215) 2019-12-23 12:30:41 +01:00
genneko
8111213691 Translation: Update ja_JP.po (#2210) 2019-12-20 11:46:32 +01:00
Helmut K. C. Tessarek
1e57e1e486
Translation: update es_ES.po
closes #2205
2019-12-19 12:59:17 +01:00
Joel Taylor
172afb0789 Cli: Update CliClient node dependency to 10+ (#2177) 2019-12-18 22:25:14 +00:00
Helmut K. C. Tessarek
d2482d6554
Translation: update de_DE.po 2019-12-18 14:55:43 +01:00
Helmut K. C. Tessarek
21cac248b3
Translation: update en_US.po 2019-12-18 14:09:08 +01:00
Helmut K. C. Tessarek
b77525e570
Update translations 2019-12-18 12:45:10 +01:00
Laurent Cozic
e93cc50d1c Translation: add Portuguese (pt_PT.po) (Thanks Diogo Caveiro) (#2194)
Author name: Diogo Caveiro
2019-12-18 12:42:49 +01:00
Laurent Cozic
797b71d903 Doc: Fixes #2187: Fixed API doc 2019-12-18 11:00:52 +00:00
Laurent Cozic
757a6854ab Desktop: Updated OneDrive login to remove webview dependency 2019-12-18 09:21:12 +00:00
Laurent Cozic
58200ecdb1 Desktop: Decrypt notes that are meant to be shared 2019-12-17 12:45:57 +00:00
Laurent Cozic
03522b48a5 CliClient: Fixed regression following recent PR 2019-12-14 10:55:42 +00:00
Laurent Cozic
3a5e68fca0 Minor changes for TypeScript 2019-12-14 01:28:37 +00:00
Laurent Cozic
34f0a2951a
Desktop: Add ability to share a note publicly using Nextcloud (#2173)
* Moved button row to separate component file and started Sharing dialog

* Adding Sharing dialog

* Applied "npx react-codemod rename-unsafe-lifecycles"

* More UI

* Tools: Improved TypeScript integration

* Improved share dialog

* Tools Added support for translation validation in CI, and added support for plural translations

* Improved UI and sharing workflow

* Share workflow

* Cleaned up and improved sharing config error handling

* Fixed build scripts and doc for TypeScript

* Run linter
2019-12-13 01:16:34 +00:00
Laurent Cozic
554c46182a Reverted sv translation update has it is invalid 2019-12-11 10:16:19 +00:00