Commit Graph

184 Commits

Author SHA1 Message Date
Dominique FOURNIER
535525db1d Robots : values for Allow and Disallow must be empty or start by slash 2023-01-03 13:20:21 +01:00
a470048b4f PHP8.2 Support with MySQL returning the int val as int instead of string previously 2023-01-02 21:32:29 +01:00
Dominique FOURNIER
6ac1889e35 Tests/XdiffTest.php : update the test with Camelcase 2022-12-13 14:38:04 +01:00
Dominique FOURNIER
b852888d61 Dblayeroo and Dblayer {ENGINE} 2022-12-13 14:01:27 +01:00
Dominique FOURNIER
94deb06f52 PSR12 2022-11-25 21:21:30 +01:00
Dominique FOURNIER
72b3251b1e Tests/OutputhtmlTest.php : html code is now indented 2022-06-14 16:48:02 +02:00
Dominique FOURNIER
5f0fdd951f Tests/RobotstxtTest.php : The crawldelay is "null" if not defined in robots.txt file 2022-06-14 16:40:39 +02:00
Dominique FOURNIER
899221558a Tests/SpfcheckTest.php : Update Fournier38 IP addresses 2022-06-14 16:39:07 +02:00
Dominique FOURNIER
eb30d8ef97 Passage en Namespace et tous les tests fonctionnels OK 2021-05-10 11:48:15 +02:00
Dominique FOURNIER
55530b055c Update Tests to supports namespaces 2021-05-07 16:55:38 +02:00
Dominique FOURNIER
ccf0f47c7f Update .gitignore 2021-05-07 16:54:21 +02:00
Dominique FOURNIER
b1e513126e Add all the namespaces in Tests 2021-05-07 10:12:16 +02:00
fee955d7bf Add the .gitignore files 2021-02-13 12:08:29 +01:00
8113322022 SSE: update tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6074 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-09-03 08:13:54 +00:00
f9214b0c0e SSE : Add params support for Handlers.
SSE : Split Handlers in Event and Dataonly


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6073 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-09-03 08:10:04 +00:00
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