Laurent Cozic
71efff6827
Linter update ( #1777 )
...
* Update eslint config
* Applied linter to lib
* Applied eslint config to CliClient/app
* Removed prettier due to https://github.com/prettier/prettier/pull/4765
* First pass on test units
* Applied linter config to test units
* Applied eslint config to clipper
* Applied to plugin dir
* Applied to root of ElectronClient
* Applied on RN root
* Applied on CLI root
* Applied on Clipper root
* Applied config to tools
* test hook
* test hook
* test hook
* Added pre-commit hook
* Applied rule no-trailing-spaces
* Make sure root packages are installed when installing sub-dir
* Added doc
2019-07-30 09:35:42 +02:00
J0J0 T
b47cb4e29a
Desktop, Cli: Improved bold formatting support in Enex import ( #1708 )
...
* Dekstop,CLI: enex_to_md: add html/md test file pairs
* one pair for basic text formatting tags: strong, b, i, em
* and one using span tags with inline styles for bold formatting
Note: The html files include the Evernote-typical "linebreak tags inside of separate <div> tags"
to represent empty lines!
* Desktop,Cli: enex_to_md: support bold in span tags using inline styles
* function isSpanWithStyle() checks if further processing of a span tag
makes sense
* function isSpanStyleBold() checks if bold formatting via styles is
used - a similar function could be written for each span-inline-style-format
that should be supported
* Desktop,Cli: enex_to_md: fix saving span attrs in state object
pushing attributes of span tag to state object now
happens outside of isSpanWithStyle()
2019-07-29 12:25:25 +02:00
tfinnberg
f7fcabbf41
Desktop: Create fileURLs via drag and drop ( #1653 )
...
* enable drag and drop fileURLs
* fix windows fileURL syntax
* introduce encodeURI function
* fixed encoding issue
* use path-utils.js to deal with fileURL path conversion
* add changes as requested
* Minor rewording 'On the' -> 'In the', additional info about attaching files
* change call of toFileProtocolPath
* enable test script to check syntax for all OS-platforms
2019-07-29 12:16:47 +02:00
Laurent Cozic
36168a9a5d
Use regex instead of jsdom for compability with mobile app
2019-07-21 00:18:51 +01:00
Laurent Cozic
8ff1668c8f
Minor changes
2019-07-19 18:18:05 +01:00
Laurent Cozic
fbb0ac5892
Clipper: Refactored image rules to re-use more code
2019-07-15 20:43:28 +00:00
Laurent Cozic
a0dd0702fb
Clipper: Adding support for clipping page as HTML
2019-07-14 16:00:02 +01:00
Laurent Cozic
a1e3260309
Clipper: Resolves #1160 : Allow importing MathJax formulas, in particular from StackExchange
2019-07-13 19:17:28 +01:00
Laurent Cozic
ec1089870f
All: Fixes #1694 : When deleting resource from sync target also delete associated data blob
2019-07-13 15:57:53 +01:00
Charles
a796a9d179
API: Support is_todo property to allow making a note a todo ( #1688 )
2019-06-28 13:46:55 +01:00
Laurent Cozic
21897a3cd4
Clipper: Resolves #1669 : Handle special case of code block used on Microsoft website
2019-06-22 18:57:41 +01:00
Laurent Cozic
6ee2595dce
Desktop: Fixes #1676 : Preserve user timestamps when adding note via API
2019-06-22 12:31:04 +01:00
Laurent Cozic
50fd075168
Desktop, CLI: Fixes #1672 : Fix line break issue when importing certain notes from Evernotes
2019-06-22 11:23:22 +01:00
Laurent Cozic
86136e0c6c
Clipper: Fixes #1622 : Import named anchors from clipped pages
2019-06-13 00:26:19 +01:00
Laurent Cozic
9f6b3ccf40
All: Improved: Allow using multiple connections to download items while synchronising ( #1633 )
...
* Task queue
* All: Improved sync speed by downloading items in parallel
* Improved download queue
2019-06-07 23:20:08 +01:00
Laurent Cozic
df714c357d
All: Improved: Better handling of items that cannot be decrypted, including those that cause crashes
2019-06-07 23:11:08 +01:00
Laurent Cozic
de5fdc84f8
Added simple Key-Value store to support temporary data
2019-06-07 08:05:15 +00:00
Laurent Cozic
8fe2091926
Desktop, CLI: Fixes #1583 : Handle multiple lines in attributes when importing Enex files
2019-05-28 22:52:09 +01:00
Laurent Cozic
3ba021fdd9
Fixed test for Welcome notebook
2019-05-28 18:17:59 +01:00
Laurent Cozic
04c6579f2c
All: Fix: Fix issue with revisions being needlessly created when decrypting notes
2019-05-28 18:10:21 +01:00
Laurent Cozic
43624ffa75
Desktop: Improved: Add number of characters removed and added in revision list
2019-05-24 17:31:18 +01:00
Laurent Cozic
8a6fe20a69
All: Resolves #1481 : New: Allow downloading attachments on demand or automatically ( #1527 )
...
* Allow downloading resources automatically, on demand, or when loading note
* Make needToBeFetched calls to return the right number of resources
* All: Improved handling of resource downloading and decryption
* Desktop: Click on resource to download it (and, optionally, to decrypt it)
* Desktop: Better handling of resource state (not downloaded, downloading, encrypted) in front end
* Renamed setting to sync.resourceDownloadMode
* Download resources when changing setting
* tweaks
* removed duplicate cs
* Better report resource download progress
* Make sure resource cache is properly cleared when needed
* Also handle manual download for non-image resources
* More improvements to logic when downloading and decrypting resources
2019-05-22 15:56:07 +01:00
Laurent Cozic
d60afcaabe
Fixed merge
2019-05-16 17:36:02 +00:00
Laurent Cozic
1a091460ca
All: Fixed: Prevent app from trying to upload resource it has not downloaded yet
2019-05-16 17:34:16 +00:00
Laurent Cozic
78ddd22f09
Log more revision information to allow debugging issues
2019-05-14 22:23:34 +01:00
Laurent Cozic
3e808f05fd
Improved logic to set resource file size
2019-05-12 15:53:42 +01:00
Laurent Cozic
e1b7b64e1b
All: Make sure resource filesize is set in all cases
2019-05-12 11:41:07 +01:00
Laurent Cozic
ed3970be81
CLI: Fix: Do not resize images if they are already below the max dimensions
2019-05-12 11:38:33 +01:00
Laurent Cozic
565dfba8c9
All: Fixes #371 (sort of): Allow resources greater than 10 MB but they won't be synced on mobile
2019-05-12 01:15:52 +01:00
Laurent Cozic
dccd489fcc
Clipper: Fix: Fix handling of tables with empty headers
2019-05-11 09:23:31 +01:00
Laurent Cozic
78372c9bac
All: Improved: Make sure a revision is saved a note has not been modified for over a week
2019-05-08 00:51:56 +01:00
Laurent Cozic
a4db1bc671
All: Improved: Do not save a revision if there is already a recent one that exists
2019-05-08 00:10:36 +01:00
Laurent Cozic
52a2daddbf
All: Improved: Make sure user timestamp is preserved with revision information
2019-05-07 22:15:47 +01:00
Laurent Cozic
c400142996
All: Fix: Make sure a revision is not empty before saving it
2019-05-07 20:46:58 +01:00
Laurent Cozic
08af9de190
All: Resolves #712 : New: Support for note history ( #1415 )
...
* Started revisions support
* More rev changes
* More rev changes
* More revs changes
* Fixed deletion algorithm
* More tests and moved updated time to separate field
* Display info when restoring note
* Better handling of existing notes
* wip
* Further improvements and fixed tests
* Better handling of changes created via sync
* Enable chokidar again
* Testing special case
* Further improved logic to handle notes that existed before the revision service
* Added tests
* Better handling of encrypted revisions
* Improved handling of deleted note revisions by moving logic to collectRevision
* Improved handling of old notes by moving logic to collectRevision()
* Handle case when deleting revisions while one is still encrypted
* UI tweaks
* Added revision service to mobile app
* Fixed config screens on mobile and desktop
* Enabled revisions on CLI app
2019-05-06 21:35:29 +01:00
Luis Orozco
d213e4ab57
All: Fixed: Prevents notes with no title to break after synchronize ( #1472 )
...
Tests to confirm serialize/unserialize don't change body and title
check if item title exists, otherwise display default title.
added test checking serializing/unserializing Folders don't modify data
2019-05-06 21:25:14 +01:00
Laurent Cozic
b2129cb8c4
Desktop, CLI: Fixes #1476 : Import lists and sub-lists from Enex files with correct indentation
2019-05-01 18:06:37 +01:00
Laurent Cozic
a5ee120281
All: Fixes #1433 : Some resources could incorrectly be deleted even though they are still present in a note. Also added additional verifications before deleting a resource.
2019-04-21 13:49:40 +01:00
Laurent Cozic
f8e1395087
joplin.cozic.net => joplinapp.org
2019-04-18 14:59:17 +01:00
Laurent Cozic
72b36522e8
All: Improved support for Japanese, Chinese, Korean search queries (also applies to Goto Anything)
2019-04-03 07:46:41 +01:00
Laurent Cozic
496c9ddb91
Fixed tests to match new behaviour
2019-04-02 00:22:04 +01:00
Laurent Cozic
6b2910c3c7
Desktop: Added Goto Anything dialog and implemented basic plugin system
2019-04-01 19:43:13 +00:00
Laurent Cozic
68fbe8125e
Desktop: Fixed: The side bar was being refreshed too frequently. Fixed: Order of notebooks with sub-notebooks was sometimes incorrect when sorting by last updated time.
2019-03-10 21:16:05 +00:00
Laurent Cozic
833d473268
Desktop: Resolves #206 : Added support for sorting notebooks by title or last modified
2019-03-02 17:35:57 +00:00
Laurent Cozic
179005dd6c
All: Resolves #1198 : In search results, give more weight to more recent notes and less to completed to-dos
2019-02-24 12:00:06 +00:00
Laurent Cozic
32a67b9b33
minor tweaks
2019-02-23 15:53:14 +00:00
Laurent Cozic
b5dff09c28
All: Simplify Welcome notes and folders to avoid sync problems. Duplicate items will have to be manually deleted.
2019-02-23 15:47:29 +00:00
Laurent Cozic
0469fe76d7
Desktop: Do not display tags that are not associated with any note
2019-02-13 23:33:07 +00:00
Laurent Cozic
49f8d0c6d8
API: Allow specifying item ID for any item
2019-02-06 22:36:39 +00:00
Laurent Cozic
6894b9b1b7
All: Added tests for Welcome asset handling
2019-02-05 17:39:10 +00:00
Laurent Cozic
242926d381
Fixed regressions in test units
2019-01-31 09:48:48 +00:00
Laurent Cozic
8c9a148e71
All: Better handle search queries that include dashes
2019-01-31 08:35:41 +00:00
Laurent Cozic
cc8f8fcd2c
Desktop: Allow selecting editor path with dialog window
2019-01-30 19:19:06 +00:00
Laurent Cozic
d7dc625042
Clipper: Fixes #1058 : Import images at correct size
2019-01-20 15:26:43 +00:00
Laurent Cozic
2e12b2655b
More fixes to search engine and better handling of non-ASCII searches
2019-01-14 19:11:54 +00:00
Laurent Cozic
a1f0bd1e6c
Search engine: normalize text
2019-01-13 16:05:07 +00:00
Laurent Cozic
41155f5ef4
Started rewriting search engine to better support unicode
2018-12-29 20:19:18 +01:00
Laurent Cozic
f308fe71f9
Mobile: Fixes #1082 : Highlight correct keywords when doing a search
2018-12-29 18:24:02 +01:00
Laurent Cozic
061ce646d2
Finished search engine integration with desktop app
2018-12-13 23:57:14 +01:00
Laurent Cozic
5ec7c16e3e
Fixed logic to update search engine data
2018-12-12 22:40:05 +01:00
Laurent Cozic
460f826672
Nearly finished search engine backend
2018-12-10 18:54:46 +00:00
Laurent Cozic
cb16a10121
Updated the way item changes are recorded so that info can be used by more services (including search engine)
2018-12-10 01:39:31 +01:00
Laurent Cozic
3b6131f1ca
Started support for FTS search
2018-12-09 21:45:50 +01:00
Laurent Cozic
897f53b13e
All: Resolves #846 : Set resource path to correct relative path so that for example images show up in Markdown viewers
2018-11-21 00:36:23 +00:00
Laurent Cozic
922bbdd1b6
All: Fixes #968 : Export resources specified with a title
2018-11-20 23:18:56 +00:00
Laurent Cozic
07b724d65b
All: Fixes #992 : Allow non-ASCII chars when exporting MD and handle duplicate filenames
2018-11-20 00:42:21 +00:00
Laurent Cozic
61dbdd5f7c
Update translations
2018-11-13 23:17:56 +00:00
Laurent Cozic
899219abd2
Merge branch 'master' of github.com:laurent22/joplin
2018-11-13 22:38:32 +00:00
Laurent Cozic
06091933e1
All: Moved resource app-specific state to different table
2018-11-13 00:45:08 +00:00
Ben Fisher
0eb18d206d
Patch to implement feature, exporting notes to JSON ( #912 , issues/912). ( #927 )
...
* Patch to implement feature, exporting notes to JSON (#912 , issues/912).
* Revising based on feedback
* Directly calling JSON.stringify on the item
2018-11-11 20:17:43 +00:00
Laurent Cozic
5ff8808f69
API: Allow setting the ID of newly created notes.
2018-11-08 01:14:13 +00:00
Ben Fisher
251f1bba55
Show note title in pdf export ( #890 ) ( #937 )
...
* Show note title in pdf export (#890 )
An example of a possible approach, to temporarily change the html in the webview to show the note title. Works, but there may be a more elegant fix.
* Show title in pdf export
Revising based on feedback
Also, a couple changes to tests so that they pass in Windows.
2018-11-07 23:35:14 +00:00
Laurent Cozic
e41896d6f3
All: Resolves #918 : Skip properties that are on sync target but not handled by local client
2018-10-31 00:35:57 +00:00
Laurent Cozic
990591cc80
Minor improvments
2018-10-30 00:17:50 +00:00
Laurent Cozic
e209189faa
All: Added resource test units
2018-10-11 17:18:24 +01:00
Laurent Cozic
2f62897fb6
All: Improved resource side loading
2018-10-08 19:11:53 +01:00
Laurent Cozic
dbdd602f50
All: Created ResourceFetcher class to handle resource downloads
2018-10-08 07:36:45 +01:00
Laurent Cozic
f6c5620682
Electron: Resolves #751 : Allow switching between todo and note when multiple notes are selected
2018-10-04 18:34:30 +01:00
Laurent Cozic
720927f488
All: Fixes #832 : Enex import: Don't add extra line breaks at the beginning of list item when it contains a block element
2018-10-01 20:55:24 +01:00
Laurent Cozic
0cd7ebf9d3
Electron: Fixes resources being incorrectly auto-deleted when inside an IMG tag
2018-09-30 19:24:02 +01:00
Laurent Cozic
f87d1f11b0
API: Allow downloading a resource data
2018-09-30 10:15:46 +01:00
Laurent Cozic
eb4aa2c026
API: Added more calls
2018-09-29 12:54:44 +01:00
Laurent Cozic
a1ad6c9712
API: Added more API calls
2018-09-28 19:24:57 +01:00
Laurent Cozic
ef711af5b5
Api: Added method to get notes
2018-09-27 18:35:10 +00:00
Laurent Cozic
8a619e4b8b
All: Refactored REST API to make it testable and to allow further extension
2018-09-27 09:14:05 +01:00
Laurent Cozic
bc09d2c640
Clipper: Fixes #817 : Added support for PICTURE tags, which will fix issues with certain pages from which images were not being imported
2018-09-25 21:19:54 +01:00
Laurent Cozic
f82dfde6f4
Clipper: Fixed importing certain images with sources that contain brackets
2018-09-24 20:15:23 +01:00
Laurent Cozic
32c81ad8c2
All: Fixes #657 : Disallow giving name of existing tag to another tag
2018-09-06 18:33:21 +01:00
Laurent Cozic
d5d0732bf3
Clipper: Upgrade joplin-turndonw to fix import of literal HTML code
2018-06-30 16:12:01 +01:00
Laurent Cozic
f5a72ffbaf
All: Fixes #593 : Resource should not be auto-deleted if they've never been linked to any note
2018-06-17 16:59:06 +01:00
Laurent Cozic
ab9675544c
All: Fixes #597 : Also import sub-notebooks when importing JEX data
2018-06-10 19:15:40 +01:00
Laurent Cozic
1127eb6e09
Clipper: Fixes #573 : Better handling of certain code blocks
2018-06-09 20:00:26 +01:00
Laurent Cozic
f81dce3321
Merge branch 'clipper'
2018-05-25 13:31:15 +01:00
Laurent Cozic
9db9d98419
Clipper: Skip style section when importing HTML
2018-05-24 13:32:43 +01:00
Laurent Cozic
f79d7b9626
Clipper: Set source URL and fixed issues with tables and urls
2018-05-24 12:44:13 +01:00
Laurent Cozic
a8da469523
Clipper: Improved download of images and conversion to resources
2018-05-23 14:25:59 +01:00
Laurent Cozic
3c5eb99c59
Clipper: Download images and convert them to resources
2018-05-23 12:14:38 +01:00
Laurent Cozic
7cf267254f
Clipper: Improved Html To Md conversion
2018-05-22 00:54:23 +01:00
Laurent Cozic
acb90935c7
Fixed tests
2018-05-20 13:33:26 +01:00
Laurent Cozic
7ed9c2770c
Clipper: Improved UI and integration with main app
2018-05-20 10:19:59 +01:00