Commit graph

14 commits

Author SHA1 Message Date
Nick Thomas
75e718f207
Generate HTTP URLs for custom Pages domains when appropriate 2018-01-08 01:30:05 +00:00
Jacopo
181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Travis Miller
1162d89ac4 Add administrative endpoint to list all pages domains 2017-11-13 16:05:44 +00:00
Travis Miller
66a8f3d433 Rename conflicting private method in PagesDomain model 2017-10-22 08:04:42 -05:00
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