Commit Graph

1339 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
1f360ca498 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-20 12:28:49 +01:00
Laurent Destailleur (aka Eldy)
1b42078d1e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-01-20 10:24:30 +01:00
atm-florian
ba4e97f07b FIX 17.0 API endpoints "PUT": prevent overwriting all extrafields if only some are supplied in the request cf. PR #29237
+ security for Tickets API: disable updating rowid
2025-01-16 10:37:29 +01:00
Laurent Destailleur
b07cc82058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-07 15:17:49 +02:00
Laurent Destailleur
94ed718782 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-07 15:15:01 +02:00
atm-irvine
f287d100a3 Use <= 0 instead of ! because delete method returns -1 or 1 (#31268)
* Use <= 0 instead of ! because delete method returns -1 or 1

* Added contact

* Removed user from parameters
2024-10-04 11:49:44 +02:00
Laurent Destailleur
f4611fcec9 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-07-25 18:06:37 +02:00
Sylvain Legrand
89b558a1b1 Fixes loss of rich text wrapping for translated category descriptions (#30433)
If multi-language is enabled, saving translations of category descriptions loses the rich text wrapping (wysiwyg)
2024-07-23 19:36:09 +02:00
Laurent Destailleur
d32bb1668f Update categorie.class.php 2024-04-04 18:58:10 +02:00
Laurent Destailleur
2fbe1fe149 Update categorie.class.php 2024-04-04 18:55:32 +02:00
Benjamin Falière
e505ebf0f7 FIX: categories protection limit 2024-04-03 15:04:03 +02:00
Sébastien NASSIET
e6c4583bc4 Prevent infinite loop with add notrigger parameter to the functions create, update & setMultiLangs (#28530) 2024-02-29 20:23:08 +01:00
Laurent Destailleur
c95c16dda0 Comment 2024-02-18 22:20:50 +01:00
Laurent Destailleur
7f32a49121 Fix tooltip 2024-02-18 18:26:40 +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
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
432a847ad9 Merge pull request #27004 from frederic34/fix-20231206
avoid phpstan error with phpdoc
2023-12-06 18:27:48 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
MDW
0dd46d1b2c FIX Define global (detected undefined phan #26480) 2023-12-05 19:46:43 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Laurent Destailleur
78268779c3 Fix warnings 2023-12-03 12:02:33 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
ff38cc4bdd Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-20 20:02:30 +01:00
Sébastien NASSIET
0fcfae30f8 Add doActions Hook on all actions on Categories (#26744)
* Update card.php

* Update photos.php

* Update edit.php
2023-11-19 10:50:21 +01:00
Sébastien NASSIET
181ee31c47 doActions hook on update category (#26726)
* doActions hook on update category

* Update edit.php
2023-11-19 00:08:49 +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
Laurent Destailleur
9275684ed1 Clean code 2023-10-21 17:58:31 +02:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Laurent Destailleur
c32fe8dc5f QUAL: Use dol_clone with parameter 2 for ->oldcopy 2023-10-11 19:10:24 +02:00
Laurent Destailleur
616f0e41d4 Clean code 2023-10-11 02:54:19 +02:00
pascal
80f060c771 fix tab indentation 2023-09-26 18:43:25 +02:00
pascal
871f896962 implementation of properties filter 2023-09-26 18:04:48 +02:00
Laurent Destailleur
08ac0e9ee4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-21 12:38:41 +02:00
Laurent Destailleur
11cc0a61da Fix cast of int 2023-09-20 11:59:57 +02:00
Laurent Destailleur
9bd406ca1e FIX Prices visible on TakePOS KO with multiprices support 2023-09-09 14:29:16 +02:00
Frédéric France
9d3cfe67cb fix phpstan 2023-08-25 18:29:00 +02:00
Frédéric France
62384fe7b3 fix phpstan 2023-08-25 18:21:24 +02:00
Laurent Destailleur
020dd911de Debug v18 2023-08-15 13:51:17 +02:00
Laurent Destailleur
86864b4d53 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-07-06 22:22:26 +02:00
atm-greg
522fc061a8 add a check on service rights 2023-07-05 10:14:31 +02:00
Laurent Destailleur
f02c89dad0 Fix warning 2023-07-01 16:14:40 +02:00
Laurent Destailleur
138d71ad66 Debug v18 2023-07-01 16:07:58 +02:00
Frédéric France
647708a9bc use user hasRight 2023-06-19 23:05:59 +02:00
Frédéric France
5b3313220f use user hasRight 2023-06-19 20:54:08 +02:00
Frédéric France
68855ce672 use user hasRight 2023-06-19 20:08:27 +02:00
Frédéric FRANCE
0118b4ac89 use user hasRgiht 2023-06-14 20:23:21 +02:00
Laurent Destailleur
c67ea96e19 FIX Multicompany for SEPA file generation 2023-06-14 15:09:36 +02:00
Philippe GRAND
f660e13f20 fix : Warning: Undefined array key cat_fk in /home/httpd/vhosts/doliweb.com/httpdocs/categories/class/categorie.class.php on line 289 2023-06-13 19:47:21 +02:00