sbkwgh
|
af10955b6a
Fix bug where blank password would cause route to hang
|
8 年之前 |
sbkwgh
|
aeb700a800
Fix tests and implement password update
|
8 年之前 |
sbkwgh
|
d4d0318a17
Implement update description tests
|
8 年之前 |
sbkwgh
|
303f1b04a5
Fix bug where post was paginated by postnumber not id, make post pagination descending
|
8 年之前 |
sbkwgh
|
2bfec678a0
Fix bugs
|
8 年之前 |
sbkwgh
|
c5fd80e14a
Buggy changes
|
8 年之前 |
sbkwgh
|
8fd6ee7f76
Implement test
|
8 年之前 |
sbkwgh
|
64da3bb39c
Fix bugs with user page api routes
|
8 年之前 |
sbkwgh
|
ef5111cf53
Move logic to pagination functions in lib folder; at threads query route
|
8 年之前 |
sbkwgh
|
e1bd40ff1d
Fix bugs to make tests green for user page pagination
|
8 年之前 |
sbkwgh
|
4698a1d331
Add pagination to user page
|
8 年之前 |
sbkwgh
|
1ec8bf1085
Get comments for user by passing comments query to route
|
8 年之前 |
sbkwgh
|
b3839bc591
Throw accoutn does not exist error if account does not exist
|
8 年之前 |
sbkwgh
|
304c24cfa3
Allow get route for user without being logged in, update tests to reflect this
|
8 年之前 |
sbkwgh
|
f19b2d5a78
Add session function to set session and username cookie
|
8 年之前 |
sbkwgh
|
3306d234a7
Add admin session parameter, set session to null to delete
|
8 年之前 |
sbkwgh
|
0bf11850f5
Send 401 rather than 400 error for invalid token
|
8 年之前 |
sbkwgh
|
0e22ac47be
Fix bug: wrong variable
|
8 年之前 |
sbkwgh
|
de1feba110
Delete token if it has been successfully used
|
8 年之前 |
sbkwgh
|
2b86ca9643
Add admin conditional route, as well as checking for token
|
8 年之前 |
sbkwgh
|
d7d7a2964f
Add test and update route to login in user (i.e. set the session variable) when creating account
|
8 年之前 |
sbkwgh
|
dbb31724c7
Add 403 status, change typo of async to await
|
8 年之前 |
sbkwgh
|
da45a5387f
User new http scheme (changing to use POST /username/login and POST /username/logout)
|
8 年之前 |
sbkwgh
|
10a95d519b
Add login and log out routes
|
8 年之前 |
sbkwgh
|
4493ddebeb
Add custom error for unique constraint error
|
8 年之前 |
sbkwgh
|
391da7007c
Fix typo
|
8 年之前 |
sbkwgh
|
7ad8444e40
Add validations
|
8 年之前 |
sbkwgh
|
0bbaa1005f
Remove indicative dependency
|
8 年之前 |
sbkwgh
|
7f6e8d181d
Add structure for sequelize and tests
|
8 年之前 |