Commit Graph

129 Commits

Author SHA1 Message Date
Laurent Destailleur
203245bf95 Fix #yogosha19838 2024-01-09 21:37:53 +01:00
Laurent Destailleur
987d6c41b9 Fix with php-cs-fixer 2023-12-04 11:41:14 +01:00
Laurent Destailleur
ecd4c7bbc7 Comment 2023-10-31 13:05:27 +01:00
Laurent Destailleur
59b9d12ed5 FIX upload of files src_object_type 2023-10-31 10:44:58 +01:00
Laurent Destailleur
8f91e6bce8 FIX src_object_id and ttype not filed when uploading a file with API. 2023-10-31 00:47:55 +01:00
Laurent Destailleur
40ea006536 Debug v19 2023-10-26 12:22:54 +02:00
Laurent Destailleur
5b15b5c647 QUAL Move conf->global into getDolGlobal... 2023-10-24 17:00:13 +02:00
Lucas Marcouiller
42865a975a Fix some code smell (#26277)
* Fix some code smell

* Update commande.class.php

---------

Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-20 02:20:26 +02:00
Henning Kleen
b157ddd606 NEW Allow generation of delivery note through REST-API (#26226)
Add support for (re-)generating a delivery note through the /documents/builddoc API endpoint
2023-10-16 15:50:23 +02:00
Laurent Destailleur
921a6f3135 Fix warning 2023-08-06 12:26:27 +02:00
Laurent Destailleur
38a160873d Standardize code 2023-08-06 01:26:06 +02:00
Laurent Destailleur
ec39199b85 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	.travis.yml
	htdocs/api/class/api_documents.class.php
	htdocs/core/db/pgsql.class.php
2023-07-26 01:42:22 +02:00
Boris Hermans
d2f9d7634b Handle projects for the api documents listing route (#25465) 2023-07-25 23:24:11 +02:00
Laurent Destailleur
c75761f780 FIX Add same security test whe nuploading files from API than from GUI 2023-07-12 22:56:27 +02:00
Frédéric France
a575b696e7 use user hasRight 2023-06-19 23:27:24 +02:00
Frédéric France
ebf83fdab6 use user hasRight 2023-06-19 23:18:13 +02:00
Guillaume Wauquier
f11d3ded2c Rectif bug dans l'api documents
chemin incorrect pour les commandes fournisseurs
2023-06-05 19:54:48 +02:00
Laurent Destailleur
37d709475d Merge pull request #24734 from romain-neil/feat-buildoc-supplier-inv
Draft: api/documents: generate supplier invoices
2023-05-17 16:01:20 +02:00
stickler-ci
d816ef290b Fixing style errors. 2023-05-10 12:30:51 +00:00
Romain Neil
e7e40b4c9e wip: api/documents: generate supplier invoices 2023-05-10 14:27:51 +02:00
Romain Neil
9a19bd000a doc(api/documents): add list of supported modules 2023-05-10 12:23:32 +02:00
Laurent Destailleur
b270f655e9 Merge pull request #24655 from romain-neil/develop
NEW handle contract document (list, build and upload) in documents Rest API
2023-05-02 06:04:03 +02:00
Laurent Destailleur
06979fa016 Update api_documents.class.php 2023-05-02 05:58:18 +02:00
Romain Neil
2c13d26b69 Update api_documents.class.php
typo fix
2023-05-02 00:59:51 +02:00
rneil
1487c233f0 add missing copyright 2023-05-02 00:56:10 +02:00
Sarah Mainguet
4d42279fcd Merge branch 'develop' into fix-documents-api 2023-05-01 22:20:39 +02:00
Sarah Mainguet
a804999d92 Can now add documents to events in agenda 2023-05-01 22:11:35 +02:00
Romain Neil
a4fd13e3e4 feat(api/documents): build contract 2023-05-01 22:11:27 +02:00
stickler-ci
1f8671ed84 Fixing style errors. 2023-05-01 18:11:31 +00:00
Romain Neil
458fb18b5d feat(api/documents): list contract 2023-05-01 20:10:48 +02:00
Romain Neil
ffaf748ac8 feat(api/documents): upload contract 2023-05-01 19:45:33 +02:00
Laurent Destailleur
acc7a8b1be Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-03-18 01:59:40 +01:00
Laurent Destailleur
932f561fd0 Update api_documents.class.php 2023-03-17 21:07:30 +01:00
Jakub Stříbrný
0093954437 NEW Support contact in post() document API
When uploading a document via the API, add the modulepart "contact". By this, documents linked to a contact can be uploaded.
2023-03-15 16:00:20 +01:00
Laurent Destailleur
7f8b09f0b6 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-02 10:48:36 +01:00
Laurent Destailleur
8612a88a2f Sync transifex
Debug v17
2023-03-02 10:38:45 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Frédéric FRANCE
beba616f3c clean code 2023-02-11 22:13:15 +01:00
Laurent Destailleur
5026de62f7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-01 17:48:29 +01:00
Laurent Destailleur
9b5fc20308 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-12-01 17:46:13 +01:00
Laurent Destailleur
cc982adc2f Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-12-01 17:42:02 +01:00
Laurent Destailleur
c22d9f282a Merge pull request #23016 from inovea-conseil/FIX_product_type9
FIX product_type 9
2022-11-30 00:41:35 +01:00
ATM-Nicolas
e767c9b4a9 FIX : Stickler 2022-11-26 00:42:50 +01:00
ATM-Nicolas
a0553c6e52 FIX : Stickler 2022-11-26 00:35:08 +01:00
ATM-Nicolas
f3e689f841 FIX : Documents API inconsistency 2022-11-26 00:02:17 +01:00
Philippe GRAND
857646ed36 update code toward php8 compliance 2022-09-10 11:00:38 +02:00
Laurent Destailleur
4de50da0dd Repare code to forbidden var_dump() into code 2022-05-17 14:55:38 +02:00
Laurent Destailleur
40d0c3b996 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/tva/card.php
	htdocs/langs/en_US/admin.lang
2022-04-28 19:23:13 +02:00
Laurent Destailleur
134113db64 Fix upload of doc for purchase orders 2022-04-26 01:00:10 +02:00
Laurent Destailleur
0023850c9a Update api_documents.class.php 2022-04-14 22:16:17 +02:00