mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 04:40:45 +09:00
* Add "widgets" to the list of core modules * Patch 44 for widget support * +Widgets module * Basic widget discovery * +Render logic * +render_widget_slot Twig function * +get_list * +Basic settings page to list active widgets * +Add an `enabled` column to toggle the widget * +disconnectUnavailable * Catch exceptions while rendering templates and display an error block * Types, checks and stuff * +Add widgets/batch_connect to the crons Also removed the 11+ year old "finish fixing, time to sleep" docblock * Demonstration: Replace hardcoded branding text with a widget * Changed the directory structure * +Add an error block for the admin panel * +Added the `widgets` table * Actually this is pretty unnecessary. * "render_widget_slot" -> "render_widgets" * Updated the dates * Also inject admin/client API if accessible * +Add an options column * Implemented optional "add_br" toggle * Log the exception * Redid the widgets module * Added a few new slots * If even the error template fails, there are bigger problems. Just display the error instead of catching it. * Created and implemented WidgetProviderInterface --------- Co-authored-by: Adam Daley <admdly@users.noreply.github.com>