fix(plugins): set is_core=True for all built-in plugins
Check Cross-Plugin Imports / check (push) Has been cancelled
Check Cross-Plugin Imports / check (push) Has been cancelled
All built-in plugins should be auto-activated. The is_core flag was only set on some plugins, leaving Mail, DMS, Calendar, Automation, Unified Search etc. inactive by default.
This commit is contained in:
@@ -42,7 +42,7 @@ class AIProactivePlugin(BasePlugin):
|
|||||||
"ai_proactive:write",
|
"ai_proactive:write",
|
||||||
"ai_proactive:config",
|
"ai_proactive:config",
|
||||||
],
|
],
|
||||||
is_core=False,
|
is_core=True,
|
||||||
settings_pages=[
|
settings_pages=[
|
||||||
FrontendSettingsPage(path='ai-proactive', label_key='settings.aiProactive', label='Proactive AI', component='@/pages/ProactiveAISettings', icon='Sparkles', order=61),
|
FrontendSettingsPage(path='ai-proactive', label_key='settings.aiProactive', label='Proactive AI', component='@/pages/ProactiveAISettings', icon='Sparkles', order=61),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class AutomationPlugin(BasePlugin):
|
|||||||
"agents:delete",
|
"agents:delete",
|
||||||
"agents:execute",
|
"agents:execute",
|
||||||
],
|
],
|
||||||
is_core=False,
|
is_core=True,
|
||||||
menu_items=[
|
menu_items=[
|
||||||
FrontendMenuItem(
|
FrontendMenuItem(
|
||||||
label_key="nav.workflows",
|
label_key="nav.workflows",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class ForgejoErrorReporterPlugin(BasePlugin):
|
|||||||
version="1.0.0",
|
version="1.0.0",
|
||||||
display_name="Forgejo Error Reporter",
|
display_name="Forgejo Error Reporter",
|
||||||
description="Automatically reports errors to Forgejo as issues. Test environment only.",
|
description="Automatically reports errors to Forgejo as issues. Test environment only.",
|
||||||
is_core=False,
|
is_core=True,
|
||||||
dependencies=[],
|
dependencies=[],
|
||||||
events=[],
|
events=[],
|
||||||
migrations=[],
|
migrations=[],
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class SystemNotifPlugin(BasePlugin):
|
|||||||
],
|
],
|
||||||
migrations=[],
|
migrations=[],
|
||||||
permissions=["system_notif:read"],
|
permissions=["system_notif:read"],
|
||||||
is_core=False,
|
is_core=True,
|
||||||
settings_pages=[
|
settings_pages=[
|
||||||
FrontendSettingsPage(path='notifications', label_key='settings.notifications', label='Notifications', component='@/pages/SettingsNotifications', icon='Bell', order=40),
|
FrontendSettingsPage(path='notifications', label_key='settings.notifications', label='Notifications', component='@/pages/SettingsNotifications', icon='Bell', order=40),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class UnifiedSearchPlugin(BasePlugin):
|
|||||||
],
|
],
|
||||||
migrations=["0001_initial.sql", "0002_embeddings.sql", "0003_add_deleted_at.sql"],
|
migrations=["0001_initial.sql", "0002_embeddings.sql", "0003_add_deleted_at.sql"],
|
||||||
permissions=["search:read", "search:admin"],
|
permissions=["search:read", "search:admin"],
|
||||||
is_core=False,
|
is_core=True,
|
||||||
page_routes=[
|
page_routes=[
|
||||||
FrontendPageRoute(path='/search', component='@/pages/GlobalSearchResults', protected=True),
|
FrontendPageRoute(path='/search', component='@/pages/GlobalSearchResults', protected=True),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user