diff --git a/debian/changelog b/debian/changelog index abc47c0..0469b01 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,64 @@ +domframework (0.25-1) testing; urgency=low + * Update Unit tests to not depend of configuration + * Update Unit tests to have a distinct database file by test file + * file : all the management of the files, with integrated filesystem checks, + and virtual chroot support + * form : fieldwidth is now functionnal + * form : add the methods getOldValues, getOldErrors, saveValuesErrors and + saveValuesErrorsReset to simplify the codes. + In views : + $form = new \form (); + $values = array (); + $errors = array (); + // If there is saved values, use them, else return the provided $values + $values = $form->getOldValues ($values); + $errors = $form->getOldErrors ($errors); + In index.php : + $form = new \form (); + $values = $form->values (); + $errors = $ipsetsObj->verify ($values); + $form->saveValuesErrors ($values, $errors); + if (count ($errors)) $route->redirect ("/ipsets/add"); + $ipsetsObj->createSet ($values["setname"], $values["typename"]); + // If there is no error (catched by exception), clear the form for next + // time + $form->saveValuesErrorsReset (); + $route->redirect ("/ipsets", ""); + * route : redirect without module : default = ""; + * route : allow to define a viewErrorClass and viewErrorMethod to catch the + exceptions raised by the code. Simplfy th e index.php : + $route->viewClass = '\views\ipsets'; + $route->viewErrorMethod = 'error'; + $ipsetsObj = new \controllers\ipsets (); + $form = new \form (); + $values = $form->values (); + $errors = $ipsetsObj->verify ($values); + $form->redirectIfErrors ($values, $errors, "/ipsets/add"); + $ipsetsObj->createSet ($values["setname"], $values["typename"]); + $route->redirect ("/ipsets", ""); + * form : if the provided error for a field is not an array, use the default + error class and use the value as message + * route : if there is an error with the ratelimiter (directory not + writeable...), overload the exception by the ratelimiter exception + * auth : Add Shibboleth support + * route : store in session the last valid get page to allow to return with + small method : $route->lastValidGetPageRedirect (); + * form : add the verify of forms. Actually check only the mandatory part + * form : add maxlength support + * mail : the mail creator. Allow to create complete mails easily + $mail = new mail (); + $mail->setFrom ("sender@example.com","Sender Example Com"); + $mail->addTo ("recipient1@example.com","Recipient1 Example Com"); + $mail->addTo ("recipient2@example.com","Recipient2 Example Com"); + $mail->setBodyText ("Content of TextBody part"); + $mail->addAttachment ("file0.text", "File content"); + $contentID1 = $mail->addAttachmentInline ("file2.jpg", + file_get_contents ("file2.jpg")); + $mail->setBodyHTML ("
Content of HTMLBody part with inline
+