Commit Graph

767 Commits

Author SHA1 Message Date
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
Laurent Destailleur
ffbb05167a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-09 09:28:51 +02:00
Regis Houssin
d6b39dc227 FIX avoid warnings 2023-10-07 08:30:07 +02:00
Laurent Destailleur
8488c05b6a Merge pull request #24872 from MaximilienR-easya/dev_New_linked_file_shared_public_side
New access to msg linked files via public interface
2023-10-05 20:41:23 +02:00
Laurent Destailleur
0f448389d1 Update actions_ticket.class.php 2023-10-05 20:40:24 +02:00
Laurent Destailleur
3cb78be3ac Clean code 2023-09-29 16:27:07 +02:00
Charles
72b995d568 Update ticket.class.php - SQL Syntax Error
Function "loadCacheCategoriesTickets" query had two WHERE clauses.  Change the second "WHERE" to "AND".
2023-09-28 00:31:45 +02:00
Charles
8377b8f3f0 Update ticket.class.php - SQL Syntax Error
Function "loadCacheCategoriesTickets" query had two WHERE clauses.  Change the second "WHERE" to "AND".
2023-09-27 14:14:03 -05:00
Laurent Destailleur
7bbc3bab05 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-27 17:17:41 +02:00