Commit Graph

39551 Commits

Author SHA1 Message Date
Laurent Destailleur
0fe0cd7c01 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 11:39:02 +02:00
Laurent Destailleur
404ba88107 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-04 11:19:45 +02:00
Laurent Destailleur
cdf46276ac Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-04 11:06:46 +02:00
Laurent Destailleur
0a39067cd6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 11:01:06 +02:00
Laurent Destailleur
ad79acf63c QUAL removed duplicate language file 2024-04-04 11:00:35 +02:00
Laurent Destailleur
b21c3160d4 Merge pull request #29215 from frederic34/translations_errors
add Translations errors
2024-04-04 02:59:02 +02:00
Laurent Destailleur
40165541d9 Look and feel v20 2024-04-04 01:35:36 +02:00
Laurent Destailleur
8d1efd2916 Clean code 2024-04-03 23:14:11 +02:00
Laurent Destailleur
8eb93c9f2a Revert to restore stability 2024-04-03 22:52:57 +02:00
Laurent Destailleur
56f9ec41c0 FIX regression. A lot of broken feature and corruption of data du to
deprecation management.
2024-04-03 22:34:59 +02:00
Laurent Destailleur
a8f22f4215 WIP option MAIN_USE_HTML5_LIMIT_SELECTOR 2024-04-03 18:44:13 +02:00
Laurent Destailleur
2947287e3f Look and feel v20 2024-04-03 16:22:16 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
x
c583102364 FIX Accolad 2024-04-03 15:19:53 +02:00
x
81adb15eb0 FIX PDF Translations Extrafields 2024-04-03 15:04:30 +02:00
Frédéric FRANCE
613f8be05f Merge remote-tracking branch 'upstream/develop' into translations_errors 2024-04-03 14:47:01 +02:00
Frédéric FRANCE
c349d38897 add translations of errors 2024-04-03 14:46:46 +02:00
Laurent Destailleur
f03eb260de Nicer combo of companies for external modules 2024-04-03 13:20:26 +02:00
Laurent Destailleur
5acdcac75d Debug v20 2024-04-03 12:25:06 +02:00
Laurent Destailleur
20e0417f3b Fix warning 2024-04-03 02:59:58 +02:00
Laurent Destailleur
6004d3ae14 Merge pull request #29204 from mdeweerd/fix/projet_abs
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
2024-04-03 02:06:52 +02:00
Laurent Destailleur
8b916b6269 Restore deprecation 2024-04-03 01:56:17 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
Laurent Destailleur
9aa5e43836 Doc 2024-04-02 23:51:45 +02:00
MDW
44f4261cf9 Fix phan notice by verifying value is array 2024-04-02 23:30:54 +02:00
Laurent Destailleur
fec7ed4b0f Reduce number of transitionnal warnings for deprecations 2024-04-02 23:16:48 +02:00
MDW
e64e57716c Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
# Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type

I got the following message:
`Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in D:\mdeweerd\workspace\dolibarr\htdocs\projet\list.php on line 233`

I examined the phan report and there was no mention of this because dol_eval was
said to return mixed.

In order to detect such cases, I amended the dol_eval return type to ensure to find
most of the locations where a cast is needed.
2024-04-02 22:52:52 +02:00
Laurent Destailleur
aea4c84a68 Better warnings 2024-04-02 21:29:16 +02:00
Laurent Destailleur
c6cef436dc Fix warning 2024-04-02 20:59:20 +02:00
Laurent Destailleur
d6d81292ac Fix phpunit 2024-04-02 18:40:26 +02:00
Laurent Destailleur
68d4f773ce Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-02 17:12:01 +02:00
Laurent Destailleur
cca200d581 Debug v20 2024-04-02 17:02:14 +02:00
Laurent Destailleur
af41ec8e41 Clean code - Remove not used method fetchAll and CSS 2024-04-02 16:42:21 +02:00
Laurent Destailleur
18e45d5e5e Merge pull request #29195 from mdeweerd/qual/jdate_typing
Qual: improve typing for jdate
2024-04-02 15:05:23 +02:00
Laurent Destailleur
a7cd496bd2 Merge branch 'develop' into NEW_MASS_ACTION_UNASSIGN_COMMERCIAL 2024-04-02 14:57:10 +02:00
Laurent Destailleur
ed9b48d670 Merge branch 'develop' into qual/jdate_typing 2024-04-02 14:43:15 +02:00
Laurent Destailleur
4b1dba0764 Fix replyto and from is not the same. 2024-04-02 14:06:03 +02:00
Laurent Destailleur
d25ef761ad Merge pull request #29152 from mdeweerd/test/compat/deprecations
Fix Tests for compatibility with deprecations
2024-04-02 13:41:04 +02:00
MDW
c7560a7c89 Qual: improve typing for jdate
# Qual: improve typing for jdate

Limit jdate return type to int|'' .
Tested with phan and phpstan.
This will allow setting the same type on the date fields and allow
detecting the assignment of non empty strings.

int|''|'specific value'  also works, so could be used on other fields.
2024-04-02 13:40:04 +02:00
Laurent Destailleur
51f862ad28 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-02 13:21:00 +02:00
Laurent Destailleur
d77a2ac2c8 Fix type of field to create ticket 2024-04-02 13:18:38 +02:00
Laurent Destailleur
e671860ffa Merge pull request #29158 from mdeweerd/typing/printipp
Fix printipp phpdoc typing
2024-04-02 11:54:49 +02:00
MDW
146b735269 New: dol_get_object_properties to get real and magic props
# New: dol_get_object_properties to get real and magic props

This method will get an array with real and magic properties
from an object (if $properties is provided).
2024-04-02 11:25:18 +02:00
Francis Appels
6a330096fd Fix debug phpbarcode 2024-04-02 09:48:48 +02:00
Laurent Destailleur
3df311481b NEW Management of the In-Reply-To and References for ticket answers. 2024-04-01 19:11:08 +02:00
Laurent Destailleur
e3037794aa Look and feel v20 2024-04-01 15:04:20 +02:00
Laurent Destailleur
45d46f25ef Merge index page of warehouse with product index page 2024-04-01 13:33:15 +02:00
Laurent Destailleur
aad893663d Merge home page product and service 2024-04-01 13:08:35 +02:00
Laurent Destailleur
7158757fa1 Debug v20 2024-03-31 23:48:29 +02:00
MDW
c1c4f95371 Fix printipp phpdoc typing 2024-03-31 22:28:08 +02:00