Commit Graph

15 Commits

Author SHA1 Message Date
GitLab Bot eca3cd3a9e Add latest changes from gitlab-org/gitlab@master 2019-11-15 18:06:24 +00:00
Vladimir Shushlin db782d1840 Add docs for Let's Encrypt integration
* Add deprecation warning to old integration
* Add user docs
* Add admin docs
2019-07-17 13:00:46 +00:00
Vladimir Shushlin 7b5936ebda Remove auto ssl feature flags
* remove feature flag for admin settings
* remove feature flag for domain settings
2019-07-12 16:53:44 +00:00
Vladimir Shushlin 432f2bbc9c Use project depended feature flag for pages ssl
Also add ::Gitlab::LetsEncrypt.enabled? shortcut
and simplify it a lot
2019-06-25 10:30:12 +02:00
Vladimir Shushlin 6119d5ad75 Don't show private keys for letsencrypt certs
Adds enum certificate_source to pages_domains table
with default manually_uploaded

Mark certificates as 'gitlab_provided'
if the were obtained through Let's Encrypt

Mark certificates as 'user_provided' if they were uploaded through
controller or api

Only show private key in domain edit form if it is 'user_provided'

Only show LetsEncrypt option if is enabled by application settings
(and feature flag)

Refactor and fix some specs to match new logic

Don't show Let's Encrypt certificates as well
2019-06-21 12:06:12 +00:00
Nathan Friend 6610f2fdcb
Add auto SSL toggle to Pages domain settings page
This commit adds an auto SSL toggle switch to the settings page of
GitLab Pages domains.  This toggle enable or disabled auto SSL
management via Let's Encrypt.  Toggling the button dynamically
updates the form using client-side JavaScript.  All changes are behind
feature flags.
2019-06-03 19:20:20 -03:00
Takuya Noguchi 34609f7ce4 Fix col-sm-* in forms to keep layout
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-05-27 13:35:28 +09:00
George Tsiolis 6a63133515 Externalize strings from `/app/views/projects/pages_domains` 2019-01-28 12:12:25 +02:00
Clement Ho 4e54f5ae1b [skip ci] add col-sm-* for form-horizontal changes to keep layout 2018-04-12 18:16:56 -05:00
Clement Ho c552328617 [skip ci] .form-horizontal => .form-group.row 2018-04-12 15:11:22 -05:00
Clement Ho e44ceb96d0 [skip ci] .control-label to .col-form-label 2018-04-11 14:36:17 -05:00
Rob Watson f30b47b387 PagesDomain: Add edit/update functionality 2018-02-28 14:41:01 +01:00
Kamil Trzcinski 639cf728f8 Fix adding pages domain to projects in groups 2017-01-31 22:55:30 +00:00
Kamil Trzcinski 361047a791 Updated according to comments 2017-01-31 22:53:58 +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
Renamed from app/views/projects/pages/_form.html.haml (Browse further)