2
0
forked from Wavyzz/dolibarr
Commit Graph

753 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
MDW
469ced0a8d Qual: Fix phan notices (ticket,variants,webhook) 2025-02-20 10:29:39 +01:00
Laurent Destailleur (aka Eldy)
4ee2bf5428 Clean cache. Must use conf->cache 2025-02-05 13:35:43 +01:00
MDW
24fa28dfe2 Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Laurent Destailleur (aka Eldy)
732f97d73c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-02-05 00:40:06 +01:00
MDW
a42bc6755c Qual: Fix PhanPluginUnknownPropertyType, PhanPossiblyUndeclaredVariable 2025-01-27 10:24:16 +01:00
Laurent Destailleur
adae4f0fb3 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-27 01:37:52 +01:00
Laurent Destailleur
940e42c1e4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-27 01:30:34 +01:00
Laurent Destailleur
a4f2e16b76 Merge pull request #32627 from vmaury/Fix_31370_pb_ext_account
Fix 31370 Pb with external account
2025-01-20 15:20:39 +01:00
Laurent Destailleur (aka Eldy)
30dc853bb7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-20 15:09:16 +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
Laurent Destailleur
67521e9c4f Clean code 2025-01-20 03:54:04 +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
vmaury
cf0c04c6ee Fix 31370 Pb with external account 2025-01-13 11:58:16 +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
Laurent Destailleur (aka Eldy)
de321e8f01 Fix typo 2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Erik van Berkum
b8d7825b6f Update ticket.class.php
Solves issue #30890 Blank dashboard after upgrade 19.0.3 to 20.0.2
2024-12-22 16:02:36 +09: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
Laurent Destailleur (aka Eldy)
07536ea01a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-29 15:25:49 +01:00
Frédéric FRANCE
ff18a34c71 FIX: Ensure extraparams cannot be selected by the user (#32132)
* FIX: Ensure extraparams cannot be selected by the user

* Update newpayment.php
2024-11-28 15:43:47 +01:00
Frédéric FRANCE
286c3d1093 fix sql ticket list (#32080)
* fix sql ticket list

* fix sql ticket list

* fix phpstan

* fix

* fix
2024-11-28 12:11:50 +01:00
Frédéric FRANCE
13b8f5feff keep only commonobject property oldcopy (#32123)
* clean properties

* clean properties

* clean properties

* clean properties

* clean phpcs

* clean phan

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-27 21:59:41 +01:00
Laurent Destailleur
4bc1eebcb5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-21 12:47:48 +01:00
Laurent Destailleur
9a5aea09da FIX Debug option not working replaced by the one that works. 2024-11-21 12:33:23 +01:00
Laurent Destailleur
4c95fa2ac6 Fix clean a bugged option duplicated at wrong place in setup 2024-11-21 10:14:43 +01:00
Laurent Destailleur
275627bd14 Clean code 2024-11-21 00:57:16 +01:00
MDW
278d301f32 Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
Frédéric FRANCE
1006edf1a7 remove unused code (#31633)
* remove unused code

* remove unused code
2024-10-29 23:06:25 +01:00
Frédéric FRANCE
0f563edb5f replace fetch_projet() and fetch_project() by fetchProject() (#29821)
* fix cti

* fix cti

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* fix deprecated

* fix

* fix sql
2024-10-26 22:43:44 +02:00
Frédéric FRANCE
c0a5e58a41 fix phpstan add exclude for level 6 (#31482)
* fix phpstan add exclude for level 6

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-24 02:51:38 +02:00
MDW
11c43e8c63 Fix: ticket.class phan/phpstan notices (#31448)
* Qual: Fix ticket.class notices

* Do not analyze custom

* Fix: Correct reference to cache (+phpdoc)

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class
2024-10-19 01:21:41 +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
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
MDW
6e01a60f59 Qual: Fix phan/phpstan notices (#31259)
# Qual: Fix phan/phpstan notices

Fix notices by adjusting phpdoc
2024-10-04 08:25:17 +02:00
Laurent Destailleur
5203d99c2f Doxygen 2024-10-03 20:44:09 +02:00
Laurent Destailleur
16ab86a9ae Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:43:50 +02:00
Laurent Destailleur
4c695be0c8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:42:36 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
f09ef5deea Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:33:56 +02:00
Laurent Destailleur
bb69cd7cda Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-03 20:33:25 +02:00
cbeasley-sbb
9af212a542 Update ticket.class.php Bug-fix Issue #31206 (#31208)
Fix Issue #31206 for the v.18 branch because unrelated tests failing on develop branch.
2024-10-03 20:33:02 +02:00
Laurent Destailleur
97005cda37 Fix warning 2024-10-03 16:14:29 +02:00
Laurent Destailleur
7f946dcb4b Fix warning 2024-10-03 16:13:51 +02:00
Laurent Destailleur
42471decac Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 15:50:44 +02:00