Commit Graph

827 Commits

Author SHA1 Message Date
04e13afe42 Add the Exception error management in CLI (display only the message in normal mode, and display all the trace in expert mode)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1237 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 15:30:19 +00:00
d34b80e30d Simplify the cli.php by using call_user_func_array() to launch the method in the class
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1236 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 15:23:37 +00:00
9460c245ef Add a unique constrain in the tables in dblayer. Block the creation/update if the constrain is forced.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1232 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 14:57:42 +00:00
4fa807a992 Add the possibility to display all the params available in the configuration with their default value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1231 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 12:28:17 +00:00
32835b4d7c Add an exception to dblayer.php if the datas are not in the right format
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1230 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 11:55:48 +00:00
28a5d1b4ce Add the rest library : read the wanted output format, and display it if it is available
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1229 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-21 15:45:20 +00:00
7524ca29cc Add the HTTP codes in http.php library
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1228 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-21 15:44:32 +00:00
7010197882 Logical error in outputxml : missing $this->
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1227 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-21 12:39:37 +00:00
544dc3cfed Return the number of rows modified by the request
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1226 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-19 20:35:09 +00:00
92380bf377 Add comments to authSympa
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1225 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-19 18:57:16 +00:00
687ebfab9a Add authsympa module
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1224 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-19 12:24:05 +00:00
383e831ff3 Add support to read in dblayer with order and colmuns displayed
Return the number of deleted rows in delete


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1223 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-18 18:35:48 +00:00
a11b4d0bb7 Add ordering reads in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1222 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-17 15:16:14 +00:00
5dbf9bcfcc Suppress a extra space in a SQL command
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1221 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-17 14:51:43 +00:00
0a8051a1ce Parameters for read in dblayer are provided in array to have more than one criteria.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1220 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-17 12:52:57 +00:00
e6309dc7a4 Add the configuration support to domframework. The informations are stored in a PHP file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1219 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-14 13:53:09 +00:00
ad830056b1 Add correct read support (filter without value, bad key assignement)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1218 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-13 19:00:05 +00:00
00af80827e Add a blank line to cli to be more readable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1216 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-10 13:52:04 +00:00
2b945686cc First version of logger
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1215 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 13:02:13 +00:00
8f2767ce99 Cosmetic change : add a blank line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1214 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 09:27:22 +00:00
c05626a567 Missing */ in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1213 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 09:23:09 +00:00
8b96e19467 First version of CLI support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1212 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 09:22:18 +00:00
c89b621bc5 Add a TODO
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1211 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-27 15:51:20 +00:00
a50e28dc16 Adding _METHOD support to routing
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1210 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-27 15:36:49 +00:00
6ce3776d12 Add a new routing module with easier support. It understand the RESTful mode too with GET,PUT,POST,DELETE.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1209 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-27 15:04:20 +00:00
a437f8e62a Adding PHPUnit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1208 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-27 10:00:41 +00:00
96cf1c4010 First release of domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1207 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-27 08:47:54 +00:00