Guillaume Dorce
|
8214878868
|
fix some problems with like annd bad usage of state
|
2022-10-21 15:58:53 +02:00 |
Guillaume Dorce
|
504e1352f6
|
fix permission for edit
|
2022-10-14 16:46:30 +02:00 |
Guillaume Dorce
|
67eb136ff7
|
fix permission for deletion
|
2022-10-14 16:43:28 +02:00 |
Guillaume Dorce
|
3cb6e576ce
|
check if user is creator and prevent role change for him
|
2022-10-14 15:02:33 +02:00 |
Guillaume Dorce
|
d16d669b37
|
add route to change user role
|
2022-10-14 14:51:59 +02:00 |
Guillaume Dorce
|
ba0d353588
|
add me route to get user info
|
2022-09-09 12:07:38 +02:00 |
Guillaume Dorce
|
6b79e36c98
|
replace file with url when sending post to client
|
2022-09-02 10:34:50 +02:00 |
Guillaume Dorce
|
b3cdc9f518
|
store file with uuid and store only name in db
|
2022-09-02 10:18:08 +02:00 |
Guillaume Dorce
|
f8466fb261
|
fix problem with multer
|
2022-08-27 17:05:38 +02:00 |
Guillaume Dorce
|
e5ba280381
|
install multer but i will change to formidable or busboy
|
2022-08-26 17:43:02 +02:00 |
Guillaume Dorce
|
0c4ba1ea77
|
delete expired tokens every minute
|
2022-08-26 15:42:01 +02:00 |
Guillaume Dorce
|
9c6654182b
|
reject request if token not in db
|
2022-08-26 15:14:31 +02:00 |
Guillaume Dorce
|
c2e4aacb28
|
save token in db when generated
|
2022-08-26 15:00:24 +02:00 |
Guillaume Dorce
|
3261158588
|
reject posts route if token is invalid and send one on login
|
2022-08-26 12:24:38 +02:00 |
Guillaume Dorce
|
001cce5374
|
like and unlike post
|
2022-08-25 18:03:06 +02:00 |
Guillaume Dorce
|
9e5dc4a740
|
add deletePost route
|
2022-08-25 15:59:40 +02:00 |
Guillaume Dorce
|
c1a0ea3aef
|
remove title from post because i'm dumb
|
2022-08-25 15:47:06 +02:00 |
Guillaume Dorce
|
7364326918
|
typesafe post edit with author checking
|
2022-08-25 15:22:00 +02:00 |
Guillaume Dorce
|
a3004431fd
|
convert exclude to arrow function
|
2022-08-25 15:08:45 +02:00 |
Guillaume Dorce
|
f66befd0c7
|
include author in posts and exclude password with typesafe function
|
2022-08-25 15:06:33 +02:00 |
Guillaume Dorce
|
5dd34edbe1
|
create post
|
2022-08-25 14:26:50 +02:00 |
Guillaume Dorce
|
5bcd23b3d3
|
get all posts
|
2022-08-25 12:26:00 +02:00 |
Guillaume Dorce
|
b7966be9ea
|
send error if user already exist
|
2022-08-25 12:13:03 +02:00 |
Guillaume Dorce
|
13bba32a8d
|
add models dir and update zod user models
|
2022-08-21 16:06:58 +02:00 |
Guillaume Dorce
|
9eff4d2293
|
fix problem with user roleId
|
2022-08-19 20:18:05 +02:00 |
Guillaume Dorce
|
0e938ab0f0
|
change to controller model
|
2022-08-19 17:40:09 +02:00 |
Guillaume Dorce
|
6d4822e50d
|
restructurize code in api and controller folder
|
2022-08-19 16:06:31 +02:00 |