Commit Graph

13 Commits

Author SHA1 Message Date
Yorick Peterse 9606dbbb03
Whitelist existing destroy_all offenses
This whitelists all existing places where we use "destroy_all".
2018-08-16 17:29:37 +02:00
Rob Watson 9d45951fca Add HTTPS-only pages
Closes #28857
2018-03-22 19:58:36 +01: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
blackst0ne a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Mark Fletcher 3ce95e7c16 Disable navigation to Pages config if Pages is disabled
* Regards project-level pages config
- Nav link is now shown only if Pages is enabled for instance
- Navigation to following controllers denied if Pages disabled:
  * projects/pages_controller
  * projects/pages_domains_controller
- 'disabled' partial removed
+ Test for pages_controller introduced
2017-05-04 14:11:40 +08:00
Kamil Trzcinski 3e6cbcdd00 Fix pages abilities 2017-01-31 22:55:28 +00:00
Kamil Trzcinski 7f12cb0eed Split PagesController into PagesController and PagesDomainsController
1. PagesController is used to show all domains and general overview of Pages
2. PagesDomainsController is used to manage pages domains
2017-01-31 22:53:58 +00:00
Kamil Trzcinski b7fd7daee4 Fix rubocop complains 2017-01-31 22:53:57 +00:00
Kamil Trzcinski e5e2e7b703 Fix the remove_pages 2017-01-31 22:53:57 +00:00
Kamil Trzcinski 13b6bad17e Implement extra domains and save pages configuration 2017-01-31 22:53:57 +00:00
Kamil Trzcinski f034f6b3ec WIP 2017-01-31 22:53:57 +00:00
Kamil Trzcinski 930a7030b5 Implement proper verification of certificate's public_key against the private_key 2017-01-31 22:53:57 +00:00
Kamil Trzcinski 5f7257c27d Initial work on GitLab Pages update 2017-01-31 22:53:57 +00:00