Knowledge Base stage 1: articles written once for every client in a new main-menu Knowledge Base, with title, summary, category, tags, editor content and pictures, drafts and publishing, a version kept on every edit and restorable, review cadence with Review due, the standard list with search, category and tag filters, views and bulk actions, copying an article or a client document into a draft, global search group and shortcut, Knowledge Base category kind, article tag kind without a client, audit log kind and Modules switch, database 3.9.5, 26.11.9 changelog entries

This commit is contained in:
johnnyq
2026-11-18 16:53:57 -05:00
parent 5b33490f7c
commit 3c0a9c0255
28 changed files with 1701 additions and 19 deletions

View File

@@ -29,12 +29,16 @@ $modules = [
'config_module_enable_purchasing' => [$config_module_enable_purchasing ?? 0, 'fa-truck-loading', 'To Order, purchase orders to your vendors, and receiving into stock or client assets.', 'config_module_enable_accounting'],
'config_module_enable_trips' => [$config_module_enable_trips ?? 1, 'fa-route', 'Trips and mileage - logged, billed to clients and claimed back.', 'config_module_enable_accounting'],
'config_module_enable_calendar' => [$config_module_enable_calendar ?? 1, 'fa-calendar-alt', 'The calendar, its events and the calendar feeds. Tickets are still booked, and show on Dispatch.', ''],
'config_module_enable_kb' => [$config_module_enable_kb ?? 1, 'fa-book', 'Knowledge Base articles - how-tos and fixes written once, for every client, with their categories, versions and reviews.', ''],
'config_client_portal_enable' => [$config_client_portal_enable, 'fa-user-shield', 'Where your clients\' contacts sign in to raise tickets, see their invoices and pay.', ''],
];
// Before database 3.9.4 adds them, only the first four are there to switch
// Before database 3.9.4 adds them, only the first four are there to switch - and the Knowledge Base comes with 3.9.5
if (!isset($config_module_enable_calendar)) {
$modules = array_intersect_key($modules, array_flip(['config_module_enable_itdoc', 'config_module_enable_ticketing', 'config_module_enable_accounting', 'config_client_portal_enable']));
}
if (!isset($config_module_enable_kb)) {
unset($modules['config_module_enable_kb']);
}
echo settingsPageStart('module');