add new settings

This commit is contained in:
ghost 2023-09-14 03:27:47 +03:00
parent c5646433f5
commit 99c98b6089

View File

@ -72,6 +72,7 @@ define('USER_DEFAULT_APPROVED', false);
define('USER_AUTO_APPROVE_ON_MAGNET_APPROVE', false); define('USER_AUTO_APPROVE_ON_MAGNET_APPROVE', false);
define('USER_AUTO_APPROVE_ON_COMMENT_APPROVE', false); define('USER_AUTO_APPROVE_ON_COMMENT_APPROVE', false);
define('USER_AUTO_APPROVE_ON_IMPORT_APPROVED', false);
define('USER_DEFAULT_IDENTICON', 'jidenticon'); // jidenticon|false define('USER_DEFAULT_IDENTICON', 'jidenticon'); // jidenticon|false
define('USER_IDENTICON_FIELD', 'address'); // address|userId|... define('USER_IDENTICON_FIELD', 'address'); // address|userId|...
@ -82,6 +83,9 @@ define('MAGNET_DEFAULT_PUBLIC', false);
define('MAGNET_DEFAULT_COMMENTS', true); define('MAGNET_DEFAULT_COMMENTS', true);
define('MAGNET_DEFAULT_SENSITIVE', false); define('MAGNET_DEFAULT_SENSITIVE', false);
define('MAGNET_AUTO_APPROVE_ON_IMPORT_APPROVED', true);
define('MAGNET_EDITOR_LOCK_TIMEOUT', 60*60); define('MAGNET_EDITOR_LOCK_TIMEOUT', 60*60);
define('MAGNET_TITLE_MIN_LENGTH', 10); define('MAGNET_TITLE_MIN_LENGTH', 10);
@ -125,18 +129,19 @@ define('API_VERSION', 1);
define('API_EXPORT_ENABLED', true); define('API_EXPORT_ENABLED', true);
define('API_EXPORT_USERS_ENABLED', true); define('API_EXPORT_USERS_ENABLED', true); // depends of API_EXPORT_ENABLED
define('API_EXPORT_MAGNETS_ENABLED', true); define('API_EXPORT_MAGNETS_ENABLED', true); // depends of API_EXPORT_ENABLED
define('API_EXPORT_DOWNLOADS_ENABLED', true); define('API_EXPORT_DOWNLOADS_ENABLED', true); // depends of API_EXPORT_ENABLED
define('API_EXPORT_COMMENTS_ENABLED', true); define('API_EXPORT_COMMENTS_ENABLED', true); // depends of API_EXPORT_ENABLED
define('API_EXPORT_STARS_ENABLED', true); define('API_EXPORT_STARS_ENABLED', true); // depends of API_EXPORT_ENABLED
define('API_EXPORT_VIEWS_ENABLED', true); define('API_EXPORT_VIEWS_ENABLED', true); // depends of API_EXPORT_ENABLED
define('API_IMPORT_ENABLED', true); define('API_IMPORT_ENABLED', true);
define('API_IMPORT_USERS_ENABLED', true); define('API_IMPORT_USERS_ENABLED', true); // depends of API_IMPORT_ENABLED
define('API_IMPORT_MAGNETS_ENABLED', true);
define('API_IMPORT_DOWNLOADS_ENABLED', true); define('API_IMPORT_MAGNETS_ENABLED', true); // depends of API_IMPORT_ENABLED, API_IMPORT_USERS_ENABLED
define('API_IMPORT_COMMENTS_ENABLED', true); define('API_IMPORT_DOWNLOADS_ENABLED', true); // depends of API_IMPORT_ENABLED, API_IMPORT_USERS_ENABLED, API_IMPORT_MAGNETS_ENABLED
define('API_IMPORT_STARS_ENABLED', true); define('API_IMPORT_COMMENTS_ENABLED', true); // depends of API_IMPORT_ENABLED, API_IMPORT_USERS_ENABLED, API_IMPORT_MAGNETS_ENABLED
define('API_IMPORT_VIEWS_ENABLED', true); define('API_IMPORT_STARS_ENABLED', true); // depends of API_IMPORT_ENABLED, API_IMPORT_USERS_ENABLED, API_IMPORT_MAGNETS_ENABLED
define('API_IMPORT_VIEWS_ENABLED', true); // depends of API_IMPORT_ENABLED, API_IMPORT_USERS_ENABLED, API_IMPORT_MAGNETS_ENABLED