* Thu Sep 04 2025 Brian Read <brianr@koozali.org> 11.1-6.sme

- Add favicon to mailstats table, summary and detailed pages [SME: 13121]
- Bring DB config reading for mailstats itself inline with php summary and detailed logs - using /etc/mailstats/db.php [SME: 13121]
- Remove DB config fields from the SM2 config panel {sme: 13121]
- Arrange for password to be generated and mailstats user to be set with limited permissions [SME: 13121]
This commit is contained in:
2025-09-08 15:24:18 +01:00
parent 52b33e166a
commit 1b757b1336
11 changed files with 95 additions and 108 deletions

View File

@@ -6,8 +6,9 @@ $event = 'smeserver-mailstats-update';
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
foreach my $file (qw(
/etc/systemd/system-preset/49-koozali.preset
/etc/e-smith/sql/init/99smeserver-mailstats.sql
/etc/systemd/system-preset/49-koozali.preset
/etc/mailstats/db.php
/etc/e-smith/sql/init/99mailstats
/etc/httpd/conf/httpd.conf
))
{
@@ -20,7 +21,7 @@ event_link('systemd-reload', $event, '50');
#event_link('action', $event, '30');
#services we need to restart
safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init");;
#and Server Mmanager panel link
#panel_link('somefunction', 'manager');
templates2events("/etc/e-smith/sql/init/99smeserver-mailstats.sql", "post-upgrade");
#templates2events("/etc/e-smith/sql/init/99smeserver-mailstats.sql", "post-upgrade");