Jason Croft
930afdc337
Show only projects where user is creator, has project access >= 20, or has group access.
2016-05-13 10:32:30 -04:00
Jason Croft
edcb766b63
Apply "snippets_enabled only" logic to import modal.
...
Better parsing for snippet import.
Add python filetype.
2016-05-13 10:00:34 -04:00
Jason Croft
c4b754e53b
Add avatar to History page.
2016-05-12 15:21:05 -04:00
Jason Croft
ba0a8f584a
Filter out projects that don't have snippets enabled.
2016-05-12 14:26:55 -04:00
Jason Croft
e65d43bd81
Merge remote-tracking branch 'origin/master' into gitlab_snippets
...
# Conflicts:
# bower.json
# public/views/body.ejs
2016-05-12 12:32:10 -04:00
Jason Croft
30e602a740
Enable snippet exporting.
2016-05-12 12:28:08 -04:00
Jason Croft
c16345ab12
Can now select from available projects and snippets to build import URL.
2016-05-12 11:19:14 -04:00
Jason Croft
de998c4a0f
Check to make sure GitLab is configured before showing import option.
2016-05-11 21:12:48 -04:00
Jason Croft
a3876dfc92
Start extending to support GitLab authentication.
...
Add necessary dependency.
Add baseURL parameter for self-hosted GitLab
Add necessary require.
Add block for GitLab auth.
Fix typo
Update font-awesome dependency for GitLab icon.
Use a color closer to GitLab orange.
More direct TODO
2016-05-11 21:02:53 -04:00
Jason Croft
9f401b3fa8
Fully-fleshed snippetImportModal
2016-05-11 17:05:53 -04:00
Jason Croft
3dd3e6bc35
Allow importing from GitLab snippet
2016-05-11 17:05:25 -04:00
Cheng-Han, Wu
4aa4e3eacc
Add help and help modal with contacts, documents, cheatsheet
2016-05-11 14:37:54 +08:00
Cheng-Han, Wu
79b37c4fb2
Update font-awesome to 4.6.2
2016-05-11 14:33:12 +08:00
Cheng-Han, Wu
a1cbdb6de7
Try to fix potential toolbar layout glitch
2016-05-11 11:47:39 +08:00
Jason Croft
70f6e5bc2c
Define events for snippet actions
2016-05-09 22:38:13 -04:00
Jason Croft
17d2249ec3
Define snippet import modal
2016-05-09 22:37:51 -04:00
Jason Croft
476cabd109
Attach to snippet classes.
2016-05-09 17:07:02 -04:00
Jason Croft
277bf60a2e
Add GitLab options.
2016-05-09 17:06:44 -04:00
Jason Croft
079822dfec
Start extending to support GitLab authentication.
...
Add necessary dependency.
Add baseURL parameter for self-hosted GitLab
Add necessary require.
Add block for GitLab auth.
Fix typo
Update font-awesome dependency for GitLab icon.
Use a color closer to GitLab orange.
More direct TODO
2016-05-09 16:27:35 -04:00
Cheng-Han, Wu
8e8a5e1ecb
Fix possible glitch of layout
2016-05-09 17:52:03 +08:00
Cheng-Han, Wu
7aa21c8f19
Fix missusing for CodeMirror.Pass
2016-04-28 11:10:09 +08:00
Cheng-Han, Wu
efb188c9c1
Fix code styles
2016-04-24 12:30:16 +08:00
Cheng-Han, Wu
0bb3e53d58
Change fullScreen toggle to F10
...
because Mac OS X default might overwrite F11 and F12 behaviors
2016-04-24 12:29:55 +08:00
Cheng-Han, Wu
b1187a2014
Fix some indentation
2016-04-24 11:03:57 +08:00
Cheng-Han, Wu
42ac80eb0e
Fix other CodeMirror.Pass usage
2016-04-24 10:49:22 +08:00
Zankio
3aa9204e57
Fix Esc in Vim mode
2016-04-23 23:35:23 +08:00
Jannik Lorenz
55a1ba0699
Fix google drive config
2016-04-23 14:34:15 +02:00
Jannik Lorenz
d7648e9cea
Hide Dropbox and Google Drive in Import/ Export when disabled
2016-04-23 12:58:24 +02:00
Jannik Lorenz
fa50745a8d
Show Sign In button only when enabled
2016-04-23 01:15:52 +02:00
Cheng-Han, Wu
14c6778715
Fix home href link should specify root path
2016-04-22 10:43:30 +08:00
Cheng-Han, Wu
08de655c2b
Update to support when client domain not provided will use window.location variable
2016-04-22 04:38:43 +08:00
Cheng-Han, Wu
f693399c76
Fix view scroll position might lost when editor changes the last line and might get wrong knob position
2016-04-20 22:34:52 +08:00
Cheng-Han, Wu
197ac5d5fb
Mark as 0.4.0
2016-04-20 18:23:56 +08:00
Cheng-Han, Wu
b40bf3aef7
Update to support octicon and change header anchor styles
2016-04-20 18:22:18 +08:00
Cheng-Han, Wu
7e69bfc40b
Merge client index.js settings to common.js
2016-04-20 18:20:43 +08:00
Cheng-Han, Wu
f6a995143d
Update filter XSS to allow attr href starts with '.' or '/'
2016-04-20 18:18:52 +08:00
Cheng-Han, Wu
b823ed1d7c
Fix that error page no need to load foot template
2016-04-20 18:17:09 +08:00
Cheng-Han, Wu
15b5252fcb
Fix raphael source file name
2016-04-20 18:16:30 +08:00
Cheng-Han, Wu
8bf516263c
Update CodeMirror to 5.13.5
2016-04-20 18:11:40 +08:00
Cheng-Han, Wu
edc3a31dfd
Fix XSS HTML replace might get wrong on the HTML comments in the code tags
2016-04-20 18:10:43 +08:00
Cheng-Han, Wu
0fb70a1487
Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option
2016-04-20 18:09:36 +08:00
Cheng-Han, Wu
692903f1a1
Support import from gist, fix some minor typo and issues
2016-04-20 18:06:36 +08:00
Cheng-Han, Wu
49b51e478f
Refactor server with Sequelize ORM, refactor server configs, now will show note status (created or updated) and support docs (note alias)
2016-04-20 18:03:55 +08:00
Cheng-Han, Wu
e613aeba75
Updated to support ionicons
2016-04-20 16:28:18 +08:00
Cheng-Han, Wu
3f153515f4
Updated to support mermaid and moment use cdn source
2016-04-20 16:24:02 +08:00
Cheng-Han, Wu
b347ea5414
Workaround editor might have wrong doc height and wrong simple scroll bar knob position when editor height changed
2016-04-20 16:17:24 +08:00
Cheng-Han, Wu
b996f801cc
Updated to add statusPanel variable
2016-04-20 16:16:46 +08:00
Cheng-Han, Wu
3718238277
Fixed editor changes will cause syncScrollToView
2016-04-20 16:16:07 +08:00
Cheng-Han, Wu
85078fd328
Fixed minor bugs
2016-03-16 12:46:29 +08:00
Cheng-Han, Wu
9b7c181808
Updated html.min.css
2016-03-15 11:13:20 +08:00
Cheng-Han, Wu
a55ece023a
Improved checkCursorMenu and checkCursorTag performance and fully rewrite its position method for UX and verified
2016-03-15 11:12:45 +08:00
Cheng-Han, Wu
ea703145c5
Fixed editor should not try to programmatically focus on mobile without click, touch or mouse events
2016-03-15 11:10:58 +08:00
Cheng-Han, Wu
40f9206190
Fixed mobile layout issues and improved editor layout styles
2016-03-15 11:10:08 +08:00
Cheng-Han, Wu
b5d9d28f2e
Updated to handle Mac shortcut keys of "Cmd-Left" and "Cmd-Right"
2016-03-15 11:05:05 +08:00
Cheng-Han, Wu
25dd400708
Improved overall textcomplete performance and more cases and UX handling
2016-03-15 11:04:45 +08:00
Cheng-Han, Wu
88e6e8522f
Updated to support containers syntax textcomplete
2016-03-15 11:01:01 +08:00
Cheng-Han, Wu
e729166c32
Updated to support container syntax and styles
2016-03-15 10:56:53 +08:00
Cheng-Han, Wu
2a42fac6d4
Updated index wording and make features link and styles more obvious
2016-03-15 10:55:06 +08:00
Cheng-Han, Wu
218761d6a1
Updated to support mathjax without cdn
2016-03-15 10:53:45 +08:00
Cheng-Han, Wu
526f5c7e2e
Improved update last info methods, only change DOM when necessary
2016-03-15 10:45:02 +08:00
Cheng-Han, Wu
921b5f4652
Manual patch CodeMirror for highlight only works on top item of the list issue
2016-03-04 23:31:51 +08:00
Cheng-Han, Wu
b49d4e2261
Support mermaid in code block diagram and updated all diagram rendering method and styles
2016-03-04 23:26:27 +08:00
Cheng-Han, Wu
c43f9784b4
Support YAML meta disable mathjax
2016-03-04 23:20:55 +08:00
Cheng-Han, Wu
109d9881d9
Fixed list_item_open rules of markdown-it rules in syncscoll should now check level number
2016-03-04 23:20:17 +08:00
Cheng-Han, Wu
ee5eddaff4
Changed all parsing exception console message type to warning
2016-03-04 23:19:49 +08:00
Cheng-Han, Wu
049eae5024
Fixed filter XSS should allow ordered list specify start number
2016-03-04 23:17:59 +08:00
Cheng-Han, Wu
845ef9bad6
Support export to and import from Google Drive
2016-03-04 23:17:35 +08:00
Cheng-Han, Wu
04eabff3c3
Fixed logout url not correct
2016-03-04 23:11:32 +08:00
Cheng-Han, Wu
1c859248e0
Updated to ignore process image which already wrapped by link node
2016-03-04 23:09:50 +08:00
Cheng-Han, Wu
8b16e0723d
Added throttle for checkCursorMenu, gain much better input performance
2016-02-25 13:45:02 +08:00
Cheng-Han, Wu
fae3c02bb2
Fixed mathjax queue might parse whole page if pass an empty or single item array
2016-02-24 10:57:33 +08:00
Cheng-Han, Wu
daf4c9dcae
Fixed mathjax might parse not specified elements and now pass array of elements
2016-02-24 10:35:52 +08:00
Cheng-Han, Wu
1da0b87714
Updated and fixed mathjax parsing, now using full featured plugin
2016-02-24 10:03:35 +08:00
Cheng-Han, Wu
c509abbc39
Support kbd tag
2016-02-22 22:42:40 +08:00
Cheng-Han, Wu
175f571a36
Fixed markdown-it include should use minified script
2016-02-22 11:18:55 +08:00
Cheng-Han, Wu
2dc2fbe162
Change markdown engine from remarkable to markdown-it
2016-02-22 08:58:06 +08:00
Cheng-Han, Wu
229740e478
Support mathjax option in YAML metadata
2016-02-21 11:36:44 +08:00
Cheng-Han, Wu
d97e435b3b
Fixed when change widthInput value not parse correctly which cause tab indent problems
2016-02-18 03:38:09 +08:00
Cheng-Han, Wu
b2b1be3dda
Support set url path and use relative url, move raphael to bower and fixed minor issue in history
2016-02-16 20:08:44 -08:00
Cheng-Han, Wu
db86dc7a48
Support textcomplete in multiple editing
2016-02-16 09:55:51 -06:00
Cheng-Han, Wu
1b059775e5
Fixed editor tab key not handle correctly on multiple lines selections
2016-02-16 09:54:33 -06:00
Cheng-Han, Wu
2501b190ab
Updated to support html comment tag in XSS
2016-02-16 09:51:22 -06:00
Cheng-Han, Wu
26c40dca2d
Fixed checkCursorTag element not valid
2016-02-15 19:16:48 -06:00
Cheng-Han, Wu
880f6bcf02
Updated to support lang attribute and styles in editor
2016-02-15 19:13:17 -06:00
Cheng-Han, Wu
6967dac0ff
Updated syncscroll to lerp on last line
2016-02-11 14:36:05 -06:00
Cheng-Han, Wu
8db142554f
Updated rendering operations to improve performance
2016-02-11 14:35:25 -06:00
Cheng-Han, Wu
2a774064af
Updated XSS filter options to allow style tag and style attribute
2016-02-11 14:33:21 -06:00
Cheng-Han, Wu
4c4a0e0f3f
Fixed prevent XSS might break lots of tags and only need after rendered
2016-02-11 03:45:13 -06:00
Cheng-Han, Wu
176021ccd8
Fixed cursor-tag and cursor-menu might not on correct position
2016-02-11 02:38:19 -06:00
Cheng-Han, Wu
6700f033ab
Prevent XSS in markdown rendering
2016-02-11 02:36:52 -06:00
Cheng-Han, Wu
fdb9c47354
Fixed lz-string include path typo
2016-02-09 11:20:34 -06:00
Cheng-Han, Wu
0f811797f0
Fixed to keep index.css indent consistent
2016-02-08 23:07:55 -06:00
Cheng-Han, Wu
5aad217d34
Support change keymap and indentation type with size in statusbar
2016-02-08 22:51:07 -06:00
Cheng-Han, Wu
acb9dac1b9
Updated to make continue list in todo list default as unchecked
2016-02-08 22:49:35 -06:00
Cheng-Han, Wu
eb29e763a4
Removed ui-permission-label href attribute
2016-02-08 22:48:18 -06:00
Cheng-Han, Wu
740fde75d3
Manual patch CodeMirror for some minor issues
2016-02-02 13:56:30 -06:00
Cheng-Han, Wu
44ac1b295c
Workaround for cut or paste action might make scrollMap not correct and big documents have poor input performance
2016-02-02 13:56:10 -06:00
Cheng-Han, Wu
ce8f9b695c
Fixed isInCode and code block textcomplete might not correct
2016-02-01 00:42:30 -06:00
Cheng-Han, Wu
dcebc75d39
Updated to support ja, zh-TW, zh-CN font and removed non-latin font in all default styles to allow font fallbacks
2016-01-31 21:19:47 -06:00
Cheng-Han, Wu
ff2fc76491
Supported export to gist
2016-01-31 15:42:26 -06:00
Cheng-Han, Wu
3e48d46514
Moved dependency "flowchart" to bower and make it update-to-date
2016-01-31 15:35:17 -06:00
Cheng-Han, Wu
eba84527c3
Fixed only "AUTH failed" error message would redirect to 403
2016-01-31 15:33:25 -06:00
Cheng-Han, Wu
2eec0ae35d
Improved code block and emojiy textcomplete and match rules
2016-01-31 15:32:35 -06:00
Cheng-Han, Wu
eb4cb3f52f
Fixed supportCharts name not match real syntax
2016-01-31 15:30:10 -06:00
Cheng-Han, Wu
3c2a2a348b
Fixed emojify should exclude parsing svg and catch its exception
2016-01-31 15:29:20 -06:00
Cheng-Han, Wu
ba4a7b13b3
Fixed a expression bug in postProcess
2016-01-31 15:28:52 -06:00
Cheng-Han, Wu
47668fe70a
Fixed release notes typos
2016-01-31 15:28:35 -06:00
Cheng-Han, Wu
e473a4e61b
Fixed cursor id not valid to selector
2016-01-22 19:48:07 -06:00
Cheng-Han, Wu
90710bc78b
Manual patch remarkable for reductant character of code block in the blockquote
2016-01-22 19:47:26 -06:00
Cheng-Han, Wu
018beab583
Removed unused include
2016-01-21 01:16:53 -06:00
Cheng-Han, Wu
98a8640edb
Removed unused include
2016-01-21 00:11:24 -06:00
Wu Cheng-Han
1b2a3108be
Marked as 0.3.4
2016-01-19 10:06:22 -06:00
Wu Cheng-Han
7e5bdd0069
Updated copyright year to 2016
2016-01-19 10:05:55 -06:00
Wu Cheng-Han
75548df29e
Added support of code block languages autocomplete for charts
2016-01-19 10:01:40 -06:00
Wu Cheng-Han
0dbde6d3d0
Manuel patch CodeMirror for markdown mode
2016-01-19 09:59:52 -06:00
Wu Cheng-Han
96931e6e3a
Upgrade all dependencies and fixes afterward issues
2016-01-19 09:57:58 -06:00
Wu Cheng-Han
4073909b16
Added back todo list support in continuelist
2016-01-17 18:06:21 -06:00
Wu Cheng-Han
eaa8ccaccb
Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
2016-01-17 14:28:04 -06:00
Wu Cheng-Han
ce65e58096
Use minified version script
2016-01-17 11:54:58 -06:00
Wu Cheng-Han
bdc064fb79
Revert overwrite hardbreak rule because built-in rule is correct
2016-01-17 11:53:34 -06:00
Wu Cheng-Han
3fdceaaf06
Fixed history not update if note have no content and lz-string version mismatch
2016-01-17 09:59:03 -06:00
Wu Cheng-Han
762bf63581
Removed unused note and set empty on default note, updated features note
2016-01-17 09:57:25 -06:00
Wu Cheng-Han
eddff9e863
Added editor placeholder and auto set mode by content existence
2016-01-17 09:56:36 -06:00
Wu Cheng-Han
5c0a36f4d9
Updated external media layouts, too keep its ratio and enlarge to 100% width
2016-01-17 09:55:12 -06:00
Wu Cheng-Han
49c7dded45
Added private permission and clean up codes, solved potential race condition in realtime.js
2016-01-17 09:51:27 -06:00
Wu Cheng-Han
473212676a
Fixed importFromUrl should parse by the file extension, and move to-markdown dependency to bower
2016-01-12 08:03:56 -06:00
Wu Cheng-Han
2ecec3b59a
Support show last change user with profile and support YAML config inside the note with robots, lang, dir, breaks options
2016-01-12 08:01:42 -06:00
Wu Cheng-Han
1672df3dce
Added support of graphviz
2016-01-12 07:56:29 -06:00
Wu Cheng-Han
8af7841de3
Fixed syncscroll might have duplicated and wrong scrollMap if editor not shown
2016-01-12 07:47:02 -06:00
Wu Cheng-Han
a2fbafb6aa
Fixed some resource including issues
2016-01-12 07:43:44 -06:00
Wu Cheng-Han
42a222a7c8
Added polypill for IE support
2016-01-12 07:37:04 -06:00
Wu Cheng-Han
ddd1740f71
Fixed remarkable-regex not support IE, and use counter instead of random on id to avoid collision
2016-01-12 07:34:44 -06:00
Wu Cheng-Han
f5010af4f1
Added 404 and 403 status on routes
2015-12-30 00:33:36 -05:00
Wu Cheng-Han
48de9a02a3
Fixed sequence diagram might render multiple times
2015-12-24 01:01:02 -06:00
Wu Cheng-Han
48d5889a30
Added support of slideshare and speakerdeck syntax and autocomplete
2015-12-22 17:51:07 -06:00
Wu Cheng-Han
2ad54c516a
Fixed mathjax parser might not render properly
2015-12-22 12:09:34 -06:00
Wu Cheng-Han
9eb23603f4
Added support of toc syntax
2015-12-20 11:28:54 -06:00
Wu Cheng-Han
45ec05e2ed
Added extra stylesheet to slide mode
2015-12-18 23:53:01 -06:00
Wu Cheng-Han
32a89e13cd
Fixed possible bug in partialUpdate
2015-12-18 10:15:28 -06:00
Wu Cheng-Han
02cd3d633e
Updated to show locked-modal instead signin-modal when permission is "locked"
2015-12-18 10:15:16 -06:00
Wu Cheng-Han
21ad5cfd60
Fixed toolbar buttons should prevent default event
2015-12-18 09:44:08 -06:00
Wu Cheng-Han
3d21e6b16d
Fixed cursor animation might not correct because the page scroll involved
2015-12-18 09:43:23 -06:00
Wu Cheng-Han
031c96c72d
Updated slide mode
2015-12-18 09:40:52 -06:00
Wu Cheng-Han
54b33f181f
Fixed dropbox saver url not correct
2015-12-15 23:16:31 -06:00
Wu Cheng-Han
a6d1bddf47
Updated other packages to lastest versions
2015-12-15 15:01:13 -06:00
Wu Cheng-Han
debcfdef14
Updated some lib versions in cdns
2015-12-10 14:00:25 -06:00
Wu Cheng-Han
4b93d868b0
Fixed internal href should not link out
2015-12-06 11:25:05 -06:00
Wu Cheng-Han
54bfb0acea
Fixed cdn import should using relative protocol
2015-11-29 01:11:51 -06:00
Wu Cheng-Han
b070de8fa9
Updated and merge reveal.js to use bower
2015-11-29 01:04:20 -06:00
Wu Cheng-Han
baed9eb33d
Updated for using bower
2015-11-29 01:00:41 -06:00