Jason Croft
0adc0864d5
Retrieve GitLab avatar.
2016-05-12 13:26:50 -04:00
Jason Croft
e545de72a6
Add accessToken saving.
2016-05-11 17:06:05 -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
Jason Croft
521f96fb11
Skeletons for GitLab actions.
2016-05-09 17:07:23 -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
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
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
b6ca50072e
Updated to add headers to prevent search engine crawl some unnecessary paths
2016-03-15 10:54:21 +08:00
Cheng-Han, Wu
c5f6c2bab3
Updated to handle user address when server behind other services
2016-03-15 10:54:04 +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
c183002c14
Fixed note title might get wrong
2016-03-04 23:12:03 +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
3f2f063e9b
Fixed export gist title might null and fake referer that redirect to gist html_url
2016-02-16 19:54:29 -08: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
6700f033ab
Prevent XSS in markdown rendering
2016-02-11 02:36:52 -06:00
Cheng-Han, Wu
1fb42bd276
Updated to allow CORS in download as API
2016-02-01 00:41:28 -06:00
Cheng-Han, Wu
ff2fc76491
Supported export to gist
2016-01-31 15:42:26 -06:00
Cheng-Han, Wu
16dcd27b78
Fixed potential bug in realtime startConnection and bugs in note findOrNewNote, response showNote
2016-01-20 23:20:50 -06:00
Wu Cheng-Han
96931e6e3a
Upgrade all dependencies and fixes afterward issues
2016-01-19 09:57:58 -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
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
f5010af4f1
Added 404 and 403 status on routes
2015-12-30 00:33:36 -05:00
Wu Cheng-Han
5467e6da8d
Fixed socket session secure might not apply properly
2015-12-30 00:31:39 -05:00
Wu Cheng-Han
411ce1343e
Now accept all users whether authorize or not without log errors to allow anonymous usage
2015-12-30 00:30:54 -05:00
Wu Cheng-Han
031c96c72d
Updated slide mode
2015-12-18 09:40:52 -06:00
Wu Cheng-Han
3fa264a43a
Fixed readFromDB error might cause excpection
2015-12-11 00:16:09 -06:00
Wu Cheng-Han
d3a23ad72f
Fixed realtime.js finishConnection user might be undefined issue
2015-12-06 11:24:47 -06:00
Wu Cheng-Han
b070de8fa9
Updated and merge reveal.js to use bower
2015-11-29 01:04:20 -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
75ae505a15
Updated response.js, the render url now using config getserverurl()
2015-11-17 01:19:01 +08:00
Wu Cheng-Han
53f26a7771
Fixed cleaner might not clean user not in connected list and handle if the user socket not exist
2015-10-05 14:32:05 +08:00
Wu Cheng-Han
2c31b8d809
Fixed realtime cleaner, socket should defined and notename is not a necessary in disconnect
2015-09-27 11:43:55 +08:00
Wu Cheng-Han
ab6d6c77f1
Updated realtime to clear socket queue in all exceptions of connect and disconnect
2015-09-27 11:43:33 +08:00
Wu Cheng-Han
332413bcaa
Fixed if using splice in loop should always decrement index or might out of array range
2015-09-26 10:25:00 +08:00
Wu Cheng-Han
3683a6dd34
Added more infos about connection and disconnection in realtime "getStatus"
2015-09-26 10:24:44 +08:00
Wu Cheng-Han
c2f9970ef0
Fixed a possible exception
2015-09-25 17:37:09 +08:00
Wu Cheng-Han
523048f111
Fixed to handle startConnection and finishConnection undefined exceptions
2015-09-25 16:57:18 +08:00
Wu Cheng-Han
1733b6db8a
Fixed doc length should only limit when "both the doc length exceed the doc max length" and "the new doc length is more than previous doc"
2015-09-24 11:45:17 +08:00
Wu Cheng-Han
f1a0dff9e6
Fixed user might not disconnect from server properly, handle more uncaught exceptions
2015-09-24 11:40:08 +08:00
Wu Cheng-Han
43a175e710
Added cleaner in realtime.js, to clean up users which aren't in any rooms in a interval
2015-09-24 11:38:55 +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
Ikumi Shimizu
7fc7325f87
fixed a bug in response.js:useCdn
2015-09-23 10:25:42 +09: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
d14c5bdc9c
Added document max length limit, enforceMaxLength on change and show modal when reach the limit.
2015-07-16 22:46:06 +08:00
Wu Cheng-Han
57253d28a7
Using util.inspect instead of JSON.stringify to avoid "TypeError: Converting circular structure to JSON"
2015-07-16 08:47:33 +08:00
Wu Cheng-Han
4e61728a6a
JSON.stringify error object for logging
2015-07-14 23:52:24 +08:00
Wu Cheng-Han
1b92300445
Handle when OT throw Error, will log it then disconnect socket client
2015-07-14 23:38:51 +08:00
Wu Cheng-Han
bbcc64af6b
Handle an server getNotenameFromSocket referer undefined exception
2015-07-12 17:19:07 +08:00