Commit graph

10 commits

Author SHA1 Message Date
Drew Blessing
8df7bcf532 Allow numeric pages domain
Previously, `PagesDomain` would not allow a domain such as
123.example.com. With this change, this is now allowed, because
it is a perfectly valid domain.
2017-06-06 12:39:37 +01:00
Douwe Maan
5cd9c7c6ea Enable Rails/Validation 2017-02-23 09:31:57 -06:00
James Lopez
5075fb3bb7 fix attr_encrypted in EE 2017-02-01 02:53:58 +00:00
Connor Shea
caedc996bd Adds algorithm to the pages domain key and remote mirror credentials encrypted attributes for forward compatibility with attr_encrypted 3.0.0.
aes-256-cbc is the default algorithm for attr_encrypted 1.x, but the default is changed in 3.0 and thus must be declared explicitly.

See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4216/ for more information. This will prevent OpenSSL errors once the code from that MR is merged into EE.
2017-01-31 22:55:32 +00:00
Kamil Trzcinski
361047a791 Updated according to comments 2017-01-31 22:53:58 +00:00
Kamil Trzcinski
b7fd7daee4 Fix rubocop complains 2017-01-31 22:53:57 +00:00
Kamil Trzcinski
d3b8284876 Pages domain model specs 2017-01-31 22:53:57 +00:00
Kamil Trzcinski
0552c0b6f1 Fix views 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
6e99226cca Added PagesDomain 2017-01-31 22:53:57 +00:00