Commit graph

52 commits

Author SHA1 Message Date
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
d0e5b57006 Working comment route fully implemented 2024-03-06 08:05:23 +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
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
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
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
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
1652419d94 Moved migrations_pg -> migrations and updated relevant references 2023-11-28 00:36:11 +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
Imbus
867eb24d5d Default handler for root path set to index.html 2023-11-05 19:16:00 +01:00
Imbus
b3124948c4 Create sqlite db if not exist, constrain debug deps to debug builds 2023-11-04 21:53:55 +01:00
Imbus
d92a1cd617 Demo user 2023-11-02 11:29:34 +01:00
Imbus
9c60ae2000 Individual post api endpoint 2023-10-27 16:05:12 +02:00
Imbus
3a007f0093 Useful debug post that only happens once per db 2023-10-21 08:58:21 +02:00
Imbus
985ce53a97 Changed demo username 2023-10-21 08:51:51 +02:00
Imbus
508cf528af Splitting database access logic from routing code 2023-10-21 07:54:26 +02:00
Imbus
fa9b2b6fc1 Working but untested captcha api 2023-10-21 05:11:42 +02:00
Imbus
4fc00eaf23 Tidying up routes, query parameters for posts, better database api 2023-10-21 01:55:27 +02:00
Imbus
db0783fe2e Slight improvement of the api 2023-10-21 00:59:35 +02:00
Imbus
0ea21cfaf3 Changes related to api in both client and server 2023-10-20 22:49:09 +02:00
Imbus
f69823c08e Lots of untested changes 2023-10-20 20:57:58 +02:00
Imbus
27386d5d18 Major restructure 2023-10-20 06:06:55 +02:00
Imbus
3bc6e6928e Renamed everything called "App" to "Server" 2023-10-18 04:04:16 +02:00
Imbus
2b1e350ce1 Justfile build and dev targets, working containerfile 2023-10-17 19:43:26 +02:00
Imbus
89c949ac50 Working actix_files and vite configuration for serving static build 2023-10-17 03:04:42 +02:00
Imbus
118ee088b4 Cleaning unused imports 2023-10-10 19:45:18 +02:00
Imbus
f514fd741c Working example 2023-10-10 17:12:47 +02:00