Commit graph

180 commits

Author SHA1 Message Date
Imbus
d65bbc897d Fixing logic error in paths related to getting reports 2024-04-04 23:23:11 +02:00
Imbus
1f4abc2a6a Linter fixes and proper error handling in PromoteToPm 2024-04-04 23:02:10 +02:00
Imbus
68e6f94d13 Fixing report signing database interface 2024-04-04 22:39:55 +02:00
Imbus
abfb79b991 getUserName path implemented 2024-04-04 19:54:31 +02:00
Imbus
e67c54540c RemoveUserFromProject handler implemented, corresponding TS api, untested 2024-04-03 18:08:02 +02:00
Imbus
12810075f9 Logic error in getAllWeeklyReports fixed 2024-04-03 17:44:50 +02:00
Imbus
12a2691d55 Rename 2024-04-03 17:40:48 +02:00
Imbus
a39cfedad3 Rename, fix and testing for getAllWeeklyReports path 2024-04-03 17:31:39 +02:00
Imbus
8ea6dec346 Fixes for various paths 2024-04-03 15:53:36 +02:00
Imbus
61a2d1ce0c PromoteToPm handler 2024-04-03 15:53:15 +02:00
Peter KW
632676e3d2 Added admin to all projects in sample_data 2024-04-02 19:16:02 +02:00
Peter KW
378dd99592 Changed so that you can only change other users role 2024-04-01 02:08:19 +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
Imbus
c2fa9aa0c1 Lots of fiddling with swagger annotations in user related handlers 2024-03-29 18:42:12 +01:00
Imbus
4538a3b193 SignReport handler changes along with tests and TS interface 2024-03-29 15:33:20 +01:00
Imbus
b927fb80fb Refactor again, splitting project related handlers 2024-03-29 15:00:29 +01:00
Imbus
1d5fcd61b6 Refactor, report related endpoints now reside in individual files 2024-03-29 14:50:56 +01:00
Imbus
13d3035e49 Major refactor, splitting user handlers into separate files and changes to how the database is accessed 2024-03-29 14:37:22 +01:00
Imbus
9edcc74ee2 Fix for IsProjectManagerHandler 2024-03-29 12:41:51 +01:00
al8763be
09f2a2202f Merge remote-tracking branch 'origin/frontend' into BumBranch 2024-03-28 16:45:39 +01:00
al8763be
5d714bbacf Merge remote-tracking branch 'origin/AlexTester' into BumBranch 2024-03-28 16:44:29 +01:00
al8763be
9a54175d49 Co-authored-by: Imbus <imbus64@users.noreply.github.com> 2024-03-28 16:43:34 +01:00
al8763be
f6dcdcc376 GetUnsignedReports 2024-03-28 16:40:55 +01:00
Peter KW
218b0b3ab7 Merge branch 'frontend' into gruppPP 2024-03-28 12:41:43 +01:00
Peter KW
50042ded41 Fix in handler 2024-03-28 12:37:04 +01:00
al8763be
6a7bb9ab26 fix ifPM igen 2024-03-28 12:19:11 +01:00
Peter KW
36c158b54b Insert user "admin" to site_admin in sample_data 2024-03-28 00:27:07 +01:00
Alexander Ek
d4cc556366 Co-authored-by: al8763be <al8763be@users.noreply.github.com> 2024-03-27 21:18:44 +01:00
Melker
ec362cfa3a GetProjectTimesHandler 2024-03-21 10:51:47 +01:00
dDogge
2d4ff7e087 Fully implemented UpdateWeeklyReport for database, handler and corresponding tests 2024-03-21 02:48:55 +01:00
al8763be
dea802bd91 bummed handler 2024-03-21 01:37:39 +01:00
Imbus
89ba0415f7 Merge branch 'melle' into dev 2024-03-21 00:44:07 +01:00
Melker
6bc09c656a GetProjectTimes och tester till det 2024-03-21 00:32:38 +01:00
dDogge
44f6b31056 Handler for ChangeUserName changed and corresponding test added 2024-03-21 00:17:08 +01:00
borean
28935f285b fixed typo 2024-03-20 23:25:50 +01:00
al8763be
afa445a426 Merge remote-tracking branch 'origin/imbs' into BumBranch 2024-03-20 23:04:17 +01:00
Imbus
740289decc Merge branch 'dev' into imbs 2024-03-20 22:52:13 +01:00
Imbus
fdaba36d57 Log database error in SubmitWeeklyReport 2024-03-20 22:43:03 +01:00
al8763be
c4b8bef7f8 fix database 2024-03-20 22:37:15 +01:00
Imbus
ec138163c6 Very large changes related to database and its interface 2024-03-20 22:04:36 +01:00
al8763be
4288b064f3 fixade dålig stämmning igen 2024-03-20 21:53:08 +01:00
al8763be
49ca043157 ingen dålig stämmning 2024-03-20 21:51:02 +01:00
al8763be
91c9f50491 sampledata now has weeklyReports for user & user2 2024-03-20 20:08:00 +01:00
al8763be
e8c660705f sampledata now has weeklyReports for user & user2 2024-03-20 20:05:04 +01:00
Imbus
9bf00e8dce Merge branch 'dev' of github.com:imbus64/TTime into dev 2024-03-20 18:47:47 +01:00
Imbus
3525598df2 Tests for AddProject to ensure creator is Manager 2024-03-20 18:47:37 +01:00
Melker
bef8a6af85 GetTotalTimePerActivity och ett halvt test för den 2024-03-20 18:20:14 +01:00
Imbus
45761dadcb Fix for checkProjectManager endpoint and test_check_if_project_manager 2024-03-20 17:50:51 +01:00
borean
1147a216ce typo 2024-03-20 16:55:55 +01:00
dDogge
88f232e21b ChangeUserName function in db.go fixed, corresponding test added 2024-03-20 16:46:48 +01:00