summaryrefslogtreecommitdiff
path: root/lib/api/runners.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-301-3/+36
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-141-2/+2
|
* Adding order by to list runner jobs api.sujay patel2019-07-051-0/+2
|
* add tag_list param to runners apiAlexis Reigel2019-02-271-0/+6
|
* Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routingImre Farkas2018-11-281-1/+1
| | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
* Merge branch 'fix-todo-cops' into 'master'Rémy Coutable2018-10-041-1/+1
|\ | | | | | | | | Fix todo cops See merge request gitlab-org/gitlab-ce!21850
| * Fix SpaceBeforeFirstArg copSemyon Pupkov2018-09-201-1/+1
| |
* | Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* | add status param to runners apiAlexis Reigel2018-09-151-0/+9
| |
* | add type param to runners apiAlexis Reigel2018-09-151-3/+19
|/
* Merge branch 'feature/runner-state-filter-for-admin-view' into 'master'Grzegorz Bizon2018-09-141-11/+6
|\ | | | | | | | | Feature: State filter for admin runners view See merge request gitlab-org/gitlab-ce!19625
| * replace cond. assignment by default param valueAlexis Reigel2018-09-121-5/+3
| |
| * dry up available scopes to constantsAlexis Reigel2018-08-201-3/+3
| |
| * add Ci::Runner.offline scope to APIAlexis Reigel2018-08-201-10/+7
| |
* | Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
|/ | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Add missing maximum_timeout parametergfyoung2018-07-111-1/+1
|
* Make deprecated scopes of Runner explicitKamil Trzciński2018-07-041-0/+5
|
* Remove the use of `is_shared` of `Ci::Runner`remove-is-shared-from-ci-runnersKamil Trzciński2018-06-261-2/+2
|
* Improve Runners API validationsKamil Trzciński2018-05-311-1/+1
|
* Improve `Ci::Runner#assign_to` to return a flag whether it succeeded or notKamil Trzciński2018-05-311-3/+1
|
* Remove unnecessary runner.is_shared? checks in api because they are handled ↵Dylan Griffith2018-05-161-2/+0
| | | | by policy
* Allow admin to assign shared runner to project through APIDylan Griffith2018-05-161-2/+2
|
* Change policy list_runner_jobs -> read_runnerDylan Griffith2018-05-161-1/+1
|
* Rename User#ci_authorized_runners -> ci_owned_runnersDylan Griffith2018-05-161-1/+1
|
* Use can? policies for lib/api/runners.rbDylan Griffith2018-05-161-9/+5
|
* Allow group runners to be viewed/edited in APIDylan Griffith2018-05-161-0/+1
|
* Rename maximum_job_timeout to maximum_timeoutTomasz Maczukin2018-03-281-1/+1
|
* Rename job_upper_timeout to maximum_job_timeoutTomasz Maczukin2018-03-281-1/+1
|
* Add support for job_upper_timeout in APITomasz Maczukin2018-03-281-0/+1
|
* Refactorize jobs finding logicTomasz Maczukin2017-11-281-6/+2
|
* Modify outputTomasz Maczukin2017-11-281-2/+2
|
* Allow filtering by 'status'Tomasz Maczukin2017-11-281-1/+8
|
* Add information about projectTomasz Maczukin2017-11-281-2/+4
|
* Add new API endpoint - list jobs of a specified runnerTomasz Maczukin2017-11-281-0/+18
|
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+4
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Improve API arguments as StringShinya Maeda2017-09-031-1/+2
|
* Add API supportShinya Maeda2017-09-031-1/+2
|
* API: Use defined project requirementsrs-api-use-project-requirementsRobert Schilling2017-08-311-1/+1
|
* Conditionally destroy a ressourceRobert Schilling2017-08-281-5/+2
|
* API: Respect the 'If-Unmodified-Since' for delete endpointsRobert Schilling2017-08-281-0/+2
|
* Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-141-1/+1
| | | | | An upcoming update to rubocop-gitlab-security added additional violations.
* Update grape gemdz-update-grapeDmitriy Zaporozhets2017-07-201-0/+2
| | | | | | | | New version of the gem returns 200 status code on delete with content instead of 204 so we explicitly set status code to keep existing behavior Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove the User#is_admin? methodblackst0ne2017-04-091-4/+4
|
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-1/+1
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Return 204 for delete endpointsRobert Schilling2017-02-281-4/+1
|
* Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
|
* Use UpdateRunnerService to update runner in API:Lin Jen-Shin2017-02-081-1/+2
| | | | | TODO: Add tests to make sure controllers and API would tick the queue.
* Use the pagination helper in the APIuse-pagination-helperRobert Schilling2016-12-041-0/+5
|
* Use #to_h to convert params to a hashgrapify-to-hRobert Schilling2016-11-141-3/+1
|
* Grapify runners APIRobert Schilling2016-11-101-53/+64
|