sbkwgh
|
53bfc3e1bd
Move thread meta data logic to instance method
|
8 lat temu |
sbkwgh
|
12210ad4be
Replace post content of deleted posts with deleted message
|
8 lat temu |
sbkwgh
|
06000b269d
User specific agent which is non-admin
|
8 lat temu |
sbkwgh
|
40f9883401
Merge branch 'lock-thread'
|
8 lat temu |
sbkwgh
|
4e73d4b9ea
Move PUT route below admin route middle-ware so that only admin users can lock threads
|
8 lat temu |
sbkwgh
|
b9313f6547
Fix test where it was not correctly tested if non-admin user could lock threads (admin privillege)
|
8 lat temu |
sbkwgh
|
2baf4a31ef
Add css rule to center properly slot
|
8 lat temu |
sbkwgh
|
80864d208f
Implement test, returning an error if trying to reply to removed post
|
8 lat temu |
sbkwgh
|
37b9450206
Add test to return error if trying to reply to a removed post
|
8 lat temu |
sbkwgh
|
4ff67cba08
Add postRemoved error
|
8 lat temu |
sbkwgh
|
c181fe4e1d
Change button text to 'remove' rather than 'delete'
|
8 lat temu |
sbkwgh
|
e7184783ad
Only show check mark if not already removed
|
8 lat temu |
sbkwgh
|
ef734e8589
Align to center of button
|
8 lat temu |
sbkwgh
|
ae3f2f1c94
Show/hide button after api call is complete
|
8 lat temu |
sbkwgh
|
55b5b4017c
Use api to remove posts on backend
|
8 lat temu |
sbkwgh
|
cee94cbc40
Use min-width instead of width
|
8 lat temu |
sbkwgh
|
f556978dd1
Implement remove post functionality
|
8 lat temu |
sbkwgh
|
d8ded4cfbc
Expect a specific string on a removed post, rather than ust null
|
8 lat temu |
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
|
8 lat temu |
sbkwgh
|
36485d4523
Add tests for DELETE /post/:id route
|
8 lat temu |
sbkwgh
|
c3a450d32d
Show button in side-bar if selectState is enabled
|
8 lat temu |
sbkwgh
|
36ea1dad49
Add button--disabled class
|
8 lat temu |
sbkwgh
|
c107e0936f
Add selection functionality using vuex
|
8 lat temu |
sbkwgh
|
872f8e5c75
Add select capability to posts
|
8 lat temu |
sbkwgh
|
985340c65f
Only show reply thread button and reply post links if thread is not locked
|
8 lat temu |
sbkwgh
|
9e148f1bde
Use h2 instead of h1 tag and decrease padding for thread-locked message
|
8 lat temu |
sbkwgh
|
610f3bc0d8
Add admin cookie for ui purposes
|
8 lat temu |
sbkwgh
|
214b5d7c13
Set width of sidebar
|
8 lat temu |
sbkwgh
|
1faa3b8cda
Only show thread management button if logged in admin
|
8 lat temu |
sbkwgh
|
b748912177
Add admin field to vuex and set this field when a user logs in
|
8 lat temu |