2
0
forked from Wavyzz/dolibarr
Commit Graph

718 Commits

Author SHA1 Message Date
Laurent Destailleur
5d795cee23 Enhance error management of unzip 2024-01-31 23:03:48 +01:00
MDW
f0cb078378 Qual: Fix typing in files.lib
Fix several typing hints in files.lib .
Fixed some initialisers.
Simplified some expressions.
Cast some `return $result` statements  (could be null).
2024-01-29 18:34:28 +01:00
Laurent Destailleur
7baa02bda5 Debug export website 2024-01-28 18:22:21 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric FRANCE
13c9707c9d fix phpstan 2024-01-14 22:34:37 +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
Laurent Destailleur
aba9afe9f1 NEW Add method getPublicImageOfObject() for website module 2024-01-12 13:05:28 +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
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
203245bf95 Fix #yogosha19838 2024-01-09 21:37:53 +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
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +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
Laurent Destailleur
c6040146b2 Add more function to disable. Add preg_quote to avoid false positive. 2023-12-21 19:39:02 +01:00
Charlène Benke
b2dd3bec9e php V8 warning
append when you add a file on folder and select the tabs for the first time,
2023-12-11 16:53:21 +01:00
MDW
b0414dd078 Fix utf8_encoding/decoding (rather than creating new function replacements) 2023-12-07 03:37:05 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
1babae58a4 Fix with php-cs-fixer 2023-12-04 12:05:28 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
27ede744a9 Doc 2023-11-30 18:06:07 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
c0510fc0f5 Debug v19 2023-11-14 20:59:31 +01:00
Laurent Destailleur
69642e1048 Fix missing the src type and id when uploading a file as a message of
ticket
2023-11-13 12:36:38 +01:00
Laurent Destailleur
59b9d12ed5 FIX upload of files src_object_type 2023-10-31 10:44:58 +01:00
Laurent Destailleur
8f91e6bce8 FIX src_object_id and ttype not filed when uploading a file with API. 2023-10-31 00:47:55 +01:00
Florent Poinsaut
753430de5f Fix error return value in the dol_delete_preview (#26360) 2023-10-26 12:40:21 +02:00
MDW
706d0f6053 Fix __METHOD__ usage outside class-method (#26286) 2023-10-20 11:20:02 +02:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Laurent Destailleur
ab3b506978 FIX Error message 2023-09-10 21:52:19 +02:00
Laurent Destailleur
2d61f37208 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2023-09-09 12:02:13 +02:00
Laurent Destailleur
c6dbb3d434 Merge branch 'develop' into dev_sign_soeciete_rib 2023-09-09 11:55:30 +02:00
Laurent Destailleur
32f6008425 Code comment 2023-09-08 22:26:23 +02:00
Laurent Destailleur
0a853fe794 Removed files links.lang 2023-09-07 03:30:41 +02:00
HENRY Florian
a283c6f30c Merge branch 'develop' into dev_sign_soeciete_rib 2023-08-28 15:18:30 +02:00
Laurent Destailleur
256fe9ecf8 Add more REST phpunit tests 2023-08-25 14:48:41 +02:00
Laurent Destailleur
c75761f780 FIX Add same security test whe nuploading files from API than from GUI 2023-07-12 22:56:27 +02:00
Laurent Destailleur
5e00137392 Doc 2023-07-12 22:34:50 +02:00
Laurent Destailleur
ec76f62548 Fix drag and drop does not show dragable zone if not a file 2023-06-26 15:27:16 +02:00
Frédéric France
6f71c5727b use user hasRight 2023-06-19 20:18:59 +02:00
Laurent Destailleur
00da14e095 Fix phpcs 2023-06-10 14:25:07 +02:00
Florian HENRY
a77f8a43e3 review 2023-06-05 13:56:57 +02:00
Laurent Destailleur
927d4389e8 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-05-23 01:42:41 +02:00
Laurent Destailleur
ffd5176fdd Fix allow download of json log files 2023-05-22 10:19:10 +02:00
Florian HENRY
a1306f381f feat: RIB Online Sign 2023-05-21 17:52:15 +02:00
Laurent Destailleur
fe9521b6b2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-05-21 17:34:34 +02:00
Laurent Destailleur
0a2ae8e8d5 Clean code 2023-05-21 13:01:23 +02:00
stickler-ci
a0953a53b3 Fixing style errors. 2023-05-17 15:11:36 +00:00
Philippe GRAND
2ac7cb6a83 fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/lib/files.lib.php on line 3138 2023-05-17 17:07:18 +02:00