Commit Graph

1256 Commits

Author SHA1 Message Date
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
60fa45aa97 Doc 2024-04-02 13:25:31 +02:00
Laurent Destailleur
51f862ad28 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-02 13:21:00 +02:00
Laurent Destailleur
d77a2ac2c8 Fix type of field to create ticket 2024-04-02 13:18:38 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Francis Appels
214fa2dc0a Fix phan, swap parameter 2024-04-02 10:09:05 +02:00
Laurent Destailleur
3df311481b NEW Management of the In-Reply-To and References for ticket answers. 2024-04-01 19:11:08 +02:00
Laurent Destailleur
56105667e7 Merge pull request #29128 from mdeweerd/fix/stan
Fix PHPdoc typing (to fix php stan notices)
2024-03-30 20:01:48 +01:00
MDW
cb7e8f08d1 Fix typo $obp -> $objp
# Fix typo $obp -> $objp

Fix typo resulting in null var
2024-03-29 19:51:11 +01:00
MDW
04c3e80fc5 Fix typing 2024-03-29 18:26:48 +01:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
MDW
fd66fd6a38 Adjust to real typing 2024-03-27 10:18:37 +01:00
Laurent Destailleur
b78f7af196 Merge branch 'develop' into fix/classname_empty 2024-03-20 10:56:54 +01:00
Laurent Destailleur
755d1feae8 Update actions_ticket.class.php 2024-03-20 10:52:37 +01:00
Laurent Destailleur
db61f9a676 Merge branch 'develop' into 18_fix_ticket_plain_text_editor 2024-03-20 10:49:49 +01:00
Laurent Destailleur
536004c898 Fix phpstan warnings 2024-03-20 10:43:51 +01:00
Eric Seigne
7bbde7d950 replace br to new lines if ckeditor is not enabled on ticket 2024-03-20 09:01:51 +01:00
MDW
903d9d52de Fix Expected an object instance & duplicate assignment
# Fix Expected an object instance & duplicate assignment

Fix: ticket.class.php: PhanTypeExpectedObjectOrClassName: Expected an object instance or the name of a class but saw expression $classname with type ''|string
Fix: ticket.class.php: PhanPluginRedundantAssignment: Assigning '' to variable $sendtocc which already has that value
2024-03-20 04:26:16 +01:00
Laurent Destailleur
e92d6230df Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/ticket/class/ticket.class.php
	htdocs/ticket/list.php
	htdocs/ticket/stats/index.php
2024-03-20 02:31:33 +01:00
Laurent Destailleur
dd5d70ad5d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/triggers/interface_50_modTicket_TicketEmail.class.php
	htdocs/public/ticket/create_ticket.php
	htdocs/public/ticket/index.php
	htdocs/public/ticket/list.php
	htdocs/public/ticket/view.php
	htdocs/ticket/agenda.php
	htdocs/ticket/card.php
	htdocs/ticket/class/ticket.class.php
	htdocs/ticket/contact.php
	htdocs/ticket/document.php
	htdocs/ticket/index.php
	htdocs/ticket/list.php
	htdocs/ticket/messaging.php
	htdocs/ticket/stats/index.php
2024-03-20 02:25:58 +01:00
Laurent Destailleur
a7223719a5 Merge pull request #28446 from rycks/18.0-ticket_code_review
18.0 fix links error on dedicated virtualhost and ticket code review
2024-03-20 01:55:57 +01:00
Laurent Destailleur
10e3627c59 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-19 18:14:07 +01:00
Laurent Destailleur
e9e2105508 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/class/bookkeeping.class.php
	htdocs/core/class/CMailFile.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/ticket/class/ticket.class.php
2024-03-19 18:12:13 +01:00
Laurent Destailleur
43a3f449c4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-19 17:07:51 +01:00
Laurent Destailleur
5e3eaab7d1 Merge pull request #27080 from altairisfr/nocompany
NEW : add constant TICKETS_NO_COMPANY_ON_FORM
2024-03-19 16:54:47 +01:00
Laurent Destailleur
b705dd8094 NEW Support Reply-To tracking in emails sending (tickets only for the
moment)

Conflicts:
	htdocs/core/class/CMailFile.class.php
	htdocs/ticket/class/ticket.class.php
2024-03-19 16:42:27 +01:00
Christophe Battarel
db79c9dab4 Merge branch 'develop' into nocompany 2024-03-19 10:58:22 +01:00
MDW
61cae896ec Force variable typing to avoid false positives 2024-03-19 03:16:00 +01:00
MDW
d111b9119f More specifc return value for listeContact 2024-03-19 02:59:39 +01:00
MDW
f9639fc689 Fix arg type for strtolower by typing function arguments 2024-03-19 02:59:38 +01:00
Laurent Destailleur
2077c23c5e Update styles.css.php 2024-03-19 02:08:49 +01:00
Laurent Destailleur
0b9d518e8b Merge pull request #28942 from Hystepik/new-references-tickets
New data struture for references field in ticket
2024-03-19 01:53:36 +01:00
Laurent Destailleur
66faa6dd0e Update ticket.class.php 2024-03-19 01:52:57 +01:00
MDW
c266bdb042 Fix assignement to 'userassigned' 2024-03-19 00:32:08 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
mrozniecki
fcff03c66d Add substitution for mail intro and signature on ticket mail 2024-03-18 16:10:39 +01:00
Hystepik
d82729e49d New data struture for references field in ticket 2024-03-18 15:11:50 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
Laurent Destailleur
97e11f7f5f Update cticketcategory.class.php 2024-03-16 17:16:46 +01:00
Laurent Destailleur
0fdca9b183 Update messaging.php 2024-03-16 16:00:22 +01:00
Laurent Destailleur
34a554e64d Update cticketcategory.class.php 2024-03-16 15:59:43 +01:00
Laurent Destailleur
ea12c39cba Update index.php 2024-03-16 15:57:16 +01:00
Laurent Destailleur
57fa0671e5 Update messaging.php 2024-03-16 15:56:40 +01:00
Laurent Destailleur
2bef2c6b87 Update list.php 2024-03-16 15:55:11 +01:00
Laurent Destailleur
52d9b7d6c4 Update index.php 2024-03-16 15:53:25 +01:00
Laurent Destailleur
15ba3757ab Update document.php 2024-03-16 15:52:38 +01:00
Laurent Destailleur
15207665d8 Update contact.php 2024-03-16 15:52:01 +01:00
Laurent Destailleur
78d49e6713 Update ticket.class.php 2024-03-16 15:51:21 +01:00
Laurent Destailleur
8e3a567c03 Update cticketcategory.class.php 2024-03-16 15:49:04 +01:00
Laurent Destailleur
b65b184405 Update agenda.php 2024-03-16 15:48:04 +01:00