Davenludd
|
e63377effa
|
Update route path in main.tsx to include signedOrUnsigned parameter
|
2024-04-08 22:43:26 +02:00 |
|
Imbus
|
1fd4cd18e3
|
Version bumps in frontend
|
2024-04-05 00:03:49 +02:00 |
|
Davenludd
|
591d0201cf
|
Update AllTimeReportsInProjectOtherUser component to display signed status correct
|
2024-04-04 23:03:30 +02:00 |
|
Davenludd
|
91bccba871
|
Add username parameter and error alerts in GetOtherUsersReport component
|
2024-04-04 22:20:09 +02:00 |
|
Davenludd
|
a6f3fc4a1c
|
Fixed DisplayUserProject component to fetch and display usernames
|
2024-04-04 22:19:35 +02:00 |
|
Davenludd
|
544383809b
|
Merge branch 'frontend' into gruppDM
|
2024-04-04 20:10:57 +02:00 |
|
Imbus
|
abfb79b991
|
getUserName path implemented
|
2024-04-04 19:54:31 +02:00 |
|
Peter KW
|
db6fdf3c29
|
Small design fix
|
2024-04-04 12:27:38 +02:00 |
|
Peter KW
|
2d8d200340
|
Can now remove users from projects
|
2024-04-04 12:22:28 +02:00 |
|
Peter KW
|
0cb6af03e4
|
Merge remote-tracking branch 'origin/dev' into gruppPP
|
2024-04-04 12:00:55 +02:00 |
|
Davenludd
|
f75e6e4a6e
|
Update useEffect dependencies in AllTimeReportsInProjectOtherUser component
|
2024-04-04 11:55:04 +02:00 |
|
Imbus
|
10d06767c4
|
Fix for javascript optional parameter formatting error
|
2024-04-04 11:55:04 +02:00 |
|
Davenludd
|
266aaa482c
|
Fix initial state values in TimePerRole component
|
2024-04-04 11:55:04 +02:00 |
|
Davenludd
|
194e1d52a8
|
Fix input fields to be read-only in OtherUsersTR and initialize state variables in TimePerRole
|
2024-04-04 11:55:04 +02:00 |
|
Davenludd
|
82e72432f6
|
Update API method to get all weekly reports
|
2024-04-04 11:55:04 +02:00 |
|
Davenludd
|
d7789ab844
|
Refactor API call in AllTimeReportsInProjectOtherUser component
|
2024-04-04 11:55:04 +02:00 |
|
Imbus
|
2ca8c60418
|
TS Api for getAllWeeklyReport
|
2024-04-04 11:55:03 +02:00 |
|
Peter KW
|
13eb6597a7
|
Some fixes to how they handle names and inputs
|
2024-04-04 11:54:34 +02:00 |
|
Peter KW
|
9a0f855d2b
|
Fixes to adding members
|
2024-04-04 11:26:39 +02:00 |
|
Davenludd
|
7c995573ef
|
Update error message in NewWeeklyReport component
|
2024-04-04 11:19:35 +02:00 |
|
Mattias
|
a5ea74c996
|
Add useNavigate hook and handle navigation based on user "role"
|
2024-04-04 10:29:25 +02:00 |
|
Davenludd
|
a0ff329845
|
Update useEffect dependencies in AllTimeReportsInProjectOtherUser component
|
2024-04-03 18:36:17 +02:00 |
|
Imbus
|
e67c54540c
|
RemoveUserFromProject handler implemented, corresponding TS api, untested
|
2024-04-03 18:08:02 +02:00 |
|
Davenludd
|
91671b2b63
|
Merge branch 'frontend' into gruppDM
|
2024-04-03 18:07:18 +02:00 |
|
Imbus
|
76ae587116
|
Fix for javascript optional parameter formatting error
|
2024-04-03 18:05:56 +02:00 |
|
Davenludd
|
66a064c9f8
|
Fix initial state values in TimePerRole component
|
2024-04-03 18:05:30 +02:00 |
|
Davenludd
|
be963b2281
|
Fix input fields to be read-only in OtherUsersTR and initialize state variables in TimePerRole
|
2024-04-03 18:05:19 +02:00 |
|
Davenludd
|
c0d36f8df1
|
Update API method to get all weekly reports
|
2024-04-03 18:05:07 +02:00 |
|
Davenludd
|
8cc0458e1b
|
Refactor API call in AllTimeReportsInProjectOtherUser component
|
2024-04-03 17:44:26 +02:00 |
|
Imbus
|
fcd035fe6e
|
TS Api for getAllWeeklyReport
|
2024-04-03 17:32:07 +02:00 |
|
Imbus
|
a1d2520d88
|
Updating typescript api
|
2024-04-03 17:12:29 +02:00 |
|
Imbus
|
61a2d1ce0c
|
PromoteToPm handler
|
2024-04-03 15:53:15 +02:00 |
|
Davenludd
|
6b880244a1
|
Merge branch 'gruppDM' into frontend
|
2024-04-03 14:00:14 +02:00 |
|
Davenludd
|
4d7b3e0d57
|
Refactor API call and types in AllTimeReportsInProjectOtherUser component
|
2024-04-03 13:59:44 +02:00 |
|
Peter KW
|
46eb3c76a8
|
Small fix to statistics
|
2024-04-02 19:18:05 +02:00 |
|
Mattias
|
1b4e521508
|
Update variable names in TimePerActivity component
|
2024-04-02 18:02:40 +02:00 |
|
Mattias
|
a7cc48d392
|
Refactor TimePerRole component to use API response for time per activity
|
2024-04-02 18:02:04 +02:00 |
|
Davenludd
|
ff37236cf6
|
Minor fixes TimePerActivity component to use readOnly input fields
|
2024-04-02 17:35:02 +02:00 |
|
Davenludd
|
eb741ba20d
|
Add total time calculation to DisplayUnsignedReports component
|
2024-04-02 17:33:20 +02:00 |
|
Davenludd
|
00ca5514e5
|
Added sign functionality to component
|
2024-04-02 17:27:17 +02:00 |
|
Mattias
|
7c7755085e
|
Add comments for getUnsignedReportsInProject in API
|
2024-04-02 17:11:30 +02:00 |
|
Mattias
|
1e1677fc57
|
Refactor getUnsignedReports in DisplayUnsignedReports component
|
2024-04-02 17:07:47 +02:00 |
|
Mattias
|
0b8b430f38
|
Refactor DisplayUnsignedReports component to use API and WeeklyReport type
|
2024-04-02 17:05:55 +02:00 |
|
Mattias
|
93659a72dc
|
Add getUnsignedReportsInProject API method
|
2024-04-02 17:05:46 +02:00 |
|
Mattias
|
8d6da684bf
|
Add username retrieval from local storage
|
2024-04-02 16:21:23 +02:00 |
|
Davenludd
|
762a1b7368
|
Merge branch 'frontend' into gruppDM
|
2024-04-02 15:51:11 +02:00 |
|
Mattias
|
398305d3ed
|
Fix input validation in NewWeeklyReport component
|
2024-04-02 15:43:18 +02:00 |
|
Mattias
|
6c2213b488
|
Update handleUpdateWeeklyReport function and fix input validation
|
2024-04-02 15:43:12 +02:00 |
|
Mattias
|
b3e363f391
|
Add updateWeeklyReport function to API.ts
|
2024-04-02 15:43:05 +02:00 |
|
Peter KW
|
51a4d2a0b7
|
Fix to comments
|
2024-04-02 13:45:03 +02:00 |
|
Peter KW
|
524bd6c691
|
Can now delete project
|
2024-04-02 13:44:31 +02:00 |
|
Peter KW
|
b50d88f670
|
DeleteProject component
|
2024-04-02 13:44:06 +02:00 |
|
Peter KW
|
3ed4393c77
|
Fixed fetch path in removeProject
|
2024-04-02 13:43:32 +02:00 |
|
Peter KW
|
75876e43da
|
Minor design fix
|
2024-04-02 13:22:46 +02:00 |
|
Peter KW
|
ea5bbf5f0a
|
Merge branch 'frontend' into gruppPP
|
2024-04-02 13:18:25 +02:00 |
|
Peter KW
|
948dcce1ca
|
Some fixes to design and comments
|
2024-04-02 13:14:08 +02:00 |
|
Peter KW
|
cb68a6323b
|
Now shows project statistics
|
2024-04-02 13:11:33 +02:00 |
|
Peter KW
|
ca88daf493
|
GetProjectTimes component
|
2024-04-02 13:10:04 +02:00 |
|
Peter KW
|
644d0ee12c
|
getProjectTimes API
|
2024-04-02 13:09:28 +02:00 |
|
Davenludd
|
7df1654bdc
|
Merge branch 'frontend' into gruppDM
|
2024-04-02 11:49:46 +02:00 |
|
Davenludd
|
6dfa917cf0
|
Fix in DisplayUserProjects component
|
2024-04-02 11:37:53 +02:00 |
|
Peter KW
|
17a571fd7c
|
Uses component to get projects now
|
2024-04-01 02:25:12 +02:00 |
|
Peter KW
|
f3466854c7
|
Removed unused pages and paths to them in main
|
2024-04-01 02:24:26 +02:00 |
|
Peter KW
|
1212b3c5ef
|
Removed some stuff
|
2024-04-01 02:20:48 +02:00 |
|
Peter KW
|
dc98fb510e
|
Clears username+password fields on successful register
|
2024-04-01 02:17:57 +02:00 |
|
Peter KW
|
58deef400a
|
Removed unused code
|
2024-04-01 02:17:02 +02:00 |
|
Peter KW
|
cc039d27ae
|
New modal for member info
|
2024-04-01 02:16:23 +02:00 |
|
Peter KW
|
3981190c7a
|
Can now change username in this modal + moved some stuff to a separate modal
|
2024-04-01 02:16:06 +02:00 |
|
Peter KW
|
9b0a231701
|
Some fixes to ChangeUsername
|
2024-04-01 02:14:44 +02:00 |
|
Peter KW
|
e06aced6dd
|
ChangeRole component to change role and a view for it
|
2024-04-01 02:13:24 +02:00 |
|
Peter KW
|
68fbbb4b19
|
Added some alerts + removed unused code
|
2024-04-01 02:09:28 +02:00 |
|
Peter KW
|
6fa8135e32
|
ChangeUserRole API added + bugfix
|
2024-04-01 02:02:22 +02:00 |
|
Peter KW
|
60fb333090
|
Fix to paths
|
2024-03-31 21:04:58 +02:00 |
|
Peter KW
|
e7911574be
|
Removed unused files
|
2024-03-31 20:56:40 +02:00 |
|
Peter KW
|
0c8a394f74
|
Small fix so that it uses component for getting users in a proj
|
2024-03-31 20:56:08 +02:00 |
|
Peter KW
|
5f42fa7818
|
Fixed types and imports of types
|
2024-03-31 20:54:00 +02:00 |
|
Peter KW
|
8b6462abee
|
Changed so that username is required to get projects, so that you can get another user's projects (for admin stuff)
|
2024-03-29 20:19:22 +01:00 |
|
Peter KW
|
4ab23b3c3c
|
Merge branch 'dev' into gruppPP
|
2024-03-29 20:05:10 +01:00 |
|
Imbus
|
bc9b01d85a
|
Example component GenApiDemo on how to use the new API
|
2024-03-29 19:37:21 +01:00 |
|
Imbus
|
d2b4bf2a89
|
Brand new typescript API interface generated from swagger
|
2024-03-29 19:36:47 +01:00 |
|
Imbus
|
8d5329146d
|
New tygo generated goTypes
|
2024-03-29 19:36:06 +01:00 |
|
Imbus
|
77f028fd39
|
Prettierignore for generated files
|
2024-03-29 19:23:35 +01:00 |
|
Davenludd
|
c1f49915ba
|
Refactor signReport method signature
|
2024-03-29 18:29:38 +01:00 |
|
Davenludd
|
2aaa327a01
|
Merge branch 'dev' into gruppDM
|
2024-03-29 17:55:32 +01:00 |
|
Davenludd
|
05545f6f88
|
Minor fixes
|
2024-03-29 17:53:37 +01:00 |
|
Imbus
|
4538a3b193
|
SignReport handler changes along with tests and TS interface
|
2024-03-29 15:33:20 +01:00 |
|
Peter KW
|
b036ef906c
|
Small fixes in all files that fetches user projects, so that they pass username as argument to GetProjects-function
|
2024-03-28 21:31:30 +01:00 |
|
al8763be
|
8d7d815745
|
Merge remote-tracking branch 'origin/gruppDM' into BumBranch
|
2024-03-28 16:46:29 +01:00 |
|
al8763be
|
09f2a2202f
|
Merge remote-tracking branch 'origin/frontend' into BumBranch
|
2024-03-28 16:45:39 +01:00 |
|
Peter KW
|
218b0b3ab7
|
Merge branch 'frontend' into gruppPP
|
2024-03-28 12:41:43 +01:00 |
|
Peter KW
|
a96f0fb488
|
Can now delete user, and also asks user to confirm action
|
2024-03-28 12:39:23 +01:00 |
|
Peter KW
|
48e53b8768
|
Added some alerts
|
2024-03-28 12:38:40 +01:00 |
|
Peter KW
|
3d9bd2ef96
|
Fixed bugs in removeUser api
|
2024-03-28 12:38:12 +01:00 |
|
Davenludd
|
4a71078f2a
|
Fix API endpoint for checking project manager
|
2024-03-28 12:25:24 +01:00 |
|
Davenludd
|
cc186f8ad0
|
Refactor handleProjectClick function to remove unused username parameter
|
2024-03-28 12:16:35 +01:00 |
|
Davenludd
|
e589726ab2
|
Merge remote-tracking branch 'origin/AlexTester' into gruppDM
|
2024-03-28 12:10:53 +01:00 |
|
Davenludd
|
37d06b10be
|
Fix typo in route parameter name
|
2024-03-28 12:09:16 +01:00 |
|
Davenludd
|
48e4d1a8df
|
Refactor fetchWeeklyReport in EditWeeklyReport component
|
2024-03-28 12:09:09 +01:00 |
|
al8763be
|
6a78e67e7e
|
lol
|
2024-03-28 12:08:14 +01:00 |
|
al8763be
|
7c46797634
|
ifPM fix
|
2024-03-28 12:06:59 +01:00 |
|