Christoph Kluge
b2aed2f16b
Add 'project' to user table, add 'manager' role, conditional web render
...
- Addresses issues #40 #45 #82
- Reworked Navigation Header for all roles
- 'Manager' role added, can be assigned a project-id in config by admins
- BREAKING! -> Added 'project' column in SQLite3 table 'user'
- Manager-Assigned project will be added to all graphql filters: Only show Jobs and Users of given project
- 'My Jobs' Tab for all Roles
- Switched from Bool "isAdmin" to integer authLevels
- Removed critical data frontend logging
- Reworked repo.query.SecurityCheck()
2023-01-27 18:36:58 +01:00
Pay Giesselmann
a0f7a598ad
archive jobs in single worker thread
2022-12-08 15:04:58 +01:00
Pay Giesselmann
0de1368858
fix adding tag with disabled archive
2022-11-08 17:17:15 +01:00
Christoph Kluge
21b03d02b2
Swagger definition URL now based on config.json Addr field
2022-09-27 10:33:36 +02:00
Christoph Kluge
d405f0da41
Fix leftover local dev address
2022-09-27 10:02:01 +02:00
Christoph Kluge
24f9d4f934
Add buildInfo to frontend footer
2022-09-27 09:56:17 +02:00
Jan Eitzinger
066194121b
Add version and git tag to binary
...
Fixes #47
2022-09-26 13:16:04 +02:00
Jan Eitzinger
5c715b6ec2
Add test for import job handler. Improve error messages.
2022-09-23 15:23:45 +02:00
Jan Eitzinger
35114aeb2d
Cleanup. Fix failing test
2022-09-20 13:07:46 +02:00
Jan Eitzinger
02732cbbce
Move additional tools to tools directory
2022-09-19 16:16:33 +02:00
Jan Eitzinger
6325f02ba2
Merge branch 'dev-job-archive-module' of github.com:ClusterCockpit/cc-backend into dev-job-archive-module
2022-09-16 06:28:07 +02:00
Jan Eitzinger
f1941b5e67
Reconfigure Swagger integration. Regenerate API docs
2022-09-16 06:09:55 +02:00
Christoph Kluge
922e94e835
Fix API data types, use unsecured router for /docs
...
- Note: Use /docs swagger playground without login
- Otherwise: Session User will be used which leads to role mismatch
2022-09-15 17:38:11 +02:00
Christoph Kluge
8e90c954ff
First commit for swagger api documentation, not yet fully functional
...
- Problems with JWT auth (eg startJob fails with missing role)
- Manually fixed auto-parsing errors (missing api.TagJobApiRequest, wrong API @Description)
2022-09-15 12:37:44 +02:00
Jan Eitzinger
520c814e3b
Introduce import job flag
2022-09-13 15:20:07 +02:00
Jan Eitzinger
d8aaa26c27
Cleanup and small fixes
2022-09-13 07:38:18 +02:00
Jan Eitzinger
80583323c0
Inverse behavior for server flag
2022-09-11 07:08:28 +02:00
Jan Eitzinger
8856f26fb0
Reformat and Refactor packages. Rebuild GraphQL.
2022-09-07 12:24:45 +02:00
Jan Eitzinger
8fbd1b2cb8
Empty stub for json validation cmd
2022-09-06 09:32:25 +02:00
Jan Eitzinger
98d62f739f
Add dev flag to enable API web interfaces
2022-09-06 08:57:01 +02:00
Jan Eitzinger
fc76eed899
Refactor package structure
...
Builds but not tested
2022-09-05 17:46:38 +02:00
Jan Eitzinger
26df1e7c14
Add copyright and license header. Update license year
2022-07-29 06:29:21 +02:00
Lou Knauer
aac19c938f
Allow CORS credentials; cpu->hwthread for cc-metric-store
2022-07-28 18:07:30 +02:00
Lou Knauer
a48e94ab3e
bugfixes in auth/
2022-07-25 09:33:36 +02:00
Lou Knauer
187d6a1844
Move gen-keypair helper to cmd/
2022-07-07 14:10:12 +02:00
Lou Knauer
04574db32f
Integrate new auth interface
2022-07-07 14:08:37 +02:00
Lou Knauer
94017dc040
embed templates into binary (issue #2 )
2022-07-06 15:00:08 +02:00
Lou Knauer
4f61580b2b
embed frontend files into binary (issue #2 )
2022-07-06 14:55:39 +02:00
Lou Knauer
3474ead49b
Add content-type header to logout (issue #19 )
2022-07-05 10:40:12 +02:00
Lou Knauer
65f7e5e6c8
load config.json in current directory by default (issue #17 )
2022-07-05 10:23:26 +02:00
Jan Eitzinger
f291aa2f8c
Fix paths. Adapt gitignore
2022-06-23 18:27:42 +02:00
Jan Eitzinger
c9821dbaad
Fix Typos. Change default config.
2022-06-22 11:17:37 +02:00
Jan Eitzinger
81819db436
Refactor directory structure
2022-06-21 17:52:36 +02:00