summaryrefslogtreecommitdiff
path: root/lib/realtime.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Try to fix when server have heavy loading cache might not update to db properlyWu Cheng-Han2016-12-181-1/+1
|
* Add support of allow anonymous config option with correspond modificationsWu Cheng-Han2016-12-151-0/+1
|
* Update to support optional email register and signinWu Cheng-Han2016-12-021-5/+5
|
* Revert "Add workers for notes to leverage CPU intensive work loading"Wu Cheng-Han2016-11-161-71/+90
| | | | This reverts commit 4ccfdfa538d2fd7e9ee63e937435a7f6fc622c12.
* Add workers for notes to leverage CPU intensive work loadingWu Cheng-Han2016-11-071-90/+71
|
* Fix socket disconnect might interrupt loop issueWu Cheng-Han2016-10-141-3/+9
|
* Fix to handle undefined document on update historyWu Cheng-Han2016-10-121-2/+2
|
* Try to fix memory leaks by clear OT server before disconnect noteWu Cheng-Han2016-10-101-0/+3
|
* Update to support delete noteWu Cheng-Han2016-10-101-0/+29
|
* Update to send note title on emit check and refresh eventWu Cheng-Han2016-10-101-1/+4
|
* Update to make note history count in server-side when user loggedWu Cheng-Han2016-10-101-0/+14
|
* Add more comments in the code and remove unused code fileWu Cheng-Han2016-10-101-0/+3
|
* Update to prevent duplicate socket push in queue in order to lower down ↵Wu Cheng-Han2016-10-101-0/+12
| | | | server loading
* Update to move authorship calculation code to note model and support update ↵Wu Cheng-Han2016-10-101-100/+1
| | | | authorship after making revision of docs
* Update to add revision saving policyWu Cheng-Han2016-09-181-2/+2
|
* Update to change the last change user saving strategyWu Cheng-Han2016-08-151-2/+2
|
* Update realtime check and refresh event, compress data using LZString UTF16 ↵Wu Cheng-Han2016-08-021-2/+5
| | | | to minimize network delay
* Update to make random color more discreteWu Cheng-Han2016-07-301-7/+3
|
* Fix user color is not following the author colorWu Cheng-Han2016-07-301-0/+4
|
* Add support of showing authorship in editor and adjust related stylesWu Cheng-Han2016-07-301-1/+5
|
* Add support of saving authors and authorshipWu Cheng-Han2016-07-301-2/+154
|
* Fix realtime on forbidden not clean up properly and handle on updating note ↵Wu Cheng-Han2016-07-301-9/+18
| | | | which already been clean up
* Fix potential memory leaks on realtime client disconnect not clean up server ↵Wu Cheng-Han2016-07-131-0/+2
| | | | properly
* Fix realtime on finishConnection might not clear and connect next socket in ↵Wu Cheng-Han2016-07-051-6/+14
| | | | queue and should use shift instead of pop on remove invalid socket in queue
* Try to solve potential memory leaksWu Cheng-Han2016-07-021-0/+2
|
* Try to solve realtime connection get stock when lots of client try to ↵Cheng-Han, Wu2016-06-171-1/+5
| | | | connect at same moment
* Add minimumCompatibleVersion and update refresh modal to show more detail ↵Cheng-Han, Wu2016-06-171-1/+4
| | | | informations
* Fix locked or private permission should block any operation if owner is nullCheng-Han, Wu2016-06-171-2/+2
|
* Add support of saving note revision and improve app start and stop procedure ↵Cheng-Han, Wu2016-06-171-5/+23
| | | | to ensure data integrity
* Add maintenance mode and update to gracefully exit process on signalCheng-Han, Wu2016-06-011-3/+7
|
* Refactor server with Sequelize ORM, refactor server configs, now will show ↵Cheng-Han, Wu2016-04-201-376/+299
| | | | note status (created or updated) and support docs (note alias)
* Updated to handle user address when server behind other servicesCheng-Han, Wu2016-03-151-1/+1
|
* Support set url path and use relative url, move raphael to bower and fixed ↵Cheng-Han, Wu2016-02-161-1/+1
| | | | minor issue in history
* Fixed potential bug in realtime startConnection and bugs in note ↵Cheng-Han, Wu2016-01-201-2/+5
| | | | findOrNewNote, response showNote
* Added private permission and clean up codes, solved potential race condition ↵Wu Cheng-Han2016-01-171-80/+124
| | | | in realtime.js
* Support show last change user with profile and support YAML config inside ↵Wu Cheng-Han2016-01-121-44/+124
| | | | the note with robots, lang, dir, breaks options
* Fixed socket session secure might not apply properlyWu Cheng-Han2015-12-301-5/+8
|
* Now accept all users whether authorize or not without log errors to allow ↵Wu Cheng-Han2015-12-301-3/+2
| | | | anonymous usage
* Fixed realtime.js finishConnection user might be undefined issueWu Cheng-Han2015-12-061-0/+1
|
* Fixed cleaner might not clean user not in connected list and handle if the ↵Wu Cheng-Han2015-10-051-2/+8
| | | | user socket not exist
* Fixed realtime cleaner, socket should defined and notename is not a ↵Wu Cheng-Han2015-09-271-6/+3
| | | | necessary in disconnect
* Updated realtime to clear socket queue in all exceptions of connect and ↵Wu Cheng-Han2015-09-271-18/+14
| | | | disconnect
* Fixed if using splice in loop should always decrement index or might out of ↵Wu Cheng-Han2015-09-261-3/+9
| | | | array range
* Added more infos about connection and disconnection in realtime "getStatus"Wu Cheng-Han2015-09-261-1/+5
|
* Fixed a possible exceptionWu Cheng-Han2015-09-251-1/+1
|
* Fixed to handle startConnection and finishConnection undefined exceptionsWu Cheng-Han2015-09-251-2/+2
|
* Fixed user might not disconnect from server properly, handle more uncaught ↵Wu Cheng-Han2015-09-241-5/+15
| | | | exceptions
* Added cleaner in realtime.js, to clean up users which aren't in any rooms in ↵Wu Cheng-Han2015-09-241-0/+16
| | | | a interval
* Updated realtime.js, use socket.io built-in broadcast function instead self ↵Wu Cheng-Han2015-09-241-0/+23
| | | | iterate to avoid extra issues
* Added document max length limit, enforceMaxLength on change and show modal ↵Wu Cheng-Han2015-07-161-8/+9
| | | | when reach the limit.