diff --git a/Gemfile b/Gemfile index 69ed4826..4ef96dc9 100644 --- a/Gemfile +++ b/Gemfile @@ -25,6 +25,7 @@ gem 'filesize' gem 'thread' gem 'scrypt' gem 'rack-cache' +gem 'namecheap' platform :mri, :rbx do gem 'magic' # sudo apt-get install file, For OSX: brew install libmagic diff --git a/Gemfile.lock b/Gemfile.lock index fd90fb5b..d069ea45 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -74,6 +74,9 @@ GEM uuidtools (>= 2.1.0) hashie (2.0.5) hiredis (0.5.0) + httparty (0.13.3) + json (~> 1.8) + multi_xml (>= 0.5.2) i18n (0.6.9) jimson-temp (0.9.5) blankslate (>= 3.1.2) @@ -104,7 +107,11 @@ GEM mocha (1.0.0) metaclass (~> 0.0.1) multi_json (1.10.1) + multi_xml (0.5.5) multipart-post (2.0.0) + namecheap (0.3.0) + activesupport (>= 3.0.0) + httparty netrc (0.7.7) nokogiri (1.6.3.1) mini_portile (= 0.6.0) @@ -245,6 +252,7 @@ DEPENDENCIES minitest minitest-reporters mocha + namecheap pg poltergeist pry diff --git a/README.md b/README.md index 5397c713..f6957692 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# NeoCities.org +# Neocities.org [](https://travis-ci.org/neocities/neocities) -The web site for NeoCities! It's open source. Want a feature on the site? Send a pull request! +The web site for Neocities! It's open source. Want a feature on the site? Send a pull request! ## Getting Started diff --git a/environment.rb b/environment.rb index ccff05f4..2a64f0ff 100644 --- a/environment.rb +++ b/environment.rb @@ -131,3 +131,9 @@ if ENV['RACK_ENV'] != 'development' # Sass::Plugin.options[:never_update] = true Sass::Plugin.options[:full_exception] = false end + +Namecheap.configure do |config| + config.key = $config['namecheap_api_key'] + config.username = $config['namecheap_api_username'] + config.client_ip = '67.139.65.163' +end diff --git a/views/_footer.erb b/views/_footer.erb index 782f4e16..d3409177 100644 --- a/views/_footer.erb +++ b/views/_footer.erb @@ -3,7 +3,7 @@
- Neocities.org is a completely open source project. Follow us on Twitter or Facebook! + Neocities.org is a completely open source startup. Follow us on Twitter or Facebook!
- What are you waiting for? Go make your web site! + - Kyle Drake, Founder, Neocities +
++ PS: What are you waiting for? Go make your web site!