Commit graph

78 commits

Author SHA1 Message Date
Imbus
d2eac68638 Delete post fix, proper cascading on comments 2024-03-22 23:20:47 +01:00
Imbus
70ba521aa5 Delete post route 2024-03-22 22:44:57 +01:00
Hollgy
ea25fa9489 Handlers for GET and POST engages added, renders numbers of unique engagements per post 2024-03-22 22:38:18 +01:00
Imbus
efcdaf0cd2 Get engagements path 2024-03-22 22:03:26 +01:00
Imbus
e946dc456d Ugly fix for removing bearer prefix from auth header 2024-03-22 21:48:11 +01:00
Imbus
c5a25ad714 Fix: mounting engage_post path correctly 2024-03-22 21:39:46 +01:00
Imbus
d93dc7fd89 Engage endpoint 2024-03-22 21:28:20 +01:00
Imbus
2e23c7919f Removed the concept of down & upvotes 2024-03-22 19:47:36 +01:00
Imbus
82e3f18961 Serde renames for javascript appropriate camel case 2024-03-12 17:26:58 +01:00
Imbus
6f69abe973 Allow dead code for hex_string, since its not used for now 2024-03-08 05:26:22 +01:00
Imbus
68fca7cbde Wrap server in header middleware with a sane CacheControl policy to satisfy lighthouse 2024-03-08 05:08:00 +01:00
Imbus
3a389d854b Updated sqlx cache 2024-03-06 08:08:41 +01:00
Imbus
8875ae4a4c Added a migration script containing useful functions/procedures 2024-03-06 08:06:32 +01:00
Imbus
d0e5b57006 Working comment route fully implemented 2024-03-06 08:05:23 +01:00
Imbus
32ff43e87c Removing everything to do with parent_comment_id in comment table for now 2024-03-06 08:04:26 +01:00
Imbus
3d40ec513e Adding a bunch of dummy comments on each post 2024-03-06 08:03:03 +01:00
Imbus
d12bd9aa99 Silencing logs a bit 2024-03-06 07:55:31 +01:00
Imbus
5916a21bd5 Remove unused query cache from sqlx cache 2024-03-06 00:26:14 +01:00
Imbus
ce4b2c2ad8 Merge branch 'master' of git.silversoft.se:Imbus/FrostByte 2024-03-05 22:32:32 +01:00
Imbus
db402777cb Revert hack for parent_comment_id 2024-03-05 22:32:23 +01:00
Hollgy
12bcd2e659 added lord of the milfs 2024-03-05 21:39:57 +01:00
Imbus
70c8ff28a1 Better logging in new_comment route 2024-03-05 21:03:37 +01:00
Imbus
62f3e0d72f Cors allow anywhere in debug 2024-02-27 03:47:50 +01:00
Imbus
6b98dac375 Lock bump 2024-02-26 19:03:21 +01:00
Imbus
efcb7a305b State testing 2023-12-22 23:11:11 +01:00
Imbus
07b40105c2 Disallowed localhost cors in debug mode 2023-12-22 22:01:32 +01:00
Imbus
b34a06387f Integrated the new authentication into Actix 2023-12-22 22:00:49 +01:00
Imbus
a7a0ea60d5 Version bumps 2023-12-22 21:39:28 +01:00
Imbus
2d8f9f8697 New authentication struct draft 2023-12-22 21:39:14 +01:00
Imbus
88b92f2dab Cors allow localhost 2023-12-18 17:25:26 +01:00
Imbus
a020c2e52a Version bump for jsonwebtoken 2023-12-18 17:25:17 +01:00
Imbus
96c720a3ad Anonymizing response data with sibling types that doesent contain any userId 2023-12-18 15:06:19 +01:00
Imbus
dcf5f012f8 Re-cors 2023-12-18 14:39:05 +01:00
Imbus
0662adafee Hotfix cors 2023-12-15 16:43:56 +01:00
Imbus
4b05f830b8 Logic error fix 2023-12-14 22:56:55 +01:00
Imbus
9bfe92f0d6 Merge branch 'master' of git.silversoft.se:Imbus/FrostByte 2023-12-14 22:50:42 +01:00
Imbus
9ac8daf403 Demo user and lipsum posts in prod 2023-12-14 22:50:37 +01:00
Imbus
67b915d722 Simple cors 2023-11-28 04:20:00 +01:00
Imbus
1058c8b477 Splitting all types into types directory 2023-11-28 02:19:49 +01:00
Imbus
89ebbf9269 Added routes and database logic to handle comments 2023-11-28 01:26:19 +01:00
Imbus
4abd2a3e43 Cleaning comments in migration script 2023-11-28 00:37:09 +01:00
Imbus
1652419d94 Moved migrations_pg -> migrations and updated relevant references 2023-11-28 00:36:11 +01:00
Imbus
13c5a05bd6 Removed sqlite migraction scripts 2023-11-28 00:33:52 +01:00
Imbus
f3cab87592 Comments table draft 2023-11-28 00:32:38 +01:00
Imbus
f7a8069859 Captcha error silence 2023-11-22 15:40:29 +01:00
Imbus
dea4ac1fb3 Registration endpoint fixing 2023-11-15 16:05:07 +01:00
Imbus
6b81763259 Debug builds now provides dummy posts 2023-11-15 11:32:57 +01:00
Imbus
ddf138ab99 Cleaning 2023-11-14 14:02:42 +01:00
Imbus
29c1fc8f82 Ported the project from sqlite to postgres 2023-11-14 08:40:45 +01:00
Imbus
757e670dbb Require DATABASE_URL to be set 2023-11-06 00:23:44 +01:00