/[smeserver]/rpms/e-smith-manager/sme8/e-smith-manager-2.2.0-bz10172-SME8eol.patch
ViewVC logotype

Contents of /rpms/e-smith-manager/sme8/e-smith-manager-2.2.0-bz10172-SME8eol.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Mar 26 00:01:26 2017 UTC (7 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-manager-2_2_0-14_el5_sme, HEAD
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.0-14.sme
- warn administrator that SME8 is EOL and they should migrate to SME9 [SME: 10172]
- a message has been added in server-manager in order to alert administrator to migrate to SME9

1 --- e-smith-manager-2.2.0/root/etc/e-smith/templates/etc/e-smith/web/common/head.tmpl/30FrameSetup01.old 2014-02-18 01:29:31.000000000 -0500
2 +++ e-smith-manager-2.2.0/root/etc/e-smith/templates/etc/e-smith/web/common/head.tmpl/30FrameSetup01 2017-03-25 19:55:23.000000000 -0400
3 @@ -38,6 +38,15 @@
4 if ($DB->get('bootstrap-console') and $DB->get('bootstrap-console')->prop('Run') eq 'yes') ||
5 ($DB->get('UnsavedChanges') and $DB->get('UnsavedChanges')->value eq 'yes');
6
7 + # SME v8 End of Life message
8 + use POSIX qw(strftime);
9 + my $curdate = strftime '%Y%m%d', localtime;
10 + $OUT .= qq(<div class="sme-error"><h5>
11 + URGENT NOTICE: As per March 31st 2017, SME Server 8 is obsolete, and potentially INSECURE. NO support will be offered for any issue found with this installed version.
12 + Please migrate IMMEDIATELY to Koozali SME Server 9 or higher version. Failure to upgrade may lead to the compromise of this server.
13 + </br>Please, consult <a href="https://wiki.contribs.org/SME_Server:Download" target="_blank">https://wiki.contribs.org/SME_Server:Download</a> to get last available version.</h5></div>)
14 + if ( "$curdate" >= "20170331");
15 +
16 $OUT;
17
18 \}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed