Commit graph

118971 commits

Author SHA1 Message Date
noec764
55c0efae3f
FIX: Special code is now transmitted by args only in order supplier (#28619)
Co-authored-by: Noé <noe@scopen.fr>
2024-03-04 18:26:38 +01:00
MDW
f166f15f7d
Qual: Backport/pre commit / log annotation simplification (#28614)
* Qual: ci: Run pre-commit/php-cs with cache (#28079)

This adds a hook to .pre-commit-config.yaml and updates the workflow
to run php-cs with cache when it is run for all files.
When running on changed files only, the cache is not useful.

The php-codesniffer ruleset.xml was cleaned up (duplicates removal/formatted)

* Fix: Make all 'relative paths' absolute (#28196)

# Fix: Make all 'relative paths' absolute

The phpcs ruleset xml file's relative exclude patterns are relative to
the filename(s) provided on the command line.
Hence with partial verifications, the path exclusion does not function
as we would like.
Removing the relative-path attribute from the patterns the exclusion
works.
At the same time, the patterns were optimized and a comment was added.

* Qual: Optimize workflow (#28386)

# Qual: Optimize workflow

The log annotation based on the pre-commit logs is now simplified.
2024-03-04 18:21:32 +01:00
Laurent Destailleur
ce4dc610ed Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-03-01 19:01:13 +01:00
Laurent Destailleur
615a80835a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-03-01 19:00:32 +01:00
Delthair
9ab1f56f83
Update expensereport.lib.php (#28553)
ISSUE #28552
2024-03-01 18:49:37 +01:00
Laurent Destailleur
c3ad0bc9e7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Conflicts:
	htdocs/core/class/commonobject.class.php
2024-02-29 20:07:53 +01:00
Laurent Destailleur
284fb49f60 Try a better fix for #28526 2024-02-29 19:35:34 +01:00
Laurent Destailleur
4c116e1577 Doc 2024-02-29 17:59:17 +01:00
HENRY Florian
bb12b0c8b9
fix: display root account according root label in balance bookkeeping (#28435) 2024-02-26 22:59:27 +01:00
Eric
af062aa5f6
datenextrun is mandatory as dolibarr 16.0 (#28344) 2024-02-22 11:34:39 +01:00
Laurent Destailleur
1f129feed8 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-22 00:16:36 +01:00
Laurent Destailleur
88da45d9dd Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-22 00:16:14 +01:00
Laurent Destailleur
a76eafa0d4 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-02-22 00:15:35 +01:00
Laurent Destailleur
8c2a910a94 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-02-22 00:13:59 +01:00
Laurent Destailleur
f7e8725406 Clean code 2024-02-22 00:12:33 +01:00
Saami PERDRIX
52646ee9f5
fix aperçu/dl fichier quand il est dans {userid}/temp (#27211) 2024-02-22 00:10:04 +01:00
Eric
6defdcd018
better fix with this->entity thanks to regis (#28331)
* better fix with this->entity thanks to regis

* Update fichinter.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-21 17:06:05 +01:00
Eric
75ad2e82fd
fix entity if interventions are shared between entities (#28317) 2024-02-20 23:01:16 +01:00
Joachim Kueter
c2980f34c7
Fix: add missing parameters to existing hook (#28304)
For this hook to add reasonable additional fields to a line, access to the line number and other related values of the line is required.
2024-02-20 10:37:10 +01:00
Laurent Destailleur
ffafad5d4a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-19 15:59:22 +01:00
Laurent Destailleur
46afde019b Fix missing cash control menu in auguria 2024-02-19 15:59:11 +01:00
atm-adrien
6f5ed78d0a
FIX : Don't display column when it's out of date (#28271) 2024-02-19 15:24:14 +01:00
Florian Mortgat
2b71c260d8
FIX 16.0 - parent company gets emptied when updating a third party from the card in edit mode (#28269)
This is because the field's value is set using GETPOST even when no corresponding <input> is present in the form.
2024-02-19 15:21:19 +01:00
Laurent Destailleur
b3720deda4 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-18 17:05:11 +01:00
Laurent Destailleur
1a14c19cd2 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-02-18 17:03:18 +01:00
Laurent Destailleur
f9426f30a9 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-02-18 17:02:55 +01:00
MaximilienR-easya
05cf98fae8
Fix lost POST data when redirection after drag_n_drop an event inside the agenda (#28212) 2024-02-18 16:38:46 +01:00
Florian Mortgat
6e5fd5eb58
FIX: notification module: for supplier orders (any of the 3 triggers), user can choose an e-mail template in conf, but the conf is not used when sending the notification (#28216) 2024-02-18 16:31:12 +01:00
MDW
acf09b805f
Fix: Make all 'relative paths' absolute (#28196)
# Fix: Make all 'relative paths' absolute

The phpcs ruleset xml file's relative exclude patterns are relative to
the filename(s) provided on the command line.
Hence with partial verifications, the path exclusion does not function
as we would like.
Removing the relative-path attribute from the patterns the exclusion
works.
At the same time, the patterns were optimized and a comment was added.
2024-02-16 12:59:04 +01:00
Regis Houssin
1ef91d3a21
FIX avoid Unknown column 'pfp.ref_fourn' (#28145) 2024-02-15 16:47:07 +01:00
Eric
280ceef46b
outputlangs must not be a string as default value like others generateDocument functions (#28132) 2024-02-12 17:55:32 +01:00
boudet jean pascal
7e652b9f9f
fix token to link (#28141)
* fix token to link

* pre-commit

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2024-02-12 17:51:09 +01:00
Laurent Destailleur
36d9022c7d Changelog 2024-02-12 12:31:55 +01:00
Laurent Destailleur
52ab3dbba4 Release 17.0.4 2024-02-12 12:20:57 +01:00
MDW
60f15baef2
Qual: Backport: pre-commit php-cs with cache (#28123)
* Qual: Lower severity on php-cs messages that should not block (#28072)

# Qual: Lower severity on php-cs messages that should not block

Some warning messages result in php-cs having an exit code of 2 and others
only have an exit ocde of 1.  When the exit code is 2, the warnings are fixable
by php-cbf.

In order to be able to filter on the warnings in the github ci flow, but still
show them in the travis flow, I lower the level of the warnings that should not
be blocking to 4.

At the same time, the php-cs configuration in pre-commit now requires that the
severity is minimum 5 to show the message (level 5 is the default for all warnings
and errors).

So this will limit the warning messages to the ones that should result in a failing
ci action.  If any new cases are discovered, they should also be lowered in the
php-cs configuration file.

* Qual: ci: Run pre-commit/php-cs with cache (#28079)

This adds a hook to .pre-commit-config.yaml and updates the workflow
to run php-cs with cache when it is run for all files.
When running on changed files only, the cache is not useful.

The php-codesniffer ruleset.xml was cleaned up (duplicates removal/formatted)
2024-02-12 03:30:19 +01:00
William Mead
92afb654db
Fixed default value for radio extrafield (#27066) 2024-02-10 01:58:36 +01:00
Laurent Destailleur
2f1eecd709 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-09 19:04:06 +01:00
Laurent Destailleur
027e0334a2 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-02-09 19:03:33 +01:00
Laurent Destailleur
e22dabe59a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-02-09 19:03:26 +01:00
Laurent Destailleur
48c3dfb9eb Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-02-09 19:03:03 +01:00
Laurent Destailleur
f5df332d3e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-02-09 19:02:56 +01:00
noec764
2c07bd764d
FIX: Bar code verification should be done by entity because generation does (#28087)
* FIX: Bar code verification should be done by entity because generation does

* FIX: handle Entities shared tables

* FIX: Remove unused global

---------

Co-authored-by: Noé <noe@scopen.fr>
2024-02-09 14:07:04 +01:00
thomas-Ngr
6a8be838be
14.0 fix CVE 2024 23817 (#28090)
* FIX CVE-2024-23817

* FIX syntax error

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
2024-02-09 11:37:55 +01:00
Regis Houssin
fb69347ea7
FIX CVE-2024-23817 (#28089)
* FIX CVE-2024-23817

* FIX syntax error
2024-02-09 11:24:57 +01:00
Frédéric FRANCE
b92b8c443d
fix cunits.class.php (backport) (#28068) 2024-02-08 13:09:39 +01:00
Laurent Destailleur
4a0519c674 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Conflicts:
	htdocs/core/class/extrafields.class.php
2024-02-07 17:54:30 +01:00
Laurent Destailleur
792606925f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Conflicts:
	htdocs/core/class/extrafields.class.php
2024-02-07 17:50:38 +01:00
Laurent Destailleur
a2f58f1d3d Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/takepos/invoice.php
2024-02-07 17:47:23 +01:00
Laurent Destailleur
5a756ffc4c Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/takepos/invoice.php
2024-02-07 17:44:39 +01:00
noec764
015546b07c
FIX: line special_code never saved (#28051)
Co-authored-by: Noé <noe@scopen.fr>
2024-02-07 16:20:34 +01:00