Commit Graph

127981 Commits

Author SHA1 Message Date
brad
ebdcb0fa0e Fix spaces/tabs 2024-03-21 21:56:09 +11:00
brad
66d74b01f7 Fix send mail script
- correctly send only set number of emails per call
- will jump through each validated mailout
2024-03-21 20:46:08 +11:00
Laurent Destailleur
1bfe7acbb5 Fix package for 19.0 2024-02-12 15:05:28 +01:00
Laurent Destailleur
400e831d82 Fix dark mode for TakePOS. Clean log 2024-02-12 13:41:46 +01:00
Laurent Destailleur
c61753f73a Debug v19 2024-02-12 12:44:29 +01:00
Laurent Destailleur
7836881a22 Sync transifex 2024-02-12 06:33:42 +01:00
Laurent Destailleur
8143e76e6d Prepare 19.0 2024-02-12 06:17:52 +01:00
Laurent Destailleur
f6dd2f808e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-12 03:35:51 +01:00
Laurent Destailleur
ff2d609814 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/commonobject.class.php
	htdocs/mrp/mo_production.php
2024-02-12 03:35:39 +01:00
Laurent Destailleur
2e620c9a43 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-12 03:33:09 +01:00
Laurent Destailleur
65533360a2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/main.inc.php
2024-02-12 03:32:58 +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
Laurent Destailleur
6ef86d2f85 Fix restore non mandatory 2024-02-11 21:54:15 +01:00
Laurent Destailleur
dbc6027d9b Fix fieldrequired 2024-02-11 21:51:27 +01:00
Laurent Destailleur
a104fbe7b3 Log 2024-02-10 16:59:09 +01:00
Laurent Destailleur
c1c7b04cba Debug v19 2024-02-10 12:02:09 +01:00
William Mead
92afb654db
Fixed default value for radio extrafield (#27066) 2024-02-10 01:58:36 +01:00
Laurent Destailleur
c261b84667 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-09 19:06:52 +01:00
Laurent Destailleur
31816168da Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-09 19:05:49 +01:00
Laurent Destailleur
d07b7dc72e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-09 19:05:41 +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
lvessiller-opendsi
62632893ad
FIX avoid from re-initializing result on nested hook getEntity (#27799)
* FIX avoid from re-initializing result on nested hook getEntity

* FIX uses local resPrint instead of cloning hookmanager for nested hooks
2024-02-09 18:15:35 +01:00
Laurent Destailleur
5637dd2f3f Fix do not use oauth if link was not clicked 2024-02-09 16:15:08 +01:00
lvessiller-opendsi
e3ad92df44
FIX check parameter socid before cloning a customer proposal (#28085) 2024-02-09 14:09:03 +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
Laurent Destailleur
2743639947 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-09 13:33:04 +01:00
Laurent Destailleur
0f53fe10d1 FIX oauth authent must be done only on click on link
Better message for notification denied.
2024-02-09 13:32:44 +01:00
Laurent Destailleur
290cb8447a comment 2024-02-09 12:12:54 +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
Frédéric FRANCE
0790abe530
fix social networks icons (#28078) 2024-02-09 11:35:36 +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
Laurent Destailleur
265fff296c Fix warnings Close #27917 2024-02-08 15:06:35 +01:00
Laurent Destailleur
7783575bf7 Fix bad parameter 2024-02-08 15:02:54 +01:00
Frédéric FRANCE
b92b8c443d
fix cunits.class.php (backport) (#28068) 2024-02-08 13:09:39 +01:00
Laurent Destailleur
8e0559f9a4 Debug v19 2024-02-08 04:23:29 +01:00
William Mead
43ec918e63
FIX #27670 Qual clean ticket libstatut method (#28025)
* Fixed empty labelStatus. Refactored logic.

* Added contributor details

* Cleaned PHPDoc
2024-02-08 02:07:05 +01:00
Laurent Destailleur
e8e7a3fe95 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-08 01:36:24 +01:00
Laurent Destailleur
550e4e8c9a Fix compatibility
Conflicts:
	htdocs/resource/class/dolresource.class.php
2024-02-08 00:26:55 +01:00
thibdrev
ad141c1e1f qual: phpstan for htdocs/core/class/cunits.class.php (#28064)
htdocs/core/class/cunits.class.php	88	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cunits.class.php	415	Method CUnits::getUnitFromCode() should return int but returns string.
2024-02-08 00:15:44 +01:00
Laurent Destailleur
1322c20f91 Clean code 2024-02-08 00:04:50 +01:00
Laurent Destailleur
5d6448a8a2 css 2024-02-07 23:54:30 +01:00
Laurent Destailleur
9acceb8e8e Debug v19 2024-02-07 23:52:03 +01:00
Laurent Destailleur
02517b7c3f Fix #28055 2024-02-07 20:47:47 +01:00
Frédéric FRANCE
1ecc0b15c4 fix display (#28029) 2024-02-07 20:47:37 +01:00
Frédéric FRANCE
c8fb2d9043
fix can't set odt directory (#28028) 2024-02-07 19:36:48 +01:00
atm-sami
b2fad54f1f
FIX : add new hook context for mo production card (#28037)
* add new hook context for mo production card

* Update mo_production.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-07 18:51:06 +01:00