myxce/src/frontend/apiserver/controllers
Rongsong Shen e00526f9f5
fix(apiserver): validate named and array submissions like any other (bug-1953)
preCheckJobRequest() returned from inside its job-name branch, so every
named or array job skipped the description, project and resreq checks,
resreq validation and the shell-limit conversion that follow. The name now
only sets the job count and array flag, and every submission runs the rest.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-10 08:59:34 +00:00
..
apikey.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
auth.go fix(apiserver): revoke the token on logout (bug-1946) 2026-10-10 08:58:20 +00:00
auth_test.go fix(apiserver): pin JWT parsing to the HS256 signing algorithm (bug-1950) 2026-10-10 08:58:19 +00:00
clusters.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
files.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
host_control_test.go fix(apiserver): populate hosts-list slot usage counts 2026-09-01 06:37:37 +00:00
hosts.go fix(apiserver): populate hosts-list slot usage counts 2026-09-01 06:37:37 +00:00
integration_test.go fix(apiserver): revoke the token on logout (bug-1946) 2026-10-10 08:58:20 +00:00
job_scope.go fix(apiserver): enforce self_ug job scopes and accept project filters (bug-1934, bug-1935) 2026-10-10 06:56:57 +00:00
job_scope_test.go fix(apiserver): enforce self_ug job scopes and accept project filters (bug-1934, bug-1935) 2026-10-10 06:56:57 +00:00
jobarray.go feat(job-array-one-based-index): parse submit index expressions (task 6.1) 2026-10-01 11:47:23 +00:00
jobarray_test.go feat(job-array-one-based-index): parse submit index expressions (task 6.1) 2026-10-01 11:47:23 +00:00
jobmatch.go feat(job-array-one-based-index): control by filter with element selections (task 7.5) 2026-10-01 12:40:09 +00:00
jobmatch_test.go feat(job-array-one-based-index): control by filter with element selections (task 7.5) 2026-10-01 12:40:09 +00:00
jobs.go fix(apiserver): validate named and array submissions like any other (bug-1953) 2026-10-10 08:59:34 +00:00
jobs_handler_test.go fix(apiserver): send exdata, exec cwd and exec home with submitted jobs (bug-1936) 2026-10-10 08:38:26 +00:00
jobs_test.go fix(apiserver): validate named and array submissions like any other (bug-1953) 2026-10-10 08:59:34 +00:00
jobsel.go feat(job-array-one-based-index): REST identity and name selection parsers (task 7.1) 2026-10-01 12:01:22 +00:00
jobsel_test.go feat(job-array-one-based-index): REST identity and name selection parsers (task 7.1) 2026-10-01 12:01:22 +00:00
output.go fix(apiserver): enforce self_ug job scopes and accept project filters (bug-1934, bug-1935) 2026-10-10 06:56:57 +00:00
output_jobid_test.go fix(frontend): peek and restart take <array-id>[k] and written job IDs 2026-10-02 09:42:27 +00:00
output_test.go style(frontend): gofmt the apiserver and xcecli sources 2026-10-02 09:33:16 +00:00
permissions.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
queue_control_test.go feat: P0-2b implement ControlHost via xcecli_hostctrl + fix allFlag race 2026-04-17 08:17:56 +00:00
queue_filter_test.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
queues.go fix front end issues 2026-05-01 21:22:45 +08:00
rbac_abort_test.go fix(apiserver): abort the request on every middleware failure (bug-1949) 2026-10-10 08:58:19 +00:00
rbac_check.go fix(apiserver): abort the request on every middleware failure (bug-1949) 2026-10-10 08:58:19 +00:00
rbac_check_test.go feat: P0-2c register routes + RBAC for host control/select 2026-04-17 09:32:21 +00:00
rbac_convention_test.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
resources.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
response.go fix(apiserver): abort the request on every middleware failure (bug-1949) 2026-10-10 08:58:19 +00:00
roles.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
token_revocation.go fix(apiserver): revoke the token on logout (bug-1946) 2026-10-10 08:58:20 +00:00
token_revocation_test.go fix(apiserver): revoke the token on logout (bug-1946) 2026-10-10 08:58:20 +00:00
users.go fix(apiserver): only rbac:control scope all may change user roles (bug-1952) 2026-10-10 08:58:20 +00:00
users_rbac_test.go fix(apiserver): only rbac:control scope all may change user roles (bug-1952) 2026-10-10 08:58:20 +00:00