2
0
forked from Wavyzz/dolibarr
Commit Graph

35735 Commits

Author SHA1 Message Date
Laurent Destailleur
efd7702bc4 Fix travis 2024-05-04 18:28:34 +02:00
Florian Mortgat
702709f890 New declare dictionaries more easily (#29600)
* NEW: method to help declare dictionaries more easily

* Example use of `declareNewDictionary()` method (redeclaring dictionaries of module Ticket with the new method)

* minor fixes: $this->db->prefix() in modTicket.class.php
2024-05-03 19:03:00 +02:00
Laurent Destailleur
d1146e9bea Fix case 2024-05-03 18:49:24 +02:00
Laurent Destailleur
93eded598e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-03 18:24:03 +02:00
Laurent Destailleur
e9f7a1996f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-03 18:18:39 +02:00
Laurent Destailleur
4fef808efa Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-05-03 18:16:58 +02:00
Laurent Destailleur
1c81155a9a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-05-03 18:13:21 +02:00
Marc de Lima Lucio
3258b00e16 FIX: notification: error 500 in fixed emails due to a bad copy/paste (#29580) 2024-05-03 18:12:55 +02:00
Philippe Grand
4cdf87977d Fix : Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/tpl/commonfields_add.tpl.php on line 39 (#29595)
* fix : Warning: Undefined variable  in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370

* backward

* update

* Fatal error: Uncaught TypeError: abs(): Argument #1 () must be of type int|float, string given in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/tpl/commonfields_add.tpl.php on line 39

* Update commonfields_add.tpl.php

fix tab/space

* Update commonfields_add.tpl.php

fix space after cast
2024-05-03 18:01:38 +02:00
Laurent Destailleur
390ea76702 Debug v20 2024-05-03 18:00:17 +02:00
Laurent Destailleur
d53279eb64 Fix warning 2024-05-03 15:34:18 +02:00
Laurent Destailleur
580fe5a043 Debug v20 2024-05-03 11:10:22 +02:00
Laurent Destailleur
3edcaf97fc Debug v20 2024-05-03 03:02:04 +02:00
Laurent Destailleur
0b9bd5408b Debug v20: Encapsulate the feature using leaflet/geophp into a constant
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Laurent Destailleur
642a3d5984 Fix regression 2024-05-03 01:28:19 +02:00
Laurent Destailleur
283f16234f Debug v20 2024-05-03 01:02:40 +02:00
Laurent Destailleur
30de8684fd More complete fix for #29587 for suplier with no vat. Fix also
ref_supplier not propagated.
2024-05-03 00:30:01 +02:00
Laurent Destailleur
5e50b4aa2e Fix restore line lost 2024-05-02 23:21:06 +02:00
Laurent Destailleur
577491b799 Fix permissions on external users 2024-05-02 21:48:50 +02:00
Laurent Destailleur
50aa16c270 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-02 21:03:26 +02:00
lelex86
671ae12bee Fix: content-type haeder missing for webhook (#29588)
Data sent by webhooks is encoded in JSON and sent using the CURLOPT_POSTFIELDS function in cURL. However, the Content-Type header is not explicitly specified. By default, cURL automatically sets the Content-Type header to application/x-www-form-urlencoded, which can cause issues with certain applications.
To avoid this, I explicitly set the Content-Type header to application/json. This ensures that the data is sent in the correct format and that applications receiving the data can process it correctly.
2024-05-02 19:40:30 +02:00
MDW
2115980560 Qual: Fix Phan notices in CommonObject (#29354)
* Fix PhanPluginSimplifyExpressionBool in commonobject

* Fix commonobject for phan notices

* Allow null for $usedolidb argument

* Allow null for $outputlangs argument of \dol_format_address()

* Fix multiple phan notices

* Ignore PhanTypeArraySuspiciousNullable

* Fix PhanTypeMismatchArgumentProbablyReal

* Update baseline

* Improve typings

* Update type specification getCountry/withCode

* Fix CommonObject Phan notices & update baseline

* Fix phan notices

* Correct typing for showInputField to be the same as parent class

* Fix PhanPluginSimplifyExpressionBool in commonobject

* Fix commonobject for phan notices

* Allow null for $usedolidb argument

* Allow null for $outputlangs argument of \dol_format_address()

* Fix multiple phan notices

* Ignore PhanTypeArraySuspiciousNullable

* Fix PhanTypeMismatchArgumentProbablyReal

* Update baseline

* Improve typings

* Update type specification getCountry/withCode

* Fix CommonObject Phan notices & update baseline

* Fix phan notices

* fixup! Correct typing for showInputField to be the same as parent class
2024-05-02 19:33:51 +02:00
Laurent Destailleur
94c69c08ba NEW Add option PDF_ADD_POSITION 2024-05-02 16:41:48 +02:00
Laurent Destailleur
1d2371af34 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-02 13:30:08 +02:00
Laurent Destailleur
07fb11e08e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-02 13:24:33 +02:00
Laurent Destailleur
594280e1df Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-05-02 13:22:47 +02:00
Laurent Destailleur
36873b9fe7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-05-02 13:20:04 +02:00
Laurent Destailleur
9c10768dbb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-02 13:14:54 +02:00
Laurent Destailleur
cc90397eb7 Try suggestion of mdeweerd 2024-05-02 13:14:30 +02:00
Laurent Destailleur
fdb63a6540 Fix related to #29580 2024-05-02 13:06:48 +02:00
Frédéric FRANCE
aac412592b fix tests (#29573) 2024-05-02 13:02:20 +02:00
Laurent Destailleur
4b3606ac4c Look and feel v20 2024-05-02 12:41:33 +02:00
Laurent Destailleur
bb63f10cb0 Add a default limit in nb to agenda export 2024-05-01 23:58:12 +02:00
Laurent Destailleur
4dbed777eb More info in tooltip 2024-05-01 19:33:14 +02:00
Laurent Destailleur
dc28879ffb Fix warning 2024-05-01 18:34:38 +02:00
Vaadasch
5865151eb3 NEW : Add option position['find'] to DolEditor (#29546)
* Add option position['find'] to DolEditor

* Add option position['find'] to DolEditor - fix spaces

* Add option position['find'] to DolEditor - fix spaces

* Add option position['find'] to DolEditor - fix semi-colon

* Add option position['find'] to DolEditor - exemples -> examples...

* Add option position['find'] to DolEditor - reviews

* Add option position['find'] to DolEditor - empty indent

---------

Co-authored-by: Vaadasch <me@local.here>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-01 18:04:18 +02:00
Frédéric FRANCE
57a2149b5c fix phan xcal.lib.php (#29572)
* fix phan xcal.lib.php

* Update box_graph_invoices_peryear.php
2024-05-01 17:52:18 +02:00
Frédéric FRANCE
169b0d5eea fix phan (#29571) 2024-05-01 17:45:15 +02:00
Christophe Battarel
c9c2446e1f FIX : Avoid duplicates in insertions (#29553)
* avoid duplicates in insertions

* avoid duplicates in insertions from xslx

* Update import_xlsx.modules.php

* Update import_csv.modules.php

* Update import_csv.modules.php

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-01 17:41:11 +02:00
Yannis Hoareau
37fcbc34b8 FIX: search and add extrafields to tasks when conf disabled (#29542)
* FIX: task could be searched even if disabled

* FIX: could add extra fields to task even if disabled
2024-05-01 17:37:12 +02:00
lvessiller-opendsi
1f399d9a1e NEW input reason label in customer proposal and order export (#29540) 2024-05-01 17:35:35 +02:00
Frédéric FRANCE
e90840ca65 fix odt generation fails if missing segment (#29543)
fix odt generation fails if missing segment
2024-05-01 17:33:16 +02:00
Laurent Destailleur
b5ae33ea8e Clean code 2024-05-01 17:11:28 +02:00
Laurent Destailleur
bb2721754a NEW On OAuth Google login, no prompt at all if already logged in Google 2024-05-01 16:53:13 +02:00
Laurent Destailleur
ce94b1de64 NEW Take image from content for RSS 2024-05-01 03:35:57 +02:00
Laurent Destailleur
7da26342c4 NEW Take image from content for RSS 2024-05-01 03:20:39 +02:00
Laurent Destailleur
233325cdfb Fix RSS 2024-05-01 03:02:13 +02:00
Laurent Destailleur
2d48477bae Fix uid or RSS 2024-05-01 02:58:57 +02:00
Laurent Destailleur
37aac75caf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-01 02:49:41 +02:00
Laurent Destailleur
39b014c4ad Fix to add the logo image in some RSS files 2024-05-01 02:48:06 +02:00