2
0
forked from Wavyzz/dolibarr
Commit Graph

657 Commits

Author SHA1 Message Date
Laurent Destailleur
cf912c53d2 Look and feel v20 2024-04-14 01:42:31 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Frédéric FRANCE
7cf6a0821f fix phpdoc for ismultientitymanaged (#29245)
* fix phpdoc

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-06 17:38:39 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
0be59cf384 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 17:56:27 +02:00
Laurent Destailleur
8e6674ff6f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-04 17:56:06 +02:00
Laurent Destailleur
0fc08e8926 Clean translation files 2024-04-04 15:15:04 +02:00
Benjamin Falière
8156fbfea3 FIX: Ticket new message notification sent twice 2024-04-04 11:44:22 +02:00
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
MDW
04c3e80fc5 Fix typing 2024-03-29 18:26:48 +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
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
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
Hystepik
d82729e49d New data struture for references field in ticket 2024-03-18 15:11:50 +01:00
Laurent Destailleur
97e11f7f5f Update cticketcategory.class.php 2024-03-16 17:16:46 +01:00
Laurent Destailleur
34a554e64d Update cticketcategory.class.php 2024-03-16 15:59:43 +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
5fadea4d0d NEW Support Reply-To tracking in emails sending (tickets only for the
moment)
2024-03-15 19:40:32 +01:00
MDW
a5acb44890 Fix origin_email and track_id can be null 2024-03-15 10:12:51 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
f8055ec866 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:54:13 +01:00
MDW
e7d378055f Fix PhanPluginRedundantAssignment 2024-03-13 01:04:59 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
MDW
d491c9f264 Fix: Repeat fields typing in CommonClass children
# Fix: Repeat fields typing in CommonClass children

phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:40:29 +01:00