Commit graph

125 commits

Author SHA1 Message Date
dDogge
a77e57e496 Added GetWeeklyReport function and corresponding test 2024-03-17 17:58:02 +01:00
dDogge
c90d495636 Added new types and changed SQL since apperently sqlite does use autoincrement 2024-03-17 17:47:31 +01:00
Imbus
ec46d29423 Merge branch 'imbs' into dev 2024-03-17 16:56:00 +01:00
Imbus
d6fc0594a9 Splitting backend endpoints into smaller bits 2024-03-17 16:55:40 +01:00
Imbus
1be3ee89c2 Merge branch 'dev' of github.com:imbus64/TTime into dev 2024-03-17 16:42:02 +01:00
Imbus
ec36054bd9 Merge branch 'imbs' into dev 2024-03-17 16:41:51 +01:00
Imbus
670ed46d51 WeeklyReport type as represented in the db 2024-03-17 16:41:29 +01:00
dDogge
21cc7ff8a3 Added signed_by attribute to weekly_report SQL table 2024-03-17 15:34:48 +01:00
Imbus
7c21677310 Migrations fix in go 2024-03-17 14:38:20 +01:00
Imbus
0d053add5e Add some sanity checking in SubmitWeeklyReport route 2024-03-17 04:16:26 +01:00
Imbus
23dd22eab5 Json field alias for WeeklyReport 2024-03-17 04:14:40 +01:00
Imbus
2e44d14370 Extending test script 2024-03-17 03:39:31 +01:00
Imbus
c13378d3b9 Proper login endpoint functionality 2024-03-17 01:32:10 +01:00
Imbus
c6d9307979 Fix for CreateProject handler 2024-03-16 22:57:48 +01:00
Imbus
d99de54c5d Major changes related to reports 2024-03-16 22:47:19 +01:00
Imbus
3526decbad Merge imbs 2024-03-16 17:46:08 +01:00
Imbus
151d6de39b Tygo for go->typescript type generation 2024-03-16 17:43:38 +01:00
Imbus
17c8a17ebf IF EXISTS condition in salts table 2024-03-16 17:32:51 +01:00
Imbus
47d7d9fe3c Activity type database changes with interface changes in go 2024-03-16 17:22:55 +01:00
dDogge
04e17a1721 Added comments to various functions 2024-03-15 16:57:42 +01:00
dDogge
018dc24516 Handler for GetProject from db.go added in global_stage.go 2024-03-15 16:45:26 +01:00
dDogge
581209742a Added GetProject in db.go and corresponding test 2024-03-15 16:45:26 +01:00
Imbus
fb67825e29 Experimental port to CGO-free modernc.org/sqlite, no more WSL 2024-03-15 11:02:33 +01:00
dDogge
2409598c6e Handler ProjectRoleChange in global_state.go added for ChangeUserRole in db.go 2024-03-14 23:06:10 +01:00
dDogge
f2a4c417aa Handler ListAllUsersProject in global_state.go added for GetAllUsersProject in db.go 2024-03-14 22:56:50 +01:00
dDogge
34ad6ac777 Handler ListAllUsers in global_state.go added for GetAllUserApplication in db.go 2024-03-14 22:48:06 +01:00
Imbus
aa7c5de1fc GetUserProjects handler 2024-03-14 21:25:14 +01:00
Imbus
e1153934c6 Database interface extension, GetAllProjects, GetUserRole, GetProjectsForUser 2024-03-14 19:48:49 +01:00
Imbus
5e8af6098b Merge branch 'imbs' into dev 2024-03-14 18:27:12 +01:00
Imbus
a291972f82 Makefile targets for generating UML 2024-03-14 18:14:28 +01:00
dDogge
676d6637a2 Added GetAllUsersApplication and corresponding test 2024-03-14 16:25:54 +01:00
dDogge
0e1ea15cc9 Added GetAllUsersProject and corresponding test 2024-03-14 16:01:56 +01:00
Imbus
be04ba148d Merge imbs 2024-03-14 14:37:50 +01:00
Imbus
0824a344e3 Target for dumping database content to file 2024-03-14 14:10:25 +01:00
Imbus
dd4809d631 Merge branch 'dev' of github.com:imbus64/TTime into dev 2024-03-14 14:08:27 +01:00
Imbus
3790e8a3c6 Test cleaning 2024-03-14 13:48:56 +01:00
Imbus
d12e3a26ef Role change database interface with corresponding tests 2024-03-14 13:47:04 +01:00
Imbus
6c8abf1f53 Database refactor and test coverage 2024-03-14 13:39:56 +01:00
dDogge
f0745c5a75 Added ChangeUserRole and corresponding test, also GetProjectId should be fixed. 2024-03-14 13:27:57 +01:00
Imbus
1c87380db7 Mounting handler for adding project 2024-03-13 17:52:37 +01:00
Imbus
25fdf3bb9b Nuke dead code 2024-03-13 12:29:15 +01:00
Imbus
c4632104a8 Commenting out trigger related to salts 2024-03-13 11:46:17 +01:00
Imbus
736cebe036 Sql comments and salts table 2024-03-12 20:44:54 +01:00
Imbus
9b67a580da Gluecode for database/handlers 2024-03-12 20:44:40 +01:00
borean
ad4d439887 cleanup 2024-03-08 15:07:25 +01:00
borean
f8277617a9 Merge remote-tracking branch 'refs/remotes/origin/dev' into dev 2024-03-08 15:02:18 +01:00
borean
6acfdd36b2 cleanup 2024-03-08 14:56:24 +01:00
borean
0b23c5f8f1 Merge branch 'borean-dev' into dev 2024-03-08 14:55:10 +01:00
Imbus
394b283712 Typo 2024-03-08 11:25:31 +01:00
Imbus
02c9c502b8 Eralchemy2 target for generating er diagrams 2024-03-08 11:22:09 +01:00