Commit graph

599 commits

Author SHA1 Message Date
Hypolite Petovan 5a01c53781 Move admin/queue to src/Module
- Add Module\Admin\Queue class
- Add route for admin/queue[/deferred]
- Add queue admin aside menu entry
- Remove obsolete templates/admin/queue.tpl from base and frio
- Move templates/admin/workerqueue.tpl to templates/admin/queue.tpl
- Remove admin_page_workerqueue and admin_page_workerqueue_post from mod/admin.php
- Update admin/summary.tpl with new queue admin paths
2019-05-02 09:52:48 -04:00
Hypolite Petovan 5750623b48 Move admin/blocklist/server to src/Module
- Add Module\Admin\Blocklist\Server class
- Add route for admin/blocklist/server
- Add server blocklist admin aside menu entry
- Move templates/admin/blocklist.tpl to templates/admin/blocklist/server.tpl
- Remove admin_page_blocklist and admin_page_blocklist_post from mod/admin.php
2019-05-02 09:52:47 -04:00
Hypolite Petovan cf885841c8 Move admin/blocklist/contact to src/Module
- Add Module\Admin\ContactBlock\Contact class
- Add route for admin/blocklist/contact
- Add contact blocklist admin aside menu entry
- Move templates/admin/contactblock.tpl to templates/admin/blocklist/contact.tpl in base and frio
- Remove admin_page_contactblock and admin_page_contactblock_post from mod/admin.php
2019-05-02 09:52:46 -04:00
Hypolite Petovan 446cb905e4 Move admin/features to src/Module
- Add Module\Admin\Features class
- Add route for admin/features
- Add features admin aside menu entry
- Move templates/admin/settings_features.tpl to templates/admin/features.tpl
- Remove admin_page_features and admin_page_features_post from mod/admin.php
2019-05-02 09:52:46 -04:00
Hypolite Petovan f3f055758c Move admin/users to src/Module
- Add Module\Admin\Users class
- Add route for admin/users[/{action}/{uid}]
- Add users admin aside menu entry
- Remove admin_page_users and admin_page_users_post from mod/admin.php
2019-05-02 09:52:45 -04:00
Hypolite Petovan 87e51ddd67 Move admin/addons/{addon} to src/Module
- Add Module\Admin\Addons\Details class
- Add route for admin/addons/{addon}
- Remove addons pages from mod/admin
2019-05-02 09:52:44 -04:00
Hypolite Petovan 9bbb438534 Move admin/addons to src/Module
- Add Module\Admin\Addons\Index class
- Add route for admin/addons
- Add addons admin aside menu entry
- Remove unused template admin/addons.tpl from base and frio
- Remove addon list from mod/admin
2019-05-02 09:52:44 -04:00
Hypolite Petovan a13bc14933 Move admin/themes to src/Module
- Add Module\Admin\Themes\Index class
- Add route for admin/themes
- Add themes admin aside menu entry
- Add admin/addons/index.tpl template
- Remove theme list from mod/admin
2019-05-02 09:52:43 -04:00
Hypolite Petovan 488e425416 Move admin/tos to src/Module
- Add Module\Admin\Tos class
- Add route for admin/tos
- Add admin aside menu entry
- Remove admin_page_tos and admin_page_tos_post from mod/admin.php
2019-05-02 09:52:42 -04:00
Hypolite Petovan 35d222f95d Move admin/federation to src/Module
- Add Module\Admin\Federation class
- Add missing abstract keyword in Module\BaseAdminModule
- Add route for admin/federation
- Remove admin_page_federation()  from mod/admin.php
2019-05-02 09:52:42 -04:00
Hypolite Petovan 6387a77b52 Move admin summary to src/Module
- Add BaseAdminModule class
- Add Module\Admin\Summary class
- Add Route for Admin\Summary module
- Remove admin_page_summary() in mod/admin
- Remove $showwarning variable from admin/summary.tpl
2019-05-02 09:52:41 -04:00
Steffen K9 0719f6436b
Fix parenthesis encoding in admin.php
Parenthesis in admin, site, worker, frontend worker have wrong encoding.
2019-04-28 11:02:11 +02:00
Hypolite Petovan 75387ea171
Merge pull request #6991 from fabrixxm/fix/invalid-storage-on-legacy
Allow set empty string storage class for legacy
2019-04-11 09:04:48 -04:00
fabrixxm d2e43619b3 Code standards 2019-04-11 10:44:28 +02:00
fabrixxm 5a07afbc14 Use direct logic 2019-04-10 20:57:22 +02:00
fabrixxm 47aa9daf5a Tweak storage selection in admin page
Don't call `StorageManager::setBackend()` on save when legacy is selected,
dont't show legacy option in selectbox after backend is changed from legacy
2019-04-10 08:40:50 +02:00
Philipp Holzer 318a3ca785
Create own base URL class which holds the whole base url business logic 2019-04-09 08:31:16 +02:00
Michael 46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
Tobias Diekershoff 1db0a29291 beautification of pleroma stats 2019-04-05 06:39:34 +02:00
Philipp Holzer 06175ede1e
forgot admin setting 2019-03-24 22:58:36 +01:00
Philipp Holzer 23654ce566
Added Update checks
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
Philipp Holzer 49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
Philipp Holzer fa31bb6dde
remove basepath and hostname from admin panel and add update path 2019-03-24 13:47:31 +01:00
Hypolite Petovan 7e2e2f425e Check that provided class implements IStorage in StorageManager::setBackend
- Add notice in admin if setting value change failed
- Add notice in console if setting value change failed
2019-03-19 22:42:44 -04:00
Michael f2560c42d1 Reduce the default maximum load for the worker to 20 2019-03-02 18:41:12 +00:00
Roland Häder 9fa812b35d
Rewrites:
- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability

Signed-off-by: Roland Häder <roland@mxchange.org>
2019-02-19 01:56:41 +01:00
Hypolite Petovan 066ad8c01b Add PortableContact constants
- Fix typo in mod/admin
- Replace deprecated Logger::log calls
2019-02-08 08:38:13 -05:00
Hypolite Petovan 01b7a3976f
Merge pull request #6593 from tobiasd/20190206-can
Storage Backend: wording of admin panel help
2019-02-06 11:18:53 -05:00
Tobias Diekershoff a675bd5fa4 clarification 2019-02-06 17:15:14 +01:00
Hypolite Petovan a0b14a46cb
Merge pull request #6581 from nupplaphil/config_refact
Config Refactoring
2019-02-06 09:57:41 -05:00
Tobias Diekershoff 9f7fdb1bff Storage Backend: wording of admin panel help 2019-02-06 07:35:57 +01:00
Tobias Diekershoff b654784396 File storage options, naming of the default option and EN docs 2019-02-05 16:30:46 +01:00
Philipp Holzer 1e0e1674f2
4) Adding Factories to other entrypoints 2019-02-03 22:46:50 +01:00
Philipp Holzer 4af0119b73
3) Introducing ConfigFactory 2019-02-03 22:22:04 +01:00
Tobias Diekershoff cb72a5fd3b look in the config directory for the file 2019-01-30 10:40:28 +01:00
Tobias Diekershoff b26d09d62b warn in admin panel when legacy config is used 2019-01-30 07:09:47 +01:00
Hypolite Petovan 0c12d8af5f Rename conflicted variable $info in admin settings 2019-01-28 21:45:43 -05:00
Hypolite Petovan bfc0729752 Use new log levels in admin log settings page 2019-01-23 09:07:01 -05:00
Hypolite Petovan cef6757c92 Replace REGISTER_* constants by Module\Register::* ones 2019-01-22 22:24:15 -05:00
Hypolite Petovan 7f2dc40601 Fix potential bugs without expected behavior change
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
Hypolite Petovan 3d839bb176 Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00
Hypolite Petovan ad9c67663d Move Contact::Page_* constants to User::PAGE_FLAGS_* 2019-01-21 10:55:37 -05:00
Hypolite Petovan af9067a381 Update PHPDoc in mod/ 2019-01-21 10:39:27 -05:00
Hypolite Petovan 895b3abf32 Remove/replace killme() with *exit() 2019-01-21 09:49:17 -05:00
fabrixxm 204c5a4d99 Don't try to save form for "None" backend. 2019-01-21 09:12:32 -05:00
fabrixxm 3f03f3b4b7 Don't try to build form for "None" backend.
Fix #6266
2019-01-21 09:12:32 -05:00
fabrixxm fdc6608af8 Add storage options form in admin/site page 2019-01-21 09:11:39 -05:00
Hypolite Petovan f4502af239 Fix docblock in mod/admin.php 2019-01-19 22:04:01 -05:00
Hypolite Petovan 6aa0899d67 Move theme selection to init() in mod/admin 2019-01-19 21:53:17 -05:00
Hypolite Petovan e86b8ef782 Use nickname instead of email for Login Name 2019-01-03 20:42:29 -05:00