Commit Graph

4465 Commits

Author SHA1 Message Date
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
Laurent Destailleur
98009ea6be Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/compta/bank/class/account.class.php
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/langs/en_US/recruitment.lang
	htdocs/master.inc.php
	htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
3dbfbe965a Merge v17 2023-12-14 12:44:15 +01:00
Christian Foellmann
d3cbafc57b NEW add const PROJECT_HIDE_OPEN_PROJECTS_LIST_ON_PROJECT_AREA to have the ability to hide the potentially very long list of open projects in any case 2023-12-14 12:44:09 +01:00
Laurent Destailleur
a5977e75ce Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-12-14 10:58:46 +01:00
Laurent Destailleur
a534c8dbdb Fix phpcs 2023-12-14 10:56:25 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
atm-lena
ddf960e1c4 Add contact to project and tasks : formconfirm get url too long 2023-12-13 14:32:58 +01:00
Laurent Destailleur
7d109e9419 Fix phpcs 2023-12-13 12:46:23 +01:00
Laurent Destailleur
e040219fdc Fix phpcs 2023-12-13 12:45:07 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
c89b077ebc Merge pull request #26991 from defrance/patch-291
php v8 warning on edit project
2023-12-06 14:57:09 +01:00
Charlène Benke
d6b3791383 php v8 warning 2023-12-06 08:12:54 +01:00
Charlène Benke
2071fdcbc7 Update card.php 2023-12-06 07:40:59 +01:00
Charlène Benke
689d02d705 php v8 warning on edit project 2023-12-06 07:29:44 +01:00
Cesar Rodrigues
95d0712152 Fix total_time at bottom in project overview
Fix the total_time variable, that is always showing only the last line value, instead of a sum.

This PR is related to https://github.com/Dolibarr/dolibarr/issues/26962
2023-12-04 14:44:17 -03:00
Laurent Destailleur
4daacd3371 Fix with php-cs-fixer 2023-12-04 13:49:31 +01:00
Laurent Destailleur
3ecfc1b55f Fix css 2023-12-02 20:27:09 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
552e745908 Debug v19 2023-11-28 10:33:06 +01:00
Laurent Destailleur
06736918de Fix warning 2023-11-27 12:33:07 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
Charlène Benke
5ca156386d php V8 warning (#26853) 2023-11-26 15:37:58 +01:00
Laurent Destailleur
e6eb34a8db Fiw warnings: The private array ->status_short, ->statuts and
->status_long are now array ->labelStatusShort and ->labelStatus
everywhere.
2023-11-24 10:10:24 +01:00