Commit Graph

630 Commits

Author SHA1 Message Date
08aed2041b Update Tests to valid the new outputHTML
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2845 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-06 11:48:50 +00:00
b7748f6ad1 dblayer : check if the PDO Driver is installed in PHP before using it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2844 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-06 11:15:18 +00:00
820d360e79 dblayer : check if the table name is defined before using it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2832 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-05 14:06:55 +00:00
aadfae008a outputhtml works on PHP 5.4
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2820 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-29 12:50:19 +00:00
09eda99eaf Start 0.27 packaging
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-29 12:22:49 +00:00
82abb600c8 form : Allow to define a class text to form object
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-28 09:01:43 +00:00
d621438f0c CSRF : Allow to get the CSRF token from the CSRF or FORM classes
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2790 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-28 08:43:18 +00:00
5f49609a28 csrf : add the exceptions code to Exceptions
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2779 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-28 07:18:15 +00:00
7ca9bb179d form : if a convertDate field provided is empty, do no generate an error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2778 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-28 06:54:57 +00:00
ebb30781cc * outputhtml : add a timestamp after the internal resources when creating the page. Like this, when updating a script, image or css file, it is updated by the client automatically (the browser don't use its cache)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2771 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-27 12:55:05 +00:00
8d421c15f7 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2769 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-27 09:35:05 +00:00
98932d7a95 Start packaging for 0.26
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2768 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-27 09:30:35 +00:00
04f8a47af5 outputhtml : update phpdoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2767 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-27 09:30:19 +00:00
4c470b9306 form : add the conversion format for dates
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2765 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-27 09:24:22 +00:00
75499a6639 cli : display the complete string instead of truncate it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2758 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-10 08:04:02 +00:00
230f8b7603 dblayer : bug in read with OR if the select fields are multiple time the same
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2757 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-09 13:11:26 +00:00
3bda1f7c63 cli : code presentation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2737 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-31 13:21:37 +00:00
fb56a83583 csrf : Split CSRF from form to external package
form : require the external csrf file


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2736 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 10:28:21 +00:00
1aea4d337c route : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2735 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 08:26:55 +00:00
4e8cda29b2 cli : update help message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2734 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:53:41 +00:00
93f2ee9e7e cli : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2733 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:46:41 +00:00
a573f6b393 cli : catch correctely the classes names
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2732 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:45:32 +00:00
c4348b3662 cli : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2731 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:31:54 +00:00
af95946def cli : add a "-q" option to not display the return code
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2730 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 19:35:17 +00:00
b403cb41ea cli : Add more information ihow to find the class name when there is no class provided.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2729 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 19:15:25 +00:00
f7c903e0f1 cli : allow the controllers\\ to be optional
cli : allow the models\\ or controllers\\ to be optional if the name of the class is unique


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2728 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 19:08:43 +00:00
7d00d6d315 form : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2727 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 12:46:30 +00:00
70d444f6c7 smtp : Update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2726 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 11:48:46 +00:00
58359a35d2 smtp : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2725 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 11:40:19 +00:00
905bb21540 smtp : update docComments
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2724 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 11:27:10 +00:00
7b3cb69cb1 smtp : check the certificate by default when using SSL (but add the paramter to skip the test)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2723 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 09:42:59 +00:00
8e86bee838 smtp : push the STARTTLS to none by default, as the certificate of the server must be equal to the configuration.
smtp : Catch the STARTTLS errors instead of displaying a warning
smtp : don't loop etrenaly if there is a smtp problem


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2722 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 09:16:58 +00:00
c1cbf1435a mail : update exception message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2721 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-20 18:50:56 +00:00
a6f19764e1 mail : Complete rewrite. Allow to read an existing mail
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2720 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-19 14:45:17 +00:00
d2e24eb0ae Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2718 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-03 19:59:34 +00:00
38db9395be smtp : allow the debug to be stored in a defined file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2717 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-03 13:35:05 +00:00
40d9a7ae4c smtp : don't add spare \n in debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2716 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-03 13:20:04 +00:00
f10b852369 smtp : Return the last message of the server when sending mail. There is the queue message id stored in it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2715 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-03 13:16:26 +00:00
c39148bba0 smtp : Add STARTTLS support and LOGIN auth method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2714 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-03 13:02:54 +00:00
f40b919648 smtp : add SMTP support to send emails
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2713 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-03 09:59:49 +00:00
58fe500730 Add changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2711 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-02 13:44:49 +00:00
123ed687ba Start packaging of 0.25
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2710 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-02 13:40:17 +00:00
23516c7b57 * 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", "qcqscqs");
    $mail->setBodyHTML ("<p>Content of HTMLBody part with inline
                         <img src='cid:$contentID1'></p>");
    echo $mail->getMail ();



git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2709 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-29 14:47:12 +00:00
bc23495eec form : add maxlength support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2707 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-26 13:01:11 +00:00
69c7e4eb8e Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2706 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-26 12:34:12 +00:00
191b795627 form : add the verify of forms. Actually check only the mandatory part
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2705 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-26 12:27:00 +00:00
5cad7a90b3 authshibboleth : there is a capital in givenName
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2704 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-25 14:47:12 +00:00
5511f7a3ea route : store in session the last valid get page to allow to return with small method : $route->lastValidGetPageRedirect ();
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2703 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-25 14:39:38 +00:00
7be2692c91 auth : Add Shibboleth support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2702 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-22 11:30:17 +00:00
9f8d9ddc30 form : fieldwidth is now functionnal
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2701 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-21 14:14:50 +00:00