2
0
forked from Wavyzz/dolibarr
Commit Graph

36016 Commits

Author SHA1 Message Date
Laurent Destailleur
ec42ad7804 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-12 00:46:02 +02:00
Laurent Destailleur
da577e8a24 Debug look and feel v20 2024-06-12 00:45:23 +02:00
Frédéric FRANCE
c9233d417b fix phpstan dead catch (#29986) 2024-06-11 20:02:06 +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
Frédéric FRANCE
5aff26ad10 exclude function in dol_eval (#29977) 2024-06-10 20:48:08 +02:00
Frédéric FRANCE
499f012081 fix phpstan dead catch (#29976) 2024-06-10 20:47:47 +02:00
Frédéric FRANCE
4061570acd fix csrf level 3 (#29975)
* fix csrf level 3

* Update init_menu_auguria.sql
2024-06-10 20:47:27 +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
Vincent de Grandpré
288e08a2e3 FIX#29958 - Evaluation of the enablement condition of an extrafield to add it to list of fields (#29960)
* evaluation the enablement condition of an extrafield to add it in the extrafield list array generation

* typo
2024-06-10 16:02:50 +02:00
Laurent Destailleur
1d07e2a36b css 2024-06-10 15:01:45 +02:00
Frédéric FRANCE
7ea296ff75 Fix Dead catch Exception phpstan (#29959)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

* fix phpstan
2024-06-10 14:26:41 +02:00
Laurent Destailleur
7a2b4938c9 FIX #29963 2024-06-10 14:23:07 +02:00
Laurent Destailleur
469137473d Fix use better action code 2024-06-10 14:15:36 +02:00
Frédéric FRANCE
ad93a54402 fix phpstan (#29961)
Expression in empty() is not falsy.
2024-06-10 14:07:28 +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
Lucas Marcouiller
5a4d80a8e6 Fix display of non html messages in ticket/messaging.php (#29896)
* Fix display of non html messages in ticket/messaging.php

* Fix pr

* fix remaining nl2br

* add maildate

* fix conflict

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-09 15:23:39 +02:00
Frédéric FRANCE
b76f2acedd fix phpstan (#29948) 2024-06-09 14:58:07 +02:00
Frédéric FRANCE
acd8fdc24e fix phpstan level 4 (#29954)
* fix phpstan level 4

* fix phpstan level 4
2024-06-09 13:26:45 +02:00
Eric
000efd5221 Fix #29640: (#29939)
* FIX REPLENISH MANY FOURN WHEN ORDER ALREADY CREATE (#29710)

* fix restrictedArea on selectobject (#29882)

* Fix travis

* Fix : expense report reapproval email, wrong date format + missing parameter (#29874)

* delete_linked_contact is < 0 in case of error

---------

Co-authored-by: IC-Mathieu <95343351+IC-Mathieu@users.noreply.github.com>
Co-authored-by: Rémi Champlon <85104766+Kazimir42@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: Maxime Kohlhaas <maxime@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-09 01:11:03 +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
Laurent Destailleur
3c961263cb Look and feel v20 2024-06-08 19:34:54 +02:00
Frédéric FRANCE
1ff0e8a821 fix an old error (#29850)
* fix an old error

* fix OdfException is never thrown in the try block

* fix OdfException is never thrown in the try block

* fix Undefined array key "name"

* fix missing translation

* fix missing translation

* fix Undefined variable $lineid

* fix warnings

* fix upload dir

* fix phpcs
2024-06-08 16:59:40 +02:00
Frédéric FRANCE
00161fba9a fix phpstan Expression "'@phan-var string[] $prim%.... (#29928) 2024-06-08 14:53:46 +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
Charlène Benke
c8c220a394 FIX : create mrp table if enabled (#29921)
* create mrp table if enabled

* Update modMrp.class.php
2024-06-08 12:00:58 +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
lamrani abdelwadoud
cd706aee5f Fix type variable PHPStan (#29893)
* Fix type variable PHPStan

* fix phan

* Update modulebuilder.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 01:23:01 +02:00
HENRY Florian
ebab48ac0e fix: fix SQL new install (#29861)
* fix: SQL fresh install script

* fix: SQL fresh install script

* fix perms files

* fix: travis CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 00:27:50 +02:00
Mohamed DAOUD
275ef3ed43 fix warning (#29904)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 00:06:02 +02:00
evarisk-charles
a878e92167 FIX: preview translation on pictures (#29887) (#29888) 2024-06-07 18:00:00 +02:00
HENRY Florian
5142c9bfbb fix: travis CI (#29883) 2024-06-07 16:18:34 +02:00
Laurent Destailleur
60c8470d49 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-07 00:27:46 +02:00
Laurent Destailleur
7d46d4c173 Debug v20 2024-06-07 00:22:56 +02:00
Lucas Marcouiller
56d8564bce Fix #29797 add test on Target status (#29860)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-06 23:32:19 +02:00
Laurent Destailleur
9153636e02 Debug v20 2024-06-06 15:27:59 +02:00
Laurent Destailleur
78421f4607 Debug v20 2024-06-06 11:09:43 +02:00
Laurent Destailleur
cbb458486b Debug v20 2024-06-06 09:27:25 +02:00
Laurent Destailleur
f71d938728 Debug v20 2024-06-06 03:33:52 +02:00
Laurent Destailleur
25141de6e1 Doc 2024-06-06 02:34:57 +02:00
Laurent Destailleur
18242bc0a0 Debug v20 2024-06-06 02:33:16 +02:00
Laurent Destailleur
0371ffefd0 Debug v20 2024-06-06 00:37:08 +02:00
Laurent Destailleur
ff2bd03584 Debug v20 2024-06-05 23:49:09 +02:00
Laurent Destailleur
6de472e242 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-05 16:32:48 +02:00