Commit graph

261 commits

Author SHA1 Message Date
Imbus
a3f16e713a Statistics 2024-04-15 11:44:19 +02:00
Imbus
b51a00b723 Statistics path rework 2024-04-15 11:09:51 +02:00
Imbus
c7e036ec04 Major db/API refactor, transaction as default 2024-04-14 09:21:34 +02:00
Imbus
fe9d5f74bb getStatistics handler, db-interface and ts API 2024-04-14 07:49:39 +02:00
Imbus
2d2b63938c Fix unsign 2024-04-13 09:36:34 +02:00
al8763be
57e969a562 Test for UnsignReport 2024-04-09 22:17:50 +02:00
al8763be
67723bfccc DeleteProject Handler + API function, ber till gud att denna funkar first try 2024-04-09 19:08:22 +02:00
al8763be
a5e3d4259d unsignReport handler + API function 2024-04-09 17:39:10 +02:00
Imbus
9d65764899 Go version bumps 2024-04-04 23:56:35 +02:00
Imbus
7e88bd69c1 Killing process if tests fail in itest target 2024-04-04 23:24:38 +02:00
Imbus
d65bbc897d Fixing logic error in paths related to getting reports 2024-04-04 23:23:11 +02:00
Imbus
f7f29241b3 Fixing itest makefile target 2024-04-04 23:02:19 +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
f9c30c4951 Docs 2024-04-03 17:48: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
6efc961774 Added getProjectTimes 2024-04-02 13:08:55 +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
f1e15137d6 Freshly generated swagger docs 2024-03-29 18:43:26 +01:00
Imbus
87a19bfd4e Swagger annotations for JWT key 2024-03-29 18:42:53 +01:00
Imbus
c2fa9aa0c1 Lots of fiddling with swagger annotations in user related handlers 2024-03-29 18:42:12 +01:00
Imbus
1385011769 Make swagger-typescript-api makefile target wipe the previous version 2024-03-29 18:41:20 +01:00
Imbus
374e357820 Add database.txt to clean target 2024-03-29 16:41:55 +01:00
Imbus
0792c6b8a3 More sane swagger-typescript-api generator parameters 2024-03-29 16:36:47 +01:00
Imbus
45e891ed2c Regenerated swagger docs 2024-03-29 15:59:36 +01:00
Imbus
1db1b84e8f Initial demo of swagger-typescript-api interface generation 2024-03-29 15:58:36 +01:00
Imbus
0cd0c8d832 Handler re-order to satisfy human OCD 2024-03-29 15:36:42 +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
Imbus
e1b410c850 Merge branch 'dev' 2024-03-26 04:19:27 +01:00