Commit graph

9 commits

Author SHA1 Message Date
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
Vladimir Shushlin
ac744fd4fc Remove disabled pages domains
Domain will be removed by verification worker after 1 week
of being disabled
2019-04-30 12:05:54 +00:00
Vladimir Shushlin
d69d29011c Mark unverified pages domains for removal
Set pages_domain.remove_at when disabling it
Add specs for marking pages domain for removal
Notify user that domain is being removed
Add documentation
2019-04-09 17:46:29 +00:00
Rob Watson
9d45951fca Add HTTPS-only pages
Closes #28857
2018-03-22 19:58:36 +01:00
Nick Thomas
ee68bd9771
Add DNS verification to Pages custom domains 2018-02-23 12:22:29 +00:00
Rémy Coutable
4af9d592c5 Replace factory_girl_rails with factory_bot_rails
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands:

```
grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|"
grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|"
```

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14 15:01:55 +01:00
Kamil Trzcinski
c089f10334 Update comments 2017-01-31 22:53:58 +00:00
Kamil Trzcinski
8f09ec2837 Verify trusted certificate chain 2017-01-31 22:53:58 +00:00
Kamil Trzcinski
d3b8284876 Pages domain model specs 2017-01-31 22:53:57 +00:00