Commit Graph

709 Commits

Author SHA1 Message Date
MDW
035ede5874 Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00
MDW
c02293a880 Qual: Add phpdoc for request_data param 2025-03-02 20:49:45 +01:00
ldestailleur
ac5d5aeb91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-03-02 15:29:14 +01:00
Frédéric France
31dcb9d99c fix phpstan 2025-02-27 18:49:23 +01:00
Frédéric France
c1803a6e6a fix phpstan 2025-02-27 18:46:46 +01:00
ldestailleur
eb1d4f4eda Fix url encode 2025-02-27 13:46:34 +01:00
ldestailleur
0d834b2c05 Debug v21, the type small was only if no url provided 2025-02-27 13:44:37 +01:00
Laurent Destailleur
0b3d3c3a2b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-27 02:06:35 +01:00
ldestailleur
2404701f94 Doc 2025-02-26 20:40:44 +01:00
ldestailleur
0524bba08c Fix duplicate SQL, must use count to count. 2025-02-26 20:37:03 +01:00
ldestailleur
b7580798c2 Fix when lang is undefined. 2025-02-26 19:44:20 +01:00
ldestailleur
10fd8b2111 Clean code 2025-02-24 16:16:26 +01:00
ldestailleur
abcd0d2cf2 Qual: Clean code related to categories 2025-02-23 19:42:49 +01:00
ldestailleur
d8943876ea Fix regression 2025-02-23 18:39:40 +01:00
ldestailleur
4dc87949fd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-23 18:26:03 +01:00
ldestailleur
6f558158a3 Debug v21 - Fix duplicated not sync var on categories ID 2025-02-23 17:59:10 +01:00
Florent Poinsaut
0c6ee5d47d NEW #22848 Use the right tag id 2025-02-14 14:32:43 +01:00
Florent Poinsaut
bfed762fe9 NEW Dolibarr#22848 Add order tags 2025-02-14 14:29:49 +01:00
Laurent Destailleur (aka Eldy)
8ee93533bd CSS 2025-02-13 17:28:33 +01:00
Laurent Destailleur (aka Eldy)
2bc3b872f2 FIX #32880 - Tags are using a special rendering. 2025-02-05 17:50:53 +01:00
Laurent Destailleur (aka Eldy)
0177b4cc94 Doc 2025-01-31 00:32:30 +01:00
Laurent Destailleur (aka Eldy)
249047c1f9 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-30 23:09:11 +01:00
Laurent Destailleur (aka Eldy)
7fa1baf1dd Fix regression 2025-01-30 13:34:26 +01:00
Regis Houssin
e7088d7794 FIX add other fields 2025-01-29 09:14:37 +01:00
Regis Houssin
510da33c33 FIX #32840 2025-01-29 08:35:55 +01:00
Laurent Destailleur (aka Eldy)
b5229f7b3e Fix redirect in website when we must not propaget parameters 2025-01-26 19:00:32 +01:00
Laurent Destailleur (aka Eldy)
fa9fe2efa7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-20 15:02:37 +01:00
Laurent Destailleur (aka Eldy)
c9ab22782e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-20 14:57:45 +01:00
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 (aka Eldy)
a82da1cc6c Must be able to force lang 2025-01-16 02:55:00 +01:00
Laurent Destailleur (aka Eldy)
f88cfae08f Debug v21 2025-01-16 02:50:23 +01:00
Laurent Destailleur (aka Eldy)
3ab49cf061 Debug v21 - Standardize code and translation of RefExt 2025-01-12 18:08:25 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
MDW
ec2a1928ba Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Frédéric FRANCE
943d10c60a fix phpstan and CI (#31969)
* fix phpstan

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline
2024-11-18 15:10:29 +01:00
Thibault Parodi
be72bfa664 FIX #29424 API GET member categories (#31881)
* Fix members categories when user is not found

* Return empty array instead of 0 when member does not have category assigned
2024-11-15 23:57:58 +01:00
Frédéric FRANCE
ec91ed2af9 test action (#31815)
* NEW : Add category feature on Fichinter

category update

* Update viewcat.php

* Update categories.lang

* Update categorie.class.php

* Update categories.lang

* Update viewcat.php

* Update viewcat.php

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* clean baseline

Debug v21

NEW: use Expedition::$date_shipping property in card and list (#31701)

* NEW: use Expedition::$date_shipping property in card and list

* FIX: translation

* FIX: PHPStan rebutal

* FIX: not a great idea to copy and not edit comment

* FIX: on create, expected delivery date should precede sending date

* Update card.php

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

clean baseline

clean baseline

clean baseline

* clean baseline

* clean baseline

* merge

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* fix translations

* fix translations

* fix

* fix filters

* fix filters

* fix filters

* fix filters

* fix

---------

Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
2024-11-15 14:09:04 +01:00
Laurent Destailleur
f37c33bb2c Debug v21 2024-11-08 09:33:51 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Frédéric FRANCE
0b1d243a7a add translations count (#31398) 2024-10-15 15:39:29 +02:00
Laurent Destailleur
58b0d4512a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-14 14:05:43 +02:00
Laurent Destailleur
73265e45ab Standardize trigger codes 2024-10-14 14:05:20 +02:00
Frédéric FRANCE
b340091522 add delMultilangs method to category class (#31394)
* add delMultilangs method to category class

* add delMultilangs method to category class
2024-10-14 13:59:36 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Frédéric FRANCE
820333b02f fix variants sql init (#31319)
* fix variants sql init

* add setup

* add setup

* add setup

* update class

* update list

* update list

* update list

* update class

* fix typos

* fix translations

* fix html

* fix update

* fix sql

* fix extrafields

* fix extrafields
2024-10-13 21:08:55 +02:00
MDW
d7b2f95baf Qual: Fix phan notices (#31372)
* fix llx_webhook_target-webhook.sql

* Fix commande/list & facture-rec.class

* Fix bonprelevement

* Qual: Fix prelevement/create notices

* Qual: fix quadridetail notices & update baseline

* Qual: Fix CommonDocGenerator notices

* Qual: Fix commoninvoice and commonobjectline notices (phan/phpstan)

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
2024-10-13 16:45:42 +02:00
Mohamed DAOUD
1ea380c5c2 Code Update For Migration of llx_categorie_bank content into llx_categorie (#31306)
* move category_bank to categorie

* fix

* fix cast

* fix phpunit
2024-10-09 01:48:05 +02:00