Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release-0.37'
Browse files Browse the repository at this point in the history
Release v0.37: open.ly domain name

**Enhancements:**
- Change domain name from openly.one to open.ly
  • Loading branch information
FinnWoelm committed May 15, 2019
2 parents 808ef77 + e65f3ed commit be278d6
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
global:
- CI=true
- ALL_TESTS=true
- APPLICATION_DOMAIN=openly.one
- APPLICATION_DOMAIN=open.ly
- GOOGLE_DRIVE_TRACKING_ACCOUNT=example.one@gmail.com
- GOOGLE_DRIVE_USER_ACCOUNT=example.two@gmail.com
- GOOGLE_DRIVE_COLLABORATOR_ACCOUNT=example.three@gmail.com
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## v0.37 (May 15, 2019)

**Enhancements:**
- Change domain name from openly.one to open.ly

## v0.36.4 (Mar 5, 2019)

**Fixes:**
Expand Down
Binary file modified app/assets/images/projects/sharing-settings.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/views/static/github_for_documents/index.slim
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@

.col.s6.l4
p
= mail_to 'hello@openly.one', nil, class: 'white-text'
= mail_to 'hello@open.ly', nil, class: 'white-text'
br
br
| Incorporated in Delaware.
Expand Down
2 changes: 1 addition & 1 deletion app/views/static/open_collaboration/index.slim
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

.col.s6.l4
p
= mail_to 'hello@openly.one', nil, class: 'white-text'
= mail_to 'hello@open.ly', nil, class: 'white-text'
br
br
| We are a public benefit corporation ♥
Expand Down
42 changes: 21 additions & 21 deletions config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ upstream puma {

server {
listen 443 ssl;
server_name www.openly.one;
ssl_certificate /etc/letsencrypt/live/www.openly.one/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.openly.one/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/www.openly.one/fullchain.pem;
server_name www.open.ly;
ssl_certificate /etc/letsencrypt/live/www.open.ly/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.open.ly/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/www.open.ly/fullchain.pem;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
Expand Down Expand Up @@ -37,37 +37,37 @@ server {
keepalive_timeout 10;
}

# Redirect https requests from openly.one to www.openly.one
# Redirect https requests from open.ly to www.open.lye
server {
listen 443 ssl;
server_name openly.one;
ssl_certificate /etc/letsencrypt/live/openly.one/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/openly.one/privkey.pem;
return 301 https://www.openly.one$request_uri;
server_name open.ly;
ssl_certificate /etc/letsencrypt/live/open.ly/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/open.ly/privkey.pem;
return 301 https://www.open.ly$request_uri;
}

# Redirect https requests from www.upshift.one to www.openly.one
# Redirect https requests from www.openly.one to www.open.ly
server {
listen 443 ssl;
server_name www.upshift.one;
ssl_certificate /etc/letsencrypt/live/www.upshift.one/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.upshift.one/privkey.pem;
return 301 https://www.openly.one$request_uri;
server_name www.openly.one;
ssl_certificate /etc/letsencrypt/live/www.openly.one/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.openly.one/privkey.pem;
return 301 https://www.open.ly$request_uri;
}

# Redirect https requests from upshift.one to www.openly.one
# Redirect https requests from openly.one to www.open.ly
server {
listen 443 ssl;
server_name upshift.one;
ssl_certificate /etc/letsencrypt/live/upshift.one/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/upshift.one/privkey.pem;
return 301 https://www.openly.one$request_uri;
server_name openly.one;
ssl_certificate /etc/letsencrypt/live/openly.one/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/openly.one/privkey.pem;
return 301 https://www.open.ly$request_uri;
}

# Redirect all http requests to https://www.openly.one/
# Redirect all http requests to https://www.open.ly/
server {
listen 80 default_server;
server_name _;

return 301 https://www.openly.one$request_uri;
return 301 https://www.open.ly$request_uri;
}
2 changes: 1 addition & 1 deletion spec/mailers/notifications_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
end

it 'sets the correct sender' do
expect(mail.from).to contain_exactly 'notification@openly.one'
expect(mail.from).to contain_exactly 'notification@open.ly'
expect(mail[:from].display_names).to contain_exactly 'Openly'
end

Expand Down
2 changes: 1 addition & 1 deletion spec/views/errors/internal_server_error.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

it 'provides a contact email address' do
render
expect(rendered).to have_selector('a', text: 'hello@openly.one')
expect(rendered).to have_selector('a', text: 'hello@open.ly')
end
end
2 changes: 1 addition & 1 deletion spec/views/errors/not_found.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

it 'provides a contact email address' do
render
expect(rendered).to have_selector('a', text: 'hello@openly.one')
expect(rendered).to have_selector('a', text: 'hello@open.ly')
end
end
2 changes: 1 addition & 1 deletion spec/views/errors/unacceptable.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

it 'provides a contact email address' do
render
expect(rendered).to have_selector('a', text: 'hello@openly.one')
expect(rendered).to have_selector('a', text: 'hello@open.ly')
end
end

0 comments on commit be278d6

Please sign in to comment.