config
|
cacfe862c4
Add sessionSecret variable
|
8 years ago |
lib
|
b9cc76a5cd
Add threadLocked error
|
8 years ago |
migrations
|
c8eb10feb1
Add migration for unique username attribute
|
8 years ago |
models
|
47d97c149a
Add locked field to model
|
8 years ago |
routes
|
4e73d4b9ea
Move PUT route below admin route middle-ware so that only admin users can lock threads
|
8 years ago |
test
|
b9313f6547
Fix test where it was not correctly tested if non-admin user could lock threads (admin privillege)
|
8 years ago |
.gitignore
|
05d95c1f3e
Include config.js
|
8 years ago |
package.json
|
6855ff4661
Add express socket-io package to connect express session with socketio session
|
8 years ago |
server.js
|
b3254169b4
If user is logged in, add there socket-io client id to a dictionary of username=>client_id
|
8 years ago |