Commit Graph

109 Commits

Author SHA1 Message Date
Oliver Bryan
903fd5f347 org member promotion/demotion 2026-01-09 08:17:01 +00:00
Oliver Bryan
f90ddc2e4c updated auth routes to use sessions and "httpOnly" cookies 2026-01-09 05:36:41 +00:00
Oliver Bryan
89b38a4aa3 switched auth to cookies. CSRF middleware and fixed CORS for credentials 2026-01-09 05:36:41 +00:00
Oliver Bryan
0ec2ec3f2a updated JWT to include sessionId and added cookie helpers 2026-01-09 05:32:37 +00:00
Oliver Bryan
6884cc1c8e added session operations and cleanup job 2026-01-09 05:31:42 +00:00
Oliver Bryan
ad138059db security headers 2026-01-09 04:53:05 +00:00
Oliver Bryan
21655c2b73 use HS256 for JWT signing 2026-01-09 04:44:48 +00:00
Oliver Bryan
de196c2e87 improved password requirements 2026-01-09 04:34:24 +00:00
Oliver Bryan
dc50df15cb gif avatar support
all resizing is done server-side with sharp
2026-01-09 03:59:34 +00:00
Oliver Bryan
e02c53fc0c db reset and seed scripts 2026-01-08 17:53:56 +00:00
Oliver Bryan
d40b71f619 use bun's s3 client 2026-01-08 11:05:10 +00:00
Oliver Bryan
efb75c2f26 create issue with assignee 2026-01-06 23:01:50 +00:00
Oliver Bryan
610cd4199b update issue assignee full implementation 2026-01-06 15:51:32 +00:00
Oliver Bryan
15c7320833 Issue.creatorId + implementation 2026-01-06 13:19:19 +00:00
Oliver Bryan
33da8bde85 avatar: new upload + remove avatar, and placeholder with colour and initials 2026-01-03 11:25:39 +00:00
Oliver Bryan
63fef4a0e9 add + remove users from organisation 2026-01-01 10:46:54 +00:00
Oliver Bryan
bcc150a24d avatarURL for register and update routes 2026-01-01 06:58:13 +00:00
Oliver Bryan
6542f344d9 userUploadAvatar route 2026-01-01 06:58:03 +00:00
Oliver Bryan
df5e18a138 added avatarURL to user create + update functions 2026-01-01 06:57:02 +00:00
Oliver Bryan
54a32676b4 s3 setup 2026-01-01 06:56:35 +00:00
Oliver Bryan
a5f18b5995 improved /user/update 2026-01-01 04:51:46 +00:00
Oliver Bryan
c8784de67e added simple health check route 2025-12-31 19:48:29 +00:00
Oliver Bryan
c274ea9036 update user backend + frontend server function 2025-12-31 19:09:24 +00:00
Oliver Bryan
8b6dad8a2a fixed all warnings :D 2025-12-31 18:08:47 +00:00
Oliver Bryan
70ef02f790 frontend server utility improvement 2025-12-31 17:57:55 +00:00
Oliver Bryan
f534bc6dec Project.blob -> Project.key 2025-12-29 06:17:40 +00:00
Oliver Bryan
658b5eb669 multiple projects can be created with the same blob/key (just not in the same org) 2025-12-29 05:31:33 +00:00
Oliver Bryan
1b68d82565 updated /organisation/create route. creates member and ensures no duplicated slugs 2025-12-29 04:44:37 +00:00
Oliver Bryan
542efbd240 createOrganisationWithOwner 2025-12-29 04:43:14 +00:00
Oliver Bryan
afef1d4ff8 getOrganisationBySlug 2025-12-29 04:35:57 +00:00
Oliver Bryan
ea84e754e5 way more indepth demo data with 2 users, 4 organisations, 3 projects per org, and 3 issues per project 2025-12-23 17:21:32 +00:00
Oliver Bryan
193b1dc93b use AuthedRequest for "organisation/by-user" 2025-12-23 16:17:59 +00:00
Oliver Bryan
cb80e75c2a "/projects/by-organisation" route 2025-12-23 16:17:37 +00:00
Oliver Bryan
925617f493 getProjectsByOrganisationId 2025-12-23 16:13:33 +00:00
Oliver Bryan
474a929ffa Organisation and OrganisationMember routes 2025-12-22 20:23:16 +00:00
Oliver Bryan
92866f1017 Organisation db query functions 2025-12-22 20:22:33 +00:00
Oliver Bryan
4bf4f832b7 all fixes for Project.creatorId and Organisation tables 2025-12-22 20:13:08 +00:00
Oliver Bryan
dbec5dac6c complete register functionality 2025-12-22 07:38:42 +00:00
Oliver Bryan
03e0874c2c join owners with ProjectsByOwnerID 2025-12-22 07:01:22 +00:00
Oliver Bryan
1d18870b51 return full user object for /auth/me 2025-12-22 05:12:37 +00:00
Oliver Bryan
d1b4f11954 auth routes 2025-12-22 03:27:35 +00:00
Oliver Bryan
c4c759185b "/auth/me" route 2025-12-22 03:27:15 +00:00
Oliver Bryan
835c568552 "/auth/login" route 2025-12-22 03:27:05 +00:00
Oliver Bryan
e261b838d6 "/auth/register" route 2025-12-22 03:26:57 +00:00
Oliver Bryan
43b92cb95a all routes require auth 2025-12-22 03:24:27 +00:00
Oliver Bryan
8ad235241e moved cors middleware to correct place 2025-12-22 03:23:44 +00:00
Oliver Bryan
058387493e bcrypt utils 2025-12-22 03:23:05 +00:00
Oliver Bryan
22d05d8c26 jwt utils 2025-12-22 03:22:52 +00:00
Oliver Bryan
e0ab34f900 auth middleware 2025-12-22 03:22:11 +00:00
Oliver Bryan
cbd9b98939 added password to demo data 2025-12-22 03:21:16 +00:00