config
|
cacfe862c4
Add sessionSecret variable
|
%!s(int64=8) %!d(string=hai) anos |
lib
|
b9cc76a5cd
Add threadLocked error
|
%!s(int64=8) %!d(string=hai) anos |
migrations
|
c8eb10feb1
Add migration for unique username attribute
|
%!s(int64=8) %!d(string=hai) anos |
models
|
47d97c149a
Add locked field to model
|
%!s(int64=8) %!d(string=hai) anos |
routes
|
c5e978fcc3
Throw error if thread is locked
|
%!s(int64=8) %!d(string=hai) anos |
test
|
b9313f6547
Fix test where it was not correctly tested if non-admin user could lock threads (admin privillege)
|
%!s(int64=8) %!d(string=hai) anos |
.gitignore
|
05d95c1f3e
Include config.js
|
%!s(int64=8) %!d(string=hai) anos |
package.json
|
6855ff4661
Add express socket-io package to connect express session with socketio session
|
%!s(int64=8) %!d(string=hai) anos |
server.js
|
b3254169b4
If user is logged in, add there socket-io client id to a dictionary of username=>client_id
|
%!s(int64=8) %!d(string=hai) anos |