sbkwgh
|
8e9a8f1615
Fix notifications tests
|
7 éve |
sbkwgh
|
79ee339c27
Use DRYer error handling
|
7 éve |
sbkwgh
|
1e8d7d992f
Change fields for object sent by socket.io
|
8 éve |
sbkwgh
|
a614022e88
Move from using params on User instance for permissions to a dedicated Ban model, move methods in permissions.js file to class methods on Ban model
|
8 éve |
sbkwgh
|
2483e88858
Implement banned user route, as well as adding if clause on creating thread/post routes
|
8 éve |
sbkwgh
|
c777350d89
Refactor posts route including GET DELETE and POST http verbs
|
8 éve |
sbkwgh
|
bd84d63a16
Use more succint error syntax
|
8 éve |
sbkwgh
|
80864d208f
Implement test, returning an error if trying to reply to removed post
|
8 éve |
sbkwgh
|
f556978dd1
Implement remove post functionality
|
8 éve |
sbkwgh
|
c5e978fcc3
Throw error if thread is locked
|
8 éve |
sbkwgh
|
fc16b8257a
Remove duplicate mentions
|
8 éve |
sbkwgh
|
3c759d58f7
Fix wrong post object being sent
|
8 éve |
sbkwgh
|
baf07a754a
Use single post notification model for both mentions and reply notifications
|
8 éve |
sbkwgh
|
e8c194d047
Emit socketio event to user when new notification
|
8 éve |
sbkwgh
|
20a981a516
Move mentions logic before test, use for loop
|
8 éve |
sbkwgh
|
120e55fa15
Add mention notification logic
|
8 éve |
sbkwgh
|
69dbffe911
Remove superfluous field
|
8 éve |
sbkwgh
|
0f03f106c9
Send out message to thread page each time new post is added
|
8 éve |
sbkwgh
|
1450d28777
Implement delete like route
|
8 éve |
sbkwgh
|
97413f1a73
Implement post 'likes' feature
|
8 éve |
sbkwgh
|
8d3b208cb0
Use simplified pagination system based on ordinal post number
|
8 éve |
sbkwgh
|
0ff38bf672
Add and implement test case for postNumber field
|
8 éve |
sbkwgh
|
36bc9c9e6b
Add postsCount field and increment when new post added
|
8 éve |
sbkwgh
|
4f44d15e78
Refactor
|
8 éve |
sbkwgh
|
8516275d04
Use Post.includeOptions class method; make sure all possible errors are thrown before creating post; add GET /:post_id route
|
8 éve |
sbkwgh
|
c2e272f3b1
Fix tests and route
|
8 éve |
sbkwgh
|
dcfb5cdf70
Add =>
|
8 éve |
sbkwgh
|
0c31023b77
Add middleware to verify logged in
|
8 éve |
sbkwgh
|
ab285d8ec2
Initial commit for posts route
|
8 éve |