2
0
forked from Wavyzz/dolibarr
Commit Graph

12065 Commits

Author SHA1 Message Date
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* 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 phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
c093f0c27e Debug v21 2024-11-10 01:10:49 +01:00
Laurent Destailleur
576df86eac NEW Add field to store text content of files 2024-11-09 13:28:50 +01:00
Laurent Destailleur
e1a7681565 Can index with docling 2024-11-09 03:20:15 +01:00
Laurent Destailleur
ec7ea921d4 Debug v21 2024-11-08 18:45:56 +01:00
Pichi1966
b6945d0c27 Fix function num_between_day in date.lib.php in Dev code v21 (#31732)
When debugging Asset Module, I discovered that function num_between_day is returning 0 when $timestampStart equals (==) $timestampEnd and $lastday == 1
Normally it has to return
0 if $lastday = 0
1 if $lastday = 1
2024-11-08 14:46:44 +01:00
Pichi1966
9ae591d662 FIX getCurrentPeriodOfFiscalYear in accounting.lib.php with wrong period used (#31731)
FIX function getCurrentPeriodOfFiscalYear

This one was returning the bad period when a FY period was not already defined. It was using the actual year instead of the year of $fromtime to return a created FY period.
2024-11-08 14:46:13 +01:00
Frédéric FRANCE
5cf3074d28 clean phpstan baseline (#31725)
* clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-08 14:41:01 +01:00
Laurent Destailleur
77efa1b760 Fix phan 2024-11-08 02:34:31 +01:00
Laurent Destailleur
1b7c412787 WIP generic upload files 2024-11-07 19:51:21 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
Laurent Destailleur
865bf1f3e0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-07 05:13:28 +01:00
Frédéric FRANCE
4f777f58dc fix ecmfile tooltip (#30993)
* Update ecmfiles.class.php

* Update ecm.lang

* Update ecmfiles.class.php

* add translations

* wip

* wip

* enhance tooltip

* fix

* fix

* fix

* fix ajaxtooltip

* fix picto

* fix picto

* fix sql

* tooltip

* tooltip

* test
2024-11-07 05:07:41 +01:00
Laurent Destailleur
665477c6fb Rename substituion key __MEMBER_CIVILITY__ 2024-11-07 05:05:29 +01:00
Laurent Destailleur
507d400a56 Fix substition key 2024-11-07 05:03:59 +01:00
Laurent Destailleur
b03684c0ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:28 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
uvaldenaire-opendsi
bbf83c7053 fix dol_getdate() when timestamp is an empty string (#31714) 2024-11-06 19:17:33 +01:00
Laurent Destailleur
00b9943069 Rename var to make debug easier 2024-11-06 15:15:55 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Frédéric FRANCE
0349f5b513 fix unable to resolve template T (#31680) 2024-11-04 12:24:18 +01:00
MDW
f4ff437026 Qual: Fix phan/phpstan notices in class files (part 4) (#31598)
* Qual: Fix phan notices for DolibarrModules.class

* Qual: Fix notices for classes actioncomm..task.class.php

* fixup! Qual: Fix notices for classes actioncomm..task.class.php

* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
Mohamed DAOUD
057581aaf7 NEW Add Filter Assistance for Filling Filters Field (#31646)
* work on report page

* add translation

* optimize the query

* fix

* fix trans

* Update customreports.php

* Update customreports.php

* Update customreports.php

* fix phan
2024-10-30 21:29:41 +01:00
Regis Houssin
26e89a7760 FIX this constant break the dictionary admin without Multicompany (#31638) 2024-10-30 21:10:49 +01:00
Laurent Destailleur
eaf92c9fa4 FIX better regex to detect substitution key 2024-10-30 19:53:40 +01:00
Laurent Destailleur
c34ea09c2c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-30 18:17:59 +01:00
Laurent Destailleur
590ef86f40 Warning 2024-10-30 18:09:26 +01:00
Laurent Destailleur
e37737695e Clean code 2024-10-30 18:04:54 +01:00
Laurent Destailleur
3c65972ff8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-30 18:03:57 +01:00
Laurent Destailleur
9e1c640eee FIX open redirection 2024-10-30 18:03:31 +01:00
Laurent Destailleur
2e56340386 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-30 17:46:36 +01:00
Laurent Destailleur
f1f08010db Clean code 2024-10-30 14:09:17 +01:00
Laurent Destailleur
c8c4bd4e7f Debug v21 2024-10-30 02:38:59 +01:00
Laurent Destailleur
318148354b Enhance setup of virtual card 2024-10-30 00:08:43 +01:00
lamrani abdelwadoud
fc8c299b3e Update change select to button on/off (#31443)
* change select to button on/off

* fix error and update view to show social network enabled

* remove var_dump'

* add function getSocialNetworks

* fix errors params in function

* fix errors travis

* fix errors

* update type of params

* fix type of params in function getSocialNetwork

* remove ve_dump

* remove function getSocialNetwork
2024-10-29 23:09:56 +01:00
Laurent Destailleur
dc73fe6d68 Fix add option to restore compatibility 2024-10-29 21:40:32 +01:00
Regis Houssin
2350d1df99 FIX a dictionary CANNOT have zero value in entity field (#31625) 2024-10-29 21:35:51 +01:00
Frédéric FRANCE
7dfa9b7d33 remove unused code (#31610)
* remove unused code

* remove unused code

* fix typo

* fix

* fix

* fix
2024-10-28 19:49:01 +01:00
Benoît PASCAL
ff9e2f3ce9 NEW: add duration extrafields (#31595)
* new: add duration extrafields

* style: fix style

* ci: fix precommit config

* style: run cs fixer

* ci: adapt type to fit with php-stan

* ci: adapt type to fit with php-stan

* ci: adapt type to fit with php-stan

---------

Co-authored-by: Benoît PASCAL <contact@p-ben.com>
2024-10-28 18:33:11 +01:00
Laurent Destailleur
838316418f CSS 2024-10-28 14:33:59 +01:00
Laurent Destailleur
d1b348f051 Work on generic captcha architecture 2024-10-28 03:30:44 +01:00
Laurent Destailleur
09668af4f4 Work on generic captcha architecture 2024-10-28 03:06:35 +01:00
Laurent Destailleur
791651467c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-28 02:08:01 +01:00
Laurent Destailleur
34eb56ba53 Removed the deprecated page MAIN_HELPCENTER_DISABLELINK 2024-10-28 02:07:37 +01:00
Frédéric FRANCE
475976a733 fix phpstan (#31597)
* fix phpstan

* fix phpstan

* fix phpstan
2024-10-28 00:53:03 +01:00