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
ba0a8f584a
Filter out projects that don't have snippets enabled.
2016-05-12 14:26:55 -04:00
Jason Croft
31d978e450
Revert last change.
2016-05-12 14:26:43 -04:00
Jason Croft
d6316a24c9
Only pull projects the user owns.
2016-05-12 14:18:36 -04:00
Jason Croft
0adc0864d5
Retrieve GitLab avatar.
2016-05-12 13:26:50 -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
ad79b581bd
End-point to get GitLab data.
2016-05-11 17:06:18 -04:00
Jason Croft
e545de72a6
Add accessToken saving.
2016-05-11 17:06:05 -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
Jason Croft
17daf32239
Remove skeleton functions
2016-05-11 17:04:55 -04:00
Jason Croft
a443490ee6
Add accessToken column
2016-05-11 17:04:45 -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
Cheng-Han, Wu
f18ce47a3d
Update to exit app when an uncaughtException occured.
2016-05-10 09:37:41 +08:00
Jason Croft
521f96fb11
Skeletons for GitLab actions.
2016-05-09 17:07:23 -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
3b5e74c9c4
Workaround imgur api only provide non-https image url which will cause mix-content warning in browsers
2016-05-08 01:54:57 +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
Max Wu
9418e446b1
Merge pull request #102 from Zankio/master
...
Fix Esc key in Vim mode
2016-04-24 10:42:52 +08:00
Zankio
3aa9204e57
Fix Esc in Vim mode
2016-04-23 23:35:23 +08: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
60046200f8
Update to support when domain not provided will use relative path
2016-04-22 03:33:24 +08:00
Cheng-Han, Wu
ff4698caf5
Update to support DOMAIN and URL_PATH environment variables
2016-04-22 03:33:09 +08:00
Cheng-Han, Wu
13d61fe42d
Remove trivial log
2016-04-20 23:08:37 +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
1a4792b8c4
Update LICENSE year
2016-04-20 18:22:33 +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
cf003c3299
Update to response not found if no any route matches the url
2016-04-20 18:19:29 +08:00
Cheng-Han, Wu
f7b719b210
Update to redirect url with trailing slashes
2016-04-20 18:19:11 +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
f13f70696a
Update package dependencies
2016-04-20 18:15:48 +08:00