Commit Graph
73 Commits
Author SHA1 Message Date
Roman Musin f224282a27 Android: Fixes #5216: Alarms were not being triggered in some cases (#5798) 2021-11-27 16:22:30 +00:00
Roman Musin d4c3b51046 Linux: Fix .desktop file to make external links work on Ubuntu (#5736) 2021-11-16 12:08:19 +00:00
Roman Musin 2db886a4db Doc: Update node version in BUILD.md (#5616)
* Update node version in BUILD.md

Apparently node 16.0.0 may not work, see https://github.com/laurent22/joplin/issues/5608

* Update BUILD.md

* Change node 16.11 -> node 14
2021-10-24 08:02:37 -04:00
Roman Musin 6879481fd5 Desktop: Resolves #5168: Add support for callback URLs (#5416) 2021-10-16 10:07:41 +01:00
Roman 886b6d1126 Add stuff to maybe get it to work on MacOS 2021-09-01 22:46:44 +01:00
Roman 1a703c4ecd Rename ProtocolUtils -> callbackUrlUtils 2021-09-01 22:28:33 +01:00
Roman 1126899769 Code review changes 2021-09-01 22:27:24 +01:00
Roman b269c2fdb9 Simplify protocol setup 2021-08-28 14:26:54 +01:00
Roman f42fd0ecce Fix enum usage 2021-08-20 21:43:37 +01:00
Roman 62c5f433d7 Rename enum values 2021-08-20 21:24:16 +01:00
Roman Musin e73a4b7286 Merge branch 'dev' into desktop-protocol 2021-08-20 12:02:11 +01:00
Roman 6c18c6ddc7 Use url-parse 2021-08-15 13:48:32 +01:00
Roman 20d1f74ee4 Use enum 2021-08-14 23:30:19 +01:00
Roman 2386abea3e Rename parseUrl -> parseCallbackUrl 2021-08-14 23:18:58 +01:00
Roman 90621a8417 Fix linter errors 2021-08-14 23:07:22 +01:00
Roman b02baa6891 Update ignore files 2021-08-14 22:34:47 +01:00
Roman ee46978389 Review comments - throw an error if callback url is not valid 2021-08-14 21:59:54 +01:00
Roman 2b6b4dd916 Rename initialUrl -> initialCallbackUrl 2021-08-14 21:55:47 +01:00
Roman f0361bf80d Review comments - escape vars in url 2021-08-14 21:53:52 +01:00
Roman ecf718005d Code review comments 2021-08-14 21:01:03 +01:00
Roman 305d0ffc49 Rename copy folder URL -> copy notebook URL 2021-08-14 20:57:01 +01:00
Roman f454c4e33b Add a function to check for valid callback url 2021-08-14 20:20:16 +01:00
Roman 047883bd27 Read initial url from a field 2021-08-14 20:12:14 +01:00
Roman f118f5250f Handle openFolder and openTag too; change the URL format; extract ULR functions to a separate file 2021-08-14 13:33:45 +01:00
Roman 61161039c8 Open the note from URL even if Joplin isn't running 2021-08-13 23:21:14 +01:00
Roman 00504898f2 Cleanup 2021-08-13 22:50:49 +01:00
Roman 0a6390ed96 Actually open the note 2021-08-13 22:45:13 +01:00
Roman f909fe6670 Trying to get it to work on Linux 2021-08-13 22:06:01 +01:00
Roman Musin e57e5d3b3f All: Fixes #5245: Bump hightlight.js to v11.2 (#5278) 2021-08-12 22:07:57 +01:00
Roman b17d8bc533 Register to handle joplin:// links 2021-08-12 21:51:03 +01:00
Roman Musin 7f709c210c Remove unused condition in synchronizer (#5194) 2021-07-16 11:48:54 +01:00
Roman Musin 5047cf1027 Android: Disable backup to Google Drive (#5114)
Ref: https://discourse.joplinapp.org/t/cant-do-a-clean-re-install-on-android-using-joplin-cloud
2021-06-24 13:24:03 +01:00
Roman Musin 9d80a79cda Android: Resolves #4216: Focus note editor where tapped instead of scrolling to the end (#4998) 2021-06-08 23:39:20 +01:00
Roman Musin 7c45b95f6f Desktop: recreate http agent when the protocol changes (#5016) 2021-06-07 10:19:59 +01:00
Roman Musin 89bc181072 Delete ignored .js files (#5027) 2021-05-29 14:12:50 +01:00
Roman Musin 9f37aa96c6 Android: Fixes #4912, Fixes #4086, Fixes #4908: Fixed and improved alarm notifications (#4984) 2021-05-19 22:26:42 +01:00
Roman Musin 9a043bfca5 All: Bump KaTeX to 0.13.3 (#4902) 2021-04-30 12:59:09 +01:00
Roman Musin 5587f10487 All: Fixes #4706: Disable WebDAV response caching (#4887) 2021-04-26 14:45:31 +01:00
Roman Musin f87ff54e3d Desktop: Fixes #4797 (partially): Scroll position is not remembered in Markdown editor (#4806) 2021-04-25 09:52:05 +01:00
Roman Musin a4854fcde8 Android: Fixes #4439: Add option to disable TLS validation and allow self-signed certificates for WebDAV/NextCloud (#4742) 2021-04-25 09:50:52 +01:00
Roman Musin e3efe70bab Android: Fixed sharing items from Joplin (#4718)
Ref: https://discourse.joplinapp.org/t/android-lost-access-to-resources/15716/4
2021-04-07 18:41:54 +01:00
Roman Musin 3a60efa153 Mobile: Fixes #4743: Make sync icon spin again (#4780) 2021-03-30 22:58:47 +01:00
Roman Musin 66ad2259a9 Tools: Change windows build tools install command (#4737)
Based on issues some people were having, e.g. https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/2
2021-03-29 09:36:39 +01:00
Roman Musin 49e6b5cf62 Desktop: Set keep-alive for WebDAV/Nextcloud sync (#4668) 2021-03-26 09:09:19 +00:00
Roman Musin 5b65186b4d Delete generated .js files (#4717) 2021-03-21 19:56:33 +00:00
Roman Musin 74cd19f942 Android: Resolves #3547: Make Joplin resizeable (#4624) 2021-03-14 15:18:50 +00:00
Roman Musin c4fe38e632 Mobile: fix items shared to android not saved (#4607) 2021-03-11 14:31:39 +00:00
Roman Musin 7eb9305448 Desktop: Set keep-alive on http(s) requests (#4625) 2021-03-11 14:29:35 +00:00
Roman Musin ec99511397 Android: Fix issue with note not saved when created via sharing (#4604) 2021-03-10 19:20:40 +00:00
Roman Musin 01a9e49458 Mobile: Upgrade react-native-share (#4589) 2021-03-10 19:15:37 +00:00
Roman Musin d889cd55db Android: Resolves #4585: Set min android version to 5 / sdk 21 (#4590)
As per https://github.com/facebook/react-native#-requirements
2021-03-10 19:15:01 +00:00
Roman Musin 876fcfe008 Desktop: Fixes #4505: Make plugin links clickable from search (#4548) 2021-03-10 19:12:43 +00:00
Roman Musin 0c58d238e8 Desktop: Fixes #4369: Refresh note tags when a note is moved to another folder (#4574) 2021-02-23 11:21:26 +00:00
Roman Musin 38e91ea1f7 Mobile: Fix incorrect field name when attaching a resource from share (#4557) 2021-02-23 11:03:09 +00:00
Roman Musin 59fe4a2193 Mobile: When attaching a file to a note set correct title and extension (#4373) 2021-01-17 11:40:24 +00:00
Roman Musin 8492a7ee26 Android: Fix images/resources long press - do not show menu on pinch zoom (#4275) 2021-01-03 11:23:17 +00:00
Roman Musin ebe3ddcd21 Android: Resolves #4020: Enable Android Backup support again (#4277) 2021-01-02 15:31:54 +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
Roman Musin d5dbc421b1 Android: Fixes #4122: Try to fix external storage access on Android 10 (#4134) 2020-11-29 17:30:51 +00:00
Roman Musin fb5f20b308 Android: Fixes #4071: Make sure newly created note is saved after sharing content with the app (#4082) 2020-11-14 16:02:14 +00:00
Roman Musin b3e5a1e48d Android: do not show long press menu on press and drag (#3939) 2020-10-20 11:51:24 +01:00
Roman Musin ea878fb614 Mobile: Long press on images or other attachments to share them (#3367) 2020-10-12 10:25:59 +01:00
Roman Musin 9f1a877f96 Android: remove hardcoded portrait screen orientation for share activity (#3418) 2020-08-02 12:14:56 +01:00
Roman Musin 3807317e66 Mobile: Increase max resource size to 100mb (#3431) 2020-07-15 18:29:16 +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
Roman Musin 33ad0dce15 Android: Resolves #2896: Enable sharing to Joplin on Android (#2870) 2020-06-04 18:40:44 +01:00
Roman Musin 386d11f51a Doc: Fix iOS log file name format is not rendered to html (#3326) 2020-06-04 11:02:01 +01:00
Roman MusinandLaurent Cozic 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
roman-r-m 7d767cf0c9 Mobile: Resolves #2327: Handle back button when sort popup is open (#3187) 2020-05-14 16:03:13 +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
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