Commit Graph

1309 Commits

Author SHA1 Message Date
a46300881d httpclient : allow 3 modes : Chunked, Content-Length and connection closed modes
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4807 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-26 17:23:18 +00:00
2a1977630c httpclient : cookies was removed if the expire was not correctely set
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4806 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-26 16:54:58 +00:00
2e29056132 httpclient : add accept type management
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4805 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-26 16:37:43 +00:00
77fc73d022 httpclient : domci
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4801 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-26 07:38:16 +00:00
2bdb73bac1 httpclient : update to bad methods parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4800 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-26 07:36:59 +00:00
4cea28e534 httpclient : add referer support and Cookie keywords can now be received in capital or lowercase
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4799 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-23 21:14:32 +00:00
d8860ca0a9 httpclient : set a default User-Agent and allow to set it to anything
httpclient : each header line is now set to 4065 chars max (1024 was too short in case of cookies or SAML authentication)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4798 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-22 20:58:14 +00:00
449116b7c0 httpclient : Debug : Add logging of the transaction on screen
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4797 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-22 20:46:20 +00:00
786540beef httpclient : if the redirect URL is not an absolute one, create the absolute one based on the previous request
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4796 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-22 20:22:38 +00:00
191b6f504f lintian
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4795 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-21 10:00:04 +00:00
4dfab129b8 Lintian update changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4794 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-21 09:59:16 +00:00
b82f56d306 Start packaging of 0.52
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4793 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-21 09:57:45 +00:00
b05453d202 dblayeroo : normalize : use the trim only if not null value is provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-21 09:57:29 +00:00
35543a727a CSRF : Update the namespace
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4791 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-21 09:55:31 +00:00
9dbbc4adb2 HTTPClient : first version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4781 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-18 19:24:33 +00:00
3500e719c6 tcpclient : Add timeout support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4771 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-17 19:32:33 +00:00
136d037640 outputhtml : do not convert the html entities automatically
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4750 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-11-22 12:19:38 +00:00
38efa5468a Do the replacement at the end (to update {baseurl} if it is set by the {javascript}
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4714 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-11-15 14:09:06 +00:00
5fc4b3b89a outputhtml : remove the not needed {XXX}
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4713 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-11-15 13:23:36 +00:00
6014d0587d outputhtml : allow to get multiple data from view (by array) and overwrite all the {XXX} by their value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4712 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-11-15 13:10:29 +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
7e77e6b841 dblayeroo : checkvalues : return the simpler tests in first error in place or the complexes ones
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4685 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-31 12:16:39 +00:00
c3ee849ad5 language : update with \Exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4683 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-31 09:39:45 +00:00
67a8f982cc Exception -> \Exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4657 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-29 14:14:42 +00:00
fc56c52628 dblayeroo : Add FLOAT support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4655 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-29 12:53:09 +00:00
f490507966 dblayeroo : Exception must begin with \
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4647 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-27 16:03:06 +00:00
11f44e7c71 Do not add the root namsepace if not needed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4644 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-26 08:59:25 +00:00
97a8e659db dblayeroo : Call normalize on checkValues too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4637 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 18:16:57 +00:00
f1ee31c7ef dblayeroo : when testing the UNIQUE constraints, do not generate an exception if the value already exists in the table, return the error with the associated column name.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4634 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 14:00:37 +00:00
0bd2861c98 dblayeroo : return 406 instead of 500 if the provided values checked are invalid. It is not a server bug, it is a client bug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4633 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 09:01:53 +00:00
95f7b55681 dblayeroo : Add normalize method by default
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4631 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 08:32:58 +00:00
681863f187 Add NAMESPACE support (not activated, but just needed to add the namespace on top of file)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:36:00 +00:00
3b2f0e6f82 dblayeroo : Update messages
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4629 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:35:22 +00:00
3e6c8714dc dblayeroo : update tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4628 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:35:00 +00:00
b87bb3840d Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4627 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:34:30 +00:00
32686e29b2 dblayeroo : do not generate an error if there is no parenthesis in parameter for types
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4623 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 13:28:06 +00:00
9a28d95fea dblayeroo : update the syntax and change a checkRealTypes method name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4622 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 13:19:55 +00:00
c01a476a9a dblayeroo : Add the "realTypes" support with basic associated tests. If the user want some custom tests, it must extends the class and create checkRealType_XXX tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4621 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 12:56:55 +00:00
d269917682 The PHP Classes are now with backslash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4490 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-09-06 07:45:00 +00:00
6b5158e9d2 route : catch the base of site on "." too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4489 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-08-24 13:58:56 +00:00
82ca9f6180 ipaddresses : update CIDR tests : was not catch error if the last char of CIDR was a letter
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4368 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-08-09 08:25:43 +00:00
897e6cce88 xdiff : domci correction
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4319 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-31 14:09:54 +00:00
527ca54b3b xdiff : block if provided array are multidimensional arrays
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4317 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-31 12:33:32 +00:00
321feaed08 xdiff : update PHPDoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4316 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 14:23:57 +00:00
1c98af7f14 xdiff : remove not needed code
xdiff : update tests to add Exception tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4313 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 13:55:52 +00:00
a5efc67431 Update xdiff to not display the ,1 if the length is 1 on unified mode. Add the unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4311 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 13:31:37 +00:00
ccee53e033 * xdiff : Add XDiff support in pure PHP. Allow to see which lines of two text files are modified, like the "diff" command. See https://en.wikipedia.org/wiki/Diff
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4310 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 13:15:36 +00:00
738b7e82e0 route : allow OPTIONS HTTP method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4308 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-19 07:06:18 +00:00
338f4f4063 verify test adding
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4303 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 14:53:48 +00:00
14ef974d35 dblayeroo : do not generate an error on verify if a parameter is not provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4301 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 14:04:02 +00:00