Commit Graph

28 Commits

Author SHA1 Message Date
Shinya Maeda 255bfd6583 Improve documentation 2017-05-03 02:11:51 +09:00
Shinya Maeda 8653c2dfc9 Add constant as ALLOWED_INDEXED_COLUMNS 2017-05-03 02:11:51 +09:00
Shinya Maeda 0a36bfa994 Use HasStatus::AVAILABLE_STATUSES instead of hard coding 2017-05-03 02:11:51 +09:00
Shinya Maeda 0e8266f238 Revert "Use JSON type for sorting parameter (halfway)"
This reverts commit 34127cb13ad72f65a24bdc8fc051363d3edd77cb.
2017-05-03 02:11:51 +09:00
Shinya Maeda 22a4d124f7 Use JSON type for sorting parameter (halfway) 2017-05-03 02:11:51 +09:00
Shinya Maeda d1ca5f46d4 No need to support sha for sorting 2017-05-03 02:11:51 +09:00
Shinya Maeda 9324a464ef Reduce playable columns for sorting 2017-05-03 02:11:51 +09:00
Shinya Maeda 175800299b Add name(User) 2017-05-03 02:11:51 +09:00
Shinya Maeda 56f50cbb3a Fix how to use PipelinesFinder 2017-05-03 02:11:51 +09:00
Shinya Maeda d33e762167 %[] to %w[] 2017-05-03 02:11:51 +09:00
Shinya Maeda af7cb5b931 %w() to %[] 2017-05-03 02:11:50 +09:00
Shinya Maeda fd302061f9 Fix rubocop offences and rspec failures 2017-05-03 02:11:50 +09:00
Shinya Maeda df834306c1 Add specs. Plus, minor fixes. 2017-05-03 02:11:50 +09:00
Shinya Maeda 994e49b3fb Fixed those points.
- username to user_id
- Drop duration
- Resolve comments
- Add Changelog
- Edit docs
2017-05-03 02:11:50 +09:00
Shinya Maeda e9d9445195 - Add new parameters for Pipeline API
- Expand PipelinesFinder functions
2017-05-03 02:11:50 +09:00
Rémy Coutable 63360adeae
Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Toon Claes 59e7d04bc7 Expose pipelines as PipelineBasic `projects/:id/pipelines`
The `projects/:id/pipelines` exposed a lot of extra details
that are superfluous and it was taking extra resources to fetch them.

To get more details about a pipeline, use
`projects/:id/pipelines/:pipeline_id`.
2017-03-03 09:52:04 +01:00
Douwe Maan 56de781a2c Revert "Enable Style/DotPosition"
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9.

# Conflicts:
#	.rubocop.yml
#	.rubocop_todo.yml
#	lib/gitlab/ci/config/entry/global.rb
#	lib/gitlab/ci/config/entry/jobs.rb
#	spec/lib/gitlab/ci/config/entry/factory_spec.rb
#	spec/lib/gitlab/ci/config/entry/global_spec.rb
#	spec/lib/gitlab/ci/config/entry/job_spec.rb
#	spec/lib/gitlab/ci/status/build/factory_spec.rb
#	spec/lib/gitlab/incoming_email_spec.rb
2017-02-23 09:33:19 -06:00
Douwe Maan 1fe7501b49 Revert "Prefer leading style for Style/DotPosition"
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23 09:33:05 -06:00
Douwe Maan 7d4b52b27d Enable Style/WordArray 2017-02-23 09:32:41 -06:00
Douwe Maan 206953a430 Prefer leading style for Style/DotPosition 2017-02-23 09:32:22 -06:00
Douwe Maan 3dadf306dd Enable Style/DotPosition 2017-02-23 09:31:56 -06:00
dimitrieh b86640fee9 fixed specs + docs 2017-02-20 17:08:29 +01:00
Rémy Coutable 79030a0e12 Merge branch '23532-define-common-helper-for-describe-pagination-params-in-api' into 'master'
Add concern for reuse pagination params declaration in API

Closes #23532

See merge request !7646
2016-11-22 15:33:57 +00:00
Semyon Pupkov 77cf855bb9 Define common helper for describe pagination params in api 2016-11-22 09:19:26 +05:00
Ido Leibovich fbfc7523cb Add api endpoint for creating a pipeline
Add a new endpoint in the new API for creating a new pipeline, and return the details of that pipeline.
2016-11-18 23:12:21 +02:00
Z.J. van de Weg 3152477114 Use PipelinesFinder in Pipelines API 2016-09-07 15:38:03 +02:00
Z.J. van de Weg de7b8e51b8 Add endpoints for pipelines 2016-08-18 16:56:39 +02:00