Commit Graph

63 Commits

Author SHA1 Message Date
Oliver Bryan
51093a46f5 ensure all users are members of all orgs 2026-01-08 18:00:31 +00:00
Oliver Bryan
e02c53fc0c db reset and seed scripts 2026-01-08 17:53:56 +00:00
Oliver Bryan
c4cfe23cd2 force bun 1.3.4 2026-01-08 12:21:04 +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
44fe15cf9d User.avatarURL column 2026-01-01 06:51:13 +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
551a868be9 Organisation and OrganisationMember tables
additional changes to Project table and the schemas for Organisation
things. this has caused some errors across the codebase that will be
addressed in the coming commits
2025-12-22 20:01:51 +00:00
Oliver Bryan
ef7e2fcf2e biome: "root": false 2025-12-22 19:17:09 +00:00
Oliver Bryan
f35177699c VITE_* for VITE_SERVER_URL 2025-12-22 15:15:00 +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
Oliver Bryan
fe15ad43f5 create user with passwordHash 2025-12-22 03:20:52 +00:00
Oliver Bryan
8462209bab bcrypt and jsonwebtoken 2025-12-22 03:17:24 +00:00
Oliver Bryan
9fe26017d3 added passwordHash and createdAt/updatedAt to user table 2025-12-22 03:16:29 +00:00