gfyoung
73322a0e55
Enable frozen string in app/controllers/**/*.rb
...
Enables frozen string for the following:
* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb
Partially addresses #47424 .
2018-09-18 21:22:45 -07:00
Mayra Cabrera
80f9aff34b
Make ci/lint page context aware:
...
- Create ci/lints controller inside project/
- Move js pages to be inside projects/
- Copy view ci/lint view to be inside project folder
- Remove ci/lint view and js files
Closes #43603
2018-03-26 17:03:11 -06:00
Dylan Griffith
66d41d2c22
Handle all YAML parser exceptions in .gitlab-ci.yml ( fixes #41209 )
...
- Move the exception handling as close to the source as possible to
avoid leaking Psych ahstraction
- Also remove unnecessary rescue all statement from LintsController.
This should not be necessary anymore since any YAML errors should all be
caught by the #validation_message method.
2018-02-07 10:09:01 +11:00
Maxim Rydkin
c45ace8972
move lib/ci/gitlab_ci_yaml_processor.rb
into lib/gitlab/ci/yaml_processor.rb
2017-09-12 22:32:02 +03:00
Takuya Noguchi
36bf0b67e5
Remove Ci::ApplicationController
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-10 16:47:27 +02:00
Katarzyna Kobierska
7dfb204ef9
Expose jobs to view
2016-09-30 12:22:55 +02:00
Katarzyna Kobierska
0d81fd05b9
Code refactor
2016-09-07 12:10:49 +02:00
Katarzyna Kobierska
2c8b830fdb
Code refactoring
2016-09-07 12:10:49 +02:00
Katarzyna Kobierska
cfa18dab86
Fix rubocop errors
2016-09-07 12:10:49 +02:00
Katarzyna Kobierska
cc06eab237
Change class method name
2016-09-07 12:10:49 +02:00
Katarzyna Kobierska
9e313c1294
Add class method to encapsulate exception
2016-09-07 12:10:49 +02:00
Grzegorz Bizon
cdd3a80682
Allow subsequent validations in CI Linter
...
Closes #5851
2016-01-11 13:37:31 +01:00
Grzegorz Bizon
d74b254d97
Make CI Lint form synchronous
...
This removes `remote: true` from CI Lint form, making it synchronous
form. This also removes some complexity related to displaying lint
messages.
View also has been updated, removed deprecated Bootstrap 2 tags.
Improved design.
Closes #4206
2015-12-22 09:40:32 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
8248314bc9
Don't rescue Exception, but StandardError
2015-11-19 20:17:17 +01:00
Guilherme Garnier
2b075f16c7
Fix rubocop warnings in app
2015-10-03 00:56:37 -05:00
Valery Sizov
4c53cc0eba
rubocop satisfy
2015-09-14 14:37:18 +03:00
Douwe Maan
046b283127
Groundwork for merging CI into CE
2015-08-25 18:42:46 -07:00