2
0
forked from Wavyzz/dolibarr
Commit Graph

3627 Commits

Author SHA1 Message Date
Laurent Destailleur
12bac4b4dd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-01 14:08:05 +01:00
Laurent Destailleur
75df3bc24d FIX #27375 2024-02-01 12:43:46 +01:00
Laurent Destailleur
ca86dd4699 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-31 18:27:19 +01:00
Laurent Destailleur
9843f31814 Fix warning 2024-01-31 18:26:09 +01:00
MDW
23b73eb714 Fix: dol_eval - return value in case of exception.
# Fix: dol_eval - return value in case of exception.

dol_eval did not return a value in case of exception.  Fixed.
2024-01-31 09:28:08 +01:00
Laurent Destailleur
70444b75f4 Fix title 2024-01-31 03:13:54 +01:00
Laurent Destailleur
4c0fa340f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-31 02:48:14 +01:00
Laurent Destailleur
a48a399b31 FIX Add a limit in nb of element in view event/message 2024-01-31 02:47:49 +01:00
thibdrev
5ebc760e04 qual Update functions.lib.php - clearer return for roundUpToNextMultiple() 2024-01-30 17:36:55 +01:00
thibdrev
2fe5347d66 qual: phpstan for htdocs/core/lib/functions.lib.php
htdocs/core/lib/functions.lib.php	128	Function getMultidirOutput() should return string|void but returns null.
htdocs/core/lib/functions.lib.php	9889	Function getLanguageCodeFromCountryCode() should return string but returns null.
htdocs/core/lib/functions.lib.php	10105	Function getLanguageCodeFromCountryCode() should return string but returns null.
htdocs/core/lib/functions.lib.php	11372	Function roundUpToNextMultiple() should return int but returns float.
2024-01-29 18:22:54 +01:00
Frédéric FRANCE
7f4ca53805 Update functions.lib.php 2024-01-28 23:39:52 +01:00
Frédéric FRANCE
3a6cdf6411 Update functions.lib.php 2024-01-28 23:19:56 +01:00
Frédéric FRANCE
d688f12c07 Update functions.lib.php 2024-01-28 21:53:26 +01:00
Laurent Destailleur
5550a6741c Merge pull request #27820 from thibdrev/patch-1
qual: phpdoc - add "@since Dolibarr V20" to GETPOSTFLOAT() documentation
2024-01-28 12:49:21 +01:00
Laurent Destailleur
e0f818d759 Debug webportal 2024-01-27 02:44:56 +01:00
thibdrev
1c04c210c8 qual: phpdoc - add "@since Dolibarr V20" to GETPOSTFLOAT() documentation 2024-01-26 09:05:31 +01:00
Laurent Destailleur
ed8b939d8f Merge pull request #27567 from lamrani002/messaginForUser
New display style for list of events of user
2024-01-26 04:10:15 +01:00
Lamrani Abdel
ce2a606d28 remove functionmessaging user and update function show_actions_messaging 2024-01-24 18:18:10 +01:00
Laurent Destailleur
bbc2302f00 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-24 11:58:30 +01:00
Laurent Destailleur
0dea4bec4c Fix user object missing 2024-01-24 11:58:08 +01:00
Laurent Destailleur
3eb461db7c FIX #27771 Sec: birth date and personal address not visible by default
on vcard
2024-01-24 11:56:56 +01:00
Laurent Destailleur
47765af18e Merge pull request #27766 from frederic34/patch-7
fix phpstan
2024-01-24 10:48:56 +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
Frédéric FRANCE
fe2b511387 fix phpstan 2024-01-23 21:08:24 +01:00
Laurent Destailleur
7c114245e9 Use param 2 for price2num with GETPOSTFLOAT 2024-01-23 17:02:51 +01:00
Laurent Destailleur
1f43efd08c Debug v19 2024-01-23 11:39:38 +01:00
thibdrev
0f26b9f2ad phpcs 2024-01-22 19:13:29 +01:00
thibdrev
7768b115d8 new: add GETPOSTFLOAT() function
introduced following phpstan errors requiring to be corrected by using `$val = (float) price2num(GETPOST('name','alpha'));`
2024-01-22 16:07:18 +01:00
Laurent Destailleur
e950bdde26 Merge pull request #27687 from frederic34/dol_print_error_db
fix param
2024-01-22 00:03:06 +01:00
MDW
b8d7c1970b Fix: Resolve gmstrftime by using dol_print_date with
# Fix: Resolve gmstrftime by using dol_print_date with

gmstrftime is deprecated, use dol_print_date with  parameter.
Also update related typing for static check tools.
2024-01-21 16:37:05 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric FRANCE
f981a64720 fix phpdoc and default value 2024-01-19 18:11:30 +01:00
Laurent Destailleur
372b4a020f Fix #yogosha20013 2024-01-19 16:31:53 +01:00
Laurent Destailleur
0a5e9b26a5 Merge pull request #27522 from frederic34/patch-11
add function isDolTms
2024-01-18 21:38:45 +01:00
MDW
aed39b73e5 Fix: PHP8.1 strftime deprecation -> dol_print_date
# Fix: PHP8.1 strftime deprecation -> dol_print_date

Change strftime to dol_print_date to work around deprecation
2024-01-18 17:01:30 +01:00
Laurent Destailleur
5d3c775b69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-18 12:19:08 +01:00
Laurent Destailleur
8ca7f0c989 Fix var_dump 2024-01-17 20:38:22 +01:00
Frédéric FRANCE
17db5dc028 Merge branch 'develop' into patch-11 2024-01-15 21:59:25 +01:00
Laurent Destailleur
2cfee1fb3c Doc 2024-01-15 19:32:35 +01:00
Laurent Destailleur
55067371ca Doc 2024-01-15 18:06:11 +01:00
Frédéric France
4fbb5b01be use shorter name for function 2024-01-15 17:48:20 +01:00
Laurent Destailleur
3ac7706a63 Clean code 2024-01-15 11:28:25 +01:00
Frédéric FRANCE
15b1ff5b69 fix phpcs 2024-01-15 00:08:02 +01:00
Frédéric FRANCE
c8ecdb8e7a add function isDolValidTms 2024-01-15 00:02:34 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Laurent Destailleur
aba9afe9f1 NEW Add method getPublicImageOfObject() for website module 2024-01-12 13:05:28 +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
Laurent Destailleur
a9e43d0c9d Doc 2024-01-11 10:44:43 +01:00
Christophe Battarel
42162ac024 NEW allow [] in dol_eval (#27290)
* allow []

* fix dol_eval call to authorize brackets

* ad dparam to verifCond

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 10:28:37 +01:00