Commit Graph

1892 Commits

Author SHA1 Message Date
Laurent Destailleur
2009c6f09a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-31 17:30:32 +02:00
Laurent Destailleur
b8dadd4b6a Debug v20 Fix missing test on permissions 2024-08-31 17:23:13 +02:00
Laurent Destailleur
2c28d039e2 Fix test on permissions 2024-08-31 16:26:08 +02:00
Laurent Destailleur
1e3a860767 Fix test on permissions 2024-08-31 16:01:27 +02:00
Laurent Destailleur
ee6779dbcf Clean code 2024-08-31 15:08:17 +02:00
hansemschnokeloch
4849e04fc9 Fix #29292 (#30720)
* fix #2810

* Fix #29292
2024-08-23 15:27:55 +02:00
hansemschnokeloch
cfb44ce196 Fix #29292 (#30720)
* fix #2810

* Fix #29292
2024-08-23 15:27:10 +02:00
Laurent Destailleur
34fefcaeb2 Clean code 2024-08-01 12:46:30 +02:00
Laurent Destailleur
46cde6431a NEW Can use a specific profile to send email for password forgotten 2024-08-01 11:36:21 +02:00
Laurent Destailleur
6428a1d892 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-07-28 15:05:02 +02:00
Laurent Destailleur
8ac368ce17 FIX Better sanitizing for javascript. Fix <> bypass. 2024-07-27 18:07:37 +02:00
Laurent Destailleur
bcb63ae7b4 Fix phpunit 2024-07-26 04:10:10 +02:00
Laurent Destailleur
50190db5c7 Fix option WITHDRAWAL_WITHOUT_BIC 2024-07-25 22:02:20 +02:00
Laurent Destailleur
d863d455b2 Fix phpunit 2024-07-25 17:51:45 +02:00
Laurent Destailleur
5513b573b0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-24 04:06:06 +02:00
Laurent Destailleur
7595609be2 Fix #yogosha23464 possible RCE by an admin user. 2024-07-23 18:27:18 +02:00
Laurent Destailleur
be1e91242b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 20:13:07 +02:00
Laurent Destailleur
1cb57b03ae Debug v20 - fix dol_escape_htmltag 2024-07-22 20:12:35 +02:00
Laurent Destailleur
6ed6900c79 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 16:46:40 +02:00
Laurent Destailleur
561e365ff1 Fix warning 2024-07-22 16:39:26 +02:00
Laurent Destailleur
3633762298 Fix dolPrintHTML when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is off 2024-07-22 16:36:24 +02:00
Laurent Destailleur
cabe506077 Fix phpunit 2024-07-16 09:51:50 +02:00
Laurent Destailleur
0a7df365fc Sync transifex 2024-07-16 04:59:25 +02:00
Laurent Destailleur
5661a381ee Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/propal/class/propal.class.php
	htdocs/projet/tasks/time.php
2024-07-13 17:47:55 +02:00
Laurent Destailleur
7879e12bd2 Fix phpunit 2024-07-13 02:22:26 +02:00
Laurent Destailleur
a391143007 Removed dol_json_encode/decode in favor of native json_encode/decode 2024-07-12 02:01:09 +02:00
Laurent Destailleur
e3d858692e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-12 01:54:11 +02:00
Laurent Destailleur
d3ebd3fbe7 SEC: Possible RCE when php module json off. +Warning in security page. 2024-07-12 01:43:53 +02:00
Vincent de Grandpré
b0cd32bf68 NEW Implementing Billable tasks on projects using new attribute "billable" (#30092)
* Implementing Billable task function on projects using new attribute in #30014

* added billable to Task->initAsSpecimen()

* default billable to 1 in initAsSpecimen

* set billable to 1 in ProjectTest::testTaskCreate

* Moving attribut usage in usage_bill_time condition of project

* PPDoc

* fusion

* pre-commit + typo

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-03 03:29:05 +02:00
Laurent Destailleur
04f64714f1 Debug v20 2024-06-26 21:45:36 +02:00
Lucas Marcouiller
d63687da6d Fix dol_escape_htmltag to prevent bad strip of char (#29931)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-08 14:51:32 +02:00
Laurent Destailleur
5bbc4e083e Add a phpunit test 2024-06-04 14:06:35 +02:00
Laurent Destailleur
580a021c7d Fix warnings 2024-06-01 15:30:43 +02:00
Laurent Destailleur
ad48477f6c Fix name of test file 2024-06-01 12:21:54 +02:00
Laurent Destailleur
ba6e7e85db Merge #28264 to get a simpler code 2024-06-01 12:02:23 +02:00
Laurent Destailleur
3cd74f4689 Fix phpunit 2024-05-29 14:43:23 +02:00
Laurent Destailleur
4d49d01eec Fix phpunit 2024-05-15 12:19:57 +02:00
Laurent Destailleur
1b2bad3f42 NEW Add function to manipulate emojis 2024-05-14 18:19:48 +02:00
Laurent Destailleur
7f3ed10922 Add phpunit case 2024-05-14 04:08:54 +02:00
Laurent Destailleur
27bc1cddad Debug v20 2024-05-08 15:43:46 +02:00
Laurent Destailleur
f8d072f04c Fix phpunit 2024-04-23 20:26:24 +02:00
MDW
31584659e0 Refactor objCompare
# Refactor objCompare:

- Move to CommonClassTest;
- Report class name for mismatched property;
- Cope with dolDeprecated property aliases (test may exclude deprecated name,
  also exclude new name).
2024-04-02 11:25:17 +02:00
Laurent Destailleur
fbf0912a98 Fix phpunit warnings 2024-03-28 21:33:09 +01:00
Laurent Destailleur
0544670ac4 Merge pull request #28160 from mdeweerd/core/deprecationclass
NEW: DolDeprecationHandler for deprecations
2024-03-28 12:42:53 +01:00
MDW
c87c3b100c Qual: LangTest: Use dataprovider, beautify output 2024-03-27 22:12:27 +01:00
Laurent Destailleur
4efa503400 NEW Accept the __NOW__ and __USER_ID__key into filters 2024-03-25 23:53:28 +01:00
MDW
a6d4a99cca NEW: DolDeprecationHandler for deprecations
# NEW: DolDeprecationHandler for deprecations

This reusable class avoids needed to implement double assignments while enabling
the detection of the use of deprecated variables and methods.

There is no efficiency overhead when the proper variables and methods are
used.
2024-03-24 17:39:02 +01:00
Laurent Destailleur
295587ea20 Fix warning 2024-03-24 14:19:44 +01:00
Laurent Destailleur
220b9d0852 Add a unit test on dol_eval 2024-03-24 07:08:40 +01:00
Laurent Destailleur
3fdf5e2881 Fix phpunit for Expedition 2024-03-24 06:31:59 +01:00