2
0
forked from Wavyzz/dolibarr
Commit Graph

722 Commits

Author SHA1 Message Date
Laurent Destailleur
ab0c485c65 Split dolCheckVirus in 2 methods 2024-02-13 10:56:47 +01:00
MDW
7b54824d49 Fix #28071 - New branch to fix bad merge (#28083)
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Qual: Introduce getDataToShowPhoto to prepare generic code

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix missing trans

* Fix langs

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Remove useless files in web templates

* Clean code

* Fix duplicate translation key

* Fix duplicate translation key

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix duplicate key

* Fix $object

* Debug v19

* WIP SMSing

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP EMAILINGS_SUPPORT_ALSO_SMS

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP SMSing

* Debug the "validate" feature

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Clean code

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Enhance rector to fix empty($user->rights->modulex->perm1)

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Fix template to use v19 dev rules

* Fix use v19 dev rules

* Fix phpunit

* Debug v19

* Clean code

* Use rector to convert user->rights into user->hasRight

* Clean code

* Use rector to convert user->rights into user->hasRight

* Use rector to convert user->rights into user->hasRight

* Clean code

* Fix phpcs

* add editorconfig for sql files (#27999)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add model_pdf field in llx_ticket-ticket.sql (#27996)

* add model_pdf field in llx_ticket-ticket.sql

* Update 19.0.0-20.0.0.sql

* Update 19.0.0-20.0.0.sql

* Improve wording in README (#27994)

* fix phpstan (#27989)

* fix phpstan

* Update UserRightsToFunction.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Fix spelling/working in datapolicy translations (#28006)

# Qual: Fix spelling/wording in datapolicy translations

Fixed some spelling and wording in datapolicy translations.

* qual: phpstan for htdocs/ticket/class/ticketstats.class.php (#27986)

htdocs/ticket/class/ticketstats.class.php	98	Parameter #1 $year (string) of method TicketStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()

* Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix user with readonly perm on email template must be able to read.

* Fix doc

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Better message

* Add missing fields in merge of thirdparty

* Debug v19 selection of ticket printer per terminal

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Use constant

* NEW: Adding a recipient on emails sent, change status to sent partialy.

* fix travis (#28052)

* fix travis

* Update partnership.class.php

* fix php doc (#28047)

* fix undefined array key (#28048)

* Add region and departament for Cuba (#28046)

* Update llx_10_c_regions.sql

Add Cuba Regions (id_country=77)

* Update llx_20_c_departements.sql

Add Provinces Cuba (id country=77)

* Find the typo (#28050)

* Find the typo

* clean code

* add last_main_doc field to product (#28045)

* add las_main_doc field to product

* add field fetch

* NEW Add Categorie filter for ActionComm (#28041)

* New Add Categorie filter for ActionComm

New Add Categorie filter for ActionComm

* Fix space errors

Fix space errors

* Fix space errors 2

Fix space errors 2

* Update cunits.class.php (#28056)

FIX: error SQL when creating a Cunit

* Update codespell-lines-ignore.txt to avoid PR merge conflict

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: thibdrev <thibault.drevet@gmail.com>
Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
Co-authored-by: Ikarus <44511582+LeKarSol@users.noreply.github.com>
Co-authored-by: Anthony Damhet <73399671+EchoLoGeek@users.noreply.github.com>
Co-authored-by: Quentin-Seekness <72733832+Quentin-Seekness@users.noreply.github.com>
2024-02-09 15:58:49 +01:00
Laurent Destailleur
49c1c42d83 Doxygen 2024-02-08 14:58:30 +01:00
Laurent Destailleur
18d05ef570 Fix phpstan 2024-02-08 14:26:49 +01:00
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