Commit Graph

154 Commits

Author SHA1 Message Date
e5c67e779e dblayeroo : Manage the GROUP_CONCAT in PgSQL without error of casting
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4289 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 15:49:57 +00:00
b18adcc441 dblayeroo : Add test for GROUPBY
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4287 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 08:06:23 +00:00
5deab3c430 dblayeroo : if there is only one displayed GROUP select, do not add an empty "GROUP BY" in SQL request. The request is invalid.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4286 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 06:48:14 +00:00
5560ab2943 dblayeroo : allow to orderAdd on aliases too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4285 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 06:07:09 +00:00
13f7eeea8c Add password management and the associated tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4137 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-04 21:50:01 +00:00
e12f7c516d * ipaddresses : add validCIDR, validIPv4CIDR, validIPv6CIDR to check the CIDR
* ipaddresses : add compressIP to compress an IPv6 address (remove the 0 and add the :: if possible)
* ipaddresses : add networkFirstIP and networkLastIP to get the first and last address of a network. In IPv4, the first address is network address and the last address is broadcast address.
* ipaddresses : add ipInNetwork to know if the provided ip address is in or outside the network and cidr provided


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4026 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-10 14:34:35 +00:00
db55ec03b4 tcpclient: test correctely the certificate of the server by setting correctely the name of the peer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4017 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 11:17:10 +00:00
44b7b34094 Add tcp client and tcp server support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4014 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 09:47:20 +00:00
a80a51c862 dblayeroo: the post execute select must not convert a NULL to INT if a column definition is INTEGER
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4004 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-30 10:57:29 +00:00
425fd36d05 dblayeroo: Update tests to add DISTINCT in tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3945 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 18:51:01 +00:00
0ddcff8507 dblayer: return the primarykey value after an insert. If it is not an autoincrement, return the provided value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3922 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:00:51 +00:00
b0d215da1b Update dblayeroo Tests to check the insert return value correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3921 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 07:35:23 +00:00
439513f65d dblayeroo: manage correctely the PGSQL string_agg (instead of GROUP_CONCAT)
dblayeroo: Manage correctely the Aliases (do not emit Notice in execute)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3899 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 08:03:14 +00:00
391eb9e83b dblayeroo : Update tests to be valid without the GROUP BY as they were in rev 3538
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3827 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 09:32:42 +00:00
e98686d91c dblayeroo: Update of multiple not unique fields should not be an exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-24 19:05:11 +00:00
643bce947a dblayeroo: Add alias support (AS) to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 13:21:17 +00:00
36de4b3600 dblayeroo: Add DISTINCT feature to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 09:50:42 +00:00
d63e3acbcb Tests: remove the require_once in the tests files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3785 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-20 13:35:07 +00:00
24b5f7f12a convert: ucwords in UTF-8 with delimiter
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3769 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-14 11:25:59 +00:00
19a73ad0d8 file: glob remove the first char if there is no chroot
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3757 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-13 12:27:00 +00:00
683d5b0a51 file: update glob function to clean correctely in relative mode
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3736 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-30 08:43:26 +00:00
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
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
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
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
39d34965c0 * dblayeroo: allow to sort the ORDER statements (the first added is the first use)
* dblayeroo: allow to sort the Display statements (the first added is the first use)
* dblayeroo: change displayColumns to displayAdd


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3541 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 14:43:53 +00:00
48ce12accc dblayeroo : update to ORDER in the well known order
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3540 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 12:03:57 +00:00
b6b9573813 dblayeroo : review the join process and add the unit tests for it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3538 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 11:49:19 +00:00
5f93c7b55b Update getopts tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3529 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-24 12:59:45 +00:00
064407ff1c Update getopts to read correctely the ending line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3526 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-16 15:17:37 +00:00
2f35b83e7d Add getopts support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3525 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-14 13:35:00 +00:00
917c43c00a Add RSS support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3523 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-13 12:47:16 +00:00
267c260a0f Update convert
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3522 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-13 12:17:57 +00:00
001c2a041a Add the convert format support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3521 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-13 12:14:17 +00:00
eddb8b25e5 verify : add the static methods
verify : add the unit tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3520 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-13 09:41:39 +00:00
ba093a14a2 Add more tests to dblayeroo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3502 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-10 14:33:52 +00:00
15d70bd3a9 dblayeroo : review the join process and add the unit tests for it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3495 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-03 15:06:03 +00:00
ffae858f59 Update .svnignore
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3460 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-27 07:43:12 +00:00
5c4f903987 * dblayeroo : add a new dblayer class. More OO, supports more options than dblayer
* fts : The Full Text Search module for dummies


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3459 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-27 07:42:18 +00:00
59e38dff4e Remove all the trailing spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3076 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-23 14:46:24 +00:00
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
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
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
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
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
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
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
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
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
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