Commit Graph

1123 Commits

Author SHA1 Message Date
Jan Eitzinger
49dad5c8c5 Start to port api test 2022-09-06 09:31:52 +02:00
Jan Eitzinger
ac6785448e More descriptive errors 2022-09-06 09:31:37 +02:00
Jan Eitzinger
42cbf217cd Remove dependency on config package 2022-09-06 08:57:38 +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
Christoph Kluge
d351a043c2 Omit submit on colorscheme selection: now updates directly on select 2022-08-26 15:28:04 +02:00
Christoph Kluge
87ce3c3e8e Update card title 2022-08-26 15:21:37 +02:00
Christoph Kluge
c9954787c1 Add admin function to remove roles, rename addroles to editroles 2022-08-26 15:15:36 +02:00
Christoph Kluge
0186e886e4 Display go-set error messages, move html error text to log (commented) 2022-08-26 13:52:45 +02:00
Christoph Kluge
7bfdc83779 Initial commit on branch: Rewrite config.tmpl as svelte component(s) 2022-08-26 11:45:14 +02:00
Jan Eitzinger
c527430a10
Merge pull request #42 from pc2/master
Add new role support. This enables designated users to see all jobs.
2022-08-26 07:31:26 +02:00
Michael Schwarz
84bac7e520 Add new role support. This enables designated users to see all jobs. 2022-08-25 12:45:11 +02:00
Jan Eitzinger
a0dafbac99 Add copyright header to lruchache 2022-07-29 10:41:21 +02:00
Jan Eitzinger
84484babc1 Add license and set name 2022-07-29 06:46:07 +02:00
Jan Eitzinger
0a8687b6fd Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-07-29 06:34:49 +02:00
Jan Eitzinger
16171eee5e
Merge pull request #36 from ClusterCockpit/dependabot/npm_and_yarn/web/frontend/svelte-3.49.0
Bump svelte from 3.44.2 to 3.49.0 in /web/frontend
2022-07-29 06:34:17 +02:00
dependabot[bot]
2611000cb7
Bump svelte from 3.44.2 to 3.49.0 in /web/frontend
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.2 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.2...v3.49.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 04:32:33 +00:00
Jan Eitzinger
343e5dbe63
Merge pull request #35 from ClusterCockpit/dependabot/npm_and_yarn/web/frontend/terser-5.14.2
Bump terser from 5.10.0 to 5.14.2 in /web/frontend
2022-07-29 06:31:52 +02:00
Jan Eitzinger
26df1e7c14 Add copyright and license header. Update license year 2022-07-29 06:29:21 +02:00
dependabot[bot]
2997384c72
Bump terser from 5.10.0 to 5.14.2 in /web/frontend
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.10.0...v5.14.2)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 04:17:31 +00:00
Lou Knauer
aac19c938f Allow CORS credentials; cpu->hwthread for cc-metric-store 2022-07-28 18:07:30 +02:00
Lou Knauer
d4b1b32ca0 token based login: fix re-logins 2022-07-26 13:50:54 +02:00
Lou Knauer
dc0bf80742 Fix auth.AddUser method 2022-07-26 11:00:41 +02:00
Lou Knauer
dc4c7f0033 bugfix: LDAP is optional 2022-07-25 17:27:42 +02:00
Lou Knauer
e500c1515e Allow login via token in URL 2022-07-25 10:36:20 +02:00
Lou Knauer
4e7ff6f9bc Merge auth-refactoring (Fixes #27 and #24) 2022-07-25 09:37:21 +02:00
Lou Knauer
a48e94ab3e bugfixes in auth/ 2022-07-25 09:33:36 +02:00
Lou Knauer
2d57e4cfe8 Change to HS256 as login token alg 2022-07-25 09:03:48 +02:00
Lou Knauer
5a22e5f32d Update READMEs 2022-07-25 08:58:44 +02:00
Lou Knauer
286fde3d5a show the aggregation strategy for non-native scope plots 2022-07-14 16:25:21 +02:00
Lou Knauer
f0530f2908 Different keypair for token based login 2022-07-13 15:04:11 +02:00
Lou Knauer
cb4020ffdf Add API test for failing jobs 2022-07-12 10:22:22 +02:00
Lou Knauer
772d37b093 Fixes #14: Lazy load additional metrics 2022-07-08 12:23:24 +02:00
Lou Knauer
9198d160a1 Make polarplot metrics cluster specific 2022-07-08 11:51:58 +02:00
Lou Knauer
f2f54bec4b Fixes #18: Update documentation 2022-07-08 11:01:51 +02:00
Lou Knauer
d7d278037e Fixes #15: Copy JWT to clipboard automatically 2022-07-08 10:51:33 +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
db86d2cf7e Glue authenticators together 2022-07-07 13:40:38 +02:00
Lou Knauer
23f6015494 Add login via JWT 2022-07-07 12:48:04 +02:00
Lou Knauer
5041685df1 Refactor authentication 2022-07-07 12:11:49 +02:00
Lou Knauer
3a39df6579 Update documentation (Fixes #2) 2022-07-06 15:06:04 +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
Jan Eitzinger
c1b7c8c6ae
Update README.md 2022-07-06 06:37:30 +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
Lou Knauer
8bdab3298d Sync checksum file; Tidy up module file 2022-07-05 08:54:58 +02:00
Jan Eitzinger
17f04a12dc
Update README.md 2022-07-04 13:35:49 +02:00
Jan Eitzinger
6ff6169d45
Update README.md 2022-06-24 10:49:31 +02:00