Commit graph

19 commits

Author SHA1 Message Date
gfyoung
1993a4449a Enable frozen string for app/helpers/**/*.rb
Partially addresses #47424.
2018-09-06 17:33:46 -07:00
Eric Eastwood
e6ac6734c2 Use relative _path helper URLs in the GitLab UI
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40825
2017-12-07 11:19:37 -06:00
Tim Zallmann
aecc6600bd Fixed the URL + renamed to Job Failed 2017-09-12 11:19:06 +02:00
Douwe Maan
fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Lin Jen-Shin
71777a4a18 Rename BuildsController to JobsController
Rename other URL generators

admin_builds_path -> admin_jobs_path

Fix tests and more renaming

Fix more tests

Also change build_id to job_id in the controller
2017-05-17 20:17:30 +08:00
James Edwards-Jones
9f3f22c895 Failed Jobs tab only shows 10 job traces for performance 2017-05-05 15:41:37 +01:00
James Edwards-Jones
4c0adb9ee9 Build failures summary page for pipelines 2017-05-05 15:01:50 +01:00
Takuya Noguchi
2742fe6fd4 Avoid calling Build#trace_with_state for performance 2017-03-07 07:54:13 +09:00
Alex Sanford
42e490ea90 Fix CSS classes 2017-02-27 20:40:49 +00:00
Eric Eastwood
f2aa9b4630 Fix current build arrow
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27939
2017-02-13 01:08:35 -06:00
Grzegorz Bizon
de24902852 Improve name of build log state data attribute 2016-11-22 14:48:14 +01:00
Grzegorz Bizon
6a18a78184 Include build trace status in data attribute always 2016-11-22 13:37:23 +01:00
Luke Bennett
ac7efb2916
Removed inline JS and added new affix declaration
Tidied up UX

Corrected naming convention issues with removing inline JS

@deckar01 saves the day! Simplified `toggleSidebar` and `hideSidebar`

Review changes

Merge conflicts and update autoscroll button
2016-11-04 15:07:51 +00:00
Annabel Dunstone Gray
2115c360d0 Remove unnecessary retried check & fix test failures 2016-10-18 08:29:29 -05:00
Annabel Dunstone Gray
0bd525005b Move sidebar build class into helper 2016-10-18 08:29:29 -05:00
Kamil Trzcinski
ba68facf8d CI details cleanup
- Add page titles to CI settings.
- Fix CI admin navigation.
- Remove duplicated scope.
- Use monospace font for commit sha.
- Add page title and header title to build page.
- Proper authorization for cancel/retry builds.
- Use gitlab pagination theme for builds and group members.
- Don't paginate builds widget on build page.
- Add badges to commit page Changes/Builds tabs.
- Add "Builds" to commit Builds tab page title.
- Add and use Ci::Build#retryable? method.
- Add CI::Build#retried? method.
- Allow all failed commit builds to be retried.
- Proper authorization for cancel/retry all builds.
- Remove unused param.
- Use time_ago_with_tooltip where appropriate.
- Tweak builds index text
- Remove duplication between builds/build and commit_statuses/commit_status.
- Use POST rather than GET for canceling and retrying builds.
- Remove redundant URL helpers.
- Add build ID to build page.
- Link branch name on build page.
- Move commit/:sha/ci to commit/:sha/builds.
2015-11-05 15:24:27 +01:00
Dmitriy Zaporozhets
82b6a17ca7
Fix ci build routing and few tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-10-06 21:41:37 +02:00
Kamil Trzcinski
d2d2df0738 Fix next round of tests 2015-10-05 13:12:00 +02:00
Dmitriy Zaporozhets
3d9a7cdb4b
Refactor CI helpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-29 16:26:40 +02:00