Dominique FOURNIER
|
4c43053c5b
|
Activate the namespace for all
|
2021-05-07 09:43:37 +02:00 |
|
Dominique FOURNIER
|
f6782c18dc
|
Add not enabled namespace on each file
|
2021-05-06 14:00:03 +02:00 |
|
|
|
033b817627
|
Add license BSD on each file header
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6096 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2020-09-07 14:13:56 +00:00 |
|
|
|
a86d6fae4b
|
form : manage correctely the form focus if the first field is a checkbox
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6034 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2020-08-24 09:29:52 +00:00 |
|
|
|
a7e5726f39
|
form : disable the label linking to checkboxes and radio if more than 1 checkbox/radio is set
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5929 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2020-04-16 18:39:56 +00:00 |
|
|
|
1bc86d192d
|
form : add the \DateTime to be namespace compliant
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5846 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2020-01-10 14:11:15 +00:00 |
|
|
|
3d45646dd9
|
domci : form was invalid
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5625 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-10-31 08:03:16 +00:00 |
|
|
|
e48f541c61
|
form : Add Bootstrap4 support (change formThemplate to select). Bootstrap 3 always the default one
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5614 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-10-23 12:26:10 +00:00 |
|
|
|
5585ae23e8
|
csrf : add the checkThenDelete method
form : use the checkThenDelete CSRF method to remove the used token
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5460 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-09-10 08:11:14 +00:00 |
|
|
|
17168aaaef
|
Update gettext : add spaces
DomCi : remove line too longs on all the files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-05-23 14:19:30 +00:00 |
|
|
|
5fcd1731fd
|
Update all the _( to dgettext ("domframework"
Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-05-13 08:36:47 +00:00 |
|
|
|
5fcc1e7694
|
form : if the form contains only checkboxes, manage correctely the focus on first one
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5179 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-03-27 15:42:54 +00:00 |
|
|
|
f254c7b339
|
form : add method setter and do not test CSRF if it is disabled
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5177 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-03-27 13:33:24 +00:00 |
|
|
|
f7ae4dbdea
|
form : can not log in field : method callable not exists
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5173 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-03-26 11:05:08 +00:00 |
|
|
|
b14879d59c
|
form : type file must have the form-control too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5035 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-02-13 15:24:40 +00:00 |
|
|
|
a7923b731d
|
form : update presentation and add folding
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4976 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2019-02-06 12:43:14 +00:00 |
|
|
|
522c5e7cfa
|
form : Add htmlspecialchars in display errors to allow '<' error message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4703 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-11-14 15:51:27 +00:00 |
|
|
|
4459e9595d
|
domci update
Store the version 0.51
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4267 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-07-06 17:44:35 +00:00 |
|
|
|
c81a7f3e2f
|
form: add 'file' type to upload
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4180 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-03-28 11:23:39 +00:00 |
|
|
|
4a681bf314
|
form : supports multiple forms on the same page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4177 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-03-23 15:20:43 +00:00 |
|
|
|
fdb90a0816
|
form : redirectIfError if the $url is not provided, redirect to the same page, but in method get
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4175 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-03-21 13:19:45 +00:00 |
|
|
|
00908b1164
|
form : Add redirectIfError method to simplify the code in index files
$form = new \form ();
$values = $form->values ();
$errors = $spaceObj->verify ($values);
$form->redirectIfError ($values, $errors, $route, "/admin/space/");
$spaceuuid = $spaceObj->spaceCreateConceal ($values["spacename"]);
$route->redirect ("/admin/space/");
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4174 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-03-21 13:05:00 +00:00 |
|
|
|
3c0cecd3eb
|
* form : add setters for fields
* form : The label is now optional
* form : add logging support for exceptions
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4173 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2018-03-21 10:55:06 +00:00 |
|
|
|
8495ce241b
|
form: select field : allow the provided value to be an integer and work correctely in comparison with the string defaults values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4005 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-12-01 08:36:01 +00:00 |
|
|
|
bacf9658b8
|
form: raise an exception if a default value is not a string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3958 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-09-26 10:11:34 +00:00 |
|
|
|
246cb4d159
|
form: if there is errors on hidden fields, display them as text with read-only
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3930 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-09-05 12:09:26 +00:00 |
|
|
|
9fc7ad35e5
|
form: Block the submit button to not allow Chrome/Edge to submit multiple times in case of multiple clicks on slow server. Bug introduced in 0.41 doesn't work with Chrome: the form is not submitted
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3836 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-07-26 08:37:14 +00:00 |
|
|
|
c3429858af
|
* form: Block the submit button to not allow Chrome/Edge to submit multiple times in case of multiple clicks on slow server
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3806 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-07-11 19:03:32 +00:00 |
|
|
|
0d63ce1e34
|
form : If the error is not due to field (it has numerical key, put the focus on the first field (if available) and not on the global error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3562 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-05-02 14:17:46 +00:00 |
|
|
|
9ffe45b072
|
domci : Update CI PHP docs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3457 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2017-03-24 08:31:10 +00:00 |
|
|
|
092a15a0b2
|
form : type in checked
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3107 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-30 14:35:49 +00:00 |
|
|
|
2a7341832a
|
form : manage correctely the checkboxes with values (the values can be defined and set to no "unset")
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3106 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-30 13:49:24 +00:00 |
|
|
|
2ea05e91ca
|
form : display correctely the checkboxes (add label and div='checkbox')
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3105 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-30 11:15:56 +00:00 |
|
|
|
2dfb75ee72
|
form : put the focus on first field NOT readonly and NOT hidden
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3060 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-21 10:00:46 +00:00 |
|
|
|
230dcf9409
|
form : don't force a <br/> at the end of the help messages
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3055 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-21 08:58:42 +00:00 |
|
|
|
7062d307a9
|
form : overwriting of hidden or readonly fields
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3040 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-20 06:42:47 +00:00 |
|
|
|
7b40408677
|
form : the hidden fields must use the "defaults" value, the readonly the "values" value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3039 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-19 14:56:09 +00:00 |
|
|
|
01c1556672
|
form : the overwriting of hidden and read-only fields is done on values !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3037 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-19 14:30:16 +00:00 |
|
|
|
8b2a64d649
|
BUG form->values () : must overwrite readonly and hidden fields (the user can modify them, but it is not allowed)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3021 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-09-01 14:37:08 +00:00 |
|
|
|
a04d3a4f4a
|
Cosmetics changes : remove ending lines spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
|
2016-08-31 07:20:24 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|