2
0
forked from Wavyzz/dolibarr
Commit Graph

775 Commits

Author SHA1 Message Date
Laurent Destailleur
7ed45a43a5 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-08 15:09:42 +01:00
Lucas Marcouiller
14090f3515 New make replyto as origin_email email collector ticket part (#28040)
* New make replyto as origin_email email collector ticket part

* fix by adding a field

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-02-08 13:58:40 +01:00
William Mead
43ec918e63 FIX #27670 Qual clean ticket libstatut method (#28025)
* Fixed empty labelStatus. Refactored logic.

* Added contributor details

* Cleaned PHPDoc
2024-02-08 02:07:05 +01:00
Laurent Destailleur
a7529665da Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/ticket/class/ticket.class.php
2024-02-08 00:06:52 +01:00
Laurent Destailleur
5d6448a8a2 css 2024-02-07 23:54:30 +01:00
Laurent Destailleur
9acceb8e8e Debug v19 2024-02-07 23:52:03 +01:00
Laurent Destailleur
d813bf4ae7 NEW Add option TICKET_INCLUDE_SUSPENDED_STATUS (Suspended status no more
visible by default)
2024-02-07 23:49:36 +01:00
Frédéric FRANCE
0972ba137d Ticket generate doc (#28031)
* add doc generation to tickets

* add doc generation to tickets

* add doc generation

* add doc generation

* add extraparams fetch

add extraparams fetch

fix call

fix call

fix call

* fix doc

* remove bad setting

* fix default settings on init

* fix template name

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-07 19:36:23 +01:00
Laurent Destailleur
c9823f2b8d Move 401 to 403 2024-02-01 19:34:13 +01:00
thibdrev
aa8e6e1232 qual: phpstan for htdocs/ticket/class/ticket.class.php
htdocs/ticket/class/ticket.class.php	192	Property Ticket::$datec (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php	197	Property Ticket::$tms (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php	202	Property Ticket::$date_read (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php	207	Property Ticket::$date_last_msg_sent (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php	212	Property Ticket::$date_close (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php	272	PHPDoc type array of property Ticket::$lines is not covariant with PHPDoc type array of overridden property CommonObject::$lines.
htdocs/ticket/class/ticket.class.php	449	Property Ticket::$progress (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1007	Property Ticket::$progress (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1249	Property Ticket::$progress (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1254	Property Ticket::$datec (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1255	Property Ticket::$date_read (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1256	Property Ticket::$date_last_msg_sent (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1257	Property Ticket::$date_close (int) does not accept string.
htdocs/ticket/class/ticket.class.php	1258	Property Ticket::$tms (int) does not accept string.
2024-01-31 22:37:40 +01:00
Laurent Destailleur
b0c8266aa4 Merge pull request #27082 from altairis-benjamin/improveTicketMail
ADD ticket subject on emails
2024-01-29 00:49:28 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
Noé Cendrier
c33422bc49 FIX do not ommit colon 2024-01-18 15:37:42 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Laurent Destailleur
cb2ebb1d56 Fix phpcs 2024-01-12 20:51:10 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
c406d9a002 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-12 17:49:00 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
MDW
342ab85195 Qual: Spelling htdocs/[q-z]* (#27447)
# Qual: Fix spelling htdocs/[q-z]*

Probably fixes a bug:

- htdocs/webservices/server_thirdparty.php
  No other occurence of adress found.
  -'adress'=>->adress,- +'address'=>->address,+
2024-01-12 17:18:52 +01:00
Frédéric FRANCE
c9a0957920 fix phpstan (#27440) 2024-01-12 17:07:22 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
acfbc74f06 Debug v19 2024-01-02 15:17:57 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Benjamin Falière
88a72050fe Modify subject structure 2023-12-18 09:45:09 +01:00
Benjamin Falière
9038a6e6e8 Merge remote-tracking branch 'origin/develop' into improveTicketMail 2023-12-18 09:35:38 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Benjamin Falière
20a912ff70 ADD ticket subject on emails 2023-12-13 16:04:27 +01:00
Christophe Battarel
5c907df092 clean altairis comments 2023-12-13 14:52:40 +01:00
MDW
b0414dd078 Fix utf8_encoding/decoding (rather than creating new function replacements) 2023-12-07 03:37:05 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
619155f65e Fix with php-cs-fixer 2023-12-04 13:53:48 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
aaca019f54 Clean code 2023-11-29 12:57:16 +01:00
Laurent Destailleur
075ee02901 Fix php8.2 warnings 2023-11-27 12:08:48 +01:00
Laurent Destailleur
5dd41e3dd5 Clean CSS 2023-11-24 10:20:01 +01:00
Laurent Destailleur
e6eb34a8db Fiw warnings: The private array ->status_short, ->statuts and
->status_long are now array ->labelStatusShort and ->labelStatus
everywhere.
2023-11-24 10:10:24 +01:00
HENRY Florian
70a5a85eac fix: various getDol, display error on public page (#26652)
* fix: various getDol, display error on public page

* fix: various getDol, display error on public page
2023-11-17 11:39:16 +01:00
Laurent Destailleur
69642e1048 Fix missing the src type and id when uploading a file as a message of
ticket
2023-11-13 12:36:38 +01:00
Laurent Destailleur
8a5d57b09a Debug v19 2023-11-09 11:31:16 +01:00
Laurent Destailleur
4cd4221a52 Debug v19. Remove some TODO. 2023-11-09 10:56:13 +01:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
MDW
c0c5eccfb5 Fix some phan notices (not critical) (#26265) 2023-10-20 02:22:07 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
c2bdb3be90 Fix php8.2 warnings 2023-10-15 18:41:39 +02:00
Benjamin Falière
b220e1acbd NEW Assign contact to a ticket message (#24735)
* NEW Assign contact to a ticket message

* FIX conflict

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-11 03:36:15 +02:00