bimlas
4f9a0b0040
Merge findByTag() and findByWord() into one
...
Both looked for word in tags and content too, the only difference is
when searched for `#tag`, the prefix (`#`) was truncated before compared
with list of tags.
2018-03-20 19:30:57 +01:00
bimlas
aae584106a
Look for tags in context too
...
The previous commit broke this behaviour.
Looking for a tag means the union of **tags** AND **tag in content**, so
it has to search in the in currently found notes separetely, thus it has
to clone the list first (`.slice(0)`).
2018-03-20 17:11:08 +01:00
bimlas
5f5a7880a6
Fix tag filtering in search entry
...
Some issues introduced in #954
(https://github.com/BoostIO/Boostnote/pull/954#issuecomment-336344915 ):
- search by `#tag1 #tag2` returns the results of only `#tag2`
- search by `#tag1 content` is as same as AND search by `#tag1 content` (and
`#tag1` is regarded a word, not a tag)
- search by `content #tag1` returns the results of only `#tag1`
This commit fixing these:
- search by `#tag1 #tag2` returns the results of only `#tag2`

- search by `#tag1 content` is as same as AND search by `#tag1 content` (and
`#tag1` is regarded a word, not a tag)

- search by `content #tag1` returns the results of only `#tag1`

NOTE: the examples works without `#` character too, because
`findByWord()` checks the tags too.
2018-03-20 09:01:11 +01:00
Junyoung Choi
6c4206a2dd
Fix lint errors
2018-03-20 16:18:18 +09:00
Junyoung Choi
48bdb9e818
Do not use devMode on production
2018-03-20 15:10:35 +09:00
Junyoung Choi (Sai)
2c30f0e487
Merge pull request #1684 from kawmra/prevent-fetching-title-in-link-tag
...
Prevent generating a link tag when pasting URL to inside of a link tag.
2018-03-20 10:32:59 +09:00
Junyoung Choi (Sai)
147211478c
Merge pull request #1698 from nlopin/fix_export_folder
...
Fix filenames with forbidden symbols during export #1613
2018-03-19 23:23:47 +09:00
Junyoung Choi (Sai)
35b7674e69
Merge pull request #1696 from frankkanis/master
...
Fix Copy Note Link in Context Menu
2018-03-19 22:58:38 +09:00
Nikolay Lopin
6577599959
Replace forbidden filename symbols to _ for image export
2018-03-19 00:33:23 +03:00
Nikolay Lopin
0c4e72e507
Replace forbidden filename symbols to _
2018-03-19 00:28:36 +03:00
Nikolay Lopin
2811843e70
Merge branch 'master' into new-snippet-tabbar
...
# Conflicts:
# browser/main/Detail/SnippetNoteDetail.js
2018-03-18 21:26:12 +03:00
Frank Kanis
842ece2a8a
Fix Copy Note Link in Context Menu
2018-03-18 11:14:22 +01:00
Junyoung Choi (Sai)
222de03ea3
Merge pull request #1678 from rayou/add-unit-tests-for-lib-markdown
...
Added unit tests for lib/markdown
2018-03-18 15:24:48 +09:00
Romain Le Quellec
2cee54f70a
fix missing import
2018-03-17 10:23:44 +01:00
Romain Le Quellec
a8431fae96
add missing i18n preview word + fr translation
2018-03-17 10:16:51 +01:00
Yu-Hung Ou
03d11b7b58
Merge remote-tracking branch 'upstream/master' into add-unit-tests-for-lib-markdown
2018-03-17 18:54:18 +11:00
Junyoung Choi (Sai)
316e2eeefb
Merge pull request #1640 from SiSchae/localization
...
Localization
2018-03-17 11:13:52 +09:00
Yu-Hung Ou
b9cab0dae8
Init markdown lib only when it's needed when posting a note to blog
2018-03-16 23:33:40 +11:00
Yu-Hung Ou
33b3299ca2
changed the default options of markdown lib to follow config
2018-03-16 23:32:18 +11:00
Yu-Hung Ou
00ba38beba
reload config every time when markdown lib initiated
2018-03-16 23:30:57 +11:00
Yu-Hung Ou
433fce286e
added electron as global variable to pass eslint check
2018-03-16 23:11:43 +11:00
kawmra
b36322bba4
Prevent generating a link tag when pasting URL to inside of a link tag.
2018-03-16 00:11:47 +09:00
Yu-Hung Ou
8bf5d02624
Revert "updated lib/consts to access electron remote.app only when in production mode"
...
This reverts commit bbcd674516 .
2018-03-15 22:12:22 +11:00
Simon
ccb0302d3f
Resolved Merge issue; Added Russian;
2018-03-14 13:13:47 +01:00
Simon
0cfd048013
Merge branch 'master' into localization
2018-03-14 12:49:40 +01:00
Yu-Hung Ou
bbcd674516
updated lib/consts to access electron remote.app only when in production mode
2018-03-14 20:37:25 +11:00
Yu-Hung Ou
6a1e9c5818
removed katex script tag from main.html, use import instead
2018-03-14 20:37:25 +11:00
Junyoung Choi (Sai)
ede41d01b4
Merge pull request #1676 from lijinglue/hotfix/markdown-render-in-blog-post
...
hotfix: update markdown render in blog post feature
2018-03-14 13:56:18 +09:00
Junyoung Choi
f3d59a9b61
Allow b tag and style attribute
2018-03-14 13:03:57 +09:00
lijinglue
65434453b8
hotfix: update markdown render in blog post feature
2018-03-14 00:30:29 +08:00
Junyoung Choi (Sai)
0387b33f6c
Merge pull request #1673 from BoostIO/update-whitelist
...
Use same settings of github
2018-03-13 23:02:52 +09:00
Junyoung Choi (Sai)
41042fe64e
Merge pull request #1664 from mirsch/fix-copy-note-link-from-list
...
fix "copy note link from note list" link format
2018-03-13 23:02:44 +09:00
Junyoung Choi (Sai)
1efc3bb15d
Merge pull request #1663 from BoostIO/note-list-ui
...
Fix note list UI
2018-03-13 22:45:51 +09:00
Junyoung Choi
0816a9410b
Use same settings of github
2018-03-13 22:41:17 +09:00
Junyoung Choi (Sai)
cb823eaaa6
Merge pull request #1670 from rayou/fix-1661-move-folder-cursor-style
...
Added draggable folder handle #1661
2018-03-13 22:04:53 +09:00
Junyoung Choi
571d159a1f
Add table and details stuff to whitelist
2018-03-13 22:00:07 +09:00
Yu-Hung Ou
a30d977727
added draggable folder handle
2018-03-13 23:42:14 +11:00
Simon
847ad2d781
Merge branch 'master' into localization
2018-03-13 09:24:53 +01:00
mirsch
da9067a672
fix "copy note link from note list" introduced in #1583 to reflect changes from #1636
2018-03-12 15:23:37 +01:00
Kazu Yokomizo
5ed5950ed5
Fix note list UI
2018-03-12 22:14:06 +09:00
Junyoung Choi (Sai)
66ae4a5163
Merge pull request #1660 from JKetelaar/bugfix/grammar-change
...
Fixed English typo & grammar
2018-03-12 17:44:40 +09:00
Jeroen Ketelaar
f435595ad8
Fixed English typo & grammar
2018-03-12 09:42:44 +01:00
Junyoung Choi
10b86aec49
Allow checkbox
2018-03-12 17:40:27 +09:00
Simon
ecabd37cbb
Setting default language in DEFAULT_CONFIG
2018-03-12 07:26:19 +01:00
Junyoung Choi (Sai)
e370c76521
Merge pull request #1655 from rayou/fix-1609-missing-classname
...
fixed missing classname in lib/markdown highlight render function
2018-03-12 11:32:18 +09:00
Junyoung Choi (Sai)
1c283f88d0
Merge pull request #1636 from mirsch/remove-volatile-hash-from-note-links
...
remove volatile hash from note links - #1623
2018-03-12 11:26:41 +09:00
Yu-Hung Ou
cfffa1b10a
fixed missing classname in lib/markdown highlight render function
2018-03-11 16:22:04 +11:00
Simon
4f6c35713e
Added languages; better German translation
2018-03-09 17:30:11 +01:00
Junyoung Choi
1ca1166f74
Merge branch 'master' into feature/add-smartquotes-toggle
2018-03-09 23:30:54 +09:00
Junyoung Choi (Sai)
7b4d2f3b97
Merge pull request #1617 from pfftdammitchris/folder-dragging
...
Folders in the side nav are now draggable
2018-03-09 23:17:41 +09:00