sbkwgh
|
711963f3c0
Use correct validation
|
před 8 roky |
sbkwgh
|
a307c32c89
Move post meta info to instance method
|
před 8 roky |
sbkwgh
|
81dce1a6e7
Remove superfluous async/await keywords
|
před 8 roky |
sbkwgh
|
c38aad3a50
Refactor delete and login routes
|
před 8 roky |
sbkwgh
|
5dca35c9e1
Refactor password and description update - n.b. hacky fix so that hook being called twice does not re-hash the hash
|
před 8 roky |
sbkwgh
|
f61691437c
Mostly refactor post user route
|
před 8 roky |
sbkwgh
|
656f76859b
Use sequelize validations rather than custom ones in router function
|
před 8 roky |
sbkwgh
|
2b464acc37
Use instance field this.Posts instead of passing in posts
|
před 8 roky |
sbkwgh
|
53bfc3e1bd
Move thread meta data logic to instance method
|
před 8 roky |
sbkwgh
|
06000b269d
User specific agent which is non-admin
|
před 8 roky |
sbkwgh
|
40f9883401
Merge branch 'lock-thread'
|
před 8 roky |
sbkwgh
|
4e73d4b9ea
Move PUT route below admin route middle-ware so that only admin users can lock threads
|
před 8 roky |
sbkwgh
|
b9313f6547
Fix test where it was not correctly tested if non-admin user could lock threads (admin privillege)
|
před 8 roky |
sbkwgh
|
80864d208f
Implement test, returning an error if trying to reply to removed post
|
před 8 roky |
sbkwgh
|
37b9450206
Add test to return error if trying to reply to a removed post
|
před 8 roky |
sbkwgh
|
4ff67cba08
Add postRemoved error
|
před 8 roky |
sbkwgh
|
f556978dd1
Implement remove post functionality
|
před 8 roky |
sbkwgh
|
d8ded4cfbc
Expect a specific string on a removed post, rather than ust null
|
před 8 roky |
sbkwgh
|
f10ce41912
Remove test for User field being null - as the username that a post is replying to is set manually, this would require manually updating this association, so is currently not implemented
|
před 8 roky |
sbkwgh
|
36485d4523
Add tests for DELETE /post/:id route
|
před 8 roky |
sbkwgh
|
610f3bc0d8
Add admin cookie for ui purposes
|
před 8 roky |
sbkwgh
|
c5e978fcc3
Throw error if thread is locked
|
před 8 roky |
sbkwgh
|
b9cc76a5cd
Add threadLocked error
|
před 8 roky |
sbkwgh
|
007ceb2507
Use own thread for locked tests to make tests more independent
|
před 8 roky |
sbkwgh
|
8e686265c6
Implement locked/unlocked thread route
|
před 8 roky |
sbkwgh
|
c883be1f6b
Fix wrong request agent
|
před 8 roky |
sbkwgh
|
47d97c149a
Add locked field to model
|
před 8 roky |
sbkwgh
|
74ac8b98ca
Add tests for locking the thread
|
před 8 roky |
sbkwgh
|
b4b1c2340d
Update test
|
před 8 roky |
sbkwgh
|
fc16b8257a
Remove duplicate mentions
|
před 8 roky |