Commit graph

635 commits

Author SHA1 Message Date
Davenludd
dbeeb609b3 Docs/Comments to GetWeeklyReport component 2024-03-20 13:57:02 +01:00
Davenludd
aa5c4017bb Docs/Comments to DisplayUserProjects component 2024-03-20 13:57:02 +01:00
Davenludd
4212dae5bf Delete CountButton component 2024-03-20 13:57:02 +01:00
Davenludd
bd27b549aa Add JSDoc comments to Button component 2024-03-20 13:57:02 +01:00
Davenludd
af92f4faee Docs/Comments to BasicWindow component 2024-03-20 13:57:02 +01:00
Davenludd
2dffffde50 Docs/coments to background animation component 2024-03-20 13:57:02 +01:00
Davenludd
c0e03d7d0d Doc/Comments to BackButton comp 2024-03-20 13:57:02 +01:00
Davenludd
ff4ea47846 Doc/Comments in AllTimeReportsInProject component 2024-03-20 13:57:02 +01:00
Mattias
d3bb6f49e5 New comp changeRoles 2024-03-20 13:51:49 +01:00
Mattias
1b21b2574a Comp for displaying projectmembers and changed path in main 2024-03-20 12:36:30 +01:00
Davenludd
7ed9398bcb Merge branch 'frontend' into gruppDM 2024-03-20 11:19:02 +01:00
Peter KW
6c433208ea Merge branch 'frontend' into gruppPP 2024-03-20 10:54:38 +01:00
Davenludd
033268f4ef Added info to component 2024-03-20 08:47:11 +01:00
Peter KW
4630fb336f Merge branch 'dev' into gruppPP 2024-03-20 00:32:15 +01:00
Peter KW
4e100229f5 Now uses GetAllUsers 2024-03-20 00:16:56 +01:00
Peter KW
b20817ec8a Small fix to props and imports 2024-03-20 00:16:30 +01:00
Peter KW
cc231dbfaa Component for getting all users 2024-03-20 00:14:23 +01:00
Peter KW
8300fb3a6f Added getAllUsers to API 2024-03-20 00:10:24 +01:00
Melker
b7b831d869 Lagt till om Admin=True/false 2024-03-19 23:54:54 +01:00
Davenludd
b5d3ab7cb7 Refactor AllTimeReportsInProject component to use API for fetching weekly reports 2024-03-19 23:44:44 +01:00
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
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
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