Commit graph

127994 commits

Author SHA1 Message Date
MDW
c094fba538
Qual: Fix trailing whitespace in yaml file. (#27466)
# Qual: Fix trailing whitespace in yaml file.

Yaml check tools complain about trailing whitespace, so I fix them.
pre-commit (#27392) has rules to fix them automatically (locally).
2024-01-12 17:54:14 +01:00
thibdrev
dd2a3c05d9
qual: move into profid.lib.php the code checking the idprof1 syntax for BE, DZ and PT (#27443)
* qual: Update profid.lib.php - move functions checking profid from societe.class.php

- One function checking the Tax Identification Number for PT (called NIF)
- One function checking the Tax Identification Number for DZ (called NIF)
- One function checking the Tax Identification Number for BE (called NN)

* qual: Update societe.class.php - use the isValidTinXX() functions from profid.lib.php

isValidTinForPT($this->idprof1)
isValidTinForDZ($this->idprof1)
isValidTinForBE($this->idprof1)

* typo
2024-01-12 17:53:29 +01:00
William Mead
4ef13a2196
Fixed method filter argument type. Cleaned code. Added contributor details. (#27464)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 17:52:49 +01:00
nat
f721b7a2de
FIX Error creating a thirdparty (#27438)
The mod_codeclient_* constructors now expect an argument.
See #27373
2024-01-12 17:50:00 +01:00
Laurent Destailleur
c406d9a002 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-12 17:49:00 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
MDW
342ab85195
Qual: Spelling htdocs/[q-z]* (#27447)
# Qual: Fix spelling htdocs/[q-z]*

Probably fixes a bug:

- htdocs/webservices/server_thirdparty.php
  No other occurence of adress found.
  -'adress'=>->adress,- +'address'=>->address,+
2024-01-12 17:18:52 +01:00
Frédéric FRANCE
5d6d6a92cf
fix phpstan (#27441) 2024-01-12 17:16:53 +01:00
Frédéric FRANCE
d8ffc4aed0
fix phpstan (#27442)
* fix phpstan

* Update api_products.class.php
2024-01-12 17:16:28 +01:00
Frédéric FRANCE
45d47d1dc9
fix phpstan (#27444) 2024-01-12 17:15:39 +01:00
Frédéric FRANCE
74aa353079
try to run action on push to have always valid cache (#27445) 2024-01-12 17:15:16 +01:00
MDW
42a0d05b63
Qual: Spelling outside htdocs (#27448)
* Qual: Spelling outside htdocs

# Qual: Fix spelling of files not in the htdocs subdirectory.

Highlight:
- Change in email test from unvalid to invalid that should give the same test result.

* Update Dolibarr-soapui-project.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 17:14:13 +01:00
Frédéric FRANCE
4cf62b9711
clean code and fix (#27446)
* clean code and fix

* clean code and fix
2024-01-12 17:11:08 +01:00
MDW
417726f7b1
Fix: Disable execute bit in git + correct shebangs (#27450)
# Fix: Execute bits in git and shebangs

Some files had the execute bit improperly set to enabled.
Some scripts did not have a correct shebang.
2024-01-12 17:10:16 +01:00
Frédéric FRANCE
8608a075fb
fix Undefined variable $mode (#27451) 2024-01-12 17:07:43 +01:00
Frédéric FRANCE
c9a0957920
fix phpstan (#27440) 2024-01-12 17:07:22 +01:00
Frédéric FRANCE
09daa41a1e
remove use not used (#27463)
* remove use not used

* Update website.lib.php
2024-01-12 16:48:29 +01:00
Laurent Destailleur
cc5838c0d0 Add method getNbOfImagePublicURLOfObject() 2024-01-12 16:12:23 +01:00
Laurent Destailleur
32f0443289 Rename into getImagePublicURLOfObject 2024-01-12 13:45:10 +01:00
Laurent Destailleur
6120548952 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-12 13:05:42 +01:00
Laurent Destailleur
aba9afe9f1 NEW Add method getPublicImageOfObject() for website module 2024-01-12 13:05:28 +01:00
noec764
448fc1a88c
Feat develop add hook on print bar code page (#27390)
* NEW: Add hook on printsheet barcode page

* Remove space at the end of line for Travis validation on printsheet.php

---------

Co-authored-by: Noé <noe@scopen.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 14:51:53 +01:00
Laurent Destailleur
866b44e34e Debug v20 2024-01-11 14:37:32 +01:00
Laurent Destailleur
2a4578ef68 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 13:48:15 +01:00
Laurent Destailleur
34f5c1e293 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-11 13:47:14 +01:00
Laurent Destailleur
a3a62570a9 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-11 13:45:26 +01:00
Laurent Destailleur
64fb9d0db7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-11 13:45:16 +01:00
Laurent Destailleur
34c2ca539a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-11 13:41:50 +01:00
Laurent Destailleur
f2669da370 Debug v19 2024-01-11 13:41:38 +01:00
Laurent Destailleur
72361e0e3f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 12:58:42 +01:00
Laurent Destailleur
23f85df9d9 Fix trans 2024-01-11 12:58:24 +01:00
Frédéric FRANCE
1082a7baf7
replace old parameter facid by id (#27416)
* replace old parameter facid by id

* Update facture.class.php
2024-01-11 12:51:00 +01:00
thibdrev
d3416b864c
Fix: SIRET syntax check - Handle the specific case of "La Poste" businesses (#27418)
* fix: SIRET syntax check - Handle the specific case of "La Poste" businesses

* phpcs

* phpcs

* typo
2024-01-11 12:49:39 +01:00
Christophe Battarel
31ff426762
fix old issue (#27417)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 12:49:04 +01:00
Laurent Destailleur
aa6eb660e4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 12:46:25 +01:00
Laurent Destailleur
b534c40f13 Use id in index 2024-01-11 12:46:05 +01:00
Laurent Destailleur
420dafda50 Merge branch 'aspangaro-18a3' into develop 2024-01-11 12:38:28 +01:00
Laurent Destailleur
1647e4f133 Debug the filter on VAT type 2024-01-11 12:38:01 +01:00
Laurent Destailleur
4957eacfa6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-11 11:45:00 +01:00
Laurent Destailleur
539098bfbd Merge branch '18a3' of github.com:aspangaro/dolibarr into aspangaro-18a3 2024-01-11 11:39:58 +01:00
Laurent Destailleur
144b71013d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 11:30:35 +01:00
Laurent Destailleur
52dfdbc7ad
Merge branch 'develop' into 18a3 2024-01-11 11:27:10 +01:00
Christian Foellmann
1bacad04d5
remove status select from application add form (#27087) 2024-01-11 11:25:29 +01:00
Christophe Battarel
5e32970c8d
dont change status displayed if error during stock movement (#27415)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 11:24:21 +01:00
Laurent Destailleur
c157472ea7 Fix trans 2024-01-11 10:58:36 +01:00
Laurent Destailleur
c37ffa87af Fix br 2024-01-11 10:54:14 +01:00
Laurent Destailleur
e4360d181b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 10:53:58 +01:00
Christophe Battarel
9641a538f1
add hooks to actions (#27083)
* add hooks to actions

* fix hook name

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 10:52:38 +01:00
HENRY Florian
f00c80f33e
NEW: add column to store a label for the price (#27238)
* NEW: add column to store a label for the price

* review
2024-01-11 10:51:49 +01:00
dev2a
7021cb2246
NEW Simplify the verification of context in hook (#27105)
* NEW Simplify the verification of context in hook

* Add return false after array loop
2024-01-11 10:50:45 +01:00