Commit Graph

446 Commits

Author SHA1 Message Date
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
25286ff068 Small addition to page-config infolog
- Adresses issue #26
2023-01-20 09:58:16 +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
5abd3641b2 Move bootstrap and bootstrap-icon to local instances 2023-01-19 09:37:18 +01:00
Christoph Kluge
81e17771fd Fix roofline component not rendering in jobview if missing data
- Addresses issue #70
2023-01-18 14:06:32 +01:00
Christoph Kluge
1873c6a87d
Merge branch 'master' into 34-52-rework-searchbar 2023-01-13 09:58:56 +01:00
Christoph Kluge
996e68ff30 Truncate long jobNames
- Solves issue #79
2023-01-12 12:33:21 +01:00
Christoph Kluge
bad3f9ea95 Makeover of searchbar, add "not found" results-redirects
- Tagged Search has priority
- Best guess search if no tag provided
- "Hard" errors only on searchtag-malformed or searchtag-unknown, or if best guess search fails
2023-01-12 11:26:01 +01:00
Christoph Kluge
a642e9cc7c Add working, but manually entered jobName url query 2023-01-11 16:25:02 +01:00
Christoph Kluge
c9ee8b552d Rework search to show jobId matches in table, add projectId search 2022-12-14 10:02:22 +01:00
Christoph Kluge
390bc4c223 Resize gauge card, hide scale on roofline, set colorDots to true
- Scale display switchable by new option 'showTime'
2022-10-07 15:01:14 +02:00
Christoph Kluge
64ea4d63c8 Forgit to add file to last commit 2022-10-07 13:39:31 +02:00
Christoph Kluge
87c80af5af Format status gauge values via existing svelte function
- Temporary solution to catch Kilo, Mega, Giga prefixes
- Backend conversion  requires more extensive graphql changes than expected
2022-10-07 13:35:44 +02:00
Christoph Kluge
3867ea137b Update and regenerate graphQL for new unit type 2022-10-06 18:04:47 +02:00
Christoph Kluge
526f8be01f Change histogram bar color to light bluish grey
- Hex #85abce
2022-09-30 17:19:01 +02:00
Christoph Kluge
d1c47f4359 Improve Histogram.svelte
- Add bold axis labels
- Labels defined as element props xlabel and ylabel
- Label offset dynamic to plot height (10 percent)
- Add adjustable gaps between bars
2022-09-30 17:00:15 +02:00
Jan Eitzinger
7814a184a1
Update README.md 2022-09-28 19:55:32 +02:00
Jan Eitzinger
13f0d171d7
Update README.md 2022-09-28 19:54:38 +02:00
Christoph Kluge
46baa6e534 First optical layout Iteration 2022-09-28 16:13:46 +02:00
Christoph Kluge
24f9d4f934 Add buildInfo to frontend footer 2022-09-27 09:56:17 +02:00
Jan Eitzinger
918a07735d
Merge branch 'master' into dev-job-archive-module 2022-09-26 15:12:46 +02:00
Jan Eitzinger
adc22f6bc1
Merge branch 'master' into config-component 2022-09-13 09:05:07 +02:00
Christoph Kluge
0170e19363 Added options for "support" role on user create, role add, role edit 2022-09-12 18:05:43 +02:00
Jan Eitzinger
7e8b2eb3a5 Make production flag static 2022-09-12 13:37:16 +02:00
Jan Eitzinger
9a4d279c5a Inject cluster config in header variable 2022-09-12 13:35:42 +02:00
Jan Eitzinger
5e002def0a Cleanup and shift FilterRanges to configuration 2022-09-11 07:11:17 +02:00
Christoph Kluge
802c10588f Completely replace outdated template config rendering
- Deleted respective old files
- Renamed new components
2022-09-09 15:27:00 +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
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
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
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
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
286fde3d5a show the aggregation strategy for non-native scope plots 2022-07-14 16:25:21 +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
d7d278037e Fixes #15: Copy JWT to clipboard automatically 2022-07-08 10:51:33 +02:00
Lou Knauer
4f61580b2b embed frontend files into binary (issue #2) 2022-07-06 14:55:39 +02:00
Jan Eitzinger
68d1f5fc3f Import svelte web frontend 2022-06-22 11:20:57 +02:00
Jan Eitzinger
81819db436 Refactor directory structure 2022-06-21 17:52:36 +02:00