ehhc
a113b99de0
Strange url-handling reverted + tests modified so that they might find that issue in the future + test modified so that they both contain tests for posix and windows path separator -> fixes #2834
2019-01-26 17:21:53 +01:00
Milo Todt
eea01f10ac
Added catch for exceptions, removed uneeded duplicate test.
2019-01-17 17:00:07 -08:00
Milo Todt
8d817066e8
Added a few more checks in related methods to prevent simular errors
2019-01-13 18:35:24 -08:00
Milo Todt
99b53f4a55
added filter.
2019-01-13 18:21:12 -08:00
Baptiste Augrain
9d43e34cfa
Merge branch 'master' into export-yfm
2018-12-28 00:02:38 +01:00
Junyoung Choi
5f385e4c03
Merge pull request #2465 from daiyam/gallery
...
add image gallery
2018-12-24 17:19:03 +09:00
Junyoung Choi
2df0f1bcb8
Merge pull request #2682 from duartefrazao/master
...
Feature - Line highlighting within code block #2469
2018-12-24 16:56:59 +09:00
Baptiste Augrain
fa157f6f76
fix lint error
2018-12-15 15:57:37 +01:00
Baptiste Augrain
d6a54b8a26
export diagrams
2018-12-15 15:53:49 +01:00
Baptiste Augrain
9813412c8e
add export menu in note list's context menu
2018-12-15 14:55:13 +01:00
Baptiste Augrain
d76b7235db
export styles of code blocks
2018-12-15 12:42:39 +01:00
Baptiste Augrain
2d941c3ea3
Merge branch 'master' into export-yfm
2018-12-13 14:35:25 +01:00
Duarte-Frazao
4fb11b68e4
Markdown functionality
2018-12-13 13:13:01 +00:00
Baptiste Augrain
d4dd74e820
Merge branch 'master' into fix-paste-code
2018-12-13 08:20:36 +01:00
Duarte-Frazao
62609a2918
Fixed last nonfunctional changes made earlier
...
Now iterates in the SnippetNoteDetail constructor the snippets and if linesHighlighted is not defined assigns an empty array
2018-12-08 17:22:57 +00:00
Duarte-Frazao
492294e11d
Reset of linesHighlighted
2018-12-08 12:19:42 +00:00
Duarte-Frazao
f483f8fdf0
Fix so that linesHighlighted defaults to [] when does't find it
2018-12-08 12:07:28 +00:00
Junyoung Choi
d70d3b439f
Merge pull request #2672 from arkist/handle-encoded-uri-on-copyfile
...
Handle encoded uri path on `copyFile`
2018-12-07 14:30:35 +09:00
Evan Miller
dceed7d84d
Fixes exportFolder by making it actually wait for each exportNote
2018-12-03 16:51:59 -05:00
Evan Miller
0a7fd0288c
Use promises for outputFormatter
2018-12-03 16:14:28 -05:00
Junyoung Choi (Sai)
6c57ac8f01
Merge pull request #2383 from ehhc/exportMDexportsAttachments
...
export folder should also export the attachments -> fixes #2374
2018-12-03 17:15:02 +09:00
Jinwoo Oh
cf35dc5345
Handle encoded uri path on copyFile
...
fix #2578
2018-12-03 14:04:13 +09:00
Duarte-Frazao
a9442a019f
Changes to pass tests and lint code
2018-11-30 19:20:40 +00:00
Duarte-Frazao
45436f65af
Issue #2469 almost done, missing refactor to reduce calls on code mirror
2018-11-30 18:03:23 +00:00
Baptiste Augrain
900f20f164
handle all dropped images
2018-11-28 15:58:58 +01:00
Baptiste Augrain
c2e4bae9dd
fix regex to correctly match the src attribute when there is a data-src attribute
2018-11-28 15:00:29 +01:00
Baptiste Augrain
9050035c74
- add option to enable/disable smart paste
...
- add shortcut to paste smartly
- use electron's clipboard
2018-11-28 00:44:15 +01:00
Baptiste Augrain
64f7233bfc
fix regex to match :storage reference, added comment to explain what it does.
2018-11-25 16:58:11 +01:00
Baptiste Augrain
9d81e4be2f
undo change
2018-11-25 16:17:01 +01:00
Baptiste Augrain
2908884202
drag and drop image from browser
2018-11-25 15:56:11 +01:00
Baptiste Augrain
e723d4cd59
add tests
2018-11-18 19:10:48 +01:00
Baptiste Augrain
9e770ef357
fix bad conditions
2018-11-15 23:52:42 +01:00
Baptiste Augrain
c796b3b30e
add YAML front matter when exporting
2018-11-15 22:48:14 +01:00
Baptiste Augrain
b1a7f0fd64
Merge branch 'master' into gallery
2018-11-08 23:52:31 +01:00
Junyoung Choi (Sai)
cfc84f3e78
Merge pull request #2434 from jacobherrington/chore-remove-console-logs
...
Remove console.logs
2018-11-06 15:49:07 +09:00
Baptiste Augrain
7a5a821f8a
fix failing test
2018-10-09 00:47:37 +02:00
Baptiste Augrain
39eaed260a
display correctly attached image
2018-10-08 15:57:42 +02:00
Sam Herrington
ca69bd69f2
Remove unnecessary conditional logic
...
In reference to PR feedback.
2018-09-30 17:46:38 -05:00
Junyoung Choi (Sai)
2ccd00a378
Merge pull request #2322 from youngyou/fix-drop-image-rotate
...
Fix drop image rotate wrong
2018-10-01 03:48:54 +09:00
samherrington
dd913279d7
Fixup for errors
2018-09-29 15:57:02 -05:00
samherrington
1246a677d1
Remove console.logs
...
Using console in production is generally undesirable due to
performance loss and security concerns. Errors were changed
to console.error and console.logs were removed.
2018-09-29 15:50:32 -05:00
ehhc
d79b6e094a
export folder should also export the attachments -> fixes #2374
2018-09-09 17:41:51 +02:00
Keyon U
2bbcb8ca89
Add comments for the “rotate fix”
2018-08-22 18:03:02 +08:00
Keyon U
48beb184df
Fix drop image rotate wrong
...
Fix drag-drop image rotate wrong, as Jordan Thornquest mentioned in slack
2018-08-22 12:23:45 +08:00
zhoufeng1989
b93d7a204f
Fix 2207 and 2273, add export for storage.
2018-08-14 12:38:31 +12:00
Maciek
4a3bcaba06
BUG FIX: Change the way of checking for empty array
...
The original condition : attachments !== [] always returns true,
for empty array, as well as for array with elements.
2018-07-28 22:25:10 +02:00
Maciek
1d1ab65edd
BUG FIX: snippet notes are not displaying in markdown #2088
...
Fix for issue https://github.com/BoostIo/Boostnote/issues/2088 .
In specific situation, when all below conditions are met :
- one of the snippets notes tabs is a Markdown tab,
- the migrateAttachments code is called on a snippet note,
- historical attachments location '/images' exists in snippet storage
folder
Following exception is being thrown :
path.js:28 Uncaught TypeError: Path must be a string. Received undefined
The exception is a result of an undefined noteKey variable
(which is defined only for Markdown notes).
The solution is to skip migration of attachments for notes without
noteKey (which wouldn't be possible anyway, since noteKey is a
necessary for creating folder for attachments).
2018-07-28 22:23:14 +02:00
Santiago Agüero
c37b780ca4
Use markdown content for migrateAttachments
2018-07-17 00:13:13 -03:00
Santiago Agüero
5cc52f91cb
Fix lint errors
2018-07-15 12:07:27 -03:00
Santiago Agüero
a46b9fb2be
Fix attachment interop between win and nix
2018-07-15 01:37:47 -03:00