sbkwgh
|
313d64ec34
If slug would otherwise be blank use _ character, add corresponding test
|
преди 7 години |
sbkwgh
|
39b42286df
Enable utf-8 encoding for emojis etc, and add corresponding test for posts
|
преди 8 години |
sbkwgh
|
c777350d89
Refactor posts route including GET DELETE and POST http verbs
|
преди 8 години |
sbkwgh
|
656f76859b
Use sequelize validations rather than custom ones in router function
|
преди 8 години |
sbkwgh
|
06000b269d
User specific agent which is non-admin
|
преди 8 години |
sbkwgh
|
40f9883401
Merge branch 'lock-thread'
|
преди 8 години |
sbkwgh
|
b9313f6547
Fix test where it was not correctly tested if non-admin user could lock threads (admin privillege)
|
преди 8 години |
sbkwgh
|
37b9450206
Add test to return error if trying to reply to a removed post
|
преди 8 години |
sbkwgh
|
d8ded4cfbc
Expect a specific string on a removed post, rather than ust null
|
преди 8 години |
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 години |
sbkwgh
|
36485d4523
Add tests for DELETE /post/:id route
|
преди 8 години |
sbkwgh
|
007ceb2507
Use own thread for locked tests to make tests more independent
|
преди 8 години |
sbkwgh
|
c883be1f6b
Fix wrong request agent
|
преди 8 години |
sbkwgh
|
74ac8b98ca
Add tests for locking the thread
|
преди 8 години |
sbkwgh
|
83de1fcd4e
Add tests so to return error if thread name has no length
|
преди 8 години |
sbkwgh
|
514ba58577
Add and implement tests for categories with spaces
|
преди 8 години |
sbkwgh
|
089e2d5189
Implement tests
|
преди 8 години |
sbkwgh
|
d317ed5b29
Add tests for postCount fields
|
преди 8 години |
sbkwgh
|
233e935c3a
Add tests for 'postsRemaining' field
|
преди 8 години |
sbkwgh
|
d049fcf4bc
Add tests for 'postsRemaining' field
|
преди 8 години |
sbkwgh
|
8d3b208cb0
Use simplified pagination system based on ordinal post number
|
преди 8 години |
sbkwgh
|
0ff38bf672
Add and implement test case for postNumber field
|
преди 8 години |
sbkwgh
|
30c33a892d
Change postCount to postsCount
|
преди 8 години |
sbkwgh
|
ee9f447478
Add test for posts count on threads
|
преди 8 години |
sbkwgh
|
aa06e1c531
Allow to paginate from any post and add previousURL field
|
преди 8 години |
sbkwgh
|
790daba82f
Whoops... add await
|
преди 8 години |
sbkwgh
|
bd221f88d2
Add test to see if previousURL conforms to expectation
|
преди 8 години |
sbkwgh
|
b74627b4f0
Add failing tests for previousURL field and postId query on get thread route
|
преди 8 години |
sbkwgh
|
10b3d6d696
Use different pagination style, add 'meta.nextURL' to response
|
преди 8 години |
sbkwgh
|
9e380e434f
Implement pagination system
|
преди 8 години |