Commit Graph

4623 Commits

Author SHA1 Message Date
Laurent Destailleur
0631cd61e0 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2025-11-17 17:21:52 +01:00
Laurent Destailleur
bb53a368fc CSS 2025-11-15 23:00:02 +01:00
Laurent Destailleur
aa49882be0 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 15:59:50 +01:00
Laurent Destailleur
dc689f1410 CSS 2025-11-14 15:14:02 +01:00
Laurent Destailleur
48a14b26b4 Debug v23 2025-11-12 18:42:14 +01:00
Charlène Benke
fb92ebb4e7 Implement setCategories method in task class (#36218)
Added setCategories method to manage task categories.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:49:45 +01:00
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
Charlène Benke
5886abaf6f add date_c update on project_task (#36217)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-11 20:19:25 +01:00
Jon Bendtsen
f2b823f6e7 Fix PHP Warning: Undefined array key "nblinesnull" in /var/www/html/projet/element.php (#36198)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-11 19:47:04 +01:00
Jon Bendtsen
d53aa65d1c NEW Add Type, Description columns to Project Overview Expense Reports (#36214)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-11 19:46:30 +01:00
MDW
c39e87d703 Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)
* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.
2025-11-09 18:06:58 +01:00
Laurent Destailleur
2ff17df01a Fix reset of budget 2025-11-09 04:29:02 +01:00
Laurent Destailleur
caad2bb2b9 Responsive 2025-11-09 04:04:12 +01:00
Jon Bendtsen
07f8b3c8f1 NEW Parent project column in list of projects (#36177)
* NEW Parent project column in list of projects

* you can now search on both ref and on label

* adding 2 warning icons when access is denied

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-09 01:31:51 +01:00
Frédéric FRANCE
2be111c933 clean code (#36174)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-09 01:19:54 +01:00
Frédéric FRANCE
1e75d5a2d3 clean code (#36172)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-08 18:51:16 +01:00
Laurent Destailleur
7b27b6b9c8 Fix CI 2025-11-08 18:38:56 +01:00
Laurent Destailleur
9f215b7b1d Debug v23 2025-11-08 17:12:41 +01:00
Laurent Destailleur
33f3fb5dbb Better implementation for #35929 2025-11-08 15:52:06 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Laurent Destailleur
544b145410 Look and feel v23 2025-11-07 16:11:07 +01:00
Jessica-creat
3a4b11b824 NEW add timespent API endpoints for projects and tasks add also cascading assignment of contacts to tasks (#35897)
* demande d'ajout timespent

* feat(api): add timespent endpoints for projects and tasks

* add contact to product

* correction prettier

* revert

* feat(api): update timespent endpoints in api_projects and api_tasks

* Update api_projects.class.php

* Remove blank line before docblock in api_tasks.class.php

Removed unnecessary blank line before the docblock for the get contacts method.

* Update api_tasks.class.php

* Clarify return type in api_projects.class.php

Updated return type annotation for contact information array.

* Refine return type in get timespent method

Updated return type annotation for timespent method.

* Return raw contacts instead of cleaned data

* Update api_projects.class.php

* Return contacts array instead of cleaned data

Modified the return value to return the contacts array directly instead of cleaned data.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-07 00:09:14 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
Charlène Benke
933eeb7474 NEW : Implement listTimespent method in api_projects.class.php (#36093)
* Implement listTimespent method in api_projects.class.php

Added a new method to retrieve all timespent data with filtering options (with filter, sort, ...)

* Fix comment formatting and improve listTimespent method

* Fix comment formatting and adjust function definition

* Refactor response structure for pagination data

* Initialize obj_ret as an empty array
2025-11-06 02:10:53 +01:00
Frédéric FRANCE
39f54ca1d0 test phpstan (#36069)
* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* clean baseline

* test

* test
2025-11-04 18:41:36 +01:00
MDW
b925dd6c37 Qual: Make $fields type covariant (phpstan) (#36084)
# Qual: Make $fields type covariant (phpstan)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:16:17 +01:00
Jon Bendtsen
a35fac2d9f New: Clickable links from PROFIT section (#36081)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:14:52 +01:00
Lucas Marcouiller
d4cb81508d NEW Can update value of timespent with last task hourly rate (#36018)
* NEw update task hourly rate

* fix Ci

---------

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:16:17 +01:00
Charlène Benke
211514c85e Fix assignment of public property in task class (#36011)
* Fix assignment of public property in task class

* Rename 'public' to 'project_public' in task class

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 02:58:27 +01:00
Charlène Benke
f6f9f1214d NEW Add auto-reference generation for tasks (like in project) in API (#35981)
* Add auto-reference generation for tasks (like in project)

* Fix phan-var-force annotation for modTask
2025-10-30 01:15:40 +01:00
Charlène Benke
006c9dcc99 Add progress parameter to api task addTimeSpent method (#35992)
Added optional progress parameter to addTimeSpent method.
2025-10-29 22:10:25 +01:00
Frédéric FRANCE
675ec205f4 clean phpstan baseline (#35946) 2025-10-25 22:53:09 +02:00
Frédéric FRANCE
acb1bc22c4 add upload on recruitment job and fix CI (#35880)
* add upload on recruitment job

* add upload on recruitment job

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-10-22 00:48:28 +02:00
Lucas Marcouiller
ad67faa01d New all project contact in task creation (#35862)
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-21 02:13:10 +02:00
Laurent Destailleur
4799705cd8 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-21 02:03:34 +02:00
Laurent Destailleur
d49426ef30 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-21 01:49:53 +02:00
Laurent Destailleur
3fca1d8cb1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-21 01:46:46 +02:00
Laurent Destailleur
f82675c729 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-21 01:40:55 +02:00
Laurent Destailleur
700b89d578 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-10-21 01:35:08 +02:00
Eric - CAP-REL
88db5b4bd7 fix task file path for download (#35793)
* fix task file path for download

* better fix thanks to regis for multicompany support
2025-10-21 01:33:38 +02:00
Laurent Destailleur
2076c44618 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-19 23:13:26 +02:00
Frédéric FRANCE
29b3880e6c add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
Laurent Destailleur
31989adc1f Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-14 21:38:13 +02:00
Frédéric FRANCE
3c597c263d clean code (#35710)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* clean code
2025-10-14 19:58:04 +02:00
Frédéric FRANCE
61b70cfbe5 fix CI v22 (#35737)
* fix CI v22

* $error is already checked
2025-10-14 19:30:09 +02:00
Laurent Destailleur
ef9e74c4d4 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-13 19:55:25 +02:00
Laurent Destailleur
9f6f781e01 FIX The status of customer was not synchronized with opportunity status 2025-10-13 15:07:45 +02:00
ldestailleur
e348a89ccf Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-07 18:59:50 +02:00
ldestailleur
685119cdde Fix option MAIN_SHOW_TECHNICAL_ID borken on projects 2025-10-07 16:02:54 +02:00
Vincent Maury
66e88bc761 NEW Add tasks card hooks (#35616)
* Hooks missing in some task cards

* Add  hook in contact of task card

* Update contact.php

* Some hook missing

* Update contact.php

* Update document.php

* Update contact.php

* Update document.php

* Update contact.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-03 19:07:29 +02:00