Minor improvements (#271)

* Minor improvements

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2023-09-25 22:47:23 +07:00 committed by GitHub
parent 4957434540
commit 578fdae51a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View File

@ -10,7 +10,7 @@
- Added missing translation in admin_ug_auth [\#254](https://github.com/torrentpier/torrentpier-lts/pull/254) ([belomaxorka](https://github.com/belomaxorka)) - Added missing translation in admin_ug_auth [\#254](https://github.com/torrentpier/torrentpier-lts/pull/254) ([belomaxorka](https://github.com/belomaxorka))
- Support for IDN domains [\#252](https://github.com/torrentpier/torrentpier-lts/pull/252) ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky)) - Support for IDN domains [\#252](https://github.com/torrentpier/torrentpier-lts/pull/252) ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky))
- Fixed cache directory auto-creating with SQLite [\#247](https://github.com/torrentpier/torrentpier-lts/pull/247) ([belomaxorka](https://github.com/belomaxorka)) - Fixed cache directory auto-creating with SQLite [\#247](https://github.com/torrentpier/torrentpier-lts/pull/247) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253), [\#255](https://github.com/torrentpier/torrentpier-lts/pull/255), [\#256](https://github.com/torrentpier/torrentpier-lts/pull/256), [\#257](https://github.com/torrentpier/torrentpier-lts/pull/257), [\#258](https://github.com/torrentpier/torrentpier-lts/pull/258), [\#259](https://github.com/torrentpier/torrentpier-lts/pull/259), [\#261](https://github.com/torrentpier/torrentpier-lts/pull/261), [\#262](https://github.com/torrentpier/torrentpier-lts/pull/262), [\#263](https://github.com/torrentpier/torrentpier-lts/pull/263), [\#264](https://github.com/torrentpier/torrentpier-lts/pull/264), [\#265](https://github.com/torrentpier/torrentpier-lts/pull/265), [\#266](https://github.com/torrentpier/torrentpier-lts/pull/266), [\#267](https://github.com/torrentpier/torrentpier-lts/pull/267), [\#268](https://github.com/torrentpier/torrentpier-lts/pull/268), [\#269](https://github.com/torrentpier/torrentpier-lts/pull/269), [\#270](https://github.com/torrentpier/torrentpier-lts/pull/270) ([belomaxorka](https://github.com/belomaxorka)) - Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253), [\#255](https://github.com/torrentpier/torrentpier-lts/pull/255), [\#256](https://github.com/torrentpier/torrentpier-lts/pull/256), [\#257](https://github.com/torrentpier/torrentpier-lts/pull/257), [\#258](https://github.com/torrentpier/torrentpier-lts/pull/258), [\#259](https://github.com/torrentpier/torrentpier-lts/pull/259), [\#261](https://github.com/torrentpier/torrentpier-lts/pull/261), [\#262](https://github.com/torrentpier/torrentpier-lts/pull/262), [\#263](https://github.com/torrentpier/torrentpier-lts/pull/263), [\#264](https://github.com/torrentpier/torrentpier-lts/pull/264), [\#265](https://github.com/torrentpier/torrentpier-lts/pull/265), [\#266](https://github.com/torrentpier/torrentpier-lts/pull/266), [\#267](https://github.com/torrentpier/torrentpier-lts/pull/267), [\#268](https://github.com/torrentpier/torrentpier-lts/pull/268), [\#269](https://github.com/torrentpier/torrentpier-lts/pull/269), [\#270](https://github.com/torrentpier/torrentpier-lts/pull/270), [\#271](https://github.com/torrentpier/torrentpier-lts/pull/271) ([belomaxorka](https://github.com/belomaxorka))
## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17) ## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17)
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix)

View File

@ -2,9 +2,9 @@
if (!defined('IN_AJAX')) die(basename(__FILE__)); if (!defined('IN_AJAX')) die(basename(__FILE__));
global $userdata; global $userdata, $lang;
if (!IS_SUPER_ADMIN) $this->ajax_die('not auth'); if (!IS_SUPER_ADMIN) $this->ajax_die($lang['NOT_AUTHORISED']);
array_deep($this->request, 'trim'); array_deep($this->request, 'trim');

View File

@ -299,10 +299,10 @@ $bb_cfg['smtp_port'] = 25; // SMTP порт сервера
$bb_cfg['smtp_username'] = ''; // указать имя пользователя SMTP (если требуется) $bb_cfg['smtp_username'] = ''; // указать имя пользователя SMTP (если требуется)
$bb_cfg['smtp_password'] = ''; // указать пароль для SMTP (если требуется) $bb_cfg['smtp_password'] = ''; // указать пароль для SMTP (если требуется)
$bb_cfg['board_email'] = "noreply@$domain_name"; // admin email address $bb_cfg['board_email'] = "noreply@$domain_name"; // почта с которой будет происходить отправка писем, она же будет указываться как почта сайта
$bb_cfg['board_email_form'] = false; // can users send email to each other via board $bb_cfg['board_email_form'] = false; // могут ли пользователи отправлять друг другу электронные письма через сайт
$bb_cfg['board_email_sig'] = ''; // this text will be attached to all emails the board sends $bb_cfg['board_email_sig'] = ''; // подпись под сообщениями
$bb_cfg['board_email_sitename'] = $domain_name; // sitename used in all emails header $bb_cfg['board_email_sitename'] = $domain_name; // название сайта (хост) который будет указываться в сообщениях
$bb_cfg['topic_notify_enabled'] = true; // отправлять ли уведомление на почту, если в теме которую отслеживает пользователь есть новые ответы $bb_cfg['topic_notify_enabled'] = true; // отправлять ли уведомление на почту, если в теме которую отслеживает пользователь есть новые ответы
$bb_cfg['pm_notify_enabled'] = true; // отправлять ли уведомление на почту, если пришло личное письмо на сайте $bb_cfg['pm_notify_enabled'] = true; // отправлять ли уведомление на почту, если пришло личное письмо на сайте
@ -330,17 +330,17 @@ define('SQL_SLOW_QUERY_TIME', 10); // slow query in seconds
define('SQL_PREPEND_SRC_COMM', false); // prepend source file comment to sql query define('SQL_PREPEND_SRC_COMM', false); // prepend source file comment to sql query
// Special users // Special users
$bb_cfg['dbg_users'] = array( $bb_cfg['dbg_users'] = array( // Пользователи которым доступна дебаг панель / отладка (тех. админы например)
# user_id => 'name', # user_id => 'name',
2 => 'admin', 2 => 'admin',
); );
$bb_cfg['unlimited_users'] = array( $bb_cfg['unlimited_users'] = array( // Пользователи на которых не действует ограничение на количество одновременных закачек / раздач
# user_id => 'name', # user_id => 'name',
2 => 'admin', 2 => 'admin',
); );
$bb_cfg['super_admins'] = array( $bb_cfg['super_admins'] = array( // Супер админы (разработчики сайта)
# user_id => 'name', # user_id => 'name',
2 => 'admin', 2 => 'admin',
); );
@ -399,10 +399,10 @@ $bb_cfg['show_poster_joined'] = true; // показывать да
$bb_cfg['show_poster_posts'] = true; // показывать количество постов пользователя в топиках $bb_cfg['show_poster_posts'] = true; // показывать количество постов пользователя в топиках
$bb_cfg['show_poster_from'] = true; // показывать страну пользователя $bb_cfg['show_poster_from'] = true; // показывать страну пользователя
$bb_cfg['show_bot_nick'] = false; // показывать ник бота $bb_cfg['show_bot_nick'] = false; // показывать ник бота
$bb_cfg['text_buttons'] = false; // replace EDIT, QUOTE... images with text links $bb_cfg['text_buttons'] = false; // использоваться текстовые кнопки вместо иконок
$bb_cfg['parse_ed2k_links'] = true; // make ed2k links clickable $bb_cfg['parse_ed2k_links'] = true; // make ed2k links clickable
$bb_cfg['post_date_format'] = 'd-M-Y H:i'; // формат даты публикации в топиках $bb_cfg['post_date_format'] = 'd-M-Y H:i'; // формат даты публикации в топиках
$bb_cfg['ext_link_new_win'] = true; // open external links in new window $bb_cfg['ext_link_new_win'] = true; // открывать внешние (сторонние) ссылки в отдельном окне
$bb_cfg['topic_moved_days_keep'] = 7; // remove topic moved links after xx days (or FALSE to disable) $bb_cfg['topic_moved_days_keep'] = 7; // remove topic moved links after xx days (or FALSE to disable)