Commit Graph

168 Commits

Author SHA1 Message Date
Yukai Huang 8db6624ae9 save to upload folder only when option enabled 2016-11-15 23:25:41 +08:00
Yukai Huang a5dad29300 support filesystem image upload 2016-11-14 17:07:07 +08:00
Yukai Huang 81b368c11c upload image to public/uploads 2016-11-14 16:45:57 +08:00
Wu Cheng-Han b9c4af8a65 Add to throw error when server not ready after db synced 2016-11-07 21:31:11 +08:00
Max Wu 7e05976a93 Revert "html minify in production environment" 2016-10-24 00:00:05 +08:00
Peter Dave Hello 731375c220 html minify in production environment 2016-10-23 23:31:04 +08:00
Wu Cheng-Han 215b5baa9f Update to support Swedish locale 2016-10-21 13:39:28 +08:00
Wu Cheng-Han 209534993a Fix socket disconnect might interrupt loop issue 2016-10-21 13:35:29 +08:00
Wu Cheng-Han dbd7449740 Update to support Hindi locale 2016-10-14 22:52:54 +08:00
Wu Cheng-Han bd6d69d7a7 Fix to handle checkAllNotesRevision might return null notes 2016-10-12 17:47:25 +08:00
Wu Cheng-Han 4ea5191d30 Fix fatal error should throw instead of return 2016-10-10 20:56:41 +08:00
Wu Cheng-Han cbf078494b Update to add post history by note id with data, delete all history and delete history by id and rename methods 2016-10-10 20:52:09 +08:00
Wu Cheng-Han af77bb8f59 Update to add cache to history 2016-10-10 20:51:46 +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 aaf32dc4bf Update to support Greek and Portuguese locales 2016-10-02 10:34:10 +08:00
Jordan Matelsky 937e982109 Remove expiry from cookies
As per [this issue](https://github.com/expressjs/session/issues/365)
2016-09-26 12:13:24 -04:00
Wu Cheng-Han 79fd2d1364 Update to add revision saving policy 2016-09-18 16:50:20 +08:00
Wu Cheng-Han 0470a266fd Update to prevent caching and crawling status 2016-09-18 16:23:56 +08:00
Wu Cheng-Han 4cc00c6c40 Update to support French, Deutsch, Japanese and Spanish locales 2016-09-16 22:29:13 +08:00
robert 56a3a1d85d Removed redundant condition. 2016-09-06 14:37:05 +03: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 87f4d05e8e Update to use proper way to render view and fix upload image error should response with code 2016-08-19 11:31:23 +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 7ea56c78a2 Update to support redirect back to previous url after signin 2016-08-01 00:06:07 +08:00
Wu Cheng-Han b5d3570b1a Update to raise the body-parser limit to fix "Error: request entity too large" issue 2016-07-30 11:13:13 +08:00
Max Wu 44e2dab9ee Fix the signin and logout redirect url might be empty 2016-07-08 13:37:41 +08:00
Wu Cheng-Han f7a4f8f8c2 Add rolling option on session to reset maxAge on every response to extend session life 2016-07-05 16:06:18 +08:00
Cheng-Han, Wu 8e351e7e33 Add revision api 2016-06-17 16:11:14 +08:00
Cheng-Han, Wu dbc126b156 Add support of saving note revision and improve app start and stop procedure to ensure data integrity 2016-06-17 16:09:33 +08:00
Cheng-Han, Wu 16d5e3ea80 Add maintenance mode and update to gracefully exit process on signal 2016-06-01 14:18:54 +08:00
Cheng-Han, Wu 6405bb5056 Add support of google signin 2016-05-21 22:48:00 +08:00
Cheng-Han, Wu 900141daff Remove unused passport authenticate callback function 2016-05-21 22:41:53 +08:00
Cheng-Han, Wu eb5873a94d Update to move gitlab api path to sub path and fix its find user method for PR #121 2016-05-16 18:16:45 +08:00
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 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 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 c16345ab12 Can now select from available projects and snippets to build import URL. 2016-05-12 11:19:14 -04:00
Jason Croft ad79b581bd End-point to get GitLab data. 2016-05-11 17:06:18 -04:00
Cheng-Han, Wu f18ce47a3d Update to exit app when an uncaughtException occured. 2016-05-10 09:37:41 +08: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 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 13d61fe42d Remove trivial log 2016-04-20 23:08:37 +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 85c760d720 Fix server session not set correctly 2016-04-20 18:14:48 +08:00
Cheng-Han, Wu 74793b516a Updated app.js to move static file routes before use sessions which no need to have session and may gain performance 2016-04-20 18:14:28 +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 30d194bba4 Updated to support tls session resumption 2016-03-15 10:42:07 +08:00
Cheng-Han, Wu d69d65ea74 Updated to send hsts in https header 2016-03-15 10:41:49 +08:00
Cheng-Han, Wu f889ffaa9f Supported ssl dhparam 2016-03-15 10:39:45 +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 ff2fc76491 Supported export to gist 2016-01-31 15:42:26 -06:00
Cheng-Han, Wu 0f87fd4493 Fixed potential issue that using session user might outdated cache data 2016-01-31 15:41:10 -06:00
Wu Cheng-Han db324c5624 Now always create session to ensure cookie authorize can proceed 2015-12-30 00:34:32 -05:00
Wu Cheng-Han f5010af4f1 Added 404 and 403 status on routes 2015-12-30 00:33:36 -05:00
Wu Cheng-Han 031c96c72d Updated slide mode 2015-12-18 09:40:52 -06:00
Wu Cheng-Han baed9eb33d Updated for using bower 2015-11-29 01:00:41 -06:00
xnum f51b7370f0 Add Slide Mode
using reveal.js
and some part of reveal-md
2015-11-23 20:38:26 +08:00
Wu Cheng-Han 950d978fe8 Updated realtime.js, use socket.io built-in broadcast function instead self iterate to avoid extra issues 2015-09-24 11:36:41 +08:00
Wu Cheng-Han b6c758f2fc Added server option "useCdn", use template statement to route resources' source 2015-09-22 12:06:13 +08:00
Wu Cheng-Han 0292bfce5b Server using logger to log uncaughtException 2015-07-11 12:44:16 +08:00
Wu Cheng-Han 04eef71b11 Change note action "share" to "publish" to avoid misleading 2015-07-06 13:51:55 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +08:00
Wu Cheng-Han f7f8c901f4 Marked as 0.2.9 2015-06-01 18:04:25 +08:00
Wu Cheng-Han 4e64583a0b Marked as 0.2.8 2015-05-15 12:58:13 +08:00
Wu Cheng-Han 4b0ca55eb7 First commit, version 0.2.7 2015-05-04 15:53:29 +08:00