2
0
forked from Wavyzz/dolibarr
Commit Graph

3909 Commits

Author SHA1 Message Date
Laurent Destailleur
642f70e152 Debug v20 2024-05-07 10:27:17 +02:00
Laurent Destailleur
fa86f753f6 Debug v20 2024-05-05 18:04:46 +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
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
3edcaf97fc Debug v20 2024-05-03 03:02:04 +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
8ff36d2dca Debug v20 2024-04-30 02:47:03 +02:00
Laurent Destailleur
f5adfeca59 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-29 13:39:20 +02:00
Laurent Destailleur
d9847070b3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-29 13:34:41 +02:00
Laurent Destailleur
94e93aea05 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-29 13:32:47 +02:00
Laurent Destailleur
de4e7a7b70 Debug v20 2024-04-29 12:52:46 +02:00
Laurent Destailleur
0c2fee90a4 Add substitutionkey date rfc Close #29510 2024-04-28 01:21:32 +02:00
ksar
3df149045d FIX : Display the date according to user language on subsitutions (#29510)
See : https://www.dolibarr.fr/forum/t/format-date-dune-variable-de-substitution-dans-un-modele-de-courriel/40705
2024-04-28 01:17:09 +02:00
Laurent Destailleur
5ff2138b17 Add more parameters to hook formDolBanner 2024-04-27 17:13:51 +02:00
Laurent Destailleur
f533fccc5f Doc 2024-04-27 17:01:53 +02:00
Laurent Destailleur
c656df9d35 Doc 2024-04-27 16:39:26 +02:00
Laurent Destailleur
ca57bac266 Removed a deprecated page 2024-04-26 23:45:39 +02:00
jyhere
cc3445d5ad NEW: add some dolibarr functions to dol_eval forbidden functions (#29459)
* NEW: add some dolibarr dangerous functions to dol_eval forbidden functions

* NEW: dol_copy added to forbidden functions

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-24 20:40:19 +02:00
Frédéric FRANCE
7ea6a406bd NEW add geometrics extrafield (#28239)
* add extrafield point

* wip

* wip

* wip

* input

* input

* output values

* update values

* update values

* update values

* update values

* update values

* wip

* add geomapeditor

* add geomapeditor

* add linestring and polygon

* add linestring and polygon

* add linestring and polygon

* add linestring and polygon

* wip

* wip

* can store and retrieve linestring

* can store and retrieve linestring

* coordinates are inverted

* coordinates are inverted

* add multipoints

* use text instead binary

* auto center map

* wip

wip

* doc

* fix

* wip

* wip

* translation dynamic

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-24 15:27:38 +02:00
Laurent Destailleur
f1bc41d100 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-23 22:36:13 +02:00
Laurent Destailleur
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
Laurent Destailleur
8c898f82b8 Debug v20 2024-04-22 16:25:28 +02:00
John BOTELLA
cbed0292d1 FIX : Ergonomic fail part02 (#29373)
* Fix ergo fail

* Fix read more

* Fix read more

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-22 14:32:07 +02:00
Laurent Destailleur
2a4342a515 Move functions into file dedicated to country FI 2024-04-20 21:18:42 +02:00
Laurent Destailleur
b7a07d8348 Look and feel v20 2024-04-19 15:54:09 +02:00
Laurent Destailleur
557c723c27 FIX logo and escape in RSS
Conflicts:
	htdocs/admin/external_rss.php
	htdocs/core/lib/functions.lib.php
2024-04-18 20:26:38 +02:00
Laurent Destailleur
f6414f8b1d FIX logo and escape in RSS 2024-04-18 20:17:10 +02:00
Frédéric FRANCE
dc822d271d fix test variable has been renanamed in v20 (#29392) 2024-04-18 13:53:36 +01:00
Frédéric FRANCE
b6cadde8d3 fix typo for phpstan (#29380) 2024-04-18 11:21:30 +01:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
1ab92ac972 Fix tooltip 2024-04-17 20:57:51 +02:00
Laurent Destailleur
bd3ac2767a Add substitution key __AMOUNT_EXCL_TAX_TEXT__ and
__AMOUNT_EXCL_TAX_TEXTCURRENCY__
2024-04-17 20:35:18 +02:00
John BOTELLA
94cc9c2e28 Fix ergo fail (#29370) 2024-04-17 16:56:39 +01:00
MDW
da9fd874bc Qual: Fix or ignore functions.lib.php phan notices (#29344)
* Fix: LogHandler parent class, implements interface & provides $code

* Fix: functions.lib phan notices

* Fix phan notifications

* Match expected DebugBar signature - rename getRenderer

* Call the correct renderer method for the DebugBar

* Use correct key type to access array

* Ignore notices

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 04:46:33 +02:00
IC-Ilies
5cec87a80e FIX link type extrafield on warehouse not working (#29339) 2024-04-12 17:56:02 +02:00
IC-Ilies
de1d67a6ae FIX #29333 supplier order extrafields of link type displays error (#29334) 2024-04-12 12:12:49 +02:00
Laurent Destailleur
7ca303888d Look and feel v20 2024-04-08 19:20:07 +02:00
Laurent Destailleur
7c5b2dae56 Fix GETPOSTINT 2024-04-05 13:09:32 +02:00
Laurent Destailleur
e36e70ecfe Fix typo formated -> formatted 2024-04-05 10:17:00 +02:00
Laurent Destailleur
bf7109f51c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 17:47:02 +02:00
Laurent Destailleur
16f4f4a661 FIX Button for disabled modules must not appear. 2024-04-04 17:26:45 +02:00
Laurent Destailleur
40165541d9 Look and feel v20 2024-04-04 01:35:36 +02:00
Laurent Destailleur
a8f22f4215 WIP option MAIN_USE_HTML5_LIMIT_SELECTOR 2024-04-03 18:44:13 +02:00
Laurent Destailleur
2947287e3f Look and feel v20 2024-04-03 16:22:16 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
Laurent Destailleur
6004d3ae14 Merge pull request #29204 from mdeweerd/fix/projet_abs
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
2024-04-03 02:06:52 +02:00
Laurent Destailleur
9aa5e43836 Doc 2024-04-02 23:51:45 +02:00
MDW
e64e57716c Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
# Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type

I got the following message:
`Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in D:\mdeweerd\workspace\dolibarr\htdocs\projet\list.php on line 233`

I examined the phan report and there was no mention of this because dol_eval was
said to return mixed.

In order to detect such cases, I amended the dol_eval return type to ensure to find
most of the locations where a cast is needed.
2024-04-02 22:52:52 +02:00
Laurent Destailleur
c6cef436dc Fix warning 2024-04-02 20:59:20 +02:00