Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | switching to eslint for code checking | Claudius Coenen | 2018-11-14 | 1 | -1/+2 |
| | | | | | | | most rules degraded to WARN, so we don't go insane. This will change over time. The aim is to conform to a common style Signed-off-by: Claudius Coenen <opensource@amenthes.de> | ||||
* | Add full version string | Sheogorath | 2018-11-11 | 1 | -1/+1 |
| | | | | | | | | | | | | Currently we only provide the version from `package.json`. This means that during updates of instances, e.g. the demo instance, which runs latest master instead of a stable release, changes are not reflected to the webclient. This patch adds a fullversion string that contains the current commit and this way makes that clients are notified about changes. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix requests for deleted users | Sheogorath | 2018-05-25 | 1 | -5/+7 |
| | | | | | | | When users are requested from the authorship which no longer exist, they shouldn't cause a 500. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix typos for `allowAnonymousEdits` | Sheogorath | 2018-04-10 | 1 | -1/+1 |
| | | | | | | | | | Looks like we lost some variables during the refactoring of the configs to camel case. This should fix it. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Change config to camel case with backwards compatibility | Sheogorath | 2018-03-25 | 1 | -6/+6 |
| | | | | | | | | This refactors the configs a bit to now use camel case everywhere. This change should help to clean up the config interface and make it better understandable. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Remove and replace all note id compression in LZString with base64url | Max Wu | 2018-02-26 | 1 | -2/+1 |
| | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com> | ||||
* | don't require referer to find note id in socket.io connections (fixes #623) | Stefan Bühler | 2018-02-05 | 1 | -6/+14 |
| | | | | Signed-off-by: Stefan Bühler <buehler@cert.uni-stuttgart.de> | ||||
* | Add option to enable `freely` permission in closed instance | Dario Ernst | 2018-01-20 | 1 | -1/+1 |
| | | | | | | | | Before, closed disallowed guest edits completely, by removing the `freely` permission. This makes it possible to explicitely bring back guest-editing, but not guest-note-creation, to closed instances. Signed-off-by: Dario Ernst <dario@kanojo.de> | ||||
* | Fix minor typos | Max Wu | 2018-01-16 | 1 | -3/+3 |
| | | | of wrong parameters passing order and wrong user object indexing in for each function | ||||
* | refactor(config.js): Extract config file | BoHong Li | 2017-05-08 | 1 | -2/+3 |
| | | | | | * Separate different config source to each files * Freeze config object | ||||
* | refactor: Remove `require` extension filename | BoHong Li | 2017-05-08 | 1 | -4/+4 |
| | |||||
* | Use strict mode in all backend files | BoHong Li | 2017-03-14 | 1 | -0/+1 |
| | | | | add ‘use strict’ in all backend file | ||||
* | Use JavaScript Standard Style | BoHong Li | 2017-03-08 | 1 | -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 tick | Wu Cheng-Han | 2017-02-03 | 1 | -5/+11 |
| | |||||
* | Update to remove history cache to lower application coupling | Wu Cheng-Han | 2017-02-03 | 1 | -11/+14 |
| | |||||
* | Refactor checkViewPermission to fix limited & protected permission check bug ↵ | Wu Cheng-Han | 2017-01-16 | 1 | -20/+28 |
| | | | | and fix code style | ||||
* | Fix for limited and protected permissions should forbid guest in realtime events | Wu Cheng-Han | 2017-01-12 | 1 | -2/+2 |
| | |||||
* | Fix author creation in operationCallback might cause unique constraint ↵ | Wu Cheng-Han | 2017-01-12 | 1 | -11/+19 |
| | | | | validation error | ||||
* | Fix syntax when use case | 蒼時弦也 | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | Add limited and protected permission | 蒼時弦也 | 2017-01-10 | 1 | -10/+10 |
| | |||||
* | Remove LZString compression for data storage | Wu Cheng-Han | 2017-01-02 | 1 | -6/+4 |
| | |||||
* | Remove manual LZString compression for partial socket io event data | Wu Cheng-Han | 2017-01-02 | 1 | -4/+0 |
| | |||||
* | Fixed typo: anonmyous | Florian Rhiem | 2016-12-21 | 1 | -2/+2 |
| | |||||
* | Fix possible user is undefined in realtime events | Wu Cheng-Han | 2016-12-20 | 1 | -17/+26 |
| | |||||
* | Try to fix when server have heavy loading cache might not update to db properly | Wu Cheng-Han | 2016-12-18 | 1 | -1/+1 |
| | |||||
* | Add support of allow anonymous config option with correspond modifications | Wu Cheng-Han | 2016-12-15 | 1 | -0/+1 |
| | |||||
* | Update to support optional email register and signin | Wu Cheng-Han | 2016-12-02 | 1 | -5/+5 |
| | |||||
* | Revert "Add workers for notes to leverage CPU intensive work loading" | Wu Cheng-Han | 2016-11-16 | 1 | -71/+90 |
| | | | | This reverts commit 4ccfdfa538d2fd7e9ee63e937435a7f6fc622c12. | ||||
* | Add workers for notes to leverage CPU intensive work loading | Wu Cheng-Han | 2016-11-07 | 1 | -90/+71 |
| | |||||
* | Fix socket disconnect might interrupt loop issue | Wu Cheng-Han | 2016-10-14 | 1 | -3/+9 |
| | |||||
* | Fix to handle undefined document on update history | Wu Cheng-Han | 2016-10-12 | 1 | -2/+2 |
| | |||||
* | Try to fix memory leaks by clear OT server before disconnect note | Wu Cheng-Han | 2016-10-10 | 1 | -0/+3 |
| | |||||
* | Update to support delete note | Wu Cheng-Han | 2016-10-10 | 1 | -0/+29 |
| | |||||
* | Update to send note title on emit check and refresh event | Wu Cheng-Han | 2016-10-10 | 1 | -1/+4 |
| | |||||
* | Update to make note history count in server-side when user logged | Wu Cheng-Han | 2016-10-10 | 1 | -0/+14 |
| | |||||
* | Add more comments in the code and remove unused code file | Wu Cheng-Han | 2016-10-10 | 1 | -0/+3 |
| | |||||
* | Update to prevent duplicate socket push in queue in order to lower down ↵ | Wu Cheng-Han | 2016-10-10 | 1 | -0/+12 |
| | | | | server loading | ||||
* | Update to move authorship calculation code to note model and support update ↵ | Wu Cheng-Han | 2016-10-10 | 1 | -100/+1 |
| | | | | authorship after making revision of docs | ||||
* | Update to add revision saving policy | Wu Cheng-Han | 2016-09-18 | 1 | -2/+2 |
| | |||||
* | Update to change the last change user saving strategy | Wu Cheng-Han | 2016-08-15 | 1 | -2/+2 |
| | |||||
* | Update realtime check and refresh event, compress data using LZString UTF16 ↵ | Wu Cheng-Han | 2016-08-02 | 1 | -2/+5 |
| | | | | to minimize network delay | ||||
* | Update to make random color more discrete | Wu Cheng-Han | 2016-07-30 | 1 | -7/+3 |
| | |||||
* | Fix user color is not following the author color | Wu Cheng-Han | 2016-07-30 | 1 | -0/+4 |
| | |||||
* | Add support of showing authorship in editor and adjust related styles | Wu Cheng-Han | 2016-07-30 | 1 | -1/+5 |
| | |||||
* | Add support of saving authors and authorship | Wu Cheng-Han | 2016-07-30 | 1 | -2/+154 |
| | |||||
* | Fix realtime on forbidden not clean up properly and handle on updating note ↵ | Wu Cheng-Han | 2016-07-30 | 1 | -9/+18 |
| | | | | which already been clean up | ||||
* | Fix potential memory leaks on realtime client disconnect not clean up server ↵ | Wu Cheng-Han | 2016-07-13 | 1 | -0/+2 |
| | | | | properly | ||||
* | Fix realtime on finishConnection might not clear and connect next socket in ↵ | Wu Cheng-Han | 2016-07-05 | 1 | -6/+14 |
| | | | | queue and should use shift instead of pop on remove invalid socket in queue | ||||
* | Try to solve potential memory leaks | Wu Cheng-Han | 2016-07-02 | 1 | -0/+2 |
| | |||||
* | Try to solve realtime connection get stock when lots of client try to ↵ | Cheng-Han, Wu | 2016-06-17 | 1 | -1/+5 |
| | | | | connect at same moment |