Commit Graph

35752 Commits

Author SHA1 Message Date
Laurent Destailleur
55d2f3d9fc Debug v20 2024-05-06 10:00:18 +02:00
Laurent Destailleur
ca9b795ee1 Fix warnings 2024-05-05 18:28:23 +02:00
Laurent Destailleur
fa86f753f6 Debug v20 2024-05-05 18:04:46 +02:00
Lucas Marcouiller
85a635d17a New add multiinput for text type fields (#29555)
* New add multiinput for text type

* fix CI

* fix some code + add $value persistance

* fix some things to be more global

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 02:52:14 +02:00
Vaadasch
7562eacbf6 NEW Add option to open files in new tab (#29604)
* Add option to open files in new tab

* Add option to open files in new tab - with MAIN_DISABLE_FORCE_SAVEAS

* Add option to open files in new tab - fix

* Open in new tab with MAIN_DISABLE_FORCE_SAVEAS == 2

---------

Co-authored-by: Vaadasch <me@local.here>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 02:51:05 +02:00
Mohamed DAOUD
a8bf174722 Fix edit inline mode for the website module (#29590)
* edit inline website

* check user rights before

* Update editinline.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 02:48:23 +02:00
lamrani abdelwadoud
999bdaa719 NEW online signature of shipments (#29559)
* New functionality for signed shipment

* Add attribute for check if was already signed

* Update expedition.class.php

* Update onlineSign.php

* Update expedition.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 02:48:02 +02:00
lamrani abdelwadoud
373ee15009 New function to display 2 sitweb export function in a popup (#29592)
* new function to display 2 sitweb export function in a popup

* Update website.lang

* update function overwriteTemplate for handle the path to export website

* update function for check the relative/absolute path

* add infoBull for explain to user where it will exported

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 01:15:32 +02:00
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

fix phpstan

fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
b7317e3e7c Fix warning 2024-05-05 00:02:25 +02:00
Laurent Destailleur
8be481d6de Fix phpunit 2024-05-04 23:58:37 +02:00
Laurent Destailleur
89afbbba2b Fix hardcoded fulltext indexation 2024-05-04 22:52:29 +02:00
Laurent Destailleur
37a2bcf5a8 NEW Add option MAIN_USE_FULL_TEXT_INDEXATION 2024-05-04 20:42:41 +02:00
Laurent Destailleur
f8bf23da3a Fix phpunit 2024-05-04 18:56:26 +02:00
Laurent Destailleur
8484113cef Rename var 2024-05-04 18:36:04 +02:00
Laurent Destailleur
641f638539 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-04 18:28:48 +02:00
Laurent Destailleur
efd7702bc4 Fix travis 2024-05-04 18:28:34 +02:00
stefkpl
0f69c75b0e feat add Global String to disabled invoice supplier (#29601) 2024-05-04 11:51:57 +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