From 9a2981953d90aba156c7a4e93769beec4fcbe940 Mon Sep 17 00:00:00 2001 From: Yuriy Pikhtarev Date: Sun, 25 Jun 2017 00:01:22 +0300 Subject: [PATCH] New project domain name. --- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 2 +- README.md | 10 +++++----- admin/admin_bt_forum_cfg.php | 2 +- admin/admin_bt_tracker_cfg.php | 2 +- composer.json | 17 +++++++++-------- install/sql/mysql.sql | 8 ++++---- library/config.php | 2 +- library/includes/page_footer.php | 2 +- library/includes/torrent_announce_urls.php | 6 +++--- library/language/source/html/sidebar1.html | 4 ++-- library/language/source/main.php | 2 +- opensearch_desc.xml | 4 ++-- opensearch_desc_bt.xml | 4 ++-- package.json | 2 +- robots.txt | 4 ++-- src/Legacy/Common/User.php | 2 +- styles/templates/posting_tpl.tpl | 2 +- 18 files changed, 39 insertions(+), 38 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 344912b6b..522445d96 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at admin@torrentpier.me. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at admin@torrentpier.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 179dd4f62..e06246e9b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ further defined and clarified by project maintainers. ### Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at admin@torrentpier.me. All +reported by contacting the project team at admin@torrentpier.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. diff --git a/README.md b/README.md index 39cedfc02..ac3657f1e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

+

Slack Crowdin @@ -15,7 +15,7 @@ TorrentPier — bull-powered BitTorrent tracker engine, written in php. High speed, simple modification, high load architecture, built-in support for alternative compiled announcers (Ocelot, XBT). In addition we have very helpful -[official support forum](https://torrentpier.me/forum), where among other things it is possible to test the live +[official support forum](https://torrentpier.com/forum), where among other things it is possible to test the live demo, get any support and download modifications for engine. ## Current status @@ -65,7 +65,7 @@ and chmod 0644 for files in them. If you are not sure, leave it as is. ## The recommended way to run cron.php For significant tracker speed increase may be required to replace built-in cron.php by operating system daemon. For more -information about that you can read [this thread](https://torrentpier.me/forum/threads/52/) on our support forum. +information about that you can read [this thread](https://torrentpier.com/forum/threads/52/) on our support forum. ## Local configuration copy @@ -77,11 +77,11 @@ should not be available for reading to anyone by setting up access rights for yo We have built-in support for alternate compiled announcer — Ocelot. The configuration is in the file **library/config.php**, the announcer is in the repository [torrentpier/ocelot](https://github.com/torrentpier/ocelot). You can read assembly instructions -on his repository or in [this thread](https://torrentpier.me/forum/threads/26078/) on our support forum. +on his repository or in [this thread](https://torrentpier.com/forum/threads/26078/) on our support forum. ## Official documentation -Documentation for TorrentPier can be found on the [TorrentPier docs website](https://docs.torrentpier.me). +Documentation for TorrentPier can be found on the [TorrentPier docs website](https://docs.torrentpier.com). ## Contributing diff --git a/admin/admin_bt_forum_cfg.php b/admin/admin_bt_forum_cfg.php index 152d0ad16..5f73ff3e7 100644 --- a/admin/admin_bt_forum_cfg.php +++ b/admin/admin_bt_forum_cfg.php @@ -43,7 +43,7 @@ $cfg = []; * All config names with default values */ $default_cfg_str = array( - 'bt_announce_url' => 'http://demo.torrentpier.me/bt/', + 'bt_announce_url' => 'http://demo.torrentpier.com/bt/', ); $default_cfg_bool = array( diff --git a/admin/admin_bt_tracker_cfg.php b/admin/admin_bt_tracker_cfg.php index 506151371..a43f5e888 100644 --- a/admin/admin_bt_tracker_cfg.php +++ b/admin/admin_bt_tracker_cfg.php @@ -45,7 +45,7 @@ $confirmed = isset($_POST['confirm']); */ $default_cfg_str = array( 'off_reason' => 'Tracker is disabled', - 'browser_redirect_url' => 'http://demo.torrentpier.me/', + 'browser_redirect_url' => 'http://demo.torrentpier.com/', ); $default_cfg_bool = array( diff --git a/composer.json b/composer.json index 59dfa135b..5b43556d8 100644 --- a/composer.json +++ b/composer.json @@ -8,31 +8,32 @@ "torrent", "tracker" ], - "homepage": "https://torrentpier.me/", + "homepage": "https://torrentpier.com/", "license": "MIT", "authors": [ { "name": "Exile", - "email": "admin@torrentpier.me", - "homepage": "https://torrentpier.me/forum/members/exile.1/", + "email": "admin@torrentpier.com", + "homepage": "https://torrentpier.com/forum/members/exile.1/", "role": "Developer" }, { "name": "Diolektor", - "homepage": "https://torrentpier.me/forum/members/diolektor.5765/", + "homepage": "https://torrentpier.com/forum/members/diolektor.5765/", "role": "Developer" }, { "name": "PheRum", - "homepage": "https://torrentpier.me/forum/members/pherum.23/", + "homepage": "https://torrentpier.com/forum/members/pherum.23/", "role": "Developer" } ], "support": { - "email": "support@torrentpier.me", + "email": "support@torrentpier.com", "issues": "https://github.com/torrentpier/torrentpier/issues", - "forum": "https://torrentpier.me/forum/", - "docs": "https://docs.torrentpier.me/" + "forum": "https://torrentpier.com/forum/", + "irc": "http://torrentpier.herokuapp.com/", + "docs": "https://docs.torrentpier.com/" }, "require": { "php": "^5.6 || ^7.0", diff --git a/install/sql/mysql.sql b/install/sql/mysql.sql index 834ba4e66..ff5b7cf00 100644 --- a/install/sql/mysql.sql +++ b/install/sql/mysql.sql @@ -487,7 +487,7 @@ INSERT INTO `bb_config` VALUES ('birthday_min_age', '10'); INSERT INTO `bb_config` VALUES ('birthday_check_day', '7'); INSERT INTO `bb_config` VALUES ('bt_add_auth_key', '1'); INSERT INTO `bb_config` VALUES ('bt_allow_spmode_change', '1'); -INSERT INTO `bb_config` VALUES ('bt_announce_url', 'https://demo.torrentpier.me/bt/announce.php'); +INSERT INTO `bb_config` VALUES ('bt_announce_url', 'https://demo.torrentpier.com/bt/announce.php'); INSERT INTO `bb_config` VALUES ('bt_disable_dht', '0'); INSERT INTO `bb_config` VALUES ('bt_check_announce_url', '0'); INSERT INTO `bb_config` VALUES ('bt_del_addit_ann_urls', '1'); @@ -964,7 +964,7 @@ CREATE TABLE IF NOT EXISTS `bb_posts_text` ( -- Records of bb_posts_text -- ---------------------------- INSERT INTO `bb_posts_text` VALUES ('1', - 'Благодарим вас за установку новой версии TorrentPier Aurochs!\n\nЧто делать дальше? Сперва настройте ваш сайт в администраторском разделе. Измените базовые опции: заголовок сайта, число сообщений на страницу, часовой пояс, язык по-умолчанию, настройки сидбонусов, дней рождения и т.д. Создайте несколько форумов, а также не забудьте переименовать или удалить этот. Обязательно настройте возможность создания релизов в созданных вами разделах и добавьте [url=https://torrentpier.me/threads/25867/]шаблоны оформления раздач[/url] для них. Если у вас возникнут вопросы или потребность в дополнительных модификациях, [url=https://torrentpier.me/forum/]посетите наш форум[/url].\n\nТакже напоминаем, что у проекта TorrentPier есть несколько сайтов, которые могут оказаться полезны для вас:\n[list]\n[*]Форум: https://torrentpier.me/forum/\n[*]Демо-версия: https://demo.torrentpier.me/\n[*]Инструкция: https://docs.torrentpier.me/\n[*]Центр загрузки: https://get.torrentpier.me/\n[*]Перевод на другие языки: https://crowdin.com/project/torrentpier\n[/list]\nНе забудьте добавить их себе в закладки и регулярно проверять наличие новых версий движка на нашем форуме, для своевременного обновления.\n\nНе сомневаемся, вам под силу создать самый лучший трекер. Удачи!'); + 'Благодарим вас за установку новой версии TorrentPier Aurochs!\n\nЧто делать дальше? Сперва настройте ваш сайт в администраторском разделе. Измените базовые опции: заголовок сайта, число сообщений на страницу, часовой пояс, язык по-умолчанию, настройки сидбонусов, дней рождения и т.д. Создайте несколько форумов, а также не забудьте переименовать или удалить этот. Обязательно настройте возможность создания релизов в созданных вами разделах и добавьте [url=https://torrentpier.com/threads/25867/]шаблоны оформления раздач[/url] для них. Если у вас возникнут вопросы или потребность в дополнительных модификациях, [url=https://torrentpier.com/forum/]посетите наш форум[/url].\n\nТакже напоминаем, что у проекта TorrentPier есть несколько сайтов, которые могут оказаться полезны для вас:\n[list]\n[*]Форум: https://torrentpier.com/forum/\n[*]Демо-версия: https://demo.torrentpier.com/\n[*]Инструкция: https://docs.torrentpier.com/\n[*]Центр загрузки: https://get.torrentpier.com/\n[*]Перевод на другие языки: https://crowdin.com/project/torrentpier\n[/list]\nНе забудьте добавить их себе в закладки и регулярно проверять наличие новых версий движка на нашем форуме, для своевременного обновления.\n\nНе сомневаемся, вам под силу создать самый лучший трекер. Удачи!'); -- ---------------------------- -- Table structure for `bb_privmsgs` @@ -1339,14 +1339,14 @@ INSERT INTO `bb_users` VALUES '144', '0', '0', '0', '0000-00-00', - 'bot@torrentpier.me', '', '', '', '', '', '', '', '', '', '', '', '0', '0.00', 'default'); + 'bot@torrentpier.com', '', '', '', '', '', '', '', '', '', '', '', '0', '0.00', 'default'); INSERT INTO `bb_users` VALUES ('2', '1', 'admin', 'c3284d0f94606de1fd2af172aba15bf3', '0', '0', '0', UNIX_TIMESTAMP(), '0', '1', '1', '', 'ru', '0', '0', '0', '304', '1', '0', '0', '0000-00-00', - 'admin@torrentpier.me', '', '', '', '', '', '', '', '', '', '', '', '0', '0.00', 'default'); + 'admin@torrentpier.com', '', '', '', '', '', '', '', '', '', '', '', '0', '0.00', 'default'); -- ---------------------------- -- Table structure for `bb_user_group` diff --git a/library/config.php b/library/config.php index 1067b7269..f984a5905 100644 --- a/library/config.php +++ b/library/config.php @@ -27,7 +27,7 @@ if (!defined('BB_ROOT')) { die(basename(__FILE__)); } -$domain_name = 'torrentpier.me'; // enter here your primary domain name of your site +$domain_name = 'torrentpier.com'; // enter here your primary domain name of your site $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $domain_name; $bb_cfg = []; diff --git a/library/includes/page_footer.php b/library/includes/page_footer.php index 0e30beff8..25c8d0879 100644 --- a/library/includes/page_footer.php +++ b/library/includes/page_footer.php @@ -32,7 +32,7 @@ global $bb_cfg, $userdata, $template, $DBS, $lang; if (!empty($template)) { $template->assign_vars(array( 'SIMPLE_FOOTER' => !empty($gen_simple_header), - 'POWERED' => 'Tracker software by TorrentPier © 2005-' . date('Y'), + 'POWERED' => 'Tracker software by TorrentPier © 2005-' . date('Y'), 'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')), 'ADMIN_LINK_HREF' => "admin/index.php", )); diff --git a/library/includes/torrent_announce_urls.php b/library/includes/torrent_announce_urls.php index 3d3954515..3a55a66d0 100644 --- a/library/includes/torrent_announce_urls.php +++ b/library/includes/torrent_announce_urls.php @@ -30,7 +30,7 @@ if (!defined('BB_ROOT')) { $announce_urls = array(); // Here you can define additional allowed announce urls -// For example, if you want to add http://demo.torrentpier.me -// add this line: $announce_urls[] = 'http://demo.torrentpier.me/bt/announce.php'; +// For example, if you want to add http://demo.torrentpier.com +// add this line: $announce_urls[] = 'http://demo.torrentpier.com/bt/announce.php'; -// $announce_urls[] = 'http://demo.torrentpier.me/bt/announce.php'; +// $announce_urls[] = 'http://demo.torrentpier.com/bt/announce.php'; diff --git a/library/language/source/html/sidebar1.html b/library/language/source/html/sidebar1.html index e33754d0e..43553651b 100644 --- a/library/language/source/html/sidebar1.html +++ b/library/language/source/html/sidebar1.html @@ -13,8 +13,8 @@

FAQ

diff --git a/library/language/source/main.php b/library/language/source/main.php index ca46472aa..8e8ccf5a1 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -2747,7 +2747,7 @@ $lang['SITEMAP_BING_1'] = 'Register your site at http://torrentpier.me/favicon.png - + http://torrentpier.com/favicon.png + diff --git a/opensearch_desc_bt.xml b/opensearch_desc_bt.xml index 3551e6192..b70ac4eef 100644 --- a/opensearch_desc_bt.xml +++ b/opensearch_desc_bt.xml @@ -3,6 +3,6 @@ TorrentPier (Tracker) TorrentPier (Tracker) UTF-8 - http://torrentpier.me/favicon.png - + http://torrentpier.com/favicon.png + diff --git a/package.json b/package.json index 3c643d0c9..1a8da2dc9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Bull-powered BitTorrent tracker engine", "main": "index.js", "repository": "git@github.com:torrentpier/torrentpier.git", - "author": "Exile ", + "author": "Exile ", "license": "MIT", "dependencies": { "jquery": "^3.2.1" diff --git a/robots.txt b/robots.txt index 9944263bb..d72f95ae7 100644 --- a/robots.txt +++ b/robots.txt @@ -9,5 +9,5 @@ Disallow: /posting.php Disallow: /privmsg.php Disallow: /profile.php -Host: torrentpier.me -Sitemap: http://torrentpier.me/sitemap.xml +Host: torrentpier.com +Sitemap: http://torrentpier.com/sitemap.xml diff --git a/src/Legacy/Common/User.php b/src/Legacy/Common/User.php index cd42e7942..992f364e7 100644 --- a/src/Legacy/Common/User.php +++ b/src/Legacy/Common/User.php @@ -257,7 +257,7 @@ class User $sql = "SELECT ban_id FROM " . BB_BANLIST . " WHERE $where_sql LIMIT 1"; if (DB()->fetch_row($sql)) { - header('Location: https://torrentpier.me/banned/'); + header('Location: https://torrentpier.com/banned/'); } } diff --git a/styles/templates/posting_tpl.tpl b/styles/templates/posting_tpl.tpl index 67eeb9e2e..7e199d733 100644 --- a/styles/templates/posting_tpl.tpl +++ b/styles/templates/posting_tpl.tpl @@ -119,7 +119,7 @@ var TPL = { // значения для автозаполнителя формы. если не определено, то заполняется названием year : 2011, - poster : 'https://demo.torrentpier.me/styles/images/logo/logo.pngs', + poster : 'https://demo.torrentpier.com/styles/images/logo/logo.png', screenshots : 'http://img462.imageshack.us/img462/8360/snapshot20070911141251ee8.png\n[img]http://img513.imageshack.us/img513/7226/snapshot20070911141324ey9.png[/img]\nhttp://img513.imageshack.us/img513/2809/snapshot20070911141335tt2.png\n[img]http://img211.imageshack.us/img211/2936/snapshot20070911141603ew2.png[/img]', // dummy