Sosuke Suzuki
be94edde0f
extract confirmDeleteNote function
2018-04-10 16:26:50 +09:00
Junyoung Choi (Sai)
ac778d3f65
Merge pull request #1764 from frankkanis/languages-production
...
Fixed change language in production mode
2018-04-03 17:44:14 +09:00
Frank Kanis
6943b06a88
Added missing space
2018-03-28 22:06:50 +02:00
Frank Kanis
27a9def88c
Fixed change language in production
2018-03-28 21:55:22 +02:00
Nikolay Lopin
90f21f4ed1
Escape html characters before convert to HTML
2018-03-25 23:47:17 +03:00
David Miguel
080448af3a
Add Spanish (es-ES) locale
2018-03-25 02:09:04 +01:00
Junyoung Choi
29309fbaa3
Disable devMode by default
2018-03-22 23:01:20 +09:00
Junyoung Choi (Sai)
44ec107ce8
Merge pull request #1715 from BoostIO/sanitize-options
...
Make sanitization configurable
2018-03-22 21:57:37 +09:00
bimlas
be235e5204
i18n: Add HU to locales
2018-03-22 12:35:42 +01:00
Junyoung Choi
5ea24f650b
Make sanitization configurable
2018-03-22 12:01:16 +09:00
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
48bdb9e818
Do not use devMode on production
2018-03-20 15:10:35 +09: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
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
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
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
f3d59a9b61
Allow b tag and style attribute
2018-03-14 13:03:57 +09:00
Junyoung Choi
0816a9410b
Use same settings of github
2018-03-13 22:41:17 +09:00
Junyoung Choi
571d159a1f
Add table and details stuff to whitelist
2018-03-13 22:00:07 +09:00
Simon
847ad2d781
Merge branch 'master' into localization
2018-03-13 09:24:53 +01:00
Junyoung Choi
10b86aec49
Allow checkbox
2018-03-12 17:40:27 +09: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
Yu-Hung Ou
c633ba9497
Merge branch 'master' into feature/add-smartquotes-toggle
2018-03-07 22:25:39 +11:00
Simon
0f82085cae
Adjustments for Travis CI
2018-03-07 07:10:49 +01:00
Simon
fe9afc8952
extracted all strings from html lines
2018-03-06 14:07:04 +01:00
Simon
b11dc2ca20
first testing of translation
2018-03-06 09:54:37 +01:00
mirsch
b74ba22c44
adjust keygen to use uuid only for notes (uuid on storage/folders woud need more refactoring)
2018-03-05 00:02:30 +01:00
mirsch
0280a5f09e
use uuid in keygen, remove storage.key from note hash
2018-03-04 22:21:14 +01:00
Sander Steenhuis
c22b7f81c1
Allow iframe size, allow fullscreen
2018-03-04 17:49:17 +01:00
Sander Steenhuis
9344fd78d8
Remove xss attack; closes #1443 at least partially
2018-03-04 17:28:41 +01:00
Yu-Hung Ou
e89c0a3e61
added support for toggling smart quotes in preview
2018-03-02 00:06:58 +11:00
Junyoung Choi
e4fbdb35a3
Rename a variable name again
2018-02-22 10:54:12 +09:00
Junyoung Choi
c3586372e0
Rename variables
2018-02-22 10:49:59 +09:00
Masahide Morio
3194a7b1a2
followed eslintrc
2018-02-19 23:02:25 +09:00
Masahide Morio
c43589fe6a
Add file name and any first line number in code block (fixed)
2018-02-11 02:28:03 +09:00
Nikolay Lopin
d7d77dbfe9
Fix wrong styling of todo items in exported HTML
...
The issue happened because styles connected with todo list were applied directly to HTML in Preview component. I added class to `li` tag of each todo item and style it from css.
2018-02-10 14:03:02 +03:00
Junyoung Choi
33ef54a162
Fix lint errors
2018-02-03 14:16:26 +09:00
Kazz Yokomizo
e83fe73b18
Merge pull request #1271 from mslourens/utf8-uml
...
convert uml to utf8 before converting to base64
2018-01-17 09:47:56 -05:00
Maurits Lourens
1cb4f37c95
moved the import outside the use config section
2018-01-15 22:27:38 +01:00
Anthony Graham
b4e138e21b
Elixir Syntax Highlighting
2018-01-01 21:17:29 +00:00
Maurits Lourens
6906c0ab0d
changed var into const
2017-12-13 17:16:28 +01:00