Commit Graph

19 Commits

Author SHA1 Message Date
Peter Leitzen 03f136fcd9 Prefer usage of helper `expanded_by_default?`
Stop using `Rails.env.test?` in views.
2019-04-29 15:01:28 +00:00
Lin Jen-Shin 9ecba9228f Port changes from EE. Remove unused class 2019-01-30 01:50:30 +08:00
Mike Greiling c90cfbd4ea
ensure all project repository settings panels remain open after form submission 2018-08-08 01:17:43 -05:00
Rémy Coutable c24bca94fe
Ensure we look into the correct setion only when expanding a settings' section
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-13 09:34:02 +02:00
Lukas Eipert 5e436de6e4 Make deploy keys table more clearly structured 2018-05-07 18:21:34 +00:00
Dmitriy Zaporozhets 611dea8ad8
Add button type to settings toggle
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-02 19:13:07 +03:00
Lin Jen-Shin c91718366d Just add a new class to locate the expand button 2017-12-28 21:22:21 +08:00
Mike Greiling 2888e48b27
update settings panels to place "expanded" class on the correct element 2017-10-31 12:45:42 -05: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
Mike Greiling 2579dcf59e Resolve "Rename settings panel "close" action to "collapse" to avoid confusion" 2017-06-22 14:32:04 +00:00
Mike Greiling 4b1d956e13 Resolve "Simplified Repository Settings page" 2017-06-07 08:11:44 +00:00
Phil Hughes e11a702afc Re-wrote to match our docs - still not 100% sure but closer than it was 2017-04-28 17:06:19 +01:00
Jacob Schatz a922d90414 Add Vue with async deploy keys 2017-04-27 22:47:50 -04:00
Chris Wilson 289dd49ef3 Fix inconsistent deploy key documentation in UI
Deploy keys were added with write access to
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383 - We still
state " Deploy keys allow read-only access to your repository." in the
UI.

This updates the deploy key UI information to reflect the docs
https://docs.gitlab.com/ce/ssh/README.html#deploy-keys
2017-03-08 12:14:02 -06:00
Jose Ivan Vargas 43958926c5 Added delegations to comply with the new rubocop rules
Also fixed the deploy_keys view and moved the code from the repository_helper
to the repository_controller
2017-03-06 09:47:44 -06:00
Jose Ivan Vargas a29517dd0c Added tests for the repository_controller and repository_helper
Added specs for the deploy_keys_presenter and added a new method in the presenter
called #key_available?

Fixed some minor UX inconsistencies and added a concern to handle
redirection
2017-03-06 09:47:44 -06:00
Grzegorz Bizon 5967c17e80 Introduced the deploy keys presenter 2017-03-06 09:47:44 -06:00
Jose Ivan Vargas 2ee8644115 Fixed tests, changed dispatcher routing to the 'repository:show'
Also modified the render calls to the deploy_keys and protected_branches
partials
2017-03-06 09:47:44 -06:00
Jose Ivan Vargas 0b74ae849d Created the gear settings entry and created a way to initialize both sections with one controller
Changed views to partials, created the repository view,
created a repository_helper to further aid the creation of variables
across different controllers
2017-03-06 09:47:43 -06:00
Renamed from app/views/projects/deploy_keys/index.html.haml (Browse further)