Commit Graph

13869 Commits

Author SHA1 Message Date
Laurent Destailleur
896bfeb050 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-30 14:57:01 +02:00
Laurent Destailleur
bde5687890 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-06-30 11:59:25 +02:00
Laurent Destailleur
d7c2e78239 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
Conflicts:
	htdocs/core/class/html.formmail.class.php
	htdocs/core/tpl/card_presend.tpl.php
2024-06-30 03:50:02 +02:00
Regis Houssin
fdf5fe0f26 FIX broken pdf preview when multicompany sharing (#30188)
* FIX broken pdf preview when multicompany sharing

* Update html.formmail.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-29 19:28:30 +02:00
Laurent Destailleur
2f4c84f4b5 Debug v20 2024-06-29 13:23:05 +02:00
Frédéric FRANCE
409bccb4f0 fix phan api_workstations.class.php (#30169)
* fix api_workstations.class.php

* Update api_workstations.class.php

* Update api_workstations.class.php

* Update api_workstations.class.php

* Update html.formwebsite.class.php
2024-06-27 16:39:15 +02:00
Laurent Destailleur
902065406b Debug v20 2024-06-27 09:20:04 +02:00
Alexandre SPANGARO
0cb82b4035 Situation invoice #29897 - Add specific model Octopus (#30116)
* Situation invoice #29897 - Add specific model Octopus

* Fix phan

* Comment translation

* Fix phan

* add fix to octopus

* add fix to octopus

* Add fix octopus

* fix phan

fix phan

fix phan

fix phan

* fix phan

fix phan

fix phan

fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* Cancel fix (compatibility php 8.x only)

* Add fix octopus

* Fix phan

* Fix phan

---------

Co-authored-by: Frédéric France <frederic.france@free.fr>
2024-06-26 17:25:15 +02:00
Laurent Destailleur
bd2a0b9e55 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-25 15:13:51 +02:00
John BOTELLA
322bbd934b fix : 19.0 fix inconsistent link validation (#30141)
* Dirty fix for inconcistant link psedo langage

* add todo

* Update commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-24 22:53:43 +02:00
Frédéric FRANCE
702cca1502 fix $action is unknown (#30148)
dafbefdc74
2024-06-24 22:15:56 +02:00
Laurent Destailleur
57414242bd Debug v20 2024-06-24 15:55:45 +02:00
Laurent Destailleur
10e0f6f2ab Debug v20 - popup of combo go out of screen 2024-06-24 15:08:16 +02:00
Laurent Destailleur
c54a97e923 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-24 01:47:18 +02:00
Laurent Destailleur
e8c5115068 Debug v20 2024-06-23 23:35:00 +02:00
Laurent Destailleur
86341f110c Debug v20 2024-06-23 21:31:44 +02:00
Christian Humpel
dafbefdc74 NEW: Hook do actions or check input after changing a extrafield in commonobject.class.php (#30128)
* Integration Textbausteine weiter...

* fix typo.
2024-06-23 18:00:44 +02:00
boudet jean pascal
da4f526f77 test status contact (#30098)
* test status contact

* Update notify.class.php

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

---------

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-22 16:07:46 +02:00
Alexandre SPANGARO
82d144c057 Situation invoice #29897 - CommonObject (#30118) 2024-06-22 15:57:38 +02:00
Laurent Destailleur
9bc84fdd4e Debug v20 2024-06-22 15:20:11 +02:00
Laurent Destailleur
e60982b5ce Code comment 2024-06-21 13:18:50 +02:00
Laurent Destailleur
a618bf2ae6 Debug v20 2024-06-18 09:54:11 +02:00
Laurent Destailleur
9adb439c03 Look and feel v20 2024-06-17 14:13:25 +02:00
Laurent Destailleur
4af3e82922 Fix warnings 2024-06-17 14:06:21 +02:00
Laurent Destailleur
5037067cdc Fix hooks cache was broken by the sorting on priotity 2024-06-17 10:14:39 +02:00
Laurent Destailleur
bd2bad2ea5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 13:17:21 +02:00
Frédéric FRANCE
4372f329b8 phpstan ignore unused method in evalmath.class.php (#30048) 2024-06-16 12:56:42 +02:00
Laurent Destailleur
4532866f0f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 12:12:03 +02:00
Laurent Destailleur
d9ac7581fa Fix look and feel v20 2024-06-16 12:11:47 +02:00
Frédéric FRANCE
f25c1ffde4 ignore phpstan level 4 (#30046) 2024-06-16 11:10:26 +02:00
Laurent Destailleur
1c2c3c36ad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 01:33:58 +02:00
Laurent Destailleur
534606ed96 Prepare 20.0 2024-06-16 01:33:35 +02:00
Laurent Destailleur
99f0888ed0 Fix #30021 2024-06-15 15:52:21 +02:00
Laurent Destailleur
e4db878042 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 14:53:53 +02:00
Laurent Destailleur
d376a2a406 Fix look and feel v19 2024-06-14 19:39:26 +02:00
Frédéric FRANCE
facb1930a7 fix phpstan Property Product::$oldcopy in empty() is not falsy (#30003)
* fix phpstan Property Product::$oldcopy in empty() is not falsy

* add token

* doc

* fix phpstan Property Product::$oldcopy in empty() is not falsy

* fix phpstan Property Product::$oldcopy in empty() is not falsy

* fix phpstan
2024-06-13 08:11:11 +02:00
Frédéric FRANCE
c9f9e44454 add phpdoc (#29982)
* add phpdoc

* token

* token
2024-06-11 01:06:52 +02:00
Frédéric FRANCE
0d33365152 ignore phpstan error (#29974)
* ignore phpstan error

* Update dolgraph.class.php
2024-06-10 20:49:58 +02:00
Frédéric FRANCE
1711c1db45 ignore phpstan error (#29973) 2024-06-10 20:49:43 +02:00
Laurent Destailleur
77fe3bc02d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-10 16:08:59 +02:00
Mathieu Moulin
abcb1dad4b Define CommonObject relation in CommonObjectLine classes (#29956) 2024-06-10 16:08:39 +02:00
Laurent Destailleur
1d07e2a36b css 2024-06-10 15:01:45 +02:00
boudet jean pascal
0fa6cd7042 fix extrafield input with the type int mus show 0 value if exist (#29967)
* fix extrafield input with the type int mus show 0 value if exist

* pre-commit

* pre-commit

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2024-06-10 14:30:36 +02:00
Florian Mortgat
7163299f04 NEW convenience methods for getting / setting the value of an extrafield (#29856)
* NEW convenience methods for getting / setting the value of an extrafield on an object

* Update htdocs/core/class/commonobject.class.php

[code formatting] removing extra space
2024-06-09 15:34:04 +02:00
Eric
3421352e7c prefix and suffix core cleanup (#29938) 2024-06-09 00:50:40 +02:00
Laurent Destailleur
b40bf1b768 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-08 19:38:31 +02:00
Laurent Destailleur
09ee64c154 FIX #29915 Better fix to show full path of category in multiselect mode. 2024-06-08 19:36:15 +02:00
Aloïs Micard
0cfd16d8db Allow tweaking of the index that MySQL use when searching products (#29934)
* Allow tweaking of the index that MySQL use when searching products

Sometimes when working with large dataset with many entities the MySQL engine does not pick-up the right index.
This is especially true when doing a search over the reference because the LIKE '%%' prevent the uk_product_label from being chosen.

This PR aims to improve this situation by doing the following :

- Adding a simple index on entity column.
- Adding an hidden constant to force the index being used when searching products.

Performances over a 8M products dataset shows a reduction of 2/3 execution time.

* Add missing global $conf

* Fix wrong usage of getDolGlobalString()

* Finalise fix

* Add more indexes

* Rework indexes
2024-06-08 19:35:28 +02:00
Frédéric FRANCE
84491bfbdd fix inline images with swiftmailer (#29923) 2024-06-08 12:00:23 +02:00
HENRY Florian
bcf7354ad6 fix: cookie JS creation missing defaut attribute SameSite (#29862)
* fix: cookie JS creation missing defaut setting

* fix: travis CI

* fix: travis CI

* fix: travis CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 02:49:57 +02:00