<div dir="ltr">Good work. We know this is a labor of love for you, and we appreciate the time all this takes.<div><br></div><div>Thank you.</div><div><br></div><div>How can I buy you beer/coffee?</div><div><br></div><div>Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 12, 2022 at 5:56 PM Michael Stauber <<a href="mailto:mstauber@blueonyx.it">mstauber@blueonyx.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Another progress report on the BlueOnyx 5211R development:<br>
<br>
The two most complicated GUI modules have just been ported entirely to <br>
the new GUI format:<br>
<br>
base-vsite<br>
base-user<br>
<br>
These two aren't the only finished modules so far, but they took the <br>
most time due to plenty of complications. Most of the GUI pages of these <br>
two modules use Extensions. Which are modular page snippets to insert <br>
into main GUI pages in a modular fashion to display and handle form data <br>
for individual elements.<br>
<br>
The whole extension management had to be ported first and then all <br>
extensions and next the individual GUI pages.<br>
<br>
That also brought up some fundamental issues like the fact that the PHP <br>
functions each() and strftime() are either deprecated or have been <br>
outright removed from PHP-8.1. We used each() in a few ancient libraries <br>
form the Cobalt days in a while <-> each fashion. Which was even slower <br>
than simply using for(...) instead. That was easy to fix.<br>
<br>
However, the deprecation of strftime() was a real bummer. I mean: COME <br>
ON! Converting date and times from one format to another like from Linux <br>
timestamp to a date formatted in German, Danish, Spanish or English <br>
(etc.) is already an endeavor in itself. But doing so in the new <br>
IntlDateFormatter() (the function that replaced it) is even more <br>
ridiculous. <sigh><br>
<br>
I lost two days over that one alone, until I said "Fuck it!" and used <br>
the composer-package php81_bc/strftime that replicates the deprecated <br>
strftime() as closely as possible via a PHP Class.<br>
<br>
With that out of the way the whole Vsite and User management is now <br>
working in 5211R, including the more exotic stuff like ImapSync, <br>
vacation messages, autoresponders and reseller management.<br>
<br>
There are still plenty of pages left to convert, but these are mostly <br>
straight up wham/bam jobs with simple forms and simple submit <br>
transactions. So that should get finished fairly soon.<br>
<br>
So ... it's moving forward at a pretty good pace right now.<br>
<br>
-- <br>
With best regards<br>
<br>
Michael Stauber<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it" target="_blank">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" rel="noreferrer" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div>