Commit graph

89 commits

Author SHA1 Message Date
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
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
Imbus
a7ebfe7110 Ignore formatter output in main 2024-03-08 10:32:02 +01:00
Imbus
efc95e7fea Add target for formatting swag docs & formatting swag docs 2024-03-08 10:30:17 +01:00
Imbus
b52f13ee8b Better developer feedback 2024-03-08 10:25:22 +01:00
Imbus
d4a2a00f69 Makefile update with doc generation and convenience installers 2024-03-08 10:17:51 +01:00
Imbus
ae0b0895b2 Version controlling generated docs 2024-03-08 10:17:27 +01:00
Imbus
13c12b424a Mounting handlers and basic swagger docs example 2024-03-08 10:16:56 +01:00
Imbus
f75cb7e9fc Pulling in deps related to swagger 2024-03-08 10:15:05 +01:00
Imbus
bb81a2973e Moving main out of cmd to accomodate swag cli tool 2024-03-08 09:10:20 +01:00
Imbus
944f9b6ccc Removed overly verbose debug printing from db migration 2024-03-08 07:48:25 +01:00
Imbus
12536d5e89 Fixing inconsistent sql in db interface 2024-03-08 07:47:32 +01:00
Imbus
a77b388f8e Warning in make migrate target 2024-03-08 07:34:26 +01:00
Imbus
f5d5eee267 Breaking changes in projects table related to naming 2024-03-08 07:33:58 +01:00
Imbus
553ba2c7c6 New project_role table to represent possible roles 2024-03-08 07:33:31 +01:00
borean
eec3a45509 Added GetProjectId and AddUserToProject, WIP 2024-03-07 23:24:54 +01:00
borean
5a85f2bf81 first draft of AddTimeReport in db.go 2024-03-07 21:57:27 +01:00
borean
7ed986e4eb update 2024-03-07 20:58:50 +01:00
dDogge
bd434c3da7 Added template for various new functions in db.go and corresponding tests in db_test.go 2024-03-07 14:25:28 +01:00
dDogge
18eefab292 Implemented PromoteToAdmin and corresponding Test 2024-03-07 13:21:47 +01:00
dDogge
3adf0b7ef5 Admin SQL table added 2024-03-07 13:09:09 +01:00
Imbus
acff254aa5 Indirect -> direct dependency in go.mod 2024-03-07 12:13:29 +01:00
Imbus
3175c62e6d Carmack level testing instructions 2024-03-07 11:33:06 +01:00
Imbus
c5f0bc509e Makefile target for installing just (hack of doom) 2024-03-06 15:15:41 +01:00
Imbus
d023bb0adf Untested implementation of login and renew endpoints 2024-03-06 12:51:46 +01:00
Imbus
f484674524 Pulled in jwt middleware for fiber 2024-03-06 12:51:00 +01:00
Imbus
85d080cebb Set fiber as direct dependency 2024-03-06 11:24:53 +01:00
Imbus
70ae359856 Example of how to extend the API 2024-03-06 10:14:54 +01:00
Imbus
9d39ff5bc2 Re-implemented demo button 2024-03-06 09:41:36 +01:00
borean
ae9ee91bc4 file correction 2024-03-04 19:34:35 +01:00
borean
a22dcb9f4e first push, broken import, WIP 2024-03-04 02:50:02 +01:00
Imbus
7a12b946a6 Fixing some issues found by the linter 2024-03-02 04:29:50 +01:00
Imbus
c54eccc625 golangci-lint in CI as well as a makefile target 2024-03-02 04:18:29 +01:00
Imbus
63596db60c Migrations readme warnings 2024-03-02 02:40:17 +01:00
Imbus
469f866554 Cleaning up examples in main and splitting the code into suitable packages 2024-03-02 02:38:26 +01:00
Imbus
5cefed405f Reduce verbosity of the tests 2024-03-02 02:31:20 +01:00
Imbus
a749857c98 User_roles table constraints 2024-03-01 07:47:06 +01:00
Imbus
b39ce645d6 Proper interface for the database 2024-02-29 20:33:20 +01:00