Commit graph

817 commits

Author SHA1 Message Date
Davenludd
863a14c316 Add WeeklyReport type and update getWeeklyReportsForProject method 2024-03-19 23:44:44 +01:00
Samuel Högbom Aronson
cb44954477 -added auth for rolechange, endpoint and test 2024-03-19 23:08:14 +01:00
Mattias
ffaa661628 Minor fix 2024-03-19 22:51:54 +01:00
Mattias
900c1614e9 minor fix 2024-03-19 22:50:57 +01:00
Mattias
cd2a81e7f2 Added unauthorizedpage and path in main 2024-03-19 22:50:40 +01:00
Mattias
cc9678f375 Created component for authorized route 2024-03-19 22:50:23 +01:00
Mattias
fe89ae0970 Added backbutton 2024-03-19 22:13:06 +01:00
Johanna
1974607fc7 Formating 2024-03-19 22:04:20 +01:00
Mattias
55a2dc7fac Add PMProjectMenu component and refactor PMProjectPage 2024-03-19 22:03:45 +01:00
Mattias
d355b55634 Add UserProjectMenu component and refactor UserProjectPage 2024-03-19 21:59:37 +01:00
Davenludd
08a0ebb533 Merge branch 'BumBranch' into gruppDM 2024-03-19 21:51:07 +01:00
Johanna
63fd2e9b6f //fix parse in NewWeeklyReport 2024-03-19 21:47:16 +01:00
Mattias
dc6ce4b725 Additional minor fix 2024-03-19 21:31:20 +01:00
Mattias
05b9740c36 Fixed links and changed path in main for pm 2024-03-19 21:29:37 +01:00
Mattias
3fea87a88a New component for displaying userprojects 2024-03-19 21:22:49 +01:00
al8763be
0b6edd359e Bumfix for BumCode on checkIfProjectManager 2024-03-19 20:29:36 +01:00
al8763be
e48bf5d98c Added checkIfProjectManager, hope it works 2024-03-19 20:25:26 +01:00
Imbus
88c53ae4b6 Golds automatic documentation generator 2024-03-19 20:21:38 +01:00
al8763be
382ea38558 Merge branch 'dev' into BumBranch 2024-03-19 20:15:20 +01:00
al8763be
74285dc1cf Before fuck up 2024-03-19 19:45:56 +01:00
dDogge
ce4cf788ae Added handler and corresponding test for the IsProjectManager function 2024-03-19 19:30:01 +01:00
dDogge
5778d6e892 Added isProjectManager function to db.go and corresponding test to db_test.go 2024-03-19 19:14:55 +01:00
dDogge
2b41085865 Added GetWeeklyReportsUser function and handler, also corresponding tests to both GetWeeklyReportsUser and handler added 2024-03-19 19:04:45 +01:00
Peter KW
a72aea1382 Removed unused authority check 2024-03-19 17:12:38 +01:00
Peter KW
cd84a2bb21 Everyone except admin has authority = 2 2024-03-19 17:12:09 +01:00
Peter KW
8dfe9dac96 Removed unused path 2024-03-19 17:09:45 +01:00
Davenludd
4568d68746 Merge branch 'frontend' into gruppDM 2024-03-19 17:02:50 +01:00
Peter KW
4bcbf162f9 Merge branch 'frontend' into gruppPP 2024-03-19 17:00:04 +01:00
Imbus
9c4ce0e733 Merge branch 'dev' into frontend 2024-03-19 16:57:49 +01:00
Imbus
2f3730ca90 New typescript types from tygo 2024-03-19 16:50:16 +01:00
Mattias
5803c7b29b Refactor fetchWeeklyReport function, updated submit button text, week fetched by params 2024-03-19 11:41:50 +01:00
Davenludd
d0d0e311e5 Add project name to UserViewTimeReportsPage and add AllTimeReportsInProject component 2024-03-19 11:10:47 +01:00
Davenludd
03819aff44 Update link to time reports in UserProjectPage 2024-03-19 11:10:02 +01:00
Davenludd
7fd128e1f3 Add AllTimeReportsInProject component 2024-03-19 11:09:52 +01:00
Davenludd
09a7cbced1 Update routes in main.tsx 2024-03-19 11:09:35 +01:00
Davenludd
ee2fb6d543 Minor change UserProjectPage 2024-03-19 09:41:24 +01:00
Davenludd
a30a6a4988 Fix button UserNewTimeReportPage 2024-03-19 09:37:13 +01:00
Mattias
cda2b72d08 projectName is now fetched from params 2024-03-19 09:35:15 +01:00
Davenludd
4f53f9de94 Fix initial value of week state in NewWeeklyReport component for error message 2024-03-19 09:33:20 +01:00
Davenludd
53f468d7c8 Update navigation in EditWeeklyReport component 2024-03-19 09:23:09 +01:00
Davenludd
d775a6e381 Update navigation in NewWeeklyReport component 2024-03-19 09:21:33 +01:00
Davenludd
08532444f0 Cleanup YourProjectsPage 2024-03-19 09:14:30 +01:00
Imbus
5f6977354f Justfile save-release target now saves image with name containing commit hash and date 2024-03-19 04:02:04 +01:00
al8763be
3b8b9bb3f2 Merge branch 'dev' into frontend 2024-03-19 03:44:23 +01:00
al8763be
3df9ddcd4b Merge remote-tracking branch 'origin/gruppPP' into frontend 2024-03-19 03:44:02 +01:00
Imbus
ab313551c9 Merge branch 'frontend' into dev 2024-03-19 03:40:24 +01:00
pavel Hamawand
cbb62438c8 implementing AdminChangeUsername 2024-03-19 03:40:17 +01:00
pavel Hamawand
8b7ad8911b implementing ChangeUser 2024-03-19 03:39:05 +01:00
Imbus
2ce1837223 Merge branch 'frontend' into dev 2024-03-19 03:36:42 +01:00
pavel Hamawand
4df8d3f858 new component 2024-03-19 03:22:54 +01:00