Commit graph

151292 commits

Author SHA1 Message Date
Jon Bendtsen
976c05531a
Correct what API this file is for (#29257)
This is not an API for orders, but for supplier proposals
2024-04-07 11:53:20 +02:00
Laurent Destailleur
1ce6de5eb3 Removed not used var 2024-04-07 11:52:42 +02:00
Frédéric FRANCE
00b2185813
fix phpstan (#29258)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-04-07 11:50:26 +02:00
rqi14
bab1694cfc
Fix bug in translation (zh-cn) (#29264)
"由%s验证" is in correctly written as "由%验证s", causing failure in sprintf function in translate.class.php:743.

[client 172.23.0.4:47410] PHP Fatal error:  Uncaught ValueError: Unknown format specifie                   r "\xe9" in /var/www/html/core/class/translate.class.php:743\nStack trace:\n#0 /var/www/html/core/class/translate.class.php(743): sprintf()\n#1                    /var/www/html/core/actions_massactions.inc.php(1638): Translate->transnoentitiesnoconv()\n#2 /var/www/html/holiday/list.php(221): include('...                   ')\n#3 {main}\n  thrown in /var/www/html/core/class/translate.class.php on line 743
2024-04-07 11:48:34 +02:00
Alexandre SPANGARO
d459ee6b7b
NEW - Accountancy - Show import key if exist (#29265) 2024-04-07 11:47:23 +02:00
Laurent Destailleur
92292fb85a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-07 11:46:31 +02:00
Laurent Destailleur
fa43938f76 Fix merge same title of security issue 2024-04-07 11:46:12 +02:00
Jon Bendtsen
3e3c4056fc
all current columns in llx_extrafields can now be seen in the json (#29253)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2024-04-06 17:42:03 +02:00
Frédéric FRANCE
7cf6a0821f
fix phpdoc for ismultientitymanaged (#29245)
* fix phpdoc

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-06 17:38:39 +02:00
Frédéric FRANCE
87b76db460
fix phpdoc (#29246) 2024-04-06 13:35:04 +02:00
Laurent Destailleur
0e5440f256 Fix bad var 2024-04-06 13:33:42 +02:00
atm-irvine
660bb7bd5c
FIX: Undefined array key default on fields (#29243) 2024-04-06 13:30:28 +02:00
Regis Houssin
ec45ca8abe
FIX avoid php warnings (#29247) 2024-04-06 13:28:58 +02:00
Laurent Destailleur
2ca5518625 Fix use of dynamic property conf->xxx->enabled must be abandonned. 2024-04-05 16:51:27 +02:00
Florian Mortgat
8b00b89f9d
FIX: $conf must reflect enabled/disabled state of modules (#29126) 2024-04-05 16:36:02 +02:00
sonikf
a9bfe73e1a
Add recurring invoice triggers in module builder template (#29208)
* Add recurring invoice triggers

* Update interface_99_modMyModule_MyModuleTriggers.class.php

* remove BILLREC_CREATE
2024-04-05 16:34:39 +02:00
Laurent Destailleur
d0c7c7f2c7 Add CR on RSS feed of apstat 2024-04-05 15:51:41 +02:00
Laurent Destailleur
e9857d5473 Try new line in description of rss 2024-04-05 15:49:52 +02:00
Laurent Destailleur
5702c31110 Typo 2024-04-05 15:47:25 +02:00
Laurent Destailleur
f12826a952 Add link to securities 2024-04-05 15:43:43 +02:00
Laurent Destailleur
0d5b81796f Fix escape 2024-04-05 15:34:30 +02:00
Laurent Destailleur
5d0125870d Add link into rss 2024-04-05 15:32:46 +02:00
Laurent Destailleur
773fcd8f06 Fix rss 2024-04-05 15:04:18 +02:00
Laurent Destailleur
4ef9a2c0f5 Fix rss 2024-04-05 15:01:59 +02:00
Laurent Destailleur
50dfa79a43 Fix warning 2024-04-05 15:00:21 +02:00
Laurent Destailleur
5e24b6ef70 Fix rss 2024-04-05 14:56:59 +02:00
Laurent Destailleur
79deb2bc3a NEW Add a link to add a website category in edit page properties 2024-04-05 14:45:34 +02:00
Laurent Destailleur
4694b4e1b4 Worl on CSS generation 2024-04-05 14:11:34 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
3ee5b8133d css 2024-04-05 13:28:32 +02:00
Laurent Destailleur
fae202a610 Sec Possible html injection by corrupting external ICS links. 2024-04-05 13:26:59 +02:00
Laurent Destailleur
7c5b2dae56 Fix GETPOSTINT 2024-04-05 13:09:32 +02:00
Laurent Destailleur
d8d41cefbe Enhance security fixes 2024-04-05 10:59:40 +02:00
Laurent Destailleur
b17788ab5c Add missing ; 2024-04-05 10:38:40 +02:00
G-ladal
12ee6d2820
Add entity to bookcal (#29212)
* [New] prepare bookcal DB for multicompany

Add entity to calendar and availability tables

* Fix propagate bookcal mods to main tables

add entity field for bookcal to install scripts (not only migration)

* add entity to bookcal_calendar only

as per requested, add entity to bookcal_calendar only

	modified:   htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	modified:   htdocs/install/mysql/tables/llx_bookcal_calendar-bookcal.sql

* Revert changes on availabilities table
2024-04-05 10:36:30 +02:00
Laurent Destailleur
bf007fcaa3
Merge pull request #29237 from JonBendtsen/API_PUT_product_extra_fields
Fix #29115 API PUT call issue (product extra fields)
2024-04-05 10:35:24 +02:00
Laurent Destailleur
aab69e6a1f
Update api_products.class.php 2024-04-05 10:35:01 +02:00
Laurent Destailleur
7668ceedea
Merge pull request #29235 from thibdrev/patch-4
qual: phpstan for fournisseur.facture.class.php
2024-04-05 10:33:35 +02:00
Laurent Destailleur
c074a8525d
Merge pull request #29233 from thibdrev/patch-1
qual: phpstan for htdocs/eventorganization/class/conferenceorbooth.class.php
2024-04-05 10:32:41 +02:00
Laurent Destailleur
d43580ae59
Merge pull request #29234 from thibdrev/patch-3
qual: phpstan for api_expensereports.class.php
2024-04-05 10:31:47 +02:00
Laurent Destailleur
e46a3cf7d3
Merge pull request #29236 from JonBendtsen/project_getByRef_Ext
NEW: API GET projects by REF_EXT
2024-04-05 10:31:13 +02:00
Laurent Destailleur
7c8d5fd50e Doc 2024-04-05 10:26:43 +02:00
Laurent Destailleur
ba25317a97 Exclude PhanDeprecatedProperty for the moment 2024-04-05 10:22:01 +02:00
Laurent Destailleur
fc7fc02207 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-05 10:17:38 +02:00
Laurent Destailleur
e36e70ecfe Fix typo formated -> formatted 2024-04-05 10:17:00 +02:00
Jon Bendtsen
650e9b8c2b Fix #29115 2024-04-04 23:22:10 +02:00
Jon Bendtsen
a5889ed5eb ref_ext is parameter 3 2024-04-04 23:04:57 +02:00
Jon Bendtsen
4c915da4d0 getByRefExt 2024-04-04 22:46:54 +02:00
thibdrev
2fca326f12
qual: phpstan for fournisseur.facture.class.php
htdocs/fourn/class/fournisseur.facture.class.php	204	PHPDoc type float|int of property FactureFournisseur::$total_ht is not covariant with PHPDoc type float of overridden property CommonObject::$total_ht.
htdocs/fourn/class/fournisseur.facture.class.php	206	PHPDoc type float|int of property FactureFournisseur::$total_tva is not covariant with PHPDoc type float of overridden property CommonObject::$total_tva.
htdocs/fourn/class/fournisseur.facture.class.php	208	PHPDoc type float|int of property FactureFournisseur::$total_localtax1 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax1.
htdocs/fourn/class/fournisseur.facture.class.php	210	PHPDoc type float|int of property FactureFournisseur::$total_localtax2 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax2.
htdocs/fourn/class/fournisseur.facture.class.php	212	PHPDoc type float|int of property FactureFournisseur::$total_ttc is not covariant with PHPDoc type float of overridden property CommonObject::$total_ttc.
htdocs/fourn/class/fournisseur.facture.class.php	1204	Property FactureFournisseur::$author (int) does not accept string.
2024-04-04 21:15:09 +02:00
thibdrev
229c2dd4b6
qual: phpstan for api_expensereports.class.php
htdocs/expensereport/class/api_expensereports.class.php	608	Method ExpenseReports::getPayments() should return array but returns object.

htdocs/expensereport/class/api_expensereports.class.php	680	Method ExpenseReports::updatePayment() should return int but returns object.
2024-04-04 21:06:31 +02:00