Commit Graph

1105 Commits

Author SHA1 Message Date
Yukai Huang 99dd107724 Basic setup for Vue app 2016-12-24 11:50:57 +08:00
Yukai Huang a06fad974e Install vue and babel dependency 2016-12-24 11:10:18 +08:00
Yukai Huang d6ae7a36ae Fix module variable require 2016-12-24 11:09:07 +08:00
Max Wu 8cf849e825 Merge pull request #294 from bananaappletw/master
Fix #293
2016-12-22 22:29:52 +08:00
bananaappletw c58f28a9d4 Add sqlite for test environment 2016-12-22 22:03:04 +08:00
bananaappletw 96fb3743f3 Use dburl to configurate 2016-12-22 21:51:48 +08:00
bananaappletw 3a091ff9a5 Simplify code for heroku 2016-12-22 19:42:00 +08:00
bananaappletw 936d922442 Remove unnecessary db config of heroku 2016-12-22 15:28:44 +08:00
bananaappletw acaeef172a Fix #293 2016-12-22 13:23:17 +08:00
Max Wu 8153fa32ed Merge pull request #292 from FlorianRhiem/bugfix-anonymous-typo
Fixed typo: anonmyous
2016-12-22 01:07:51 +08:00
Florian Rhiem fdea226159 Fixed typo: anonmyous 2016-12-21 14:36:54 +01:00
Wu Cheng-Han 11d6b24561 Fix codemirror spell checker not considering abbreviation which contain apostrophe in word 2016-12-20 20:34:20 +08:00
Wu Cheng-Han d140a140de Fix possible user is undefined in realtime events 2016-12-20 20:33:46 +08:00
Wu Cheng-Han 1ae5f174c3 Fix wrong package name reference in webpack config for bootstrap-validator 2016-12-20 20:33:16 +08:00
Wu Cheng-Han ae2db1da16 Fix email option in config not parse correctly 2016-12-20 10:47:37 +08:00
Wu Cheng-Han 418a852cc4 Fix mathjax not able to render issue 2016-12-20 03:05:59 +08:00
Wu Cheng-Han 39521f25a7 Mark as 0.4.6 2016-12-19 17:30:33 +08:00
Wu Cheng-Han c8d37dd192 Update to handle graphviz output empty graph 2016-12-19 16:53:54 +08:00
Wu Cheng-Han 92f2a4acf0 Remove unused vendor code and add fix related usages 2016-12-19 16:28:59 +08:00
Wu Cheng-Han 276d500406 Upgrade dependencies 2016-12-19 16:20:27 +08:00
Wu Cheng-Han c6742e50ee Remove unused vendor code and add missing dependency 2016-12-19 16:13:56 +08:00
Wu Cheng-Han 59725e9390 Remove unused dependencies 2016-12-18 22:54:00 +08:00
Wu Cheng-Han 1892fe70f6 Fix slide mode on print pdf not finish view rendering 2016-12-18 22:53:31 +08:00
Wu Cheng-Han 3eb2159ded Fix slide print-pdf mode scrollbar might be visible 2016-12-18 22:53:00 +08:00
Wu Cheng-Han 62eccd48e5 Try to fix when server have heavy loading cache might not update to db properly 2016-12-18 22:52:30 +08:00
Max Wu be3aa3bfd5 Merge pull request #285 from horo17/topic/#284-s3-bucket-name
S3 bucket name
2016-12-18 21:23:18 +08:00
S.Noda c8bcc4c1c3 fix #284 2016-12-18 18:58:21 +09:00
Wu Cheng-Han 5bb3de2675 Add support of allow free url config option with correspond modifications 2016-12-16 15:38:05 +08:00
Wu Cheng-Han 4b7b902806 Fix typo 2016-12-16 15:37:01 +08:00
Wu Cheng-Han 5c7eb48319 Add support of allow anonymous config option with correspond modifications 2016-12-15 14:11:23 +08:00
Wu Cheng-Han cf8bae32d1 Fix gist-embed styles conflicts 2016-12-15 10:44:46 +08:00
alecdwm 3491f97f7e LDAP auth use email if provided 2016-12-14 13:24:25 +01:00
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 fc8d709afb LDAP login improvements
- return bad request if no username or password given
- return to referer url on auth success
- flash error message on auth failure
2016-12-14 12:40:54 +01:00
alecdwm 3007163799 Tokens not required for ldap auth 2016-12-14 12:38:03 +01:00
alecdwm 6ba9a2f039 Added HMD_LDAP_TLS_CA env variable 2016-12-14 11:49:33 +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 8095f8cc98 Fix missing base url option in webpack production config 2016-12-13 02:26:19 +08:00
Max Wu 159be6a7c7 Merge pull request #277 from hackmdio/heroku-sequelize
Fix heroku production postgres setting
2016-12-12 13:22:04 +08:00
Wu Cheng-Han bb3ed8e249 Fix missing dependency in app.js 2016-12-12 13:02:53 +08:00
Wu Cheng-Han 62c703baa1 Fix the generate template not including base url variable 2016-12-12 12:19:12 +08:00
Yukai Huang 5282bf491e Update sequelize init condition 2016-12-12 11:12:59 +08:00
Wu Cheng-Han 38505491ae Fix redirection to url without trailing slashes not considering about config urlpath 2016-12-12 10:50:43 +08:00
Wu Cheng-Han 46752194e4 Update to make TOC syntax be case-insensitive 2016-12-12 10:49:23 +08:00
Wu Cheng-Han 36aa15f339 Fix reveal fade class conflict with bootstrap tooltip css and scrollbar might show up in print mode 2016-12-12 10:48:57 +08:00
Yukai Huang 74c1da4536 Simplify output with sequelize database argument 2016-12-12 10:36:24 +08:00
Yukai Huang 50b72c7f03 Fix heroku production db setting 2016-12-12 08:58:37 +08:00
Max Wu 9769b0c872 Update README.md
to mention about build front-end bundle on upgrade guide
2016-12-11 23:24:04 +08:00
Max Wu 5eec050360 Merge pull request #274 from hackmdio/drop-bower
Drop bower
2016-12-11 23:22:17 +08:00