Commit Graph

86 Commits

Author SHA1 Message Date
e8fb5a0030 Add OpenID Connect authentication
Fixes #236
Template conditional not yet working
Needs more testing
2024-03-28 12:01:13 +01:00
06d01962a6 feat: Allow to revert db to previous version 2024-03-08 11:28:26 +01:00
105b7eabf0 Add migration and introduce dirty flag handling 2024-03-08 10:47:32 +01:00
9fec8a4822 Change to html output for jwt-login 2023-08-18 14:29:24 +02:00
c87db1dfe6 login for all Methods 2023-08-18 14:03:52 +02:00
e99d1a1e90 Add endpoint for jwt session login 2023-08-18 14:02:21 +02:00
3028f60807 Reformat and add debug output 2023-08-18 11:59:16 +02:00
32b0c8bdd7 Refactor and cleanup Auth configuration 2023-08-18 10:43:06 +02:00
15231bc683 Cleanup and adapt to new structure 2023-08-17 12:34:30 +02:00
87ce4f63d4 Refactor auth module
Separate parts
Add user repository
Add user schema
2023-08-17 10:29:00 +02:00
3828c138b8 Add init flag 2023-06-28 12:41:27 +02:00
eb626db9c2 Debug compression service 2023-06-27 14:29:56 +02:00
c1397ef7d5 Make img directory configurable 2023-06-23 13:34:57 +02:00
Christoph Kluge
45a3346783 Merge branch 'master' into hotfix: Bring branch up to date 2023-06-23 10:41:59 +02:00
Jan Eitzinger
2f6c16a7d8
Merge pull request #156 from giesselmann/log_levels
lower log level for frequent messages
2023-06-23 10:33:44 +02:00
Christoph Kluge
9afb6dc933 Add Header Requirements and BuildInfos to message 2023-06-22 19:56:21 +02:00
8eda4b306d Unify and cleanup message template 2023-06-22 18:09:40 +02:00
82b8e8c284 Fix bug in SearchBar Handler
Introduce Message boxes
Incomplete and needs cleanup
2023-06-22 16:26:09 +02:00
eb867528e3 feat - Allow to overwrite login template 2023-06-22 07:01:29 +02:00
Pay Giesselmann
a9544f5609 lower log level for frequent messages 2023-06-20 15:47:38 +02:00
9b7b3812d9 Introduce goreleaser support 2023-06-16 14:31:09 +02:00
21ec2bb51d Consider initial run case for compression 2023-06-11 09:00:57 +02:00
911dcb6626 Improve Compression Service
* Add Timing and more feedback
* Introduce persistent last compressed timestamp
2023-06-10 07:49:02 +02:00
0f9b83e636 Add Move retention policy
* Currently not testet!
2023-05-15 16:57:31 +02:00
7213e7bb43 Improve logging 2023-05-12 15:10:12 +02:00
19e3ba7290 Improve retention
Add db cleanup
Fixes #103
2023-05-11 09:40:13 +02:00
538427d59b Introduce Retention and compression 2023-05-09 16:33:26 +02:00
ebba4371eb Extract importer package and restructure tests 2023-04-28 08:49:58 +02:00
Jan Eitzinger
500ae29d25 Synchronize DB Schema with json schema
Rework tests
2023-04-21 12:59:27 +02:00
Jan Eitzinger
10f4e09562 Set all versions and print in version flag 2023-04-12 10:43:46 +02:00
Christoph Kluge
df44bd9621 Merge branch 'master' into 40_45_82_update_roles 2023-02-28 11:18:46 +01:00
8139673a7f Always print Listen to URL 2023-02-25 08:28:43 +01:00
1e3e2ab222 Change default loglevel warn 2023-02-25 07:59:37 +01:00
Christoph Kluge
8bd72ce807 Small fixes after full file review
- Remove unnecessary field 'project' from GQl and regenerate
- Add newlines to file ends
- Fix command-line manager user addition
2023-02-23 12:33:14 +01:00
Christoph Kluge
e0e51813ad Merge branch 'master' into 40_45_82_update_roles 2023-02-21 17:17:41 +01:00
63f8555af7 Add migration support for mysql 2023-02-21 14:45:59 +01:00
8ffb562d6b Introduce db migration support 2023-02-21 10:57:22 +01:00
Christoph Kluge
397ab08b3b Add support for multiple projects per manager
- Handled like roles in admin view
- !! NEW COLUMN CHANGED TO "projects"
2023-02-17 15:45:31 +01:00
033598a656 Remove loglevel notice 2023-02-15 11:50:51 +01:00
Christoph Kluge
b8528b42d2 Fix flaginfo for --logdate 2023-02-09 15:46:07 +01:00
Jan Eitzinger
30cada8f28 Merge branch '26_improve_logmessages' of github.com:ClusterCockpit/cc-backend into 26_improve_logmessages 2023-02-09 14:15:10 +01:00
Jan Eitzinger
c123a87ece Simplify log wrapper implementation 2023-02-09 14:14:58 +01:00
Christoph Kluge
728531946a
Merge branch 'master' into 26_improve_logmessages 2023-02-09 13:52:58 +01:00
Christoph Kluge
641affbbdf Move /search code to routerConfig, add simple docs for searchbar 2023-02-09 10:11:11 +01:00
Christoph Kluge
a885e69125 Adapt loglevel for logs, shorten strings, fix formats, streamline
- Switched to Warn for most errors, reduces bloat, improves log control
2023-02-01 11:58:27 +01:00
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
Christoph Kluge
79a949b55e Rework pkg/log, add 'loglevel' and 'logdate' flags, streamline
- removes some previously added manual location strings: now handled by pkg/log depending on loglevel
- kept manual string locations on fmt print functions
- add 'notice' and 'critical' loglevels
- add 'Panic' and 'Panicf' functions to log panics
- adresses issue #26
2023-01-23 18:48:06 +01:00
Christoph Kluge
1ec543daf6 Add log location string to main.go
- Adresses issue #26
2023-01-20 09:49:17 +01:00
Christoph Kluge
24a4244f19 add more information to existing errors logs and panics
- '$ROOT/$FILE' for better localization in the code
- add text where none was given
- fix unnecessary sprintf nesting in influxv2 and prometheus metricrepo logging
2023-01-19 16:59:14 +01:00
Christoph Kluge
1873c6a87d
Merge branch 'master' into 34-52-rework-searchbar 2023-01-13 09:58:56 +01:00