2
0
forked from Wavyzz/dolibarr
Commit Graph

577 Commits

Author SHA1 Message Date
Jon Bendtsen
779aeee323 Merge branch 'develop' into fix_notification_count 2024-03-19 08:16:01 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Jon Bendtsen
f20ca9b002 actually delete notifications belonging to a contact when a contact is deleted 2024-03-18 23:53:54 +01:00
Laurent Destailleur
1a63080e44 Merge branch 'develop' into fix/PhanTypeMismatchPropertyDefault 2024-03-15 08:41:23 +01:00
Laurent Destailleur
105a0831fa Update contact.class.php 2024-03-15 08:40:35 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
e21600cb50 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:44:49 +01:00
MDW
3bf6bfbf34 Fix ContactTest::testContactUpdate
# ContactTest::testContactUpdate

Fix bug introduced in b2cbf7fe3c5..3fb6501beaa
2024-03-15 02:30:20 +01:00
Laurent Destailleur
3fb6501bea Update contact.class.php 2024-03-15 00:27:09 +01:00
MDW
f3eceb42ff Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:16 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
MDW
c88a9ea1eb Fix: Repeat fields typing in CommonClass children
# Fix: Repeat fields typing in CommonClass children

phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:39:09 +01:00
Frédéric FRANCE
fba15178eb all initAsSpecimen return int (#28577)
* all initAsSpecimen return int

* all initAsSpecimen return int

* all initAsSpecimen return int
2024-03-02 16:38:35 +01:00
Mohamed DAOUD
d8b4d93478 New Manage name alias field in contact/address CRUD (#28255)
* manage alias field in contact address crud

* Update contact.class.php
2024-02-18 23:43:00 +01:00
Laurent Destailleur
06e93aeb0e Debug module bookcal 2024-02-14 04:46:59 +01:00
Lucas Marcouiller
82faea5167 Fix some php warnings and errors (#28138)
* Fix some php warnings and errors

* fix array

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-13 11:26:40 +01:00
Laurent Destailleur
ce21af7b6c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 22:17:46 +01:00
Laurent Destailleur
cca01cbda4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-23 22:15:36 +01:00
Laurent Destailleur
b05d1c5f6e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-23 22:03:28 +01:00
Laurent Destailleur
9d40711723 Fix type of prospect level 2024-01-19 16:25:46 +01:00
Laurent Destailleur
abf80ecbef Fix type of prospect level 2024-01-19 16:22:16 +01:00
Florian HENRY
5eecee1102 FIX: filter by entity on contact is missing 2024-01-19 09:22:12 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
5c6c5853ab Clean code 2023-12-21 15:27:13 +01:00
Laurent Destailleur
a767028464 Clean code 2023-12-20 21:35:23 +01:00
Laurent Destailleur
1f738e5a7b Clean code 2023-12-19 17:46:39 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
56e8872ddc Clean code+warnings: The delete() method of AdherentType, Contact,
Delivery, MultiCurrency, CurrencyRate now need $user as first parameter.
2023-11-28 15:33:42 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
a0bba05b02 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/commande/class/api_orders.class.php
	htdocs/compta/facture/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/project.lib.php
	htdocs/fourn/class/api_supplier_orders.class.php
	htdocs/fourn/class/fournisseur.facture-rec.class.php
	htdocs/langs/en_US/stocks.lang
2023-11-17 18:24:53 +01:00
Laurent Destailleur
9464c0a040 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-14 02:27:24 +01:00
Laurent Destailleur
c81f7a01d1 FIX #26518 2023-11-14 02:26:33 +01:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
1950669a24 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-24 03:23:37 +02:00
Laurent Destailleur
1734adfd27 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-24 03:05:46 +02:00
Alexandre SPANGARO
8da9a5e4bc PHP 8.1 #26307 - Fix warning (#26313) 2023-10-23 19:21:54 +02:00
MDW
e036e32caa qual Annotation/initialisation fixes (#26318) 2023-10-23 19:19:10 +02:00
Laurent Destailleur
0ec22fb228 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-10-20 13:32:13 +02:00
HENRY Florian
d23550c170 fix: Contact prospection fields are visible in contact list even if THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES is not set (#26295)
* fix: Contact prospection fields are visible in contact list even if THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES is not set

* fix: display of contact prospection filed in card
2023-10-20 13:08:39 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Dev2a
fcd4c4e429 Fix: Change access to $conf->global to function getDolGlobal (automatique) 2023-10-08 23:19:49 +02:00