Commit Graph

3938 Commits

Author SHA1 Message Date
MDW
d8784f1294 Fix: Always return value in get_element_list
# Fix: Always return value in get_element_list

get_element_list did not always return a value.  Fixed.
2024-01-31 01:28:25 +01:00
thibdrev
206f359c53 Merge branch 'Dolibarr:develop' into patch-6 2024-01-30 17:31:06 +01:00
Laurent Destailleur
5087e74a20 Merge pull request #27871 from thibdrev/patch-5
qual: phpstan for htdocs/projet/tasks/stats/index.php
2024-01-30 17:00:42 +01:00
Laurent Destailleur
5e534d8c86 Merge pull request #27870 from thibdrev/patch-4
qual: phpstan for htdocs/projet/tasks.php
2024-01-30 16:35:25 +01:00
Hystepik
a89b00810a Fix some php warnings 2024-01-30 15:00:14 +01:00
thibdrev
9862210681 qual: phpstan for htdocs/projet/tasks/task.php
htdocs/projet/tasks/task.php	114	Property Task::$budget_amount (float) does not accept string.
2024-01-29 19:06:19 +01:00
thibdrev
70b9a06986 qual: phpstan for htdocs/projet/tasks/stats/index.php
htdocs/projet/tasks/stats/index.php	83	Property Stats::$year (int) does not accept array|string.
htdocs/projet/tasks/stats/index.php	125	Property Stats::$year (int) does not accept array|string.
2024-01-29 19:04:06 +01:00
thibdrev
b19d230a18 qual: phpstan for htdocs/projet/tasks.php
htdocs/projet/tasks.php	345	Property CommonObject::$fk_project (int) does not accept array|string.
htdocs/projet/tasks.php	356	Property Task::$budget_amount (float) does not accept array|string.
2024-01-29 19:01:18 +01:00
Laurent Destailleur
0815df6bdf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-29 11:40:57 +01:00
Florian HENRY
5a412c66f7 fix broken feature in 19 for product on task time 2024-01-26 10:58:23 +01:00
Laurent Destailleur
c49e0bf46b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-26 03:58:41 +01:00
Laurent Destailleur
5d60fb6da8 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/filefunc.inc.php
2024-01-26 00:24:30 +01:00
Laurent Destailleur
ea7e7456a5 Fix cloning of projects 2024-01-25 01:50:38 +01:00
Frédéric France
a859483384 translate comments 2024-01-23 20:14:35 +01:00
Laurent Destailleur
e950bdde26 Merge pull request #27687 from frederic34/dol_print_error_db
fix param
2024-01-22 00:03:06 +01:00
Frédéric FRANCE
83e7d5182e fix incorrect phpdoc 2024-01-21 19:54:42 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
thibdrev
f5d064175f qual: phsptan
htdocs/projet/stats/index.php	86	Property Stats::$year (int) does not accept array|string.
htdocs/projet/stats/index.php	204	Property Stats::$year (int) does not accept array|string.
2024-01-19 20:06:03 +01:00
Laurent Destailleur
4795c40601 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-19 15:36:53 +01:00
Laurent Destailleur
b5abb27e26 Debug v19 2024-01-19 11:09:11 +01:00
Laurent Destailleur
be9e94a4a2 Fix duplicate trnaslation key 2024-01-19 10:45:00 +01:00
Laurent Destailleur
0a5e9b26a5 Merge pull request #27522 from frederic34/patch-11
add function isDolTms
2024-01-18 21:38:45 +01:00
Laurent Destailleur
c63896f746 Merge pull request #27563 from mdeweerd/fix/strftime_deprecation
Fix: PHP8.1 strftime deprecation -> dol_print_date
2024-01-18 21:36:22 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
MDW
aed39b73e5 Fix: PHP8.1 strftime deprecation -> dol_print_date
# Fix: PHP8.1 strftime deprecation -> dol_print_date

Change strftime to dol_print_date to work around deprecation
2024-01-18 17:01:30 +01:00
Laurent Destailleur
5d3c775b69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-18 12:19:08 +01:00
Grégoire Chanton
eadb6625f0 fiix depreciated 2024-01-18 07:15:41 +01:00
Grégoire Chanton
c1255c7d95 Set variable $projectstatic->usage_bill_tim for field compatibility 2024-01-18 06:59:09 +01:00
Frédéric France
4fbb5b01be use shorter name for function 2024-01-15 17:48:20 +01:00
Frédéric FRANCE
e20a6c05c3 example of use 2024-01-15 00:05:19 +01:00
Laurent Destailleur
40f4ef9285 Close #27496 2024-01-14 12:10:09 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
MDW
0395718521 Qual: Spelling htdocs/p[b-z]* (#27436)
# Qual: Fix spelling htdocs/p[b-z]*

Highlight:

Probably fixes a bug:
htdocs/product/stock/replenish.php: empty(->variants->eabled) corrected to ...enabled.
'eabled' could not be found elsewhere in the codebase.
2024-01-12 17:55:52 +01:00
MDW
58ba3e31fa Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
Laurent Destailleur
b418bc9e1e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-10 15:14:11 +01:00
Laurent Destailleur
e770259b3f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-10 15:12:50 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
Laurent Destailleur
c41583a3e0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-05 12:20:14 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Frédéric FRANCE
cd7b2ead85 Update element.php 2024-01-04 12:12:36 +01:00
Laurent Destailleur
9a854fa37f Merge pull request #27088 from cfoellmann/19/PR/const-hide-projectlist
add const PROJECT_HIDE_OPEN_PROJECTS_LIST_ON_PROJECT_AREA
2024-01-04 00:37:35 +01:00
Can Arslan
06c7e015bb FIX: Undefined property: Task::$fk_parent 2024-01-03 15:38:26 -07:00
Laurent Destailleur
71537a97e5 Merge pull request #27261 from John-H-Smith/api-404-fix
FIX: API response codes on 'no entity found' set to 200 with empty result
2024-01-02 12:25:21 +01:00
Fabian Heinz
aa43e18d56 API status code fix
apis currently returning 404 if no entry found fixed
2023-12-31 14:05:21 +01:00
Laurent Destailleur
8b51aa507b Debug v19 2023-12-30 19:50:41 +01:00
Laurent Destailleur
5d159e8231 Fix js error 2023-12-30 19:39:48 +01:00
Christian Foellmann
c72644cd84 QUAL respect DISABLEDRAFT on project edit 2023-12-21 17:44:48 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Laurent Destailleur
4dc5483b12 Fix warning 2023-12-17 23:54:08 +01:00