Commit Graph

1431 Commits

Author SHA1 Message Date
FLIO
c000eeeecf feature (#21426) edit ExportTest for resolve error and add test for utf8 2023-02-16 01:00:39 +01:00
Laurent Destailleur
81ef87cf6d FIX #huntr5affff95-9a37-4004-bab2-a834b3b61ff7 2023-02-11 15:39:16 +01:00
tnegre
565e9f0c3d Stickler fix 2023-02-03 15:33:50 +01:00
tnegre
32520599e4 ODT generation : tests cases for PHP < 7.4 2023-02-03 15:16:17 +01:00
Frédéric FRANCE
140a3b462d add ajax tooltip on usergroup 2023-02-03 09:29:02 +01:00
Laurent Destailleur
902351cbaa Fix phpunit 2023-01-16 15:45:17 +01:00
Laurent Destailleur
65a2093cd1 Fix regression 2022-12-31 16:50:30 +01:00
Laurent Destailleur
8774f4f092 Fix warning qodana 2022-12-31 13:44:11 +01:00
Laurent Destailleur
9d54a5a583 Fix phpunit 2022-12-28 17:50:44 +01:00
Laurent Destailleur
5a26eadfea Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-26 23:59:19 +01:00
Laurent Destailleur
ed0e96f2b6 Fix phpunit 2022-12-26 17:05:14 +01:00
Laurent Destailleur
527cd1f922 Fix phpunit 2022-12-26 15:25:36 +01:00
Laurent Destailleur
1e706fd090 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-26 12:17:18 +01:00
Laurent Destailleur
facb003627 Fix phpunit 2022-12-24 15:37:07 +01:00
Laurent Destailleur
685a7dbd59 Clean code. Add a phpunit test to avoid duplicate jquery. 2022-12-24 15:06:32 +01:00
Laurent Destailleur
357b69a90b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-22 01:11:03 +01:00
Laurent Destailleur
d5438f981d Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2022-12-22 01:08:12 +01:00
Laurent Destailleur
c7ae67a9be Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-12-22 01:04:56 +01:00
Laurent Destailleur
599aa6009a Try to solve phpunit regression 2022-12-22 00:37:33 +01:00
Laurent Destailleur
49e8b53fab Try fix for phpunit regression 2022-12-22 00:33:03 +01:00
Laurent Destailleur
d29fde6603 Add log to test phpunit pb 2022-12-22 00:02:22 +01:00
Laurent Destailleur
a0f282d100 Try a fix of phpunit regression 2022-12-21 23:34:32 +01:00
Laurent Destailleur
3ff9b4ba95 Remove useless test 2022-12-20 11:19:17 +01:00
hystepik
fa6ceba5cb Fix : Target class creation 2022-12-14 16:27:24 +01:00
hystepik
d676dab136 FIx : KnowledgeRecordTest 2022-12-06 12:23:32 +01:00
Laurent Destailleur
57371302be FIx #yogosha13798 2022-12-05 15:05:40 +01:00
Laurent Destailleur
5cfe40a4bc FIX Can use the WAF of HTML content (dol_htmlwithnojs) for output too 2022-11-28 18:42:59 +01:00
Laurent Destailleur
ba4e5ef245 Enhance phpunit 2022-11-28 16:54:34 +01:00
Thomas Negre
e10ba35387 Add test case to lock/explain behavior on <h3> heading tags. 2022-11-23 12:01:21 +01:00
Laurent Destailleur
8a70e0de72 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-11-21 04:03:20 +01:00
Laurent Destailleur
7c1eac9774 Fix sqli ->escape after ->escapeforlike 2022-11-21 03:58:22 +01:00
Thomas Negre
00c62bf150 Consistent management of carriage returns 2022-11-16 14:08:41 +01:00
Thomas Negre
b0548213b9 copyright and doc 2022-11-16 11:44:46 +01:00
Thomas Negre
a0ef602297 Fix ODT generation : htmlspecialchars() was run too many times on some strings. 2022-11-16 11:25:08 +01:00
Laurent Destailleur
43e153715f Remove non used code for module webhook 2022-11-04 20:49:25 +01:00
Laurent Destailleur
e0a4070da3 Try to fix phpunit 2022-11-01 14:00:08 +01:00
Laurent Destailleur
fc64bcf56f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-10-21 13:22:27 +02:00
Laurent Destailleur
0bbef75af2 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-10-19 18:10:17 +02:00
Laurent Destailleur
01abfe538f Doc 2022-10-19 17:54:20 +02:00
Laurent Destailleur
92d556caf2 Fix phpunit 2022-10-19 17:53:06 +02:00
Laurent Destailleur
b6dbdd6757 Work on php 8.1 compatibility and adodb removal 2022-10-10 14:23:02 +02:00
Laurent Destailleur
d9f1435cea Fix phpunits 2022-10-10 12:05:03 +02:00
Laurent Destailleur
de94451a88 Add more phpunit to avoid empty and hasRight 2022-09-25 14:56:13 +02:00
Laurent Destailleur
6c17c2f044 Test travis php7.1 2022-09-21 17:55:04 +02:00
Laurent Destailleur
13885f764e Test phpunit fix 2022-09-21 17:29:37 +02:00
Laurent Destailleur
8f1ea59bc6 Fix for travis and PHP 8.1 with PGSQL 2022-09-20 21:13:51 +02:00
Laurent Destailleur
38676b6c04 Fix phpunit 2022-09-10 00:54:16 +02:00
Laurent Destailleur
cf887dba16
Merge pull request #22075 from grandoc/new_branch_04_09_2022
update code
2022-09-09 18:03:43 +02:00
Frédéric France
835441d437 remove blank line 2022-09-07 20:14:49 +02:00
Philippe GRAND
d5df85fd3e update code 2022-09-04 13:34:19 +02:00
Laurent Destailleur
cfd3eeb245 NEW All ajax pages have now a top_httphead() 2022-09-03 20:08:13 +02:00
Frédéric France
8e66b7207e replace ! empty by !empty 2022-08-31 22:14:20 +02:00
Frédéric France
00da52ef8c fix php8 warnings 2022-08-31 22:12:25 +02:00
Laurent Destailleur
63a1daa091 Clean code 2022-08-26 19:27:38 +02:00
Laurent Destailleur
72c010622b FIX empty with hasRight and add phpunit to avoid this in future 2022-08-14 16:38:20 +02:00
Laurent Destailleur
c4a24197a7 Add phpunit for MAIN_SECURITY_MAX_IMG_IN_HTML_CONTENT 2022-08-10 23:03:42 +02:00
Laurent Destailleur
9b58b61d60 Enhance MAIN_RESTRICTHTML_REMOVE_ALSO_BAD_ATTRIBUTES #yogosha12008 2022-08-10 20:19:43 +02:00
Laurent Destailleur
edb61faf25 Fix lang 2022-07-29 18:16:29 +02:00
Laurent Destailleur
77389b3855 Fix trans 2022-07-29 17:35:39 +02:00
Laurent Destailleur
138e93402d Fix language font for PDF 2022-07-26 14:15:38 +02:00
Laurent Destailleur
245580bfa5 FIX Several pb in invoice remind (html detection, no event, transaction) 2022-07-08 14:11:13 +02:00
Laurent Destailleur
e6e4017047 Fix debug for php 8.1 2022-07-03 14:29:59 +02:00
Laurent Destailleur
1b58b5e21f Add phpunit test 2022-07-03 12:29:09 +02:00
Laurent Destailleur
046fa77a5a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/propal/card.php
2022-06-29 16:46:27 +02:00
Laurent Destailleur
cbaa8b4304 FIX False alert of WAF when there is "set" into some URL action=update. 2022-06-29 16:40:19 +02:00
Laurent Destailleur
4b79d91437 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-06-23 12:35:24 +02:00
Laurent Destailleur
ca6d47aba0
Merge pull request #21247 from Quatadah/dolicloud-qnasdami-scrutinizer-004
BUG FIX: evaluate() doesn't cover the case where $expr is empty
2022-06-17 15:28:50 +02:00
Laurent Destailleur
5f0e419e46
Update EvalMathTest.php 2022-06-17 15:28:36 +02:00
NASDAMI Quatadah
a11732bb0d done 2022-06-15 15:44:40 +02:00
NASDAMI Quatadah
e07a94a051 changing the testUserHasRight 2022-06-15 15:31:23 +02:00
NASDAMI Quatadah
0af9fe275d test userHasRight temporarily commented 2022-06-15 15:25:23 +02:00
NASDAMI Quatadah
5b93c103a3 evaluate function checks if is empty + unit test 2022-06-15 15:18:37 +02:00
Laurent Destailleur
ff26031dc6 phpv8 2022-06-14 17:58:41 +02:00
Frédéric France
3fdbce7a31 use isModEnabled function 2022-06-11 09:46:28 +02:00
Quatadah Nasdami
b63b7b242d
Delete .phpunit.result.cache 2022-06-09 19:32:38 +02:00
NASDAMI Quatadah
ef8b041ac6 resolving phpcs errors 2022-06-09 13:29:02 +02:00
stickler-ci
7b3fe948a0 Fixing style errors. 2022-06-09 11:20:59 +00:00
NASDAMI Quatadah
e729d76833 removing some spaces 2022-06-09 13:19:26 +02:00
NASDAMI Quatadah
ea720e25e5 Fixing bug 20500 2022-06-09 13:17:32 +02:00
NASDAMI Quatadah
7f86c53b3e fixing bug 20500 2022-06-09 13:15:40 +02:00
NASDAMI Quatadah
1dcc701251 Fixing bug 20500 2022-06-09 13:10:46 +02:00
Laurent Destailleur
21e5189e18 Add phpunit for num2Alpha 2022-05-31 18:17:43 +02:00
Lucas Marcouiller
5c757c30be part2 of test 2022-05-22 15:46:04 +02:00
Laurent Destailleur
5f0a34166d NEW Add a protection into PHPunit to avoid to forget a var_dump 2022-05-17 15:10:20 +02:00
Laurent Destailleur
cffec01451 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/lib/functions.lib.php
	test/phpunit/SecurityTest.php
2022-05-09 22:04:36 +02:00
Laurent Destailleur
ef18456724 Fix regression in dol_eval 2022-05-09 21:56:21 +02:00
Laurent Destailleur
822a0a37f3 Fix phpunit 2022-04-28 22:37:21 +02:00
Laurent Destailleur
d143b8bf6e Debug dol_uncompress and add phpunit tests 2022-04-05 17:19:12 +02:00
Laurent Destailleur
ea61e51730 Fix phpunit 2022-04-04 14:00:39 +02:00
Laurent Destailleur
7e34ce7245 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/main.inc.php
2022-04-02 15:39:15 +02:00
Laurent Destailleur
9c00115abe FIX #yogosha9754 2022-04-02 14:32:53 +02:00
Laurent Destailleur
c2a088c5ff Fix regression in phpunit 2022-03-26 12:34:52 +01:00
Laurent Destailleur
592a277091 FIX ZATCA Encoding 2022-03-19 19:17:22 +01:00
Laurent Destailleur
cb93ab472d FIX ZATCA Encoding 2022-03-19 19:14:12 +01:00
Laurent Destailleur
b339e1a883 Enhance phpunit on sql code testing 2022-03-07 19:37:53 +01:00
Laurent Destailleur
d6852c31b8 Clean code 2022-03-07 19:31:06 +01:00
Laurent Destailleur
8655592aea Fix bad merge 2022-03-03 09:51:12 +01:00
Laurent Destailleur
4f17f45e99 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	test/phpunit/SecurityTest.php
2022-03-03 02:17:53 +01:00
Laurent Destailleur
246474b39b Fix phpunit 2022-03-03 02:15:52 +01:00
Laurent Destailleur
0fed4dae13 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/lib/functions.lib.php
2022-03-03 01:59:31 +01:00