Commit Graph

4029 Commits

Author SHA1 Message Date
hansemschnokeloch
cfb44ce196 Fix #29292 (#30720)
* fix #2810

* Fix #29292
2024-08-23 15:27:10 +02:00
lamrani abdelwadoud
cc8e1cd81e New display for listing events (#30713)
* New display for listing invoice events

* Fix phpstan errors
2024-08-22 03:30:27 +02:00
Mohamed DAOUD
f4417e502e allow links and scripts on website htmlheader (#30708) 2024-08-21 14:10:09 +02:00
Laurent Destailleur
955876b785 Rename param 2024-08-21 02:51:33 +02:00
Laurent Destailleur
e08fd29d0f Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-08-21 02:45:37 +02:00
Laurent Destailleur
3c78580471 Add restricthtmlallowlinkjstag in GETPOST 2024-08-21 02:42:13 +02:00
lamrani abdelwadoud
4db05d65a5 New display for list event of contactAddress (#30702)
* New display for list event of contactAddress

* remove var_dump
2024-08-20 23:32:09 +02:00
Laurent Destailleur
0830af9f11 Fix label-picto of extrafields 2024-08-20 11:45:15 +02:00
Laurent Destailleur
23c91578f0 NEW Add pîcto on list of notification email templates 2024-08-20 11:02:47 +02:00
Laurent Destailleur
a83fb60074 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-08-20 04:19:17 +02:00
Laurent Destailleur
0340f0db8d Fix phpstan 2024-08-20 04:18:02 +02:00
Frédéric FRANCE
97392965e1 fix ignored phpstan (#30645)
* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan
2024-08-16 20:13:02 +02:00
MDW
54880f92cd Qual: Fix PhanTypeMismatchProperty and some other phan notices (#30542)
* Qual: Fix PhanTypeMismatchProperty and some other phan notices

* Qual: Phan fixes for BOM

* Phan - fix fields

* fixup! Qual: Phan fixes for BOM

* Fix phpstan double array keys for syslog

* Fix $fields phpdoc

* Fix phan typing issues with intermediate var and ??

* Fix phan typing issue with ?? operator

* Ignore htdocs/install/install.forced.php for git

* Qual: Revert to original code, ignore notice

When changing the method to avoid one notice type, another one
appears.  So simply ignoring this error.

* Qual: Revert to original code, ignore notice

When changing the method to avoid one notice type, another one
appears.  So simply ignoring this error.

* Update baseline

* Qual: Phan fixes for BOM

* fixup! Qual: Phan fixes for BOM

* Fix phpstan double array keys for syslog

* Qual: Revert to original code, ignore notice

When changing the method to avoid one notice type, another one
appears.  So simply ignoring this error.

* Ignore PhanTypeSuspiciousNonTraversableForeach to allow integration

* Fix typing hints (phpstan)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-15 17:05:00 +02:00
thibdrev
e5c0150be4 qual: avoid double negations by introducing getDolGlobalBool() (#30618)
* Update index.php

* Update api.class.php

* Update pdf_eratosthene.modules.php

* Update pdf_sponge.modules.php

* Update pdf_cyan.modules.php

* Update partnershiputils.class.php

* Update paypalfunctions.lib.php

* Update societe.class.php

* Update functions.lib.php - create getDolGlobalBool()

* Update index.php

* Update api.class.php

* Update pdf_eratosthene.modules.php

* Update pdf_sponge.modules.php

* Update pdf_cyan.modules.php

* Update partnershiputils.class.php

* Update paypalfunctions.lib.php

* Update societe.class.php

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-13 22:50:31 +02:00
MDW
d6948077b2 Qual: Fix spelling/update .pre-commit configuration (versions) (#30546)
* Qual: Update pre-commit configuration

* Qual: Update spelling

* Ignore use of deprecated constant
2024-08-07 01:20:43 +02:00
MDW
42994ba76a Fix: Accept that user can be null (#30552)
User can be null when `define('NOREQUIREUSER', true);`.

(Seen when generating modulebuilder page from CLI script).
2024-08-07 01:05:07 +02:00
Laurent Destailleur
d787d801cf css 2024-08-03 14:34:44 +02:00
Laurent Destailleur
2f415cafcd Try to fix phan warning 2024-08-02 17:06:07 +02:00
Laurent Destailleur
a7c7317d97 Fix regression 2024-08-02 16:48:01 +02:00
Laurent Destailleur
dd61bff4da Code simpler 2024-08-02 16:39:29 +02:00
Laurent Destailleur
4fc272698f Clean code 2024-08-01 13:07:12 +02:00
MDW
46eb5f83c2 Qual: Updates for phpstan notices (#30509)
* Fix int<0> typing to int<0,0> for phpstan

* Fix phpdoc for phpstan

* Fix phpdoc for phpstan

* Qual: Several phpstan notice fixes

* Fix phpdoc

* Qual: totalpaid is never null, remove null test

* improve phpdoc typing

* Also return null to statisfy phpstan

* Allow null value for $var

* object->Object to make it meaningful

* Type EvalMathStack properties

* Comment out unused private methods (phpstan)

* Changes for phpstan (return values, phpdoc, code)

* Change order of tests for phpstan

* phpdoc object to Object for correct typing

* Typing hing for phpstan

* UPdate test for phpstan

* Change phpdoc position for phpstan

* Update phpdoc for phpstan

This needs further improvement

* Change $op to $ope to fix phpstan

* Update sqlite3.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 12:59:45 +02:00
Laurent Destailleur
75158556c9 Debug 2024-07-31 19:36:57 +02:00
Laurent Destailleur
9e01c45df6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-28 16:56:07 +02:00
Laurent Destailleur
e5e1f385b5 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-07-28 16:49:12 +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
290f164b4f Sanitize output 2024-07-27 15:41:14 +02:00
Laurent Destailleur
a6fe474449 Fix phan 2024-07-25 14:46:45 +02:00
Laurent Destailleur
0a85286a2e Fix phan 2024-07-25 14:45:35 +02:00
Laurent Destailleur
cf631563f9 Look and feel v21 2024-07-24 16:07:15 +02:00
Laurent Destailleur
a1a0de3ef1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-24 15:15:25 +02:00
Laurent Destailleur
746d5050ad Fix responsive for text browser mode 2024-07-24 15:14:39 +02:00
Laurent Destailleur
24db6ab6b0 CSS 2024-07-24 04:10:17 +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
041490430f Fix regression, email was not visible 2024-07-24 04:02:52 +02:00
Laurent Destailleur
0fe2bc7c2e Debug v20 2024-07-24 03:10:49 +02:00
Laurent Destailleur
2547654721 Debug v20 - CSS 2024-07-24 02:20:18 +02:00
Laurent Destailleur
2bdcbabeae Avoid memory error on browser side 2024-07-24 02:19:49 +02:00
Laurent Destailleur
963329d0ae Debug v20 - CSS 2024-07-24 01:57:35 +02:00
Laurent Destailleur
c21313fc2c Fix phan 2024-07-23 19:19:27 +02:00
Laurent Destailleur
7595609be2 Fix #yogosha23464 possible RCE by an admin user. 2024-07-23 18:27:18 +02:00
Laurent Destailleur
1d04c0a37d Fix #yogosha23433 - Disallow }[ and call_user_func into php code of
website.
2024-07-23 17:21:51 +02:00
Laurent Destailleur
56ed17a2c4 Disallow $_ into php code. 2024-07-23 16:19:08 +02:00
Laurent Destailleur
85ad3acda4 NEW Move the picto in the first tab label always visible 2024-07-23 12:56:34 +02:00
Laurent Destailleur
7160edef07 Fix string not correctly sanitized - Debug v20 2024-07-23 10:24:39 +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
c981b22a2d Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 18:02:28 +02:00
Laurent Destailleur
a735aaeb36 Debug v20 - fix dol_escape_htmltag 2024-07-22 17:59:45 +02:00