Laurent Cozic
51235f191d
All: Add support for sync target lock
...
The goal is to allow locking a sync target so that maintenance
operations, such as upgrading the target to a more efficient format,
can be done. For now, only the lock mechanism is in place, as a way to
evaluate it, and to see if it can cause any issue.
2020-07-10 23:42:03 +01:00
Laurent Cozic
003ead2511
Clean up
2020-07-10 19:54:29 +01:00
Laurent Cozic
8dc8527fdc
CLI v1.0.165
2020-07-10 19:52:58 +01:00
Laurent Cozic
8732c97dcd
Desktop: Fixed GotoAnything rendering issue with HTML notes
2020-07-07 19:17:33 +01:00
Laurent Cozic
77a03599de
Desktop: WYSIWYG: Fixed inserting date time and other content inside header
2020-07-04 12:17:30 +01:00
Laurent Cozic
ee3f4beeaf
Desktop: Dev fix: Better handling of command props
2020-07-04 10:46:22 +01:00
Laurent Cozic
7035b1f9f6
Desktop: Dev fix: Added back title on header buttons
2020-07-04 10:46:22 +01:00
Laurent Cozic
c63c6370b5
Desktop: Refactored command system
...
The goal is to make the command system more modular, so each command can
be defined as a single object that includes a declaration (name, label,
etc.) and a runtime (to execute the command, test if it should be
enabled, etc.)
Utility methods are provided to convert a command to a menu item or a
toolbar button, thus reducing duplicated and boiler plate code across the
codebase (often the menu item logic was duplicated in the toolbar
button logic and vice versa).
The goal is to make it easier to add new commands (and associated menu
item and toolbar buttons) and to call them from
anywhere. This is also useful for plugins, which can also easily define
new commands.
Could also allow creating a command palette.
2020-07-03 22:32:39 +01:00
Laurent Cozic
5bbf9d87c2
Desktop: Fixes #3412 : Fixed custom order when note title is changed
2020-06-28 19:10:35 +01:00
Laurent Cozic
acf1ff6d1d
Desktop, Cli: Fixes #3402 : Fixed import of checkboxes in ENEX files
2020-06-28 18:55:47 +01:00
Laurent Cozic
05acc51054
Desktop, Mobile: Fixes #3281 : Prevent code highlighting from freezing the app in some cases
2020-06-28 18:31:43 +01:00
Laurent Cozic
eb8841379c
Desktop, Cli: Fixes #2331 : Only de-duplicate imported notebook titles when needed
2020-06-28 18:00:51 +01:00
Laurent Cozic
87ccb86f54
All: Reducer should not mutate state
2020-06-25 20:27:14 +01:00
Helmut K. C. Tessarek
1a90165255
Desktop, Mobile: Fix link color for dark theme ( #3391 )
2020-06-21 00:47:19 +01:00
Laurent Cozic
7b64c8dbe3
Desktop: Fixed API issue
2020-06-20 23:11:18 +01:00
Laurent Cozic
2377f7bc07
Desktop: Make sure search engine can keep working when index is corrupted
2020-06-20 19:21:35 +01:00
Laurent Cozic
d27b658392
Desktop: API: Improved error handling on service end-point
2020-06-20 12:34:05 +01:00
Laurent Cozic
e7f3aa3764
Updated British spelling
2020-06-20 12:18:41 +01:00
Laurent Cozic
89ca8e08d6
Desktop: API: Fixed externalEditWatcher/noteIsWatched call, fixed tests
2020-06-20 12:03:22 +01:00
Laurent Cozic
6350506ce7
Mobile: Fixes OneDribe login screen
2020-06-20 11:14:01 +01:00
Laurent Cozic
d5ed611920
Update website
2020-06-20 02:57:32 +01:00
Laurent Cozic
45160a2e73
Desktop: API: Add support for external editing from API
2020-06-20 02:30:09 +01:00
Laurent Cozic
c2d6da83c0
All: Fixes #3381 : Prevent desktop.ini file from breaking sync lock
2020-06-20 01:15:56 +01:00
Laurent Cozic
3e88a24753
Desktop: Reduce database logging statements
2020-06-17 23:46:47 +01:00
Laurent Cozic
7cd0e25538
Merge branch 'master' of github.com:laurent22/joplin
2020-06-16 18:10:04 +01:00
Caleb John
a4b13be0d1
Desktop: Fix getLineSpan logic and list token regex logic ( #3365 )
...
- previously getLineSpan was included line text as a token (dumb
oversight)
- the regex was updated to include a space after a OL element (was
missing for some reason)
2020-06-16 13:00:17 +01:00
Laurent Cozic
cff036d08b
Desktop: Do not expand the leaft notebook when following a link to a note
2020-06-15 22:59:42 +00:00
Laurent Cozic
fcd00b3212
Desktop, Cli: Fixed various bugs related to the import of ENEX files as HTML
2020-06-15 17:10:51 +01:00
Laurent Cozic
6a41d6e85a
Cli: Allow importing ENEX files as HTML
2020-06-14 16:45:17 +00:00
Laurent Cozic
3733858145
Desktop, Cli: Fixed issue with importing resources from ENEX files
2020-06-14 16:26:35 +00:00
Laurent Cozic
4aef72572d
Desktop: Added debug info to detect empty note issue
2020-06-13 17:17:32 +01:00
Laurent Cozic
126918be54
Mobile: Do not restore selection on undo/redo (unreliable)
2020-06-13 16:46:43 +01:00
Laurent Cozic
1dc4516efc
Revert "Mobile: Refactored and made dialog boxes more reliable"
...
This reverts commit f432734338
.
This new package has its own glitches and doesn't look good
when button labels are too large. So reverting to the less
glitchy package.
2020-06-13 16:20:59 +01:00
Laurent Cozic
9a9cfbd130
Mobile: Resolves #2595 : Add undo/redo support
2020-06-13 16:20:18 +01:00
Laurent Cozic
f432734338
Mobile: Refactored and made dialog boxes more reliable
2020-06-10 22:12:18 +01:00
Laurent Cozic
b7f5f848f2
All: Refactored themes to allow using the same ones in both desktop and mobile version
...
Will also allow using them when exporting HTML or PDF from CLI.
2020-06-10 22:08:59 +01:00
Laurent Cozic
d80cf6bf37
Mobile: Made saving notes more reliable
2020-06-09 23:30:32 +00:00
Laurent Cozic
faabd17fc6
Desktop: Fixed issue with setting filename for edited attachments
2020-06-09 19:15:43 +00:00
Laurent Cozic
b81b6135f6
Clean up unused optional parameter
2020-06-08 09:05:03 +01:00
Laurent Cozic
583ac7960b
Mobile: Dev fix: Add missing key
2020-06-08 09:02:14 +01:00
Roman Musin
2c6a298758
Android: Fixes #3010 : Request permissions if needed when exporting profile ( #3202 )
2020-06-08 09:01:11 +01:00
Roman Musin
d2b81d221b
Mobile: Fixes #3343 : Fixed issue when creating note then switching notebook ( #3347 )
2020-06-08 08:40:52 +01:00
Laurent Cozic
8058d3f728
Removed debug code
2020-06-08 07:43:09 +01:00
Laurent Cozic
0bc10acf02
Mobile: Fixes #3344 : Fixed regression that would cause links in notes to open within app itself
2020-06-08 07:41:04 +01:00
Laurent Cozic
ac0d01b724
Doc: Fixes #3330 : Fixed various links in doc
2020-06-07 13:02:58 +01:00
Laurent Cozic
40adbc5e9e
Desktop: Resolves #3333 : Improved escaping of Markdown titles in links
2020-06-07 12:55:40 +01:00
Laurent Cozic
f36e0c2513
All: Fixes #3334 : Prevent notebook to be the parent of itself
2020-06-07 12:47:43 +01:00
Caleb John
a8c8539e7a
Desktop: Add option to choose Code Mirror as code editor ( #3284 )
2020-06-06 16:00:20 +01:00
Laurent Cozic
334da21a3b
Tools: Apply linter
2020-06-06 10:21:21 +01:00
Laurent Cozic
0f4a781df0
Mobile: Fixes #3240 : Fix geolocation
...
Co-authored-by: Roman Musin <musinrr@gmail.com>
Squashed commit of the following:
commit c3916ee544d2b59e6b0c760366a9a2b5f821b029
Author: Laurent Cozic <laurent@cozic.net>
Date: Fri Jun 5 00:01:18 2020 +0100
Fixed for iOS
commit 959a8b59d1
Author: Roman Musin <musinrr@gmail.com>
Date: Thu Jun 4 21:56:43 2020 +0100
Initialize keychain service when starting mobile app
commit 2b322352ed
Author: Roman Musin <musinrr@gmail.com>
Date: Thu Jun 4 21:32:40 2020 +0100
Mobile: fix geolocation
2020-06-05 00:08:09 +01:00
Roman Musin
33ad0dce15
Android: Resolves #2896 : Enable sharing to Joplin on Android ( #2870 )
2020-06-04 18:40:44 +01:00
Laurent Cozic
a1364a621a
Tools: Apply linter rules
2020-06-04 18:24:11 +01:00
Laurent Cozic
d9c266e3f1
Merge branch 'master' of github.com:laurent22/joplin
2020-06-04 07:55:13 +01:00
Laurent Cozic
4fd20b1c5a
Merge branch 'master' of github.com:laurent22/joplin
2020-06-03 23:55:29 +01:00
Laurent Cozic
0d5586b379
Desktop: Fixes #3227 : Fix styling of note title in exported PDF and print
2020-06-03 23:55:08 +01:00
Laurent Cozic
26ce102113
Desktop: Resolves #2773 : Add support for system keychain to save sensitive settings ( #3207 )
2020-06-03 17:07:50 +01:00
叡山电车
5082181c49
Desktop: Fixes #3153 : Make GotoAnyting work with East Asian charactors ( #3180 )
2020-06-03 17:06:14 +01:00
TheOnlyTrueJonathanHeard
cfe1911723
All: Resolves #173 : Upload attachments > 4 MB when using OneDrive ( #3195 )
2020-06-03 14:29:47 +01:00
Laurent Cozic
560db37025
Tools: Added prefer-default-export eslint rule
2020-06-02 20:13:15 +00:00
Laurent Cozic
dd557f66a5
Desktop: Create new notes with minimum set of properties to prevent a few minor bugs
2020-06-02 22:27:36 +01:00
Laurent Cozic
071ea5854f
Desktop: Resolves #279 : Add support for editable resources ( #3305 )
...
* Add support for editable resources
* Fixed handling of resource paths
* Add delay before saving resource
* Delete temp files and stop watching when switching notes
* Handle sync when resource has been edited
* Handle resource conflicts
* Refactoring and handle conflicts from edit watcher
* Added test unit for conflict handling when deleting resource
* Trying to fix Travis-ci test units
* Fixed typo
* Update TinyMCE.tsx
* Update AsyncActionQueue.ts
2020-06-02 22:43:06 +01:00
Laurent Cozic
bfec890632
Update AsyncActionQueue.ts
2020-06-02 22:35:41 +01:00
Laurent Cozic
bdbf2fe583
Refactoring and handle conflicts from edit watcher
2020-05-31 17:43:51 +01:00
Laurent Cozic
36776cd615
Handle resource conflicts
2020-05-31 16:57:16 +01:00
Laurent Cozic
1852d9291d
Handle sync when resource has been edited
2020-05-31 00:31:29 +01:00
Laurent Cozic
0e5a0fdbe5
Delete temp files and stop watching when switching notes
2020-05-30 17:49:29 +01:00
Laurent Cozic
7e59c40091
Add delay before saving resource
2020-05-30 17:10:25 +01:00
Laurent Cozic
53eba3f062
Fixed handling of resource paths
2020-05-30 15:28:42 +01:00
Laurent Cozic
e43e3c198a
Add support for editable resources
2020-05-30 13:25:05 +01:00
Laurent Cozic
40d39d6268
Desktop: Resolves #51 : Add way to manually order notes by dragging them ( #3235 )
...
* Allow custom sorting
* Implement UI
* Set order from message box
* Fixed mistake
* Update NoteListItem.tsx
* Desktop: Fixed date popup dialog overflow issue inside info dialog
2020-05-27 17:21:46 +01:00
Laurent Cozic
8c338675d2
Desktop: Fixes #3267 : Fixed issue with invalid image paths when config path contains spaces
2020-05-25 09:52:10 +01:00
Laurent Cozic
b126c761cd
Desktop: Fixed portable app issue with resource paths
2020-05-25 00:30:29 +01:00
Laurent Cozic
068dbfffd8
Revert "Desktop: Fixes #3260 : Fixed image loading issue in WYSIWYG on portable app"
...
This reverts commit 2c115cd074
.
Reason: Fixed is not right and needs further testing on portable release
2020-05-24 15:05:38 +01:00
Laurent Cozic
2c115cd074
Desktop: Fixes #3260 : Fixed image loading issue in WYSIWYG on portable app
2020-05-23 23:30:18 +01:00
Laurent Cozic
a96734f5be
Revert "Tools: Added eslint rule arrow-parens"
...
This reverts commit 0b6f5581f0
.
It causes too many conflicts with pull requests.
2020-05-21 09:14:33 +01:00
Laurent Cozic
49451dba20
Desktop: Resolves #2665 : Add support for system theme auto-switching
2020-05-21 00:47:38 +01:00
Roman Musin
9f7eeb0510
Mobile: Resolves #2669 : When attaching a file insert it at the current cursor position ( #3189 )
...
* When attaching an image/resource insert it at the current cursor position
* Correct argument order
* Address code review comments
* Another code review comment
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-05-20 17:46:01 +01:00
Laurent Cozic
0b6f5581f0
Tools: Added eslint rule arrow-parens
2020-05-20 17:16:43 +01:00
Laurent Cozic
01e0c0c21f
Desktop: Made Markdown editor default again
2020-05-20 00:59:12 +01:00
Laurent Cozic
bec91863e2
All: Fixes #3234 : Sync would fail in some cases due to a database error
2020-05-19 23:17:56 +01:00
Laurent Cozic
c568f5b33c
Desktop: Resolves #3137 : Switch to Font Awesome as icon library
2020-05-17 15:34:42 +01:00
Naveen M V
d9601f3136
Desktop: Dev fix: Remove redundant handleHistory call. ( #3216 )
...
handleHistory calls have been moved out of the switch statement.
2020-05-16 13:42:27 +01:00
Naveen M V
b3f32ffc59
Desktop: Resolves #2409 : Add note history (back/forward buttons) ( #2819 )
2020-05-15 12:13:42 +01:00
Laurent Cozic
ecc50790ed
Desktop: Refactor: Minor refactoring following counter feature update in a09c7b72c7
2020-05-15 11:52:59 +01:00
RedDocMD
a09c7b72c7
Desktop: Fixes #3009 : Word/character counter includes Markdown syntax and HTML tags ( #3037 )
...
* Updated commit
* Update package.json
* Update package.json
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-05-15 11:28:31 +01:00
roman-r-m
7d767cf0c9
Mobile: Resolves #2327 : Handle back button when sort popup is open ( #3187 )
2020-05-14 16:03:13 +01:00
Laurent Cozic
3265fafd76
Cli: Improve handling of encrypted items
2020-05-13 16:28:54 +01:00
roman-r-m
17fd8ee504
Mobile: Fixes #2685 : Fix quick actions ( #2796 )
...
* Fix quick actions
* Receive quick actions when the app is cold-launched
* Force side menu close before creating quick note
* Fix react warning: Can't perform a react state update on an unmounted component
The warning was:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in NoteScreenComponent (created by Connect(NoteScreenComponent))
in Connect(NoteScreenComponent) (at app-nav.js:74)
* Fix auto title generation for quick notes.
The previous version created a new provisional note but then while handling NAV_BACK at reduxSharedMiddleware:35 the list of provisional note ids was cleared so when NoteScreenComponent was being mounted later the note was no longer considered provisional and Joplin would not generate the note title from its contents.
* Check for quick action data to be present before processing.
For some reason sometimes it gets called with null.
2020-05-13 11:39:16 +01:00
Laurent Cozic
dacf6377ae
Desktop: WYSIWYG: Fixed UI translation issue for certain languages
2020-05-11 18:59:23 +01:00
Laurent Cozic
41edae9719
All: Security: Fixes #3143 : Filter SVG element event attributes to prevent XSS vulnerability
2020-05-10 16:51:15 +01:00
Rahul Mohata
734f83470c
Desktop, Mobile: Fixes #3109 : Fixed background color on large Mermaid graphs ( #3111 )
2020-05-09 16:21:01 +01:00
Siddhant Sehgal
0f8f7aeb14
Desktop: Fixes #3052 : Fixed order of notebooks in "Move to notebook" dialog ( #3084 )
...
* Added Folder::sortFolderTree
* Added unit tests
2020-05-09 16:19:30 +01:00
Yuvaraj J
06eb389b21
CLI: Made layout configurable ( #3069 )
2020-05-09 16:12:09 +01:00
Rahul Mohata
17d2d6f959
Mobile: Fixed note title placeholder color ( #3006 )
...
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2020-05-09 16:07:47 +01:00
Rahul Mohata
20e065a371
Mobile : Disabled the header items when no note is selected ( #2988 )
2020-05-09 16:01:39 +01:00
anirudh murali
57cf826e2c
All: Resolves #2915 : Improve automatic title generation ( #2955 )
2020-05-09 15:55:00 +01:00
Rahul Mohata
dbe8d3a68e
Mobile: Fixed the switch background color on config screen ( #2919 )
2020-05-09 15:39:02 +01:00
Ishant Gupta
5a174b2236
Mobile: Fixes #2875 : Fixed notebook title text overflow ( #2877 )
...
* uses no_of_lines to fix the issue
* ellipsizeMode added
2020-05-09 15:33:06 +01:00
roman-r-m
e768b8cfea
Mobile: Avoid crash when downloading large files ( #3113 )
2020-05-09 11:52:09 +01:00
roman-r-m
578f93fb90
Mobile: Improve performance of attaching images, especially large ones ( #2945 )
...
* Disable sending serialized data over the react-native bridge when attaching image or file
* Remove noData opt from DocumentPicker as it's only relevant for ImagePicker
2020-05-09 11:26:03 +01:00