Commit Graph

214 Commits

Author SHA1 Message Date
ldestailleur
af74f2c057 Lang file paybox is too small for deprecated moduel. Moved inside
stripe.
2025-09-11 11:20:13 +02:00
Frédéric FRANCE
58d2ba225d clean code (#35148)
* clean code

* fix

* fix

* fix
2025-09-01 19:24:57 +02:00
Frédéric FRANCE
1c6a40acbe Contact statut -> status (#34968)
* deprecate contact statut for status

* deprecate contact statut for status

* fix

* fix
2025-08-17 02:00:29 +02:00
ldestailleur
6bc3036b18 Removed option forcesandbox 2025-07-10 19:47:58 +02:00
ldestailleur
50b722905f CSS 2025-05-06 13:26:51 +02:00
ldestailleur
c55138f314 Fix CI 2025-04-18 19:56:28 +02:00
ldestailleur
fe57065929 FIX CI 2025-04-18 17:22:09 +02:00
ldestailleur
045d834cde CSS 2025-04-18 15:11:21 +02:00
ldestailleur
0cacc393b5 Fix CI 2025-04-18 14:48:26 +02:00
ldestailleur
941ccf5ec7 Debug v22 2025-04-18 13:33:55 +02:00
ldestailleur
54eb9f21e8 Clean code. Public pages must use the common header 2025-04-08 13:14:37 +02:00
Frédéric FRANCE
e804098a4d add missing translations (#33492)
* add missing translations

* add missing translations

* add missing translations

* add missing translations

* add missing translations
2025-03-19 14:50:19 +01:00
MDW
3b1200df77 Qual: Fix phan notices (public-2) 2025-02-12 23:41:07 +01:00
MDW
288aca6423 Qual: Fix phan (project-2) 2025-02-11 22:08:21 +01:00
Laurent Destailleur (aka Eldy)
84940c6f84 Debug v21 2025-01-14 12:02:52 +01:00
Laurent Destailleur (aka Eldy)
1cfa3b5803 Fix warning 2025-01-05 18:34:01 +01:00
Laurent Destailleur (aka Eldy)
8a2a67f2ec Clean sql 2024-12-15 02:02:14 +01:00
iouston
7a84561bba Fix issue n° 30845 - Resources not saved on new event creation (#31889)
* short_open_tag was always on No

* Fix Bug - Return an error if SOCIETE_EMAIL_UNIQUE = 1

if SOCIETE_EMAIL_UNIQUE is on 1, this form return an error because thirdparty already exist.

* fix issue n°31839

* fix wrong parameters

* fix issue n°30845

* Revert "fix issue n°30845"

This reverts commit cf88b7b236.

* fix issue n°30845

* replace space by tabs for CI

* fix cat statement

* precommit is very ball breaker ;-)

* is this the right one?

* fix precommit error

* Please phpstan...

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-16 14:56:42 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
MDW
f4c91d5bb6 Qual: Fix phan/phpstan notices (#31297)
# Qual: Fix phan/phpstan notices

Fix several phan and phpstan notices.
2024-10-07 14:07:24 +02:00
MDW
34e3717dda Qual: Fix phan/phpstan notices (#31289)
* Qual: Fix phan/phpstan notices

# Qual: Fix phan/phpstan notices

Fix several phan/phpstan notices

* Fix spelling in Changelog
2024-10-06 13:03:43 +02:00
Frédéric FRANCE
10496d9f6a fix phpstan (#31272)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-04 17:27:19 +02:00
Laurent Destailleur
d7d8f87045 Clean code. Add permission test after action = something. 2024-09-30 11:38:29 +02:00
Laurent Destailleur
613c25b5ff Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-10 02:02:16 +02:00
Laurent Destailleur
fb47847465 Fix escape 2024-09-09 21:41:51 +02:00
Frédéric FRANCE
2d02bec9ba fix phpstan (#30882)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-09 03:13:43 +02:00
Frédéric FRANCE
6aac956b7a fix phpstan (#30868)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-09 02:29:23 +02:00
Laurent Destailleur
77a76aad7a Fix test on permissions 2024-09-06 17:36:50 +02:00
Laurent Destailleur
0f979a31f3 Fix on permission test 2024-09-06 16:47:50 +02:00
Frédéric FRANCE
eb04c5c427 fix phpstan (#30860)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-06 13:44:29 +02:00
Frédéric FRANCE
80d1f47d4d fix ignored phpstan (most of expects string, int given) (#30649)
* 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

* 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

* 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

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-05 16:05:37 +02:00
HENRY Florian
0dc5f67d64 NEW: add warehouseId parameters in select_produit to limit result to existing product in select (#30477)
* ongoing

* new: add warehouseId parameters inselect_produit to limit result to existing product in select

* new: add warehouseId parameters inselect_produit to limit result to existing product in select

* new: add warehouseId parameters inselect_produit to limit result to existing product in select

* try reveiw

* fix from review

* fix from reiview

* review php stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-20 23:29:35 +02:00
Frédéric FRANCE
713dac2c56 fix phan (#30646)
* fix phan

* Update new.php

* Update new.php
2024-08-15 18:33:42 +02:00
Laurent Destailleur
aa3a4fbf52 QUAL Clean code 2024-08-15 16:53:49 +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
305406d802 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
Conflicts:
	htdocs/core/lib/functions.lib.php
2024-07-13 17:45:13 +02:00
Laurent Destailleur
88ee5ec89a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-07-13 17:41:37 +02:00
Laurent Destailleur
7661b87f80 QUAL Removed inclusion of the file json.lib.php 2024-07-12 01:53:47 +02:00
iouston
2335ea3067 FIX public project form return an error if SOCIETE_EMAIL_UNIQUE (#29942)
* FIX Bug - public project form return an error if SOCIETE_EMAIL_UNIQUE

if SOCIETE_EMAIL_UNIQUE is 1, this form returns an error because the third party already exists.

* after comment from eldy
2024-07-11 10:26:46 +02:00
Frédéric FRANCE
2707475a12 fix phpstan (#30319)
* fix phpstan

* fix phpstan expects int, false given ...

* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Laurent Destailleur
9af159cdd8 Replace "! empty($conf->global->$" with "getDolGlobalString($" 2024-07-03 20:05:29 +02:00
Frédéric FRANCE
3da9e53b03 Project phpdoc (#30233)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-07-02 01:46:40 +02:00
Alexandre SPANGARO
96afcaa476 Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
MDW
69f150ef97 Fix arguments to dol_get_fiche_head 2024-03-27 10:23:04 +01:00
MDW
bd2f970615 Fix arguments to dol_get_fiche_head 2024-03-27 10:23:03 +01:00
MDW
735d9ae467 Fix arguments to dol_get_fiche_head 2024-03-27 10:23:02 +01:00
MDW
449cb7758d Fix: Initialise $errmsg to fix PhanUndeclaredVariableAssignOp 2024-03-18 13:14:47 +01:00