diff --git a/INSTALL.debian b/INSTALL.debian index 23340b386..d5d33aafb 100644 --- a/INSTALL.debian +++ b/INSTALL.debian @@ -134,9 +134,6 @@ curl -L -s $GITHUB_INSTALL_SCRIPTS/nginx.danbooru.conf -o /etc/nginx/sites-enabl sed -i -e "s/__hostname__/$HOSTNAME/g" /etc/nginx/sites-enabled/danbooru.conf /etc/init.d/nginx restart -# Setup logrotate -curl -L -s $GITHUB_INSTALL_SCRIPTS/danbooru_logrotate_conf -o /etc/logrotate.d/danbooru.conf - # Setup danbooru account echo "* Enter a new password for the danbooru account" passwd danbooru diff --git a/public/422.html b/public/422.html deleted file mode 100644 index ac85722d9..000000000 --- a/public/422.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - The change you wanted was rejected (422) - - - - - - -
-

The change you wanted was rejected.

-

Maybe you tried to change something you didn't have access to.

-
- - diff --git a/public/503-redirect.html b/public/503-redirect.html deleted file mode 100644 index a37ca93a7..000000000 --- a/public/503-redirect.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Redirecting - - - - - - -

Redirecting...

- - diff --git a/public/503.html b/public/503.html deleted file mode 100644 index c6b70f0a6..000000000 --- a/public/503.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - i can't take it easy ;_; - - - - - - -
-

The server is currently overloaded. You can purchase a gold account for $20 to view this page anyway.

-

This page will automatically refresh in one minute.

-
- - diff --git a/public/images/animated-overlay.gif b/public/images/animated-overlay.gif deleted file mode 100755 index d441f75eb..000000000 Binary files a/public/images/animated-overlay.gif and /dev/null differ diff --git a/public/images/rails.png b/public/images/rails.png deleted file mode 100644 index d5edc04e6..000000000 Binary files a/public/images/rails.png and /dev/null differ diff --git a/public/images/wait.gif b/public/images/wait.gif deleted file mode 100644 index a0e37d53d..000000000 Binary files a/public/images/wait.gif and /dev/null differ diff --git a/public/stylesheets/.gitkeep b/public/stylesheets/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/script/install/danbooru_local_config.rb.templ b/script/install/danbooru_local_config.rb.templ old mode 100755 new mode 100644 diff --git a/script/install/danbooru_logrotate_conf b/script/install/danbooru_logrotate_conf deleted file mode 100644 index 4e8d26e88..000000000 --- a/script/install/danbooru_logrotate_conf +++ /dev/null @@ -1,5 +0,0 @@ -/var/www/danbooru2/shared/log/*.log { - daily - rotate 3 - copytruncate -} diff --git a/script/install/database.yml.templ b/script/install/database.yml.templ old mode 100755 new mode 100644 diff --git a/script/install/supervisord_conf b/script/install/supervisord_conf deleted file mode 100644 index 89cbb51a7..000000000 --- a/script/install/supervisord_conf +++ /dev/null @@ -1,17 +0,0 @@ -[supervisord] -nodaemon=true - -[program:sshd] -command=/etc/init.d/sshd start - -[program:nginx] -command=/etc/init.d/nginx start - -[program:postgresql] -command=/etc/init.d/postgresql start - -[program:memcached] -command=/etc/init.d/memcached start - -[program:crond] -command=/etc/init.d/crond start diff --git a/script/sanitize.sql b/script/sanitize.sql deleted file mode 100644 index 573ba0ab0..000000000 --- a/script/sanitize.sql +++ /dev/null @@ -1,29 +0,0 @@ -update artist_versions set updater_ip_addr = '127.0.0.1'; -truncate table bans; -truncate table comment_votes; -truncate table comments; -truncate table delayed_jobs; -truncate table dmails; -truncate table forum_posts; -truncate table forum_topics; -truncate table ip_bans; -truncate table janitor_trials; -truncate table mod_actions; -truncate table news_updates; -update note_versions set updater_ip_addr = '127.0.0.1'; -update pool_versions set updater_ip_addr = '127.0.0.1'; -update posts set uploader_ip_addr = '127.0.0.1'; -truncate table post_appeals; -truncate table post_disapprovals; -truncate table post_flags; -update post_versions set updater_ip_addr = '127.0.0.1'; -truncate table post_votes; -update tag_aliases set creator_ip_addr = '127.0.0.1'; -update tag_implications set creator_ip_addr = '127.0.0.1'; -truncate table tag_subscriptions; -truncate table uploads; -truncate table user_feedback; -truncate table user_name_change_requests; -truncate table user_password_reset_nonces; -update users set password_hash = '', email = '', recent_tags = '', favorite_tags = '', blacklisted_tags = '', bcrypt_password_hash = '', custom_style = '', email_verification_key = '', last_logged_in_at = now(), last_forum_read_at = null, receive_email_notifications = false, updated_at = now(), time_zone = 'Eastern Time (US & Canada)'; -update wiki_page_versions set updater_ip_addr = '127.0.0.1'; diff --git a/script/testing/dtest b/script/testing/dtest deleted file mode 100755 index 79ba2131b..000000000 --- a/script/testing/dtest +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env ruby - -file, line = ARGV[0], nil -test_name_pattern = nil - -if file =~ /:\d+/ - file, line = file.split(/:/) -end - -if line - text = File.read(file).split(/\r\n|\r|\n/)[line.to_i - 1] - if text =~ /(?:context|should) ["'](.+?)["']/ - test_name_pattern = Regexp.escape($1) - end -end - -env_options = { - "TEST" => file -} - -env_options["TESTOPTS"] = "--name='/#{test_name_pattern}/'" if test_name_pattern - -exec(env_options, "bundle exec rake test") diff --git a/script/testing/reset_db.sh b/script/testing/reset_db.sh deleted file mode 100755 index f9d659cf7..000000000 --- a/script/testing/reset_db.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -bundle exec rake db:drop db:create -bundle exec rake db:migrate -bundle exec rake db:seed - -# dropdb danbooru2 -# createdb danbooru2 -# psql danbooru2 < db/danbooru1.struct.sql -# psql danbooru2 < script/upgrade_schema.sql