2
0
forked from Wavyzz/dolibarr
Commit Graph

3606 Commits

Author SHA1 Message Date
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
Frédéric FRANCE
746c2366a1 fix #27256 (#27318)
* fix #27256

* Update functions.lib.php
2024-01-11 10:17:50 +01:00
MDW
2057731e77 Fix most detected spelling errors + some translations (#27406) 2024-01-11 10:07:43 +01:00
Laurent Destailleur
b418bc9e1e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-10 15:14:11 +01:00
Laurent Destailleur
64eff062f2 Clean code 2024-01-10 15:10:15 +01:00
Laurent Destailleur
2c1e7a8381 Merge pull request #27339 from mdeweerd/optim/dol_mimetype
Perf: Optimise dol_mimetype
2024-01-10 15:05:01 +01:00
Frédéric FRANCE
52388ecad9 fix parameters 2024-01-09 20:43:37 +01:00
Laurent Destailleur
78601732d2 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-09 17:13:20 +01:00
Laurent Destailleur
cdf2e4408c Debug v19 2024-01-09 16:56:32 +01:00
MDW
728bfeadba Perf: Optimise dol_mimetype
# Perf: Optimise dol_mimetype

All preg_match() calls were executed even if they are all exclusive.
2024-01-08 22:15:11 +01:00
VESSILLER
353876c003 NEW fetch object by element for website account card 2024-01-08 15:00:56 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
ccaae7ab24 Clean code 2024-01-05 03:41:22 +01:00
Laurent Destailleur
ab3737e569 Fix libxml_disable_entity_loader(true) must be called only if LIBXML is
lower than 20900 (disabled by default for libxml 2.9.0)
2023-12-29 17:55:09 +01:00
Laurent Destailleur
aff0d68035 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-28 12:39:45 +01:00
Laurent Destailleur
163a09d6fd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-28 12:37:34 +01:00
Laurent Destailleur
9484953b7a Update functions.lib.php 2023-12-28 12:34:09 +01:00
Philippe GRAND
7a6a916218 fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/lib/functions.lib.php on line 138 and correct tabs 2023-12-28 11:54:48 +01:00
Philippe GRAND
f5f1543dac fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/lib/functions.lib.php on line 138 2023-12-28 11:49:19 +01:00
Dev2a
91f5cae071 Fix: Add not in operator 2023-12-27 15:53:55 +01:00
Laurent Destailleur
61c5c6f88d Fix regression 2023-12-27 13:09:25 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00