Files
sm-feedback-plugin/controllers/admin_registry.go
Jakub Zych af5d77c997 feat: G15Office job, widget settings and submissions admin, embed.js and the settings importer
- SyncG15Office files each submission as a G15Office task with its screenshot through a fetchguard client limited to the configured host; a River job with 3 attempts, PHP's messages on failure, nothing sent when unconfigured
- the replay of PHP's recorded G15Office exchange (classes/testdata) asserts the task JSON, headers and the screenshot part
- settings screen (cabana field types only), read-only submissions list, manage_settings permission and navigation
- embed.js served byte for byte at /plugins/golem15/feedback/assets/js/embed.js
- feedback:import-settings copies the WinterCMS settings row once
2026-10-04 00:22:08 +02:00

14 lines
518 B
Go

// Package controllers holds the golem15.feedback admin controllers.
package controllers
import "git.golem15.com/golem15/summercms/modules/pact"
// PermissionManageSettings guards the widget settings and the submissions
// list (WinterCMS registers it for the developer role).
const PermissionManageSettings = "golem15.feedback.manage_settings"
// AdminControllers lists the plugin's admin controllers.
func AdminControllers() []pact.AdminController {
return []pact.AdminController{SubmissionsAdminController{}}
}