Commit Graph

503 Commits

Author SHA1 Message Date
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
Jan Eitzinger
d09d27a04c Add and correct job states 2022-02-17 08:56:37 +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
Jan Eitzinger
81ef072cf3 Reformatting 2022-02-16 09:06:23 +01:00
Lou Knauer
319cdfd069 Fix beeing logged out 2022-02-16 09:01:47 +01:00
Lou Knauer
0c074e8c29 Fix default monitoring status and test 2022-02-16 09:01:32 +01:00
Jan Eitzinger
9f341a4a6c Allow variable number of parameters for stop job 2022-02-15 17:13:16 +01:00
Jan Eitzinger
58afbb2933 Update frontend 2022-02-15 16:45:45 +01:00
Jan Eitzinger
344aaf98c1 Rename css classes in frontend 2022-02-15 16:44:17 +01:00
Lou Knauer
2f32760cc5 fix stop_job returned state; handle monitoring status 2022-02-15 14:25:39 +01:00
Lou Knauer
8d4498f58e Add success log message 2022-02-15 13:31:54 +01:00
Lou Knauer
5c5a9f8453 Update frontend 2022-02-15 13:19:40 +01:00
Lou Knauer
f738a332c1 Support for memoryDomain scoped metrics 2022-02-15 13:19:26 +01:00
Lou Knauer
53312c4882 refactor stopJob, remove non-async archiving 2022-02-15 13:18:27 +01:00
Lou Knauer
d65ff549b5 fix auth error page 2022-02-15 12:48:18 +01:00
Jan Eitzinger
d8782f4d3b Cleanup stop job code. Still broken 2022-02-15 12:47:23 +01:00
Jan Eitzinger
ec677d26d2 Remove segvaulting error handling 2022-02-15 12:13:21 +01:00
Jan Eitzinger
b0403da93b Add error handling to stop job 2022-02-15 11:33:59 +01:00
Jan Eitzinger
9047c69fa6 Try to fix stop job issue. Add Archive to repo. 2022-02-15 11:10:49 +01:00
Jan Eitzinger
d1d6520ab5 Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-15 10:12:36 +01:00
Lou Knauer
df3c806ab7 Header in svelte 2022-02-15 10:03:09 +01:00
Lou Knauer
6d0a4a91a3 Remove needless tls option in ldap config
Go's LDAP client uses tls automatically if the url starts with 'ldaps'.
2022-02-15 10:00:55 +01:00
Jan Eitzinger
0cf78e36ef Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-15 10:00:06 +01:00
Lou Knauer
ec1f200061 return more erros as JSON 2022-02-14 17:40:47 +01:00
Lou Knauer
b40c046f62 return errors as JSON 2022-02-14 17:31:51 +01:00
Jan Eitzinger
45a4e775d5 Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-14 16:25:56 +01:00
Jan Eitzinger
a3db71e3aa Add home page route to routes array 2022-02-14 16:25:32 +01:00
Lou Knauer
0fef4debca Bugfix in roles parsing 2022-02-14 15:52:59 +01:00