Commit Graph

818 Commits

Author SHA1 Message Date
5e13a477b3 Update dblayeroo tests to supports PGSQL order
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3702 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 07:48:38 +00:00
42ef3046cf modelGenerator: add the -u, -p and -n options
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3701 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 07:09:48 +00:00
9c33e4b868 verify: Add isAllowedChars to check if a string contains invalid chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3700 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 07:04:45 +00:00
b7334c1cd4 getopts: manage correctely the parameters if its value is "" (should not be ignored)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3699 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 07:01:28 +00:00
44c10ff0c6 Add modelGenerator tool to create the model files based on an existing database
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3698 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-18 18:58:42 +00:00
1b55855df3 Update the DBLayeroo tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3660 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-12 19:52:41 +00:00
3f11e7637e backtrace: check the parameter before use it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3659 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-12 19:44:44 +00:00
0d92eebb64 - smtp: remove the spaces in the FROM and TO addresses (or clean the address if toto<toto@toto.com> is provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3658 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-12 19:42:06 +00:00
85ce83ff39 * outputxml: if the provided data are XML, do not change them and just display them with the headers
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3655 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-12 19:00:16 +00:00
6673974a80 verify: integer can be integer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3645 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 14:46:11 +00:00
ed547df3eb verify: integer can be integer !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3644 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 14:44:31 +00:00
2709c75040 dblayeroo : manage correctely the NULL values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 12:01:35 +00:00
6348103e75 dblayeroo : remove not needed debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3639 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 08:36:44 +00:00
0785f07d92 dblayeroo : after cleaning all the child objects, remove the instances
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3638 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 08:35:41 +00:00
f932529077 dblayeroo: catch the exception in prepare request and manage it in DBException
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3637 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 08:23:25 +00:00
c67658f1fe dblayeroo : add stacktrace in debug if exception
dblayeroo : clear all the join objects if clear request is called


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3636 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 07:58:44 +00:00
5b30ec5b62 - Add display backtrace support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3635 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 07:49:26 +00:00
d294809cba dblayeroo : update for GROUP BY
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3634 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 13:39:21 +00:00
6461fbd63c dblayeroo : Missing $pos
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3633 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 12:46:40 +00:00
2b17459b65 Add the GROUP BY part in the SQL request
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3632 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 12:40:26 +00:00
feb1c4096d - dblayeroo: Add the GROUP BY feature and the function support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3631 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 12:38:01 +00:00
3471cb3d4b verify: add the verification of UUID
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3624 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-09 14:36:44 +00:00
92202f6af1 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3606 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-09 07:11:02 +00:00
27ae76db83 Start packaging for 0.36 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3605 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-09 07:07:23 +00:00
19a60471bc Add ucfirst UTF8
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3601 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-05 18:35:14 +00:00
141b647931 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3597 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-05 14:25:00 +00:00
b0f2346386 uuid: The constructor can not be static
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3592 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-05 13:55:07 +00:00
07497465a6 Add UUID creation feature
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3589 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-05 12:58:54 +00:00
9a47e3867c dblayeroo: do not test the foreign keys in update mode if the value is not provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3574 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 14:22:47 +00:00
a3cceef004 dblayeroo: Manage correctely the test of the dblayeroo class in Join case
dblayeroo: Manage correctely the WHERE clause in join mode


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3573 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 12:16:26 +00:00
4e65cbe987 dblayeroo: display the titles with the table name if the funll option is set or if a joinObject is defined
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3572 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 08:03:40 +00:00
8da8666dbb dblayeroo: allow to join with extends of dblayeroo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3571 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 07:00:58 +00:00
7706e2da71 dblayeroo: if a parameter is not valid, do not use it!
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3570 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 19:42:17 +00:00
3d57b69e4d Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3569 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 19:03:20 +00:00
ccb0fb8385 dblayeroo: update exception message to add the table name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3568 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 19:01:56 +00:00
0f6f269ede dblayeroo: missing # in regex
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3567 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 14:43:23 +00:00
a14590ceda verify: add the tests to dateSQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3566 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 13:43:58 +00:00
4ea1128595 verify: add the dateSQL check
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3565 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 13:41:49 +00:00
0df7e1bded dblayeroo: allow the primary key to be the unique key (and the unique is not defined)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3564 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 08:02:06 +00:00
790fe6b703 dblayeroo: if the primary key is defined, the unique are not mandatory
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3563 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 07:59:47 +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
029bb0beb5 dblayeroo: allow to extends it. Add a connect class instead of the constructor
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3561 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-02 09:57:40 +00:00
fb017dde76 verify: Use the \verify instead of $this for non static methods
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3559 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-02 09:44:06 +00:00
120d769656 dblayeroo: add return $this to setForeignObj
dblayeroo: manage correctely the foreign keys


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3558 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-02 08:53:28 +00:00
014d07c91f dblayeroo: force the parameters of the fields in lowercase
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3557 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 14:18:13 +00:00
dadd4f1d9e - dblayeroo: Add a export configuration feature to return an array with all the defined parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3556 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 13:17:33 +00:00
22522982e3 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3555 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 10:10:20 +00:00
2b7055a4fc Update getopts to have a valid gettext entry
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3554 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 10:03:49 +00:00
73a4f0edb1 dblayeroo: the old displayColumn was bad written
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3553 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 06:46:18 +00:00
89be15802b dblayeroo: Remove tinyint support cause not available in PSQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3552 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-27 12:47:06 +00:00