Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Lou Knauer daa2fd638b make nodelist parser more slurm-like 2022-05-16 09:10:55 +02:00
Lou Knauer 515fdbd44c SubCluster-specific thresholds 2022-05-12 09:20:38 +02:00
Lou Knauer 8b0ad6efd1 Update frontend and icon font 2022-05-09 11:54:22 +02:00
Lou Knauer 9d49fea48a Only autostop jobs with a positive walltime 2022-05-09 11:53:41 +02:00
Lou Knauer cdfb144b82 Fix out of bounds bug 2022-05-05 10:03:54 +02:00
Lou Knauer 97806669f9 Update dependencies and ccms client 2022-05-04 09:22:55 +02:00
Lou Knauer 738028b198 Fix #11 and introduce presentation mode 2022-05-02 12:00:44 +02:00
Lou Knauer d67f5dd23b Fix ClusterCockpit/cc-frontend#31: Add user role to LDAP users 2022-05-02 11:59:24 +02:00
Lou Knauer e0cc17cfa9 Allow making LDAP users admins 2022-04-11 12:29:24 +02:00
Lou Knauer 6e9a916a18 Update frontend 2022-04-07 12:28:09 +02:00
Lou Knauer cdfa63d5ca Filter out unrequested scopes when fetching data from archive 2022-04-07 09:51:34 +02:00
Lou Knauer cbc8227550 Automatically mark jobs as failed if running too long 2022-04-07 09:50:32 +02:00
Lou Knauer b47d175ab2 Rename histWalltime to histDuration; Fix for running jobs 2022-03-31 09:44:26 +02:00
Lou Knauer 27b3d78f6e Minor fixes; Update frontend 2022-03-30 09:39:13 +02:00
Lou Knauer 1bdb0cc0b3 Update frontend 2022-03-25 10:20:49 +01:00
Lou Knauer b4c541fb73 Allow weighting job counts 2022-03-25 10:20:33 +01:00
Lou Knauer f3c2a6cc24 Change allocatedNodes; Update frontend 2022-03-24 16:08:47 +01:00
Lou Knauer 0b83917294 Update nodeMetrics query; Add numberOfNodes to SubCluster type 2022-03-24 14:34:42 +01:00
Lou Knauer b572ef2aef Add template for status page 2022-03-24 10:36:09 +01:00
Lou Knauer c9740e587d Add allocatedNodes to the GraphQL API 2022-03-24 10:32:08 +01:00
Lou Knauer 31f31fcece Add test: starting the same job twice is bad 2022-03-21 14:21:44 +01:00
Lou Knauer 92349708ae More URL filter presets; Some tweaks 2022-03-21 13:30:19 +01:00
Lou Knauer 8ebf00d980 Add aggregation to GraphQL API; Update frontend 2022-03-21 13:28:21 +01:00
Lou Knauer 220758dae1 Fix /api/jobs/start_job duplicate check 2022-03-21 13:04:57 +01:00
Lou Knauer 728e119a0b Update frontend; Cache MetaData 2022-03-17 11:23:01 +01:00
Lou Knauer 33f6792fbf LDAP users have no email address 2022-03-17 10:54:17 +01:00
Lou Knauer 5235feb1d6 GraphQL: Add nodehours info to footprints query 2022-03-16 16:11:28 +01:00
Lou Knauer f5f1869b5a Add user name/email to GraphQL API 2022-03-15 11:04:54 +01:00
Lou Knauer 641959101c Add metadata to REST-API 2022-03-15 09:49:41 +01:00
Lou Knauer dc6234088b Fix #5: /api/jwt/ request method 2022-03-15 08:36:45 +01:00
Lou Knauer 7be38277a9 cleanup and comments 2022-03-15 08:29:29 +01:00
Lou Knauer f69c3945d4 Update frontend/ 2022-03-14 11:08:01 +01:00
Lou Knauer e9195aa2e3 fix repository/ tests 2022-03-14 10:43:35 +01:00
Lou Knauer 839db9fdae List of slurm partitions via GraphQL 2022-03-14 10:24:27 +01:00
Lou Knauer 85ad6d9543 subclusters instead of slurm partitions 2022-03-14 10:18:56 +01:00
Lou Knauer 2651b96499 Add subcluster and walltime to Job types 2022-03-14 09:08:02 +01:00
Lou Knauer 82720c7580 Add optional gops and http->https redirect 2022-03-14 08:45:17 +01:00
Lou Knauer 78bbddbd68 Link to running-only jobs from home; Update frontend 2022-03-10 16:01:09 +01:00
Lou Knauer a448868f9c Fix missing metaData in archive; Add iat to JWTs 2022-03-10 14:09:13 +01:00
Lou Knauer a9f6da7595 Allow partially missing data on system view 2022-03-09 14:27:47 +01:00
Lou Knauer 8facef21a9 Fix #4: Per-cluster metric selection lists 2022-03-09 14:25:43 +01:00
Lou Knauer 9535c11dc4 Make metaData a map[string]string; Resolve explicitly 2022-03-08 11:53:24 +01:00
Lou Knauer 08d760361d Minor fixes; Update frontend 2022-03-08 10:33:56 +01:00
Lou Knauer 8e8b205da8 Show number of short jobs per cluster on start page
Fixes ClusterCockpit/cc-frontend#21
2022-03-08 10:30:23 +01:00
Lou Knauer e55b47a07d New config template 2022-03-03 14:56:21 +01:00
Lou Knauer 046d4d5187 Some new REST endpoints; cleanup 2022-03-03 14:54:37 +01:00
Lou Knauer 5f12b49145 Fix monitoring routes titles
Fixes ClusterCockpit/cc-frontend#19
2022-03-03 13:45:41 +01:00
Lou Knauer 7e468a7b8d Add API endpoints for creating users and jwts 2022-03-02 10:50:08 +01:00
Lou Knauer a2f626fb0e New filter hiding short running jobs 2022-03-02 10:48:52 +01:00
Lou Knauer e017954187 Fix duration filter for running jobs 2022-03-01 16:04:27 +01:00
Lou Knauer f81ccb7656 Return partial data from MetricDataRepositories 2022-03-01 16:01:25 +01:00
Lou Knauer 6ad74e918e Check validity of cluster.json files 2022-03-01 16:00:44 +01:00
Lou Knauer e11507de5a Show hostname in error message when data is missing 2022-03-01 14:29:04 +01:00
Lou Knauer 5c6d6dfa67 Update frontend; Do not handle avg of NaN as error
Fixes #17
2022-03-01 10:23:08 +01:00
Lou Knauer 5764937c7a update frontend; add Walltime to meta.json struct 2022-02-28 11:08:43 +01:00
Lou Knauer 4138055f55 Add /api/jobs/import endpoint 2022-02-25 11:04:34 +01:00
Lou Knauer f330d24768 Sanitize job before import 2022-02-25 10:50:43 +01:00
Lou Knauer 49fbfc23d4 Add import command line flag 2022-02-24 11:54:36 +01:00
Lou Knauer f304698823 fix: persist tags in meta.json 2022-02-23 14:18:55 +01:00
Lou Knauer ef089a7f2b no paging in REST-API by default 2022-02-22 14:07:49 +01:00
Lou Knauer 6ccf354035 Add stats and startTime filter to jobs api query 2022-02-22 10:51:58 +01:00
Lou Knauer a528e42be6 use prepared statements 2022-02-22 09:25:41 +01:00
Lou Knauer 96f91f1a1c Add metaData to GraphQL-API; Remove jobs limit in REST-API 2022-02-22 09:19:59 +01:00
Lou Knauer dcb3fd6a6a Add GraphQL endpoint for counting jobs 2022-02-19 10:28:29 +01:00
Lou Knauer 2ca27a83b9 Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-17 09:23:43 +01:00
Lou Knauer 84f975407e No more database access in schema.resolvers.go 2022-02-17 09:20:57 +01:00
Lou Knauer f7cabddda5 Move jobs query logic to repository 2022-02-17 09:04:57 +01:00
Lou Knauer 6d0a9ce6e8 Add recovery handler 2022-02-16 12:52:45 +01:00
Lou Knauer 62e776ef7d Add running/total job count to home 2022-02-16 12:29:54 +01:00
Lou Knauer 19b2b6c2a9 Add config option for expiration of sessions/tokens 2022-02-16 11:50:25 +01:00
Lou Knauer b685462cb2 Fix header 2022-02-16 11:48:06 +01:00
Lou Knauer dd5d5214d7 Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-16 09:33:35 +01:00
Lou Knauer b85832646f Show correct count of jobs/tags 2022-02-16 09:32:38 +01:00