This PR aims at migrating most settings from config.php towards the DB, with several objectives:
Ease initial setup (only poracle DB, admin_id and discord redirects are still required in config.php, all the rest can be done directly from the interface).
Easier on the fly settings update directly from the interface
Better visibility on "Server Status". Status of DB connection, API connection or caching will be shown.
A migration is included. Settings from config.php will be used until you click the save button on the new page. Once done DB settings take priority and old settings can be removed from config.php.
README has been updated to help on fresh install.
Delegated administration is also part of this PR. If configured properly on PoracleJS side, this will allow you to give specific user access to only "User Management" and/or "Channel Management" and to limit which channels they are eventually allowed to administer.
This PR aims at migrating most settings from config.php towards the DB, with several objectives:
A migration is included. Settings from config.php will be used until you click the save button on the new page. Once done DB settings take priority and old settings can be removed from config.php.
README has been updated to help on fresh install.
Delegated administration is also part of this PR. If configured properly on PoracleJS side, this will allow you to give specific user access to only "User Management" and/or "Channel Management" and to limit which channels they are eventually allowed to administer.