Commit Graph

763 Commits

Author SHA1 Message Date
Laurent Destailleur
d7f9c0157e Merge pull request #36699 from W1W1-M/fix-document-api-agenda-event-list-download
FIX document API agenda event list and download
2025-12-22 19:08:55 +01:00
Laurent Destailleur
8abeb47da1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-22 16:06:05 +01:00
Laurent Destailleur
3a4cf15857 Debug v23 no propagation of warnings 2025-12-21 13:32:32 +01:00
William Mead
1d32ded07f Refactored and cleaned code 2025-12-19 16:26:35 +01:00
William Mead
a31e01bd77 Refactored to use getMultidirOutput 2025-12-19 08:50:50 +01:00
William Mead
86328e840e Cleaned code 2025-12-18 11:25:31 +01:00
William Mead
a66a897a07 Fixed document API agenda event list and download 2025-12-18 11:22:33 +01:00
William Mead
0ea4a4d071 Added stock warehouse document upload 2025-12-18 09:41:43 +01:00
Laurent Destailleur
cf828d6223 Merge pull request #36691 from W1W1-M/new-document-api-builddoc-intervention
NEW document API build doc intervention
2025-12-17 19:15:44 +01:00
William Mead
b0e10d67b6 Added intervention document generation 2025-12-17 16:59:04 +01:00
William Mead
c8b4ad24bd Fixed expense report document generation. Cleaned error messages. 2025-12-17 13:41:41 +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
da39a6a394 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-16 01:33:36 +01:00
Laurent Destailleur
7ae333c51e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-15 16:15:45 +01:00
Laurent Destailleur
3690babb73 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-12-15 15:57:01 +01:00
Laurent Destailleur
e1b5e024f5 Merge 2025-12-15 15:56:34 +01:00
Laurent Destailleur
a0be2c8890 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-12-15 15:54:00 +01:00
Laurent Destailleur
77d7ec8a2b Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2025-12-15 15:53:38 +01:00
Laurent Destailleur
cc37c778dc Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2025-12-15 15:53:00 +01:00
Laurent Destailleur
722c31d182 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2025-12-15 15:52:34 +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
dc6c593187 Fix permission check from 'lire' to 'read' 2025-12-03 09:29:48 +01:00
Regis Houssin
8621eb21fa FIX multicompany dictionary sharing 2025-11-25 14:58:33 +01:00
Charlène Benke
712da5b172 NEW : api setup - Add dictionnary holiday lists (#36402)
* Add methods to retrieve holiday and public holiday lists

* Fix SQL query formatting in api_setup.class.php

* Add user permission checks for API access

Added permission checks for user access rights before fetching data for expense reports, holidays, and HR public holidays.
2025-11-25 14:21:58 +01:00
Laurent Destailleur
7b351e1df8 Fix CI 2025-11-21 01:29:45 +01:00
Laurent Destailleur
99b656c3c2 Fix CI 2025-11-21 01:19:14 +01:00
Laurent Destailleur
09da2b2365 Merge manually to close #34719. Need to add API_IN_TOKEN_TABLE=1 for the
transition to use several API tokens per user.
2025-11-20 23:51:37 +01:00
Laurent Destailleur
74eb89869e Fix globalvar 2025-11-20 22:28:38 +01:00
Laurent Destailleur
b77e3a4cca Merge branch 'develop' into new-api-rest-tokens 2025-11-20 21:31:20 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Laurent Destailleur
71fd5f2f62 Merge branch 'develop' into new-api-rest-tokens 2025-11-19 21:26:41 +01:00
VESSILLER
c2ae7d2da1 FIX create API temp directory in Dolibarr API constructor 2025-11-13 14:01:34 +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
Jon Bendtsen
df4cd2fc65 FIX adding tms and datec to email templates (#36189)
* NEW: adding tms and datec to email templates

* Escaping a timestamp string I just generated myself

* switching single and double quotes in escape line for tms and datec to make the build system happy?

* Add an id to the table

* showing better names than tms and datec

* Changing code to label to fix #29116

* using hregis advice to use idate not escape the string with date

* requested changes

* forgot to add my name to editors

* had to make class changes for API to work

* setting datec back to int|string

* removing unused code lines and using idate in the api file

* no tms in create or update, but select. No datec in update

* expanding hurl tests to prevent post with id or tms, put with id or datec

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-11 09:02:57 +01:00
Charlène Benke
c3f8a2b2e6 NEW add api List VAT (#35920)
* NEW add api List VAT 

Enhance getListOfVAT method with SQL filters and pagination.

* Update parameter type for fk_country in docblock

* Ensure integer casting for SQL parameters

Cast variables to integers for SQL query safety.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-06 02:11:37 +01:00
Laurent Destailleur
6145bcc449 FIX Error 500 on api if cache is on and directory does not exists 2025-10-31 16:59:09 +01:00
Laurent Destailleur
5a61116497 Debug v23 2025-10-31 16:55:48 +01:00