Commit Graph

169 Commits

Author SHA1 Message Date
6e846514c6 Add Server-Sent Events
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6062 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-08-28 12:44:03 +00:00
5997150c43 spfcheck : manage the FAIL if a minus is set in part
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6031 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-08-21 09:36:26 +00:00
283109bef4 spfcheck : Add catching of sign (+-?~) before parts of SPF record
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6030 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-08-21 09:00:29 +00:00
d52314e75b spfcheck : Generate an error if the mask in IP4 or IP6 is too wide
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6029 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-08-21 08:13:27 +00:00
433befea9a Update SPF checks : new IP addresses for fournier38.fr domain
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6028 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-08-21 07:50:23 +00:00
cf4c92b7bf ipaddresses : Add cidr2netmask method for IPv4 masks
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5989 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-11 20:29:13 +00:00
4a478ae9f1 ipaddresses : invalid netmask2cidr mask was not correctely detected
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5988 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-11 20:06:30 +00:00
068b1e3ec3 ipaddresses::netmask2cidr : manage the calculation of the wildcard IP
ipaddresses::netmask2cidr : catch invalid IP mask and return false


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-11 19:39:20 +00:00
e1f1ddaa24 robotstxt : catch the errors with the associated lines.
robotstxt : more unit tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5986 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-11 18:26:01 +00:00
9557bb2302 Password : manage all the existing PHP hash types. Allow more salt methods. Add more OOP with the list of the allowed hashes
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5978 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-03 19:10:53 +00:00
e665e49d9a Add Domframework tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5971 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-01 08:45:55 +00:00
089d01e0fd SPFCheck : Allow to test an IP against the SPF DNS entries sets
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5940 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-04-22 14:17:09 +00:00
1195f441cf Tests/authsympa : Password was invalid
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5914 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-04-14 11:55:21 +00:00
ac218caaea XMPP Client : basic message send to XMPP server
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5912 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-04-14 11:45:56 +00:00
5f52085461 mail : getHeaders function added
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5827 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 20:42:39 +00:00
47b3179f1d Update encrypt Tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5820 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:03:00 +00:00
9195426608 Tests/authjwtTest : add logout tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5816 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:22:08 +00:00
1ab8462266 authjwt : Update to use the local cache to store the identifier data.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5814 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:13:40 +00:00
1638357f75 Add encrypt/decrypt support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5809 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 09:31:04 +00:00
66495ee503 rest : rewrite to support the bestChoice of the user, and to be tested
rest : add tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5803 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-06 15:51:40 +00:00
df20f6c372 Update http bestChoice to support the priority
Add unittests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5802 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-06 14:57:38 +00:00
11d4f7686b Update the Test class name to be the same as the file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5794 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 12:24:05 +00:00
b084803bf6 Change the class name for Tests/authjwtTest.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5793 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 12:09:43 +00:00
c3f0014d5a Update Tests/jwtTest.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5791 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 10:00:06 +00:00
0dfc77aca3 Add unit test Tests/authjwtTest.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5790 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 09:59:57 +00:00
0bd6889427 JWT : allow to encrypt the payload
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5782 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 09:44:15 +00:00
94191fa144 Convert : if the value is 0 for humansize, return 0.000
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5731 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-15 21:34:10 +00:00
e917ef6653 Convert : update humanSize to supports negative numbers or numbers between -1 and 1
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5728 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-15 21:01:49 +00:00
7d80c36a51 Route relative is now relative to the base of the website instead of the current directory
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5626 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 08:16:41 +00:00
3f7584fab7 CSRF : Add the multiple CSRF management tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5459 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-09 09:55:51 +00:00
f3386a4dfc Add macaddresses and Tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5403 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-08-08 09:22:27 +00:00
73ace65060 outputdl : allow to download a file from filesystem, and manage the partial download if the browser request it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5374 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-06-19 13:47:19 +00:00
5db4b19abd Add sitemap support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5355 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-06-14 07:17:06 +00:00
330dfc3993 robotstxt : the analyze must be done at start. Use the constructor
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5344 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-06-12 07:03:44 +00:00
f574476427 robotsTxt : update Tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5343 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-06-11 18:59:44 +00:00
ded1628c1f robotstxt : rewrite all the parser with the logic defined in RFC
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5342 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-06-11 09:08:53 +00:00
2cfe3f4d17 Add RobotsTXT test
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5341 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-06-10 16:02:27 +00:00
dfc3e94e28 jwt : pass the not needed method to private
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5284 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-24 09:09:11 +00:00
5dfb2c2d30 Add JSON Web Token class
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5283 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-24 08:58:14 +00:00
398e567800 Add Tests for auth and authsympa
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5274 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-16 11:57:01 +00:00
fb51c7a22a Add queuetest
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5268 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-13 08:18:23 +00:00
2777789915 Add queuefile and queue
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5267 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-13 07:40:03 +00:00
6ead95ebbf Add queuefile tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5266 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-13 07:37:22 +00:00
3662420339 dblayeroo : Add displayAdd empty tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5262 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-10 11:06:10 +00:00
cb96f899b2 Add Tests for ratelimitfile and ratelimit
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5232 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-04-25 13:52:17 +00:00
c3f23f23b6 Add CSRF and UUID tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5231 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-04-25 12:42:04 +00:00
89a626c235 Add DST in XDIFF tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5221 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-04-24 11:51:56 +00:00
45ffd3144e Update dblayeroo tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5167 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-22 14:10:28 +00:00
07c95a1b3e XDiff tests : manage the time second change
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5163 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-22 13:20:10 +00:00
6c27b758ec Remove non needed print_r
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5110 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-15 08:44:03 +00:00