summaryrefslogtreecommitdiff
path: root/lib/realtime.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor(config.js): Extract config fileBoHong Li2017-05-081-2/+3
| | | | | * Separate different config source to each files * Freeze config object
* refactor: Remove `require` extension filenameBoHong Li2017-05-081-4/+4
|
* Use strict mode in all backend filesBoHong Li2017-03-141-0/+1
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-081-859/+846
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Update realtime to use timer to avoid memory leaks on busy tickWu Cheng-Han2017-02-031-5/+11
|
* Update to remove history cache to lower application couplingWu Cheng-Han2017-02-031-11/+14
|
* Refactor checkViewPermission to fix limited & protected permission check bug ↵Wu Cheng-Han2017-01-161-20/+28
| | | | and fix code style
* Fix for limited and protected permissions should forbid guest in realtime eventsWu Cheng-Han2017-01-121-2/+2
|
* Fix author creation in operationCallback might cause unique constraint ↵Wu Cheng-Han2017-01-121-11/+19
| | | | validation error
* Fix syntax when use case蒼時弦也2017-01-101-1/+1
|
* Add limited and protected permission蒼時弦也2017-01-101-10/+10
|
* Remove LZString compression for data storageWu Cheng-Han2017-01-021-6/+4
|
* Remove manual LZString compression for partial socket io event dataWu Cheng-Han2017-01-021-4/+0
|
* Fixed typo: anonmyousFlorian Rhiem2016-12-211-2/+2
|
* Fix possible user is undefined in realtime eventsWu Cheng-Han2016-12-201-17/+26
|
* 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