Commit Graph

200 Commits

Author SHA1 Message Date
William Mead
b0e10d67b6 Added intervention document generation 2025-12-17 16:59:04 +01:00
Laurent Destailleur
0c2b34be80 Merge pull request #36683 from W1W1-M/new-document-api-generate-builddoc-warehouse
NEW document API builddoc warehouse
2025-12-17 13:24:16 +01:00
William Mead
c0503d1e89 Updated modulepart check 2025-12-17 09:08:00 +01:00
William Mead
46cc35faff Added warehouse document generation 2025-12-17 09:07:32 +01:00
William Mead
7ab079d0f0 Added stock warehouse documents 2025-12-17 08:39:46 +01:00
Laurent Destailleur
124c304677 Update api_documents.class.php 2025-12-15 13:59:56 +01:00
Laurent Destailleur
6f88117ab8 Merge branch 'develop' into new-document-api-builddoc-expense-report 2025-12-15 13:59:15 +01:00
Laurent Destailleur
9dde4495f0 Merge pull request #36643 from W1W1-M/fix-document-api-post-third-party
FIX document API third party document POST
2025-12-15 13:56:31 +01:00
William Mead
f7078da238 Updated PHPDoc 2025-12-14 18:21:39 +01:00
William Mead
117aedfede Added product document generation 2025-12-14 18:20:29 +01:00
William Mead
aa3f357064 Cleaned code 2025-12-14 13:47:53 +01:00
William Mead
fa6e85fbed Cleaned code 2025-12-14 13:19:02 +01:00
William Mead
96b8515b3d Fixed type 2025-12-14 12:49:34 +01:00
William Mead
905040e5ab Updated PHPDoc 2025-12-14 12:06:41 +01:00
William Mead
8885393940 Fixed document upload for third party 2025-12-14 11:54:09 +01:00
William Mead
af55f4efe7 Added expense report to document API builddoc 2025-12-13 17:44:14 +01:00
Charlène Benke
b14892043f Add api document upload for knowledge management module (#35704) 2025-10-11 13:39:43 +02:00
Esteban Thilliez
cdcfb93eb5 FIX wrong documents path for supplier_invoice module in documents api (#35692)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-09 18:20:28 +02:00
Charlène Benke
e9a9c7ac61 add societe and ticket on api upload document (#35681)
* Add support for 'societe' modules on api upload document

* Add ticket module handling in API documents class

* Update api_documents.class.php

* Update api_documents.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-09 05:45:01 +02:00
Frédéric FRANCE
2ed9f1ea98 clean code (#35683)
* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-08 21:32:49 +02:00
Carlos Herrera
345a256ef6 API get documents dont support "projects_tasks" (#35671)
* API get documents dont support "projects_tasks"
Fixes #35650

* fix: add missing whitespace formatting in api_documents class

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-07 20:48:58 +02:00
Chloe-Moreau-2009
f8376320aa QUAL replace $conf->XXX->dir_output by getMultidiroutput (#34446)
* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

* replace $conf->XXX->dir output by GetMultidir0utput

---------

Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-22 00:53:15 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
Charlène Benke
aac2ff7b5b add ticket on list document by api (#34909) 2025-08-11 19:09:12 +02:00
Charlène Benke
7c3168e95a Add contact on list document api (#34864)
* Add contact on list document api

* Update api_documents.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-04 11:10:49 +02:00
Charlène Benke
4ef0c91006 NEW add upload api feature for shipment (#34639)
* add upload api feature for shipment

* Update phpstan-baseline.neon

* Update phpstan-baseline.neon

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:45:38 +02:00
Lucas Marcouiller
cde9632622 Fix some phan warnings (#34650)
* Fix some phan warnings

* Update defaultvalues.php

* Update hookmanager.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-28 16:46:52 +02:00
ldestailleur
6af890f7f2 Fix CI 2025-06-25 21:36:36 +02:00
Charlène Benke
642f045fd2 add api document feature on interventional (#34609)
add get feature 
update upload feature (fichinter not reconized, we need ficheinter instread)
2025-06-25 19:25:57 +02:00
William Mead
cff522928c Updated PHPDoc (#34429) 2025-06-13 11:44:10 +02:00
Laurent Destailleur
221c27c091 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-09 18:15:59 +02:00
Laurent Destailleur
326c75dc51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-09 17:58:54 +02:00
Laurent Destailleur
473ddbc53a Merge remote-tracking branch 'origin/19.0' into 20.0 2025-06-09 17:42:02 +02:00
Laurent Destailleur
c444fe3c1f Merge remote-tracking branch 'origin/18.0' into 19.0 2025-06-09 17:25:03 +02:00
William Mead
1aaa29ad9e Fixed expense report permission. Added contributor details. (#34368) 2025-06-08 14:37:23 +02:00
ptibogxiv
ce455f1236 NEW More options in api_documents.class.php (#34329)
* More options in api_documents.class.php

add pagination et filter by mime content type

* Update api_documents.class.php

* Update api_documents.class.php

* Update api_documents.class.php
2025-06-04 11:10:59 +02:00
Laurent Destailleur
0f4bf91fcd Fix default value of dol_move 2025-05-19 09:45:31 +02:00
Laurent Destailleur
88c4669d19 FIX missing thumbs when uploading image files with API 2025-05-15 02:51:45 +02:00
Frédéric FRANCE
255300a29e test fix phan (#33879)
* test fix phan

* test fix phan

* test fix phan

* test fix phan

* test fix phan
2025-04-16 19:55:44 +02:00
MDW
6b9361d252 Fix phpstan notices 2025-03-02 20:49:48 +01:00
MDW
035ede5874 Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00
MDW
a42bc6755c Qual: Fix PhanPluginUnknownPropertyType, PhanPossiblyUndeclaredVariable 2025-01-27 10:24:16 +01:00
Frédéric FRANCE
0f563edb5f replace fetch_projet() and fetch_project() by fetchProject() (#29821)
* fix cti

* fix cti

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* fix deprecated

* fix

* fix sql
2024-10-26 22:43:44 +02:00
Frédéric FRANCE
44fdcdd8ed can set position of file with dol_move (#31201)
* can set position of file with dol_move

* Update api_documents.class.php

* Update api_documents.class.php

* fix

* fix

* fix

* fix

* fix
2024-09-30 16:49:38 +02:00
Laurent Destailleur
2f506b0948 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 03:46:21 +02:00
Laurent Destailleur
ae2ceccc5b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-26 03:44:09 +02:00
Laurent Destailleur
9dc1c6f8f4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-26 03:38:49 +02:00
Laurent Destailleur
e125ab4783 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-09-26 03:36:52 +02:00
Laurent Destailleur
a8cb076bbd Fix move 2024-09-26 03:34:32 +02:00
Laurent Destailleur
4ea503f366 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-09-26 03:30:40 +02:00