Commit Graph

378 Commits

Author SHA1 Message Date
Oliver Bryan
9f7baedc9d select first organisation and first project by default 2025-12-23 17:33:38 +00:00
Oliver Bryan
a191b9e844 implemented organisations on frontend 2025-12-23 17:24:07 +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
badb857bc2 OrganisationResponse type 2025-12-23 17:13:21 +00:00
Oliver Bryan
e9c5fbac0a use Avatar in table for assignee 2025-12-23 17:11:05 +00:00
Oliver Bryan
d46b82ffa6 Avatar component 2025-12-23 17:07:23 +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
e6d374f444 chevron rotates when select is open 2025-12-22 19:37:31 +00:00
Oliver Bryan
393ce37b7f converted login/register form to an actual html form
this allows the return key to submit the form easily
2025-12-22 19:19:10 +00:00
Oliver Bryan
ef7e2fcf2e biome: "root": false 2025-12-22 19:17:09 +00:00
Oliver Bryan
1d5c1f5194 added todo 2025-12-22 18:13:21 +00:00
Oliver Bryan
01236ebb3e improved loading screen with spinner 2025-12-22 15:44:18 +00:00
Oliver Bryan
f35177699c VITE_* for VITE_SERVER_URL 2025-12-22 15:15:00 +00:00
Oliver Bryan
2385fed3b6 more checks before using user data 2025-12-22 13:45:01 +00:00
Oliver Bryan
9747c376e6 getAuthHeaders now returns a HeadersInit 2025-12-22 13:43:34 +00:00
Oliver Bryan
e2bb57cb35 stringify user data before commiting to local storage 2025-12-22 13:43:12 +00:00
Oliver Bryan
dbec5dac6c complete register functionality 2025-12-22 07:38:42 +00:00
Oliver Bryan
9bf8d36d49 not sure why i hid this 2025-12-22 07:36:28 +00:00
Oliver Bryan
46004bc4ca capitalise util function 2025-12-22 07:36:07 +00:00
Oliver Bryan
03e0874c2c join owners with ProjectsByOwnerID 2025-12-22 07:01:22 +00:00
Oliver Bryan
7cb9dc7217 get projects by owner 2025-12-22 06:49:11 +00:00
Oliver Bryan
92bd169413 loading page 2025-12-22 06:46:58 +00:00
Oliver Bryan
bba672a020 logout/login from anywhere 2025-12-22 06:36:14 +00:00
Oliver Bryan
e550b936e0 simple auth setup 2025-12-22 06:34:37 +00:00
Oliver Bryan
66b4868c6f login form component 2025-12-22 06:33:58 +00:00
Oliver Bryan
2a48e991cf de-rounded buttons and inputs 2025-12-22 06:33:33 +00:00
Oliver Bryan
aa0171b4f3 LogOutButton component 2025-12-22 06:33:15 +00:00
Oliver Bryan
200fbc28e3 getAuthHeaders util function 2025-12-22 05:15:56 +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
Oliver Bryan
2eae751fdb input and label shadcn components# 2025-12-22 01:05:23 +00:00
Oliver Bryan
62febd8a29 include project owner 2025-12-14 23:18:11 +00:00