Commit Graph

1886 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
c2d2de53f9 Accept img src=data into dolPrintHTML 2025-01-27 10:51:36 +01:00
Laurent Destailleur (aka Eldy)
a99b132c34 Accept img src=data into dolPrintHTML 2025-01-27 10:16:28 +01:00
Laurent Destailleur
d37897b50c Merge branch 'develop' into fix_getrights_loadrights 2025-01-21 08:34:22 +01:00
Laurent Destailleur (aka Eldy)
30dc853bb7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-20 15:09:16 +01:00
Laurent Destailleur (aka Eldy)
fa9fe2efa7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-20 15:02:37 +01:00
Laurent Destailleur (aka Eldy)
c9ab22782e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-20 14:57:45 +01:00
Laurent Destailleur (aka Eldy)
1f360ca498 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-20 12:28:49 +01:00
Laurent Destailleur
08d32dbf25 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-20 01:00:21 +01:00
Laurent Destailleur
0d350d09ce Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-20 00:49:21 +01:00
Laurent Destailleur
93fdcf9b54 Merge pull request #32687 from mdeweerd/qual/fixphpstan2025.1.6
Qual: Fix dolPrintHtmlForAttribute->dolPrintHTMLForAttribute
2025-01-20 00:10:21 +01:00
MDW
490750e810 Qual: Remove var_dump and exit from SocieteTest 2025-01-17 23:19:09 +01:00
MDW
8ac29f71fb Qual: Fix dolPrintHtmlForAttribute->dolPrintHTMLForAttribute
# Qual: Fix dolPrintHtmlForAttribute->dolPrintHTMLForAttribute

Make printed text correspond to executed statement
2025-01-16 17:47:56 +01:00
MDW
eadf4c9f59 Qual: Remove var_dump and exit from SocieteTest 2025-01-16 17:32:05 +01:00
Laurent Destailleur (aka Eldy)
f6f38aebb4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-15 13:02:21 +01:00
Laurent Destailleur (aka Eldy)
cf62921762 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-15 13:01:03 +01:00
Laurent Destailleur (aka Eldy)
ac049e1f23 Fix test 2025-01-15 12:13:23 +01:00
Laurent Destailleur (aka Eldy)
a5fe192125 FIX country id is not saved when we provide country_code only 2025-01-13 13:31:38 +01:00
Laurent Destailleur
8b3c958e14 Merge branch 'develop' into fix_getrights_loadrights 2025-01-13 02:37:59 +01:00
Laurent Destailleur (aka Eldy)
f6115ec70b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-13 00:07:00 +01:00
Laurent Destailleur (aka Eldy)
e5249391f0 Debug v21 - Fix trans 2025-01-12 22:33:20 +01:00
Laurent Destailleur (aka Eldy)
802562a575 Fix regression after a fix 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
0ffd31c1a1 Restore lines commented for test 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur
9de730aeab Add more phpunit 2025-01-09 19:28:08 +01:00
Laurent Destailleur
000e2ebe54 Test 2025-01-09 19:19:28 +01:00
Maxime Kohlhaas
9535baf6d2 Fix : getRights has been replaced by loadRights in V20 2025-01-09 18:33:26 +01:00
Laurent Destailleur (aka Eldy)
429f5db55a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-09 14:09:33 +01:00
Laurent Destailleur (aka Eldy)
58e42656c0 Fix regression after a fix 2025-01-09 13:54:25 +01:00
Laurent Destailleur (aka Eldy)
7b4946b146 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-09 13:03:44 +01:00
tnegre
7e82f70c77 add case when HTML tags contain attributes 2025-01-09 11:05:45 +01:00
Laurent Destailleur (aka Eldy)
8e551100a1 Fix typo 2025-01-09 01:41:24 +01:00
Laurent Destailleur (aka Eldy)
599d891284 Restore lines commented for test 2025-01-08 18:24:46 +01:00
Laurent Destailleur (aka Eldy)
79ae59ee2a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-08 17:54:13 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Laurent Destailleur (aka Eldy)
3bfd6c1e30 Debug MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY 2025-01-06 12:56:24 +01:00
tnegre
61b03b0c05 Testing ODF : revert parameters order for assertEquals() 2025-01-06 09:44:04 +01:00
tnegre
112220da86 BUG: when there are two identical HTML tags in a substitution string, everything is taken between first opening tag and last closing tag. Write test to reproduce. 2025-01-06 09:44:04 +01:00
Laurent Destailleur (aka Eldy)
9a61a6e6c9 Update files after moving build into dev/ 2025-01-05 14:46:26 +01:00
Laurent Destailleur (aka Eldy)
4d02eca12a Debug v21 2024-12-31 16:56:59 +01:00
Laurent Destailleur (aka Eldy)
8733e9d57e Fix security test blocking $_SESSION... 2024-12-26 15:43:29 +01:00
Laurent Destailleur (aka Eldy)
fcc344f9da Security - More robust dol_eval function after vulnerability report by
Muhammad Zeeshan (Xib3rR4dAr)
2024-12-26 15:43:29 +01:00
Laurent Destailleur (aka Eldy)
7f4b2b08b4 Complete phpunit and tests to avoid use of non expected function 2024-12-18 19:00:33 +01:00
Laurent Destailleur (aka Eldy)
27ac538e74 Fix security. Make bypass of checkPHPCode more difficult 2024-12-18 15:55:00 +01:00
Alexandre Janniaux
24ef798202 phpunit: AllTest: register new accountancysystem test 2024-12-04 08:10:37 +01:00
Alexandre Janniaux
b75db7015e test: phpunit: add AccountancySystemTest
The test check that we can create and fetch items correctly. Commented
implemented for update and delete are provided but currently useless
since no implemented of update/delete are present in AccountancySystem.

Testing object creation without having object deletion is still useful
for tests purpose, since objects created in an accountancy tests would
involve the accountancy system and using an existing one could lead to
uniqueness errors, whereas creating new ones ensure the
AccountingAccount can be created regardless.
2024-12-04 08:10:37 +01:00
Laurent Destailleur
c2a3a93342 Debug v21 - renameto avoid future conflit 2024-11-24 14:58:40 +01:00
Laurent Destailleur
1d1c381e98 Fix message 2024-11-14 01:44:13 +01:00
Frédéric FRANCE
9067c6deec replace deprecated (#31803)
* replace deprecated

* replace deprecated
2024-11-14 00:16:43 +01:00
Laurent Destailleur
2b764e52b1 Add assertion on this test 2024-11-13 21:37:55 +01:00