Commit graph

511 commits

Author SHA1 Message Date
MDW
802050a0e1
Qual: Fix 'SqlInjection' notices (#39232)
# Qual: Fix 'SqlInjection' notices

Batch of 21 files with changes to fix 'SqlInjection' Notices
2026-08-01 23:54:52 +02:00
MDW
7cc8ae1efb
Qual: Fix 'SqlInjection' notices (#39221)
# Qual: Fix 'SqlInjection' notices

Batch of 25 files with changes to fix 'SqlInjection' Notices
2026-07-20 02:51:11 +02:00
Laurent Destailleur
1b91318272 Fix trigger pos by default 2026-06-29 07:08:43 +02:00
Laurent Destailleur
8af9cd6a49 Clean code 2026-06-29 04:56:14 +02:00
VIAL-GOUTEYRON Quentin
110b35cba6
NEW Specify If the Object Manages Lines for Module Builder (#32664)
* Specify If the Object Manages Lines for Module Builder

* Update htdocs/modulebuilder/index.php

* Update myobject.class.php

* Update myobject.class.php

* Update myobject.class.php

* Update myobject.class.php

* Update myobject.class.php

* Update myobject.class.php

* Update myobject.class.php

* Update myobject.class.php

* Fix modulebuilder CI issues

* Fix Phan PhanUndeclaredProperty errors on PR #32664

- pdf_standard_myobject: add @phan-suppress-current-line on situation_percent,
  localtax2_tx, localtax1_type, localtax2_type, vat_src_code, pagebreak
  (MyObjectLine template class does not declare these inherited properties)
- doc_generic_project_odt: replace fk_soc with socid (correct PHP property;
  fk_soc is the DB column name, Project::fetch() maps it to $this->socid)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-18 16:13:35 +02:00
hansemschnokeloch
0460cf48c8
Document metadata anonymisation (followup of PR #38116) (#38120)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-07 17:52:55 +02:00
Regis Houssin
e4ec8397a4
QUAL documentation (#37899)
* QUAL documentation

* FIX doc

* Clarify comment about module enabling permissions

* Update modMyModule.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-16 21:11:48 +02:00
Laurent Destailleur
eafa2be2e8 Standardize code 2026-03-24 00:10:45 +01:00
Francis
2aa45a3897
Comment out additional case for ORDER_SUPPLIER_SUBMIT (#37230)
Trigger ORDER_SUPPLIER_SUBMIT is not présent in module builder
See /fourn/commande/card.php line 2125
2026-02-17 20:37:10 +01:00
Laurent Destailleur
bb28eed850 Fix ci 2026-01-24 16:15:31 +01:00
Laurent Destailleur
578a1ef568 Clean files 2026-01-07 19:01:54 +01:00
Laurent Destailleur
3a4cf15857 Debug v23 no propagation of warnings 2025-12-21 13:32:32 +01:00
Frédéric FRANCE
46d6714fe0
clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Alexandre SPANGARO
af4630c456
Typo (#36123) 2025-11-06 17:11:02 +01:00
Frédéric FRANCE
cd3b74f092
NEW add api for members statistics (#35851)
* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* NEW add api for members statistics

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-21 02:05:51 +02:00
ldestailleur
3403bbe869 NEW Enhance the system for warnings on module activation 2025-10-10 10:16:33 +02:00
Kusco
100ba8e060
FIX Module-builder modMyModule.class.php (#35684)
* Update modMyModule.class.php

Fix an error that generates errors in the logs.
dol_eval try/catch error : Undefined constant "mymodule"

* Update modMyModule.class.php
2025-10-09 15:40:16 +02:00
ldestailleur
e0df46e5c4 Comment to discourage use of always_enabled to true. 2025-10-03 12:39:33 +02:00
ldestailleur
a43bf46a75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-26 01:27:00 +02:00
ldestailleur
f65903d006 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-26 01:23:02 +02:00
ldestailleur
369b9510e0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-26 01:21:57 +02:00
ldestailleur
1ed840384a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-09-26 01:21:01 +02:00
ldestailleur
0226d75ec6 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-09-26 01:16:17 +02:00
ldestailleur
79210c0120 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-09-25 11:57:12 +02:00
Dylan Bourdere
92454d671f
rename tab name in comment of modulebuilder (#35431) 2025-09-22 12:11:32 +02:00
Frédéric FRANCE
8fd4d0332d
clean code (#35423)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-21 23:22:33 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
ldestailleur
4e83087e28 Fix complete #35368 2025-09-17 15:04:01 +02:00
Frédéric FRANCE
0e1478206a
clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
Kusco
8075cb8dba
FIX Updated rights management in ModuleBuilder Tabs (#34989)
* Update modMyModule.class.php

Actualisation de la gestion des droits dans les Tabs du ModuleBuilder

* Update modMyModule.class.php

* Update modMyModule.class.php

* Update modMyModule.class.php

* Update modMyModule.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-20 17:02:09 +02:00
Frédéric FRANCE
8e0b1eb606
fix object reference (#34928)
* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* merge

* fix doc

* fix doc

* fix doc

* fix doc

* fix doc

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-17 16:32:09 +02:00
Laurent Destailleur
9793eb17df Fix warning 2025-08-01 19:11:25 +02:00
Laurent Destailleur
18089bbdb7 Fix case of ismultientitymanaged that is key@table 2025-08-01 18:49:05 +02:00
Laurent Destailleur
602b9c26ae Fix case of ismultientitymanaged that is key@table 2025-08-01 18:37:20 +02:00
ldestailleur
358daa3ca0 Clean doc and code 2025-06-27 13:39:50 +02:00
ldestailleur
38aa9cbacc Debug v22 2025-06-25 13:09:56 +02:00
ldestailleur
24efd80bbc Debug v22 2025-06-07 14:31:53 +02:00
ldestailleur
11f9f032d9 Debug v22 2025-06-07 14:15:56 +02:00
ldestailleur
23e26d51a9 Debug v22 2025-06-04 19:16:26 +02:00
ldestailleur
d713406667 Debug v22 2025-06-04 18:47:10 +02:00
ldestailleur
8a39925460 Doc 2025-05-05 15:03:35 +02:00
ldestailleur
91fa444129 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-01 22:42:32 +02:00
ldestailleur
8e88532c3e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-01 21:07:20 +02:00
Frédéric FRANCE
387e3b1da7
shipping can manage its contacts (#33680)
* shipping can manage its contacts

* shipping can manage its contacts

* fix

* add contacts from origin

* clean code

* apply changes

* apply changes
2025-04-01 20:47:40 +02:00
ldestailleur
e9b880707a Clean code 2025-04-01 20:13:54 +02:00
ldestailleur
2bff9835d3 Try to fix CI 2025-04-01 11:09:31 +02:00
ldestailleur
1325b249b0 Clean code to fix some phan warnings 2025-04-01 09:36:36 +02:00
Mathieu Schiffmann
b9946cef4a
NEW #33506 Add a constant to apply a ratio to resize images in ODT templates (#33543)
* CLOSE #33506 add a constant holding the ratio to resize images in ODT templates

A new Dolibarr constant 					MAIN_DOC_ODT_IMAGE_RATIO
is taken in consideration for ODT templates.
This constant holds a number that is multiplied when computing the size of images in ODT templates.
All doc_generic_*_odt_modules.php files have been updated to call the setImage Method with a new parameter $ratio
The method setImage in the file odt.php has been modified to have a new parameter $ratio and use it to compute the image size

* FIX #33506 wrong branch

some other files needed to be changed in the develop branch

* FIX #33506 PR errors fixed

* FIX #33506 codesniffer errors fixed

* QUAL #33506 completed method comment
2025-03-24 16:41:00 +01:00
Mohamed DAOUD
83a0faaf41
add phpmax and dolibarrmax (#33448) 2025-03-14 17:15:55 +01:00
MDW
c0f533865f
Fix CI: Do not require some fields in the 'title' definition of $cols (#33399)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols
2025-03-11 01:42:49 +01:00