mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 195 forks source link

[#1636] Show AlaveteliConfiguration in admin interface #8280

Open garethrees opened 4 months ago

garethrees commented 4 months ago

Relevant issue(s)

Fixes #1636

What does this do?

Extract AdminGeneralController#debug to Admin::DebugController#index, tidy up its view, and render a sanitised version ofAlaveteliConfiguration so that admins can view the configuration without a server ssh session.

Why was this needed?

Helps less technical users and admins of Alavetelis hosted by mySociety.

Playing around with speaking at chatGPT after work because I was annoyed at having to ssh to figure out the AlaveteliConfiguration.reply_very_late_after_days value.

Implementation notes

Weird issue with the routing – will try to resolve that before merge

Screenshots

Screenshot 2024-05-29 at 18 48 22