Dominique.Fournier
59b47efeb0
Update locales
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2961 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-26 07:43:48 +00:00
Dominique.Fournier
3ac7d3ca22
dblayer : update error message
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2960 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-26 07:42:56 +00:00
Dominique.Fournier
a4b9eb0267
config : allow the first values to not be an array
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2959 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-26 07:31:42 +00:00
Dominique.Fournier
0c9847042b
Start version 0.28 packaging
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2958 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-26 07:21:17 +00:00
Dominique.Fournier
3cc8300ed6
language : correct the segfault if the cache is changed (missing domframework part and wrong dir provided to bindtextdomain
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2957 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-26 07:20:38 +00:00
Dominique.Fournier
4bc2fcaf6c
file : add rename and copy functions
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2956 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-25 18:54:31 +00:00
Dominique.Fournier
fb32656cfc
authsql : commit a debug var_dump
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2951 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-25 14:04:26 +00:00
Dominique.Fournier
495ea91840
dblayer : allow to define the hook functions in the specification of the layer. Can be external ones
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2950 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-25 14:03:36 +00:00
Dominique.Fournier
a208873f34
authsql : missing fields in db connection
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2946 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-25 11:49:49 +00:00
Dominique.Fournier
c3ad1085c1
config : allow the defaults vals to be returned in array of arrays
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2945 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-25 11:28:53 +00:00
Dominique.Fournier
71975da3cb
Add : outputrest to support the routing to REST
...
$route->output = "rest";
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2943 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-21 11:56:25 +00:00
Dominique.Fournier
7d165d0ea4
ratelimitfile : don't display the error if it is not possible to create the directory (the exception raised is sufficient)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2938 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-21 08:53:43 +00:00
Dominique.Fournier
9e922ac748
mail : cut the long attachment filenames in headers with the correct encoding
...
mail : manage correctely the double-quotes in filenames
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2936 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-21 07:47:56 +00:00
Dominique.Fournier
b98adaf6af
language : Add a working cache management. Change structure of cache as the previous one remove the fonctionnality
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2935 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-20 14:51:46 +00:00
Dominique.Fournier
abf8b4336a
language : Add a working cache management. No need to restart Apache after upgrade of .mo files if a cache directory is available
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2934 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-20 14:33:02 +00:00
Dominique.Fournier
ca7ee5d01f
mail : add setSubject method
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2927 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-20 11:37:41 +00:00
Dominique.Fournier
4ff02b11a4
verify : add email test
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2914 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-19 14:33:27 +00:00
Dominique.Fournier
9a697c0034
dblayer : return all the verify errors in the same shot
...
dblayer : allow to have external verifyOne and verifyAll functions
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2911 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-19 13:28:37 +00:00
Dominique.Fournier
bc0bd0d1e7
dblayer : allow to define external verifyOne/verifyAll functions instead of using internal ones (or the extended ones)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2909 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-19 10:00:07 +00:00
Dominique.Fournier
e15945f4df
dblayer : delete : raise a valid exception if the delete can't be done
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2901 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-18 14:00:56 +00:00
Dominique.Fournier
68a38804b8
dblayer : in debug, display the request in directRead
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2893 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-18 10:07:55 +00:00
Dominique.Fournier
b64017d548
dblayer : allow read with null value
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2891 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-18 08:43:50 +00:00
Dominique.Fournier
2e9ec0d2ee
smtp : manage the dot on first column : double it before sending the email
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2865 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-12 07:03:36 +00:00
Dominique.Fournier
2297b99845
dblayer : display the field in error when creating the table
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2851 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-11 09:07:37 +00:00
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
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
Dominique.Fournier
18a641ca87
route : if there is an error with the ratelimiter (directory not writeable...), averload the exception by the ratelimiter exception
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2699 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-19 13:04:54 +00:00
Dominique.Fournier
5ad792d251
form : if the provided error for a field is not an array, use the default error class and use the value as message
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2698 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-15 15:08:27 +00:00
Dominique.Fournier
3c98dd7c39
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", "");
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2697 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-15 15:08:02 +00:00
Dominique.Fournier
489623972f
route : allow to define a viewErrorClass and viewErrorMethod to catch the exceptions raised by the code. Simplfy the 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", "");
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2696 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-14 19:05:57 +00:00
Dominique.Fournier
d35b61e290
route : if the module is not set, work as it is ""
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2695 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-14 18:35:22 +00:00
Dominique.Fournier
2509155cc2
file : all the management of the files, with integrated filesystem checks, and virtual chroot support
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2694 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-14 11:48:58 +00:00
Dominique.Fournier
263730d53e
ipaddresses : completeAddressWithZero allow the full IPv6 with dots
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2687 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-04-13 13:44:41 +00:00
Dominique.Fournier
9d522d5ad6
Add a comment in Tests/cachefileTest.php for the 10s test concerning the unreleased lock
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2679 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:55:22 +00:00
Dominique.Fournier
a8b527fbf4
Add tools/markdown.php
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2678 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:49:41 +00:00
Dominique.Fournier
b8aae32c59
Add stats to domphptests
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2676 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:48:53 +00:00
Dominique.Fournier
7a3bad0934
Update Tests to allow them to be parrallelized
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2675 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:18:37 +00:00
Dominique.Fournier
4356cb7c7d
Add the domphptests ini file
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2672 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 08:59:49 +00:00
Dominique.Fournier
e977f9dfa1
Update tests to remove the dependancy to configuration
...
Change the databases to be unique by test file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2670 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-12 16:34:44 +00:00
Dominique.Fournier
3c133753ea
Update locales
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2665 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-08 09:33:16 +00:00
Dominique.Fournier
c8a4fc9bc2
Start packaging of 0.24 version
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2664 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-08 09:29:57 +00:00
Dominique.Fournier
5a1a015f11
config : if the default array "not configured" is not found, do not test the value
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2653 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-07 15:23:41 +00:00
Dominique.Fournier
83c3b46e87
Add domframework tools (for cli use)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2650 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 16:26:50 +00:00
Dominique.Fournier
089707e88f
dbjson : the keys are the _id (no more N² searches)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2649 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 16:10:40 +00:00
Dominique.Fournier
29007c5afa
config : allow to have the defaults params in ->get() in case of array without defined key
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2648 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 12:59:44 +00:00
Dominique.Fournier
84dbeb45ba
dbjson : Use the $this->db instead of $data to store the database
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2647 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 10:42:21 +00:00
Dominique.Fournier
3dbcb5298e
* BUG markdown : Example of cron configuration
...
* * * * * www-data /usr/share with 4 beginning spaces is not OK (remove
all the stars and put a bullet)
The lists (numbered or not) must start on first char
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2646 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 09:14:41 +00:00
Dominique.Fournier
cd59ddf8d4
authldap : hide the error messages from ldap
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2619 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-03 09:27:22 +00:00
Dominique.Fournier
60c80c8351
cli.php : revert the last commit
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2591 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-29 13:42:27 +00:00
Dominique.Fournier
74f2810d9e
Add the execution flag in SVN for cli.php
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2590 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-29 13:39:04 +00:00
Dominique.Fournier
7fad53016a
dbjson : store the _id in key too (will be quicker when using indexes)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2584 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-28 19:25:01 +00:00
Dominique.Fournier
09c859ee98
dbjson : if the database is empty, allow to read it without error
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2583 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-27 16:54:46 +00:00