Commit Graph

11042 Commits

Author SHA1 Message Date
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
thibdrev
f9a5b9a6dd qual: Update profid.lib.php - use the Luhn agorithm instead within isValidSiren() and isValidSiret() (#27405) 2024-01-11 10:14:06 +01:00
MDW
2057731e77 Fix most detected spelling errors + some translations (#27406) 2024-01-11 10:07:43 +01:00
MDW
58ba3e31fa Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
Laurent Destailleur
c15627016a Fix bad test for disabling TCPDI. Add more phpunit 2024-01-10 21:51:32 +01:00
Laurent Destailleur
f0d910ecd3 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 19:20:16 +01:00
MDW
95da30a224 Fix: files.lib.php - Add optional sort parameter to array_multisort for static tool check (#27340)
# Fix: files.lib.php - Add optional sort parameter to array_multisort for static tool check

Phan flags the call to array_multisort as suspicious - adding the optional sort parameter
avoids this.
2024-01-10 16:41:39 +01:00
Laurent Destailleur
d41c4d954b Merge pull request #27341 from mdeweerd/fix/add_missing_argument_getOnlineSignature
Fix: Add missing argument in getOnlineSignatureUrl
2024-01-10 15:37:14 +01:00
Laurent Destailleur
c8f3333408 Merge pull request #27327 from frederic34/patch-12
fix phpdoc
2024-01-10 15:27:30 +01:00
Frédéric FRANCE
7b45347b01 dol_compress_dir creates invalid zip with windoze 2024-01-10 15:20:12 +01:00
Laurent Destailleur
e37dc22aa7 Merge pull request #27347 from frederic34/patch-14
dol_compress_dir creates invalid zip with windoze
2024-01-10 15:19:48 +01:00
Laurent Destailleur
706fecb97f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 15:16:12 +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
Laurent Destailleur
da56b40ab5 Merge pull request #27329 from thibdrev/thibdrev-patch-1
qual move the code used to validate a SIRET into profid.lib.php
2024-01-10 15:03:42 +01:00
Laurent Destailleur
1e5076634b Merge pull request #27361 from frederic34/patch-22
Function should return string|null but return statement is missing.
2024-01-10 12:44:16 +01:00
Laurent Destailleur
19f2e055d5 Merge pull request #27363 from frederic34/patch-23
fix phpdoc
2024-01-10 12:39:54 +01:00
Laurent Destailleur
bcb3d92e15 Merge pull request #27364 from mdeweerd/fix/donotreuse_key_inforeach
Fix: Do not reuse $key from scope as foreach key
2024-01-10 12:39:38 +01:00
Laurent Destailleur
1b3ca6de0a Merge pull request #27365 from frederic34/patch-24
fix parameters
2024-01-10 12:39:10 +01:00
Laurent Destailleur
aa5451e6d9 Merge pull request #27370 from frederic34/patch-27
fix phpdoc
2024-01-10 12:29:35 +01:00
Laurent Destailleur
971308ea08 Fix colspan 2024-01-10 11:25:45 +01:00
Laurent Destailleur
203245bf95 Fix #yogosha19838 2024-01-09 21:37:53 +01:00
Frédéric FRANCE
2ae3ed0348 fix phpdoc 2024-01-09 21:34:49 +01:00
Frédéric FRANCE
52388ecad9 fix parameters 2024-01-09 20:43:37 +01:00
Frédéric FRANCE
c6620738ca fix phpdoc 2024-01-09 20:40:18 +01:00
MDW
5684813476 Fix: Do not reuse from scope as foreach key
Phan report: Variable  used in loop was also used in an outer loop.
2024-01-09 20:39:24 +01:00
Frédéric FRANCE
959bae899a Function should return string|null but return statement is missing. 2024-01-09 18:59:12 +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
Frédéric FRANCE
df101b9634 dol_compress_dir creates invalid zip with windoze 2024-01-09 14:30:41 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
MDW
901377cdf6 Fix: Add missing argument in getOnlineSignatureUrl
# Fix: Add missing argument in getOnlineSignatureUrl.

The function requires 5 arguments and only had 4.
2024-01-08 23:18:34 +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
thibdrev
37871169ba phpcs 2024-01-08 14:08:49 +01:00
thibdrev
a7dc286784 Update profid.lib.php - Copy the algorithm to validate a SIRET 2024-01-08 14:01:37 +01:00
VESSILLER
cd7e4d8726 Merge branch 'develop' of github.com:Dolibarr/dolibarr into new-webportal-module 2024-01-08 10:48:09 +01:00
Frédéric FRANCE
30c789c80a fix phpdoc 2024-01-07 21:49:17 +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
bbf687da0c Fix warning 2024-01-05 03:08:16 +01:00
Laurent Destailleur
0ea29a9252 Doxygen 2024-01-04 15:00:56 +01:00
Laurent Destailleur
e2271c9a17 Merge pull request #27200 from thibdrev/thibdrev-patch-1
QUAL professional identifiers - remove TODO by adding profid.lib.php
2024-01-04 00:19:42 +01:00
Frédéric FRANCE
1ba089f353 fix phpdoc 2024-01-02 21:02:25 +01:00
Laurent Destailleur
8b51aa507b Debug v19 2023-12-30 19:50:41 +01:00
Laurent Destailleur
ed3ef01e37 FIX public user photo not visible if $dolibarr_main_instance_unique_id
not defined into conf file.
2023-12-30 04:28:33 +01:00
Laurent Destailleur
6aad6e1e5d FIX public user photo not visible if $dolibarr_main_instance_unique_id
not defined into conf file.
2023-12-30 04:27:23 +01:00