Commit graph

182 commits

Author SHA1 Message Date
4fed541bb7 Add SQL rows.Err handling 2022-12-06 22:33:10 +01:00
d20b0029bb Improve GetUserBans error handling & remove useless delcaration in PostSession 2022-12-06 22:25:46 +01:00
3af4ee6c84 Improve error handling 2022-12-06 22:14:12 +01:00
cdaeb887d5 Merge remote-tracking branch 'origin/main' 2022-12-02 11:34:28 +01:00
df5b3fdda8 Add Regex matching 2022-11-29 16:07:42 +01:00
16a439ea02 Renamed logins to login 2022-11-26 15:17:52 +01:00
758be58b31 PUT username now returns also 409 2022-11-26 15:14:41 +01:00
d068a5389e Merge branch 'api_dev' into dev 2022-11-26 15:00:47 +01:00
f06f5f4e94 Ho beccato il typo 2022-11-25 16:12:53 +01:00
5fd7dbc6d4 session now returns 201 2022-11-24 15:29:46 +01:00
22ac115b60 Add missing maxItems 2022-11-24 15:25:25 +01:00
b42886beab Add generic response string pattern 2022-11-24 15:23:56 +01:00
d9a8919565 Add date_time lenghts 2022-11-24 15:20:47 +01:00
4c1bd1142d Fixed gitignore conflict 2022-11-24 14:55:42 +01:00
a1bbf6f74d Add .gitignore 2022-11-24 14:54:05 +01:00
f1de5c316f Rename deleteComment to uncommentPhoto 2022-11-24 14:53:30 +01:00
69c0388954 Add decaf webui 2022-11-24 14:46:29 +01:00
dc9e9c1181 PUTs now return 201 2022-11-23 11:19:38 +01:00
6b4c9bb531 Fix photo count in getUserProfile 2022-11-23 11:15:52 +01:00
233217beb9 Fixed a lot of bad queries 2022-11-22 23:41:52 +01:00
a3cf4f17f8 Solved some todo(s) 2022-11-22 22:47:17 +01:00
05acfb045f Enforced ban checks 2022-11-22 22:26:05 +01:00
8d999514a5 Handled error for follow_status query in db: GetUserProfile 2022-11-22 22:15:51 +01:00
e475a6a339 Merge branch 'api_dev' into dev 2022-11-22 22:14:08 +01:00
2baddf724d Clarified 400 responses descriptions 2022-11-22 22:13:46 +01:00
f896e9ab48 Fix: replaced error with status in responses 2022-11-22 22:11:24 +01:00
3c7e03f2af Add GET /users 2022-11-22 22:11:00 +01:00
ebb5c4e6f7 Fix query errors 2022-11-22 22:02:44 +01:00
09adc06e18 Add follow status to GetUserProfile 2022-11-22 17:48:15 +01:00
9968f9e66f Merge branch 'api_dev' into dev 2022-11-22 17:45:34 +01:00
137ffb8f71 Add follow status to getMyProfile 2022-11-22 17:45:18 +01:00
23fcdf6227 Merge branch 'api_dev' into dev 2022-11-22 17:30:08 +01:00
8b2d25dc23 Bump version to 3.0 2022-11-22 17:13:31 +01:00
028ff36a67 Add comments number to photo structures 2022-11-22 17:07:28 +01:00
5b2f6ed9de Add maxItems everywhere 2022-11-22 16:52:50 +01:00
c0d7a7a1ee Moved start_index & limit to schema 2022-11-22 16:51:22 +01:00
4f391f0b65 Add GET bans 2022-11-22 16:43:46 +01:00
a5c2bb155c Separated user profile and user photos 2022-11-22 16:18:19 +01:00
1e551885b9 Add start_index & limit to likes and comments 2022-11-22 16:06:31 +01:00
77e9f405c6 Add start_index & limit to GetFollowersFollowing 2022-11-22 15:27:05 +01:00
c134becb61 Fix inconsistency of the latest commit 2022-11-22 15:21:33 +01:00
963e392cea Add stream search, offset & limit, improved bans 2022-11-22 15:17:08 +01:00
72f11a2b15 Merge branch 'api_dev' into dev 2022-11-22 10:47:29 +01:00
26612cb3eb Fix $ref error 2022-11-22 09:13:10 +01:00
53a764e8bb Add getUserProfile and database.IsBanned 2022-11-21 19:44:50 +01:00
ecf90cdc84 Merge remote-tracking branch 'origin/api_dev' into api_dev 2022-11-21 14:34:07 +01:00
51c3c98541 boh 2022-11-21 09:43:09 +01:00
9fc525e646 Merge remote-tracking branch 'origin/api_dev' into dev 2022-11-21 01:33:25 +01:00
3cd4c9fe6d Improved responses 2022-11-20 20:16:06 +01:00
44eb1e1fa6 Add auth error description 2022-11-20 19:53:24 +01:00