James Ramsay
b65fcc320d
Add sha filter to list pipelines
...
To find the pipeline for a specific sha requires scanning the list of
all pipelines for a ref that contains the sha. This makes it hard to
find the pipeline id needed to access a trace for a specific job run
in the pipeline using the API.
2018-04-27 11:00:52 +01: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
f7b5800a1d
Add a blank line between blocks
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
98ac988d4d
Use order instead of reorder. Improve tests.
2017-05-03 02:11:51 +09:00
Shinya Maeda
7fb3a78a6d
Fix improper method name and spec description
2017-05-03 02:11:51 +09:00
Shinya Maeda
3735b8aaa1
Allow only indexed columns in #order_and_sort. Remove present (Because unnecessary) from condition. Added spec just in case.
2017-05-03 02:11:51 +09:00
Shinya Maeda
d74a04c499
Avoid hardcode table name
2017-05-03 02:11:51 +09:00
Shinya Maeda
284cf0bfb5
Add name. Improve order_and_sort.
2017-05-03 02:11:51 +09:00
Shinya Maeda
175800299b
Add name(User)
2017-05-03 02:11:51 +09:00
Shinya Maeda
83d02a0b60
Change name to username
2017-05-03 02:11:51 +09:00
Shinya Maeda
a46c91f432
Fix inappropriate regex
2017-05-03 02:11:51 +09:00
Shinya Maeda
fa64da65e7
Use 'case/when/end'
2017-05-03 02:11:50 +09:00
Shinya Maeda
e3fd8caf94
Improved CI. Fix yaml_errors boolean evaluation.
2017-05-03 02:11:50 +09:00
Shinya Maeda
f0bc9af36b
Fixed the following.
...
- Fix inappropriate evaluation(casecmp) to regex
- Fix missed boolean conversion
- Improve spec
2017-05-03 02:11:50 +09:00
Shinya Maeda
a114c988b4
Fixed SQL injection
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
01f6083939
Remove unnecessary comment
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
Filipa Lacerda
0f36cfd7f5
Adds Pending and Finished tabs to pipelines page
...
Fix broken test
2017-02-16 22:25:01 +00:00
Z.J. van de Weg
3152477114
Use PipelinesFinder in Pipelines API
2016-09-07 15:38:03 +02:00
Paco Guzman
4c89cd4b73
PipelinesFinder use git cached data
2016-06-29 07:10:58 +02:00
Kamil Trzcinski
fe2137d871
Improve pipelines design
2016-05-10 02:26:13 +03:00