Commit graph

381 commits

Author SHA1 Message Date
MDW
6dac0c7263
Qual: Fix 'SqlInjection' notices (#39203)
# Qual: Fix 'SqlInjection' notices

Batch of 25 files with changes to fix 'SqlInjection' Notices
2026-07-19 15:53:14 +02:00
Laurent Destailleur
9b3bebcd5e Automated merge from 23.0 to develop 2026-06-19 03:59:57 +02:00
w3houde
e7bd664590
Fix #38857 keep html links and block tags in ticket mail intro/signature (#38888)
The reply form serializes TICKET_MESSAGE_MAIL_INTRO and TICKET_MESSAGE_MAIL_SIGNATURE
through dolPrintHTMLForAttribute() which only allows br/b/font/hr/span, so anchors,
divs and strong are stripped before the email is sent. Pass an extended whitelist for
these two hidden transport inputs so admin formatted footers and intros survive.

Signed-off-by: Dolicraft <contact@dolicraft.com>
Co-authored-by: Dolicraft <contact@dolicraft.com>
2026-06-19 03:16:31 +02:00
Lenin Rivas
9601ff2fc3
UX for upload files in create ticket (#38202)
Improves user experience and prevents human error when creating tickets; files do not load.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-13 14:28:26 +02:00
Laurent Destailleur
451fc0efca ci 2026-04-28 01:27:54 +02:00
Laurent Destailleur
081dee6547 Debug v24 2026-04-28 00:18:39 +02:00
Laurent Destailleur
c52a43f4ec css 2026-04-28 00:07:34 +02:00
Laurent Destailleur
931b2955bf css 2026-04-28 00:01:14 +02:00
Laurent Destailleur
7d8bcc8849 Fix css 2026-04-27 23:59:13 +02:00
Laurent Destailleur
6387a5c2eb FIX Critical pb with direct link to contract. Add option
CONTRACT_CAN_USE_THE_BUGGED_SELECT_COMPONENT to avoid to use it.
2026-04-27 23:53:00 +02:00
Laurent Destailleur
b4cdb3f609 FIX Some critical pb with the select_contract() component. 2026-04-27 23:40:35 +02:00
Laurent Destailleur
6eb27efd71 Fix public interface must not show AI assistant. 2026-04-27 18:23:07 +02:00
Laurent Destailleur
f312cfcfae spellcheck war 2026-04-24 13:10:42 +02:00
Jon Bendtsen
59ea1f890d
UXUI Improve public ticket message list (#37926)
* Improve UXUI on public ticket interface

* Use the style method to remove the border in border to preserve the edit pencil

* Switching back to 2 column layout

* reduce changes

* Identical look'n'feel between just viewing the list and editing a new response

* Attempt at fixing phan

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
2026-04-21 11:52:20 +02:00
MDW
36b940974a
Qual: Fix CI (PHPStan) (#37945)
* Qual: Fix CI (PHPStan)

# Qual: Fix CI (PHPStan)

Fix two PHPStan messages

* Update html.formticket.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 18:39:58 +02:00
Laurent Destailleur
2106a54161 CI 2026-04-20 13:16:47 +02:00
Laurent Destailleur
6c044ec7e6 CI 2026-04-20 13:15:51 +02:00
Laurent Destailleur
30430e1674 NEW Enable AI tools on the message editor for tickets 2026-04-20 12:34:18 +02:00
Laurent Destailleur
531311c1be Fix regression in email title (must contains ref of ticket)
Fix the status private is already stored in code, so we can show it in
list with a picto.
2026-04-19 17:47:39 +02:00
Jon Bendtsen
37bcbadc19
UXUI Message Summary on ticket messages (#37928)
Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-19 16:18:55 +02:00
Laurent Destailleur
75e3358614 Fix permission to edit ticket status 2026-04-19 15:44:24 +02:00
Laurent Destailleur
6610f72fd0 CI 2026-03-26 20:13:02 +01:00
Laurent Destailleur
18aa44425d NEW use of rich editor is off by default on public page
- #GHSA-5jmx-352f-p5g3
2026-03-26 16:14:23 +01:00
Laurent Destailleur
6d68a68b20 Fix #GHSA-5w4f-94xq-w36f - wrapper to download files in public ticket is
too open.
2026-03-26 01:42:54 +01:00
boudet jean pascal
7a4f28fc72
NEW adds a hook in the ticket email/message form generated by `FormTicket… (#37580)
* add hook

* fix pre-commit

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2026-03-23 12:56:13 +01:00
Vincent Penel
cad1d11aee
Fix Ticket Permission (#37490)
* Fix Permission

* message

* Update html.formticket.class.php

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-15 11:53:00 +01:00
Laurent Destailleur
38d1b12bfe Fix CI 2026-03-14 19:20:59 +01:00
Laurent Destailleur
6aea3f6e16 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-14 19:18:35 +01:00
Laurent Destailleur
9400c2b358 Fix filter and CI 2026-03-14 19:18:14 +01:00
Laurent Destailleur
d61ffe5872 CI 2026-03-12 00:00:34 +01:00
Laurent Destailleur
049eb31665 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-02 18:11:50 +02:00
ThomasNgr-OpenDSI
b12695db76
FIX : when creating a ticken on backend and adding a linked file, the 'notify thirdparty at creation' chackbox disappears. (#35595) 2025-10-02 16:12:54 +02:00
Frédéric FRANCE
e81d5378cd
clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
Frédéric FRANCE
568c65568a
clean code (#35175)
* 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
2025-09-02 22:51:34 +02:00
ldestailleur
c269ad9332 FIX Sending ticket email must have different from and replyto to avoid
to be set as SPAM
2025-07-21 23:20:08 +02:00
ldestailleur
267b65cd9b Fix CI 2025-06-10 14:38:13 +02:00
Laurent Destailleur
b1812b1080 Debug v22 2025-06-10 02:24:08 +02:00
Charlène Benke
51d26108f9
fix typo error (#34186)
contRactid instead of contactid ...

there are some very long weekends sometimes...
2025-05-27 21:18:57 +02:00
ldestailleur
094a05b9a5 Debug v22 2025-05-27 14:48:25 +02:00
Laurent Destailleur
fe25cc8428 FIX #34206 2025-05-22 22:04:30 +02:00
Laurent Destailleur
0008ebe773 Fix CI 2025-04-16 00:19:24 +02:00
ldestailleur
d77898ff3d FIX #33742 2025-04-07 12:53:19 +02:00
Laurent Destailleur (aka Eldy)
4ee2bf5428 Clean cache. Must use conf->cache 2025-02-05 13:35:43 +01:00
Laurent Destailleur (aka Eldy)
c9f9d549e6 Fix cache 2025-02-05 13:27:41 +01:00
Laurent Destailleur (aka Eldy)
d97a91b83e Merge 2025-02-05 11:16:03 +01:00
Laurent Destailleur (aka Eldy)
769558ffb8 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-02-05 11:14:23 +01:00
Laurent Destailleur (aka Eldy)
3ad51f2a19 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-02-05 11:10:51 +01:00
Laurent Destailleur (aka Eldy)
857cc730cb Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-02-05 11:03:24 +01:00
MDW
f8e609b3b3
Qual: Update spelling (#37199)
* Qual: Update spelling for pre-select variants

# Qual: Update spelling for pre-select variants

In English, preselect is without the hyphen.  Update text and made some translations
related to preselect.

* Qual: Update composant to component and/or adequate translation.

# Qual: Update composant to component and/or adequate translation.

"Composant(s)" was mostly referenced in french file/class comments.
Updated

* Qual: Fix misspellings related to "criteria"

# Qual: Fix misspellings related to "criteria"

* Qual: Fix produt misspellings

# Qual: Fix produt misspellings

Change 'produt' to 'product'.

* Qual: Update French comments with "composants"

#Qual: Update French comments with "composants"

- Translating French comments to English (avoid codespell notice)

* Qual: Fixed typo 'bad practive' to 'bad practice'

# Qual: Fixed typo 'bad practive' to 'bad practice'

* Qual: Update phan.yml to exclude specific files from analysis

- Added file exclusion pattern to match phan configuration
- Added check for empty file list to avoid unnecessary phan execution

* Qual: Update file filtering in phan.yml workflow

The change updates the file filtering process in the phan.yml workflow to correctly redirect the output of the grep command to a temporary file.

* Qual: Ignore $systemfunction always exists

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-12 16:29:11 +01:00
tnegre
86833633ef fix 2024-12-18 10:26:26 +01:00