alecdwm
72a0e90f7d
LDAP signin form moved to main signin-modal
...
- previously was a separate modal
- now is located on main modal, like email auth
2016-12-14 12:56:26 +01:00
alecdwm
02e9927714
Initial support for LDAP server authentication
...
Limitations as of this commit:
- tlsOptions can only be specified in config.json, not as env vars
- authentication failures are not yet gracefully handled by the UI
- instead the error message is shown on a blank page (/auth/ldap)
- no email address is associated with the LDAP user's account
- no picture/profile URL is associated with the LDAP user's account
- we might have to generate our own access + refresh tokens,
because we aren't using oauth. The currently generated
tokens are just a placeholder.
- 'LDAP Sign in' needs to be translated to each locale
2016-12-13 22:41:07 +01:00
Wu Cheng-Han
00e284584e
Switch email register and signin button order to make form default action as signin
2016-12-14 03:08:35 +08:00
Wu Cheng-Han
62c703baa1
Fix the generate template not including base url variable
2016-12-12 12:19:12 +08:00
Wu Cheng-Han
ecb956f515
Fix index signin and signout button might not shown if only email enabled
2016-12-07 21:19:06 +08:00
Wu Cheng-Han
4bd5598568
Fix Facebook page link name
2016-12-06 22:15:34 +08:00
Wu Cheng-Han
da46a3696b
Add preferences to editor status bar and make allow override browser keymap option
2016-12-04 00:56:14 +08:00
Wu Cheng-Han
a73d9ce39e
Update to support optional email register and signin
2016-12-02 01:58:14 +08:00
Wu Cheng-Han
c59b4cb883
Update webpack and slide resource loading to reduce pack size
2016-11-29 00:44:29 +08:00
Wu Cheng-Han
47d5efb29e
Fix slide resource path and style load orders to avoid conflicts
2016-11-29 00:44:15 +08:00
Wu Cheng-Han
76a6190dac
Update dependency gist-embed to 2.6.0
2016-11-26 23:25:29 +08:00
Wu Cheng-Han
efd62bd1ca
Optimize slide page resource packing and load orders, fix possible wrong chunks orders and font awesome version
2016-11-26 23:24:59 +08:00
Wu Cheng-Han
ad90643c94
Optimize pretty page resource packing and load orders
2016-11-26 23:22:47 +08:00
Wu Cheng-Han
5287d46931
Optimize hackmd resource packing and load orders
2016-11-26 23:18:51 +08:00
Wu Cheng-Han
3fbfdb7db8
Optimize index page resources packing and loads
2016-11-26 23:13:02 +08:00
Wu Cheng-Han
9d4ede4cff
Fix possible XSS in yaml-metadata and turn using ejs escape syntax than external lib [Security Issue]
2016-11-26 22:55:31 +08:00
Wu Cheng-Han
f86a9e0c4b
Fix slide might trigger script when processing markdown which cause XSS [Security Issue]
2016-11-26 22:46:08 +08:00
Wu Cheng-Han
9383df59c9
Update socket.io to 1.6.0
2016-11-26 22:40:50 +08:00
Wu Cheng-Han
1ba46c95fb
Update to separate polypill for IE to a template
2016-11-26 22:38:18 +08:00
Wu Cheng-Han
793aef0e2e
Fix syntax highlighting not apply correctly in slides
2016-11-07 21:27:58 +08:00
Max Wu
8c5a5a0712
Merge pull request #243 from Yukaii/google-font-optional-cdn
...
Google font optional cdn
2016-11-04 13:08:59 +08:00
Wu Cheng-Han
2167570c11
Fix slide highlighting styles not apply properly and add missing styles dependency of prism in html export
2016-11-04 13:04:00 +08:00
Yukai Huang
0b45312834
Add font css to templates
2016-11-03 14:51:28 +08:00
Yukai Huang
3e23009663
Require slide mode stylesheets
2016-11-02 11:59:45 +08:00
Yukai Huang
58fedb01fa
Require pretty stylesheets
2016-11-02 11:55:08 +08:00
Yukai Huang
55ddddd84b
Require cover stylesheets
2016-11-02 11:26:25 +08:00
Yukai Huang
7a052b0dad
Require index stylesheets
2016-11-02 11:26:06 +08:00
Wu Cheng-Han
70d2fa388e
Fix slide export pdf styles not applied issue and add shiv and shim for IE
2016-10-29 23:35:10 +08:00
Wu Cheng-Han
b6ce7a6ab1
Update mathjax cdn path and source path
2016-10-25 01:57:51 +08:00
Wu Cheng-Han
f35a4167ec
Fix conflicting bootstrap in index and add select2 in non-cdn resource
2016-10-23 23:39:42 +08:00
Wu Cheng-Han
0b9c177058
Update to move select2 dependency to bower and add its cdn sources
2016-10-23 23:00:42 +08:00
Wu Cheng-Han
e6dfc749f6
Fix config.js use cdn option not parse properly and add missing cdn resources
2016-10-23 22:42:47 +08:00
Wu Cheng-Han
0aa306685d
Fix some typo of PR #230
2016-10-23 21:58:53 +08:00
Peter Dave Hello
58b2cff4ec
Use CDNJS by default with https and SRI support
2016-10-23 13:31:25 +08:00
Wu Cheng-Han
215b5baa9f
Update to support Swedish locale
2016-10-21 13:39:28 +08:00
Wu Cheng-Han
d70d0318e5
Fix to use bower version emojify.js
2016-10-19 22:12:12 +08:00
Wu Cheng-Han
f346e179ed
Fix index social-foot styles
2016-10-19 22:08:27 +08:00
Wu Cheng-Han
7d79e7762f
Merge branch 'master' of https://github.com/jackycute/HackMD
2016-10-18 16:53:44 +08:00
Wu Cheng-Han
d44e830366
Update emoji parser using markdown-it-emoji instead of emojify to solve issue #217
2016-10-18 16:50:58 +08:00
Yukai Huang
d9f55e4984
Add missing tooltip script
2016-10-18 12:57:20 +08:00
Wu Cheng-Han
dbd7449740
Update to support Hindi locale
2016-10-14 22:52:54 +08:00
Wu Cheng-Han
9995cbfd32
Fix export html highlight style source is missing and should load emojify styles from CDN
2016-10-14 17:41:30 +08:00
Yukai Huang
4c1109b70b
Move gist-embed to CDN
2016-10-14 09:56:19 +08:00
Yukai Huang
3d1bc8a8cb
Move list-pagination plugin to CDN
2016-10-14 09:25:45 +08:00
Yukai Huang
142b4c6771
Move highlight.js to CDN
2016-10-14 09:21:41 +08:00
Yukai Huang
47b113d9fe
Add handlebars script tag
2016-10-13 16:45:52 +08:00
Yukai Huang
747502e694
Fix HTML exporting
2016-10-13 16:35:43 +08:00
Yukai Huang
d600364933
Fix history deletion
2016-10-13 16:25:38 +08:00
Yukai Huang
bcb12b9ae7
Remove jquery-scrollspy dependency
...
scrollspy is bootstrap built-in plugin
2016-10-13 15:30:26 +08:00
Yukai Huang
440ad3506c
Fix lastchangeui and moment timestamps
2016-10-13 15:13:03 +08:00
Yukai Huang
83be3465cc
Fix scrollspy
2016-10-13 13:59:34 +08:00
Yukai Huang
773c0ce39e
Optimize common assets with CDN
...
* jquery
* lodash
* socket.io
* boostrap
2016-10-13 11:42:17 +08:00
Yukai Huang
b90c26fe90
Config CDN for viz.js
2016-10-13 08:56:02 +08:00
Yukai Huang
d5d9607c17
Fix stylesheet ordering
2016-10-12 18:14:39 +08:00
Yukai Huang
0bf3c63622
Remove slide.ejs style tag
2016-10-12 17:37:21 +08:00
Yukai Huang
2cafe15e85
Enable production assets hash
2016-10-12 17:15:59 +08:00
Yukai Huang
91266f1cad
Load more scripts using webpack
2016-10-12 17:03:47 +08:00
Yukai Huang
02eef3f68a
Load customized vendor script through script-loader
2016-10-12 13:18:29 +08:00
Yukai Huang
6e651c8108
Merge branch 'master' into webpack-frontend
2016-10-11 18:40:23 +08:00
Yukai Huang
56c5378939
Optimize viz.js async rendering through webpack chunk
2016-10-11 17:15:06 +08:00
Wu Cheng-Han
cd9f8fe36b
Update to support pagination for history list
2016-10-11 16:48:42 +08:00
Yukai Huang
06437ccaa9
Manage more packages with npm and webpack
2016-10-11 14:52:45 +08:00
Yukai Huang
9c8752d452
Split common vendor javascript into chunks
2016-10-11 12:30:30 +08:00
Wu Cheng-Han
fb5d7e4359
Update npm and bower dependencies with related patch
2016-10-10 21:14:28 +08:00
Wu Cheng-Han
12d5ed43a7
Update to support delete note
2016-10-10 21:04:24 +08:00
Wu Cheng-Han
7e7919ce86
Fix broken link id reference
2016-10-10 20:34:53 +08:00
Wu Cheng-Han
3175616573
Update to support showing owner on the infobar
2016-10-10 20:32:20 +08:00
Wu Cheng-Han
a5e6b5dd3b
Update to support Ukrainian locale
2016-10-10 19:48:05 +08:00
Wu Cheng-Han
4c9dc5fa1f
Add support of Italian, Turkish, Russian, Dutch, Croatian, Polish locales
2016-10-10 16:29:40 +08:00
Wu Cheng-Han
bf4c6d021c
Extract config.js from common.js to make client setting file clean and also make upgrade easier
2016-10-10 16:25:51 +08:00
Yukai Huang
20f2e27350
Cover page is now working
2016-10-10 10:14:17 +08:00
Yukai Huang
082178d535
Slide mode is now working
2016-10-10 08:25:35 +08:00
Yukai Huang
70c20aadda
Remove redundant entry point
2016-10-10 07:58:42 +08:00
Yukai Huang
a258897884
Revert some bower assets
2016-10-09 21:43:41 +08:00
Yukai Huang
53b5cbb893
Finish public note view js loading
2016-10-09 21:09:22 +08:00
Yukai Huang
d0997ed0c1
Config TextExtract plugin and change build folder
2016-10-09 18:22:31 +08:00
Yukai Huang
3e2905be13
Revert to customized codemirror
2016-10-09 17:54:51 +08:00
Yukai Huang
7e6b9f776f
Revert customized ot library and fix dependency
2016-10-09 08:15:23 +08:00
Yukai Huang
845e9342c5
Add highlight.js and prism styles
2016-10-09 07:54:52 +08:00
Yukai Huang
963a435ae1
Resolve dependency module requiring
...
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin
Note that this commit only fix JavaScript module loading runtime error.
2016-10-08 20:02:30 +08:00
Yukai Huang
ebee5a8d05
Use xss in script tag
2016-10-08 19:57:50 +08:00
Yukai Huang
8e11c19bed
Move out script tag and use js instead
2016-10-08 08:13:40 +08:00
Wu Cheng-Han
aaf32dc4bf
Update to support Greek and Portuguese locales
2016-10-02 10:34:10 +08:00
Wu Cheng-Han
748957dc9e
Update help modal cheatsheet font styles to make it more clear on spaces
2016-09-18 17:05:07 +08:00
Wu Cheng-Han
b7200d7910
Fix the include order to avoid Reference Errors
2016-09-18 16:50:35 +08:00
Wu Cheng-Han
23008bc1e1
Update to support wiki markup syntax highlighting in view using prism
2016-09-18 16:42:27 +08:00
Wu Cheng-Han
42145e4019
Update to support tiddlywiki and mediawiki syntax highlighting in editor
2016-09-18 16:40:51 +08:00
Wu Cheng-Han
3840308ab6
Update edit and publish icon and change toggle icon to make it straightforward, and add shortcut key reminder in modes' title
2016-09-18 16:32:26 +08:00
Wu Cheng-Han
9d71adc05c
Add support of shortcut keys for changeMode
2016-09-18 16:30:08 +08:00
Wu Cheng-Han
4cc00c6c40
Update to support French, Deutsch, Japanese and Spanish locales
2016-09-16 22:29:13 +08:00
Wu Cheng-Han
b9c59c454d
Add support of i18n with related patches and support "en" and "zh" locales for now
2016-08-19 11:49:24 +08:00
Wu Cheng-Han
058c35730b
Update to hide scrollbar (but scrollable) in the slide mode
2016-08-15 11:30:12 +08:00
Wu Cheng-Han
b4ad011dc1
Fix toc id naming to avoid overlap with user toc
2016-08-15 11:27:32 +08:00
Wu Cheng-Han
a013c9d3bc
Update slide mode to show extra info and support url actions and support disqus via yaml-metadata
2016-08-15 11:25:27 +08:00
Wu Cheng-Han
e12fae6999
Fix header nav bar rwd detect element should use div tag or it might glitch the layout
2016-08-15 11:02:47 +08:00
Wu Cheng-Han
3bcb36b46c
Improve index layout and UX with UI adjustments and better wording
2016-08-15 10:56:14 +08:00
Wu Cheng-Han
be81ee22ec
Update slide mode, now respect all meta settings and update default styles
2016-08-14 15:02:05 +08:00
Wu Cheng-Han
881e92b05a
Update to make help modal and text complete hint using consistent reminder text
2016-08-01 16:00:37 +08:00
Wu Cheng-Han
b367e110b6
Update to support slideOptions in the YAML metadata
2016-08-01 00:08:22 +08:00
Wu Cheng-Han
8fcde970ab
Update bower dependencies and cdn version
2016-07-30 12:22:16 +08:00
Wu Cheng-Han
65cff038a3
Update bootstrap to 3.3.7 and jQuery to 3.1.0 with related patches
2016-07-30 12:19:42 +08:00
Wu Cheng-Han
23c53f3d15
Update to support slide type in publish note and download html style
2016-07-30 11:07:47 +08:00
Wu Cheng-Han
8791447ef9
Update to support slide preview in both mode
2016-07-30 11:07:08 +08:00
Wu Cheng-Han
cb75424f8e
Update gist-embed to 2.5 and using bower to manage it
2016-07-13 10:40:34 +08:00
Wu Cheng-Han
9e365b7c12
Update header toolbar menu to remove beta section and add extra section
2016-07-02 16:18:10 +08:00
Wu Cheng-Han
d39f1fc700
Update to make slide mode support all extra syntax and change it's rendering engine
2016-07-02 16:09:26 +08:00
Cheng-Han, Wu
09fb120967
Update to support toggle editor theme and spellcheck in status bar
2016-06-21 21:45:45 +08:00
Cheng-Han, Wu
3424cdd771
Add support of embed pdf
2016-06-21 21:44:06 +08:00
Cheng-Han, Wu
558304ff62
Update to support new metadata: title, description, tags and google-analytics (GA) and refactor render publish slide response function
2016-06-21 21:42:03 +08:00
Cheng-Han, Wu
ad6982e77e
Remove robot meta on note edit page and html template, add prevent crawling header to enhance note privacy
2016-06-21 21:37:56 +08:00
Cheng-Han, Wu
949f26a0d1
Remove donation button in refresh modal
2016-06-17 16:52:00 +08:00
Cheng-Han, Wu
73f6d383b5
Add minimumCompatibleVersion and update refresh modal to show more detail informations
2016-06-17 16:31:36 +08:00
Cheng-Han, Wu
71f61b7f84
Update all client dependencies and cdn versions, workaround sequence-diagram svg to be resizable
2016-06-17 16:27:37 +08:00
Cheng-Han, Wu
5d03109827
Update modal styles to fill larger screens
2016-06-17 16:19:16 +08:00
Cheng-Han, Wu
df68347d64
Update header dropdown class to make it scrollable on smaller viewport height
2016-06-17 16:18:01 +08:00
Cheng-Han, Wu
cb1e00d1d1
Add support of exporting raw html
2016-06-17 16:17:37 +08:00
Cheng-Han, Wu
4d24476316
Add revision modal with UIs and support to mark patch diff texts
2016-06-17 16:15:53 +08:00
Cheng-Han, Wu
56b4739e6d
Add back missing support of image size in 0.4.2
2016-06-17 16:04:58 +08:00
Cheng-Han, Wu
2bff75a9f4
Update highlight.js to version 9.4.0 and use bower dependency
2016-06-04 10:50:53 +08:00
Cheng-Han, Wu
b9060395ca
Fix home button link broken in header template
2016-06-01 22:26:54 +08:00
Cheng-Han, Wu
27e17d7772
Add release-notes as pure markdown file and remove old release notes section on index
2016-05-30 12:45:13 +08:00
Cheng-Han, Wu
16990e35a2
Update slide template using ejs instead of mustache to reduce similar package dependency
2016-05-29 17:54:24 +08:00
Cheng-Han, Wu
c73c32d127
Update to replace animation acceleration library from gsap to velocity
2016-05-29 17:49:29 +08:00
Cheng-Han, Wu
20fbc9957f
Update project title
2016-05-28 01:51:45 +08:00
Cheng-Han, Wu
e52937df50
Update project infos, reclaim authors and add authors list
2016-05-28 01:49:15 +08:00
Cheng-Han, Wu
bce92d06df
Fix help-modal cheatsheet typo
2016-05-27 13:37:58 +08:00
Cheng-Han, Wu
6405bb5056
Add support of google signin
2016-05-21 22:48:00 +08:00
Cheng-Han, Wu
9e75c5cdf4
Fix export snippet should check data before sending request and fix some code styles
2016-05-15 13:01:41 +08:00
Cheng-Han, Wu
aa34faf8ab
Fix some code styles and user avatar style for PR #122
2016-05-15 12:31:16 +08:00
Max Wu
86b7304746
Merge pull request #122 from jccrofty30/avatar_on_history
...
Add avatar to History page.
2016-05-15 12:24:33 +08:00
Cheng-Han, Wu
bdc3a29157
Fix signin template logic for PR #121
2016-05-15 12:22:07 +08:00
Cheng-Han, Wu
8a01b7242c
Merge branch 'gitlab_snippets' of https://github.com/jccrofty30/hackmd into jccrofty30-gitlab_snippets
...
# Conflicts:
# lib/response.js
2016-05-15 11:02:15 +08:00
Cheng-Han, Wu
73835763c6
Merge PR #118
2016-05-15 10:58:41 +08:00
Cheng-Han, Wu
a70ebf7762
Update to move dropbox app key setting to common.js and will auto load client-side related scripts
2016-05-15 10:54:24 +08:00
Cheng-Han, Wu
217e683422
Merge PR #101
2016-05-15 09:56:01 +08:00
Jason Croft
c4b754e53b
Add avatar to History page.
2016-05-12 15:21:05 -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
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
17d2249ec3
Define snippet import modal
2016-05-09 22:37:51 -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
Jannik Lorenz
55a1ba0699
Fix google drive config
2016-04-23 14:34:15 +02:00