Commit graph

144068 commits

Author SHA1 Message Date
Laurent Destailleur
7011d01bde NEW Web pages of websites are protected by the WAF 2025-03-21 13:01:23 +01:00
Laurent Destailleur
71516d2f7a Doc 2025-03-21 12:31:39 +01:00
Laurent Destailleur
120605b8ea Clean phpstan baseline 2025-03-21 12:16:22 +01:00
Laurent Destailleur
d9ab7c58d1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-21 12:13:59 +01:00
Laurent Destailleur
8616e23e31 Move the WAF code into a dedicated include file 2025-03-21 12:11:23 +01:00
Alexandre Janniaux
7edba256e8
migration: 21→22: fix wrong type for value in llx_const #33554 (#33555)
llx_const.value is a string and using it as an int triggers the following
errors when using a PostgreSQL database.

        Erreur DB_ERROR_42883 (Req 83): INSERT INTO llx_const (name, entity, value, type, visible, note) SELECT DISTINCT 'STOCK_DISALLOW_NEGATIVE_TRANSFER', entity, 1, 'chaine', 0, '' FROM llx_const c1 WHERE NOT EXISTS (SELECT rowid FROM llx_const c2 WHERE c2.name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND c2.value = 1 AND c2.entity = c1.entity);ERROR: 42883: operator does not exist: text = integer LINE 1: ...me = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND c2.value = 1 AND c2... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. LOCATION: op_error, parse_oper.c:635
        --
        Erreur DB_ERROR_42883 (Req 84): UPDATE llx_const SET name = 'STOCK_DISALLOW_NEGATIVE_TRANSFER', value = 1 WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 0;ERROR: 42883: operator does not exist: text = integer LINE 1: ... WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 0; ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. LOCATION: op_error, parse_oper.c:635
        Erreur DB_ERROR_42883 (Req 85): DELETE FROM llx_const WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 1;ERROR: 42883: operator does not exist: text = integer LINE 1: ... WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 1; ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. LOCATION: op_error, parse_oper.c:635

Fixes #33554
2025-03-21 00:37:22 +01:00
Nicolas Domenech
3d1276fa41
Fix: PHP8 warning on showOutputField for various type (#33556) 2025-03-21 00:36:35 +01:00
ldestailleur
ff1131d921 Look and feel v22 2025-03-21 00:33:57 +01:00
ldestailleur
dbd080d82f Look and feel v22 2025-03-21 00:32:03 +01:00
ldestailleur
65496604b4 Debug ai v22 2025-03-20 23:54:24 +01:00
Lucas Marcouiller
5f211c64ec
New ai feature dropdown + translate (#33545)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-20 19:32:01 +01:00
ldestailleur
6ce72f78df Fix CI 2025-03-20 18:51:29 +01:00
ldestailleur
db7a2ce4d5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-20 12:01:43 +01:00
ldestailleur
9a851ce488 Debug v22 2025-03-20 12:01:29 +01:00
ldestailleur
bb3989c9a7 NEW The signature is on the good page even if another module add pages 2025-03-20 12:01:18 +01:00
ldestailleur
c3f46bd2e0 Fix accent on tooltip 2025-03-20 09:53:01 +01:00
Laurent Destailleur
ff3f39c18a Fix duplicate entry of bookcal calendar selection in agenda view. 2025-03-20 03:36:12 +01:00
Laurent Destailleur
278ae6c597 Fix fatal error when var is array 2025-03-20 03:34:23 +01:00
Laurent Destailleur
88c41d4970 Remove verbose log 2025-03-20 02:49:35 +01:00
Laurent Destailleur
776ce2d029 Fix name of funcion 2025-03-20 02:47:37 +01:00
Laurent Destailleur
dad235f6d9 Fix POS has some product unvisible when using smartphone 2025-03-20 02:45:36 +01:00
Laurent Destailleur
996dacbd50 Fix POS has some product unvisible when using smartphone 2025-03-20 02:39:21 +01:00
Laurent Destailleur
54e3f2932d Fix function name 2025-03-19 23:34:14 +01:00
Pierre Ardoin
c8f38ef97c
Add hidden option SUPPLIER_PROPOSAL_AUTOADD_USER_CONTACT (#33524)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 19:18:16 +01:00
ldestailleur
f92f159b78 Doc 2025-03-19 18:28:26 +01:00
ldestailleur
fd18506c86 Debug v22 Try to make code simpler. 2025-03-19 18:16:54 +01:00
ldestailleur
a9dc0a63e8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 18:12:15 +01:00
ThomasNgr-OpenDSI
643564d45c
add advanced right to reopen a propal (#33416)
* add advanced right to reopen a propal

* use NOT insetad of empty() for getDolGlobalBool()

* fix travis
2025-03-19 18:12:02 +01:00
ldestailleur
d65e525f97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 18:07:02 +01:00
ldestailleur
4ab64b0576 Fix sql 2025-03-19 18:06:49 +01:00
omogenot
070072e660
Add extra import contact key fields (#33528)
During company contact import, to distinguish between two contacts with same name, use extra key fields such as Zip code or email, so that a new contact with same name can be inserted.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 18:02:45 +01:00
Clément
9d25e2cd58
Hook doAction on statistics pages (#33532)
* Hook doAction on statistics pages

* Hook doAction on statistics pages

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 18:02:28 +01:00
ldestailleur
36e694e158 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 18:00:38 +01:00
ldestailleur
c58e3a3b0d Fix ignore phpstan 2025-03-19 18:00:28 +01:00
Clément
47d001d2ff
FIX Bug Reception stats (#33531)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 17:50:22 +01:00
ldestailleur
5555009d7b Condition is cleaner, even if same. 2025-03-19 17:48:05 +01:00
ldestailleur
0bb37047be Condition is cleaner, even if same. 2025-03-19 17:47:42 +01:00
ldestailleur
05b132be2c Clean dir of github actions 2025-03-19 17:41:31 +01:00
ldestailleur
59233693c1 Fix phan 2025-03-19 17:28:28 +01:00
kkhelifa-opendsi
8a6ebfeb3f
FIX: Fix case when INVOICE_RETAINED_WARRANTY_LIMITED_TO_FINAL_SITUATION for sell journal (#33518) 2025-03-19 17:25:50 +01:00
Sandro Santilli
d935407ac3
Add mastodon icon and pixelfed record in social networks (#33525)
See GH-33378

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 17:18:50 +01:00
ldestailleur
330f2bd76b Complete #33525 2025-03-19 17:18:31 +01:00
ldestailleur
b964068f03 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 17:17:07 +01:00
ldestailleur
a9234d6e92 Trans 2025-03-19 17:16:53 +01:00
Frédéric FRANCE
44c0c6ed2f
List db sessions (#33410)
* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean sessions

* clean sessions

* fix
2025-03-19 16:22:09 +01:00
ldestailleur
9b2913e144 Fix false positive 2025-03-19 16:19:27 +01:00
ldestailleur
c471f6b900 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-03-19 16:04:50 +01:00
ldestailleur
a8529cf1a2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 16:04:21 +01:00
HENRY Florian
8f2ad4bf87
NEW: Add Shared links on links in attachements (#33459)
* NEW: add share option for URL link in attachement

* NEW: fix #33456

* NEW: shared link on links

* NEW: shared link on links

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 16:04:11 +01:00
ldestailleur
58509095ba Trans 2025-03-19 16:01:25 +01:00