odain
890a2568c8
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 15:39:53 +01:00
jbostoen
9ee18c2f36
Add helper method to create an ObjectResult from a DBObject. ( #706 )
...
Author: Jeffrey Bostoen <support@jeffreybostoen.be >
2025-04-25 14:46:33 +02:00
jf-cbd
8fd9eb6a84
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2025-03-06 14:58:24 +01:00
jf-cbd
77ba0b398f
Fix merge conflict
2025-03-06 12:11:20 +01:00
jf-cbd
04ca7bf603
Merge remote-tracking branch 'origin/support/2.7' into support/3.1
...
# Conflicts:
# core/restservices.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# tests/php-unit-tests/unitary-tests/core/Delta/delta_test_sanitize_output.xml
# tests/php-unit-tests/unitary-tests/core/RestServicesSanitizeOutputTest.php
# tests/php-unit-tests/unitary-tests/core/RestServicesTest.php
# webservices/rest.php
2025-03-06 12:10:00 +01:00
denis.flaven@combodo.com
07b904ee1b
N°8231 - making rest api logs more readable
2025-03-06 11:59:08 +01:00
jf-cbd
533b57ab99
Merge branch 'support/3.1' into support/3.2
2025-03-03 17:07:24 +01:00
jf-cbd
6c7a98fe3d
Merge remote-tracking branch 'origin/support/2.7' into support/3.1
2025-03-03 16:38:32 +01:00
denis.flaven@combodo.com
ec2203229b
N°8231 - making rest api log more readable
2025-03-03 16:23:25 +01:00
jf-cbd
2f699d355a
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2025-03-03 14:37:57 +01:00
jf-cbd
da4457f5b4
Merge remote-tracking branch 'origin/support/2.7' into support/3.1
2025-03-03 14:36:50 +01:00
denis.flaven@combodo.com
97848cea4f
N°8231 - making rest api log more readable
2025-03-03 11:38:52 +01:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Eric Espie
4e9a34d8d8
Merge branch 'support/3.0' into develop
2023-01-05 09:25:11 +01:00
Eric Espie
524e65a29b
📝 fix PHPDoc
2023-01-05 09:23:48 +01:00
Eric Espie
626ba7ee66
📝 PHPDoc reworked packages
2022-12-30 14:17:57 +01:00
Eric Espie
f3cea730af
Merge branch 'support/3.0' into develop
...
# Conflicts:
# application/applicationextension.inc.php
2022-12-29 14:40:26 +01:00
Eric Espie
88d9a29599
📝 Change packages for auto-documentation
2022-12-29 12:38:31 +01:00
Eric Espie
23b4d4cb6b
Merge branch 'support/2.7' into support/3.0
2022-12-28 09:52:52 +01:00
Eric Espie
b37e74b407
📝 Change packages for auto-documentation
2022-12-28 09:51:46 +01:00
Eric Espie
0bba9b0fad
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-11-16 13:57:07 +01:00
Eric Espie
282d47aed4
N°5727 - REST API/get_related: Seemingly wrong results, when using [impacts, up] with [redundancy: true]
2022-11-16 13:51:38 +01:00
Pierre Goiffon
8473df0f0c
💡 Add attribute phpdoc for \RestResultWithObjects::$objects
2022-02-11 18:26:16 +01:00
Pierre Goiffon
c6211cde09
Revert REST API init objects array ( #231 )
...
We didn't anticipated this was causing the REST API response to be changed for all consumers :
- before PR `"objects":null`
- after `"objects":[]`
We don't want that :/
We will instead fix collector-base (object of another PR, see #231 )
This reverts commit 7243da3576 .
This reverts commit 0940741568 .
2022-01-17 18:38:33 +01:00
Thomas Casteleyn
0940741568
RestResultWithObjects : properly init objects array ( #231 )
2022-01-14 11:01:00 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Eric
b9b1e436ec
Merge branch 'feature/api-core_get' of https://github.com/GurneyHallack/iTop into GurneyHallack-feature/api-core_get
2020-08-20 15:44:52 +02:00
Eric
ce127278bb
N°2434 - Track field Comment in core/delete - API REST
2020-01-14 10:46:21 +01:00
Guy Couronné
618326d01f
Correction unknown attribute id
...
operation : "core/get"
class : "NetworkDevice"
output_fields : "id,friendlyname"
key : "SELECT NetworkDevice"
Code 100 “Error: Unknown attribute id from class NetworkDevice”
2019-03-18 08:53:50 +01:00
Guy Couronné
9b8dace833
⚡ Optimize Column load when using api core/get
...
Getting in SQL only desired columns to show
Used when output_fields != '*' || '*+'
Signed-off-by: Guy Couronné <gcouronne@sapiens.biz >
2019-03-15 11:17:58 +01:00
Pierre Goiffon
d6a0a279a5
N°1449 Update REST API version for new pagination params
2019-03-04 16:00:36 +01:00
Pierre Goiffon
44f5d71e1b
💡 PHPDoc for REST API
2019-03-04 16:00:35 +01:00
Pierre Goiffon
e2c8237beb
Allow params "limit" and "page" in REST-API
...
PR #25 , code author Dennis Lassiter, many thanks !
Was commited to develop first but decided to retrofit this on support/2.5 (N°1449)
(cherry picked from commit fd55bdf9a8 )
(cherry picked from commit 49e31ddb3d )
2019-02-28 10:06:42 +01:00
Pierre Goiffon
588899db63
Convert all files from CrLf to Lf (preparing merge to develop)
2018-10-18 14:20:40 +02:00
Romain Quetiez
4cfcb60e59
REST/JSON services. Take the user rights into account. Something was already done for core/create and core/delete, but the symptoms were not clear. The other verbs (update, apply_stimulus, get and get_related) had no protection at all.
...
SVN:trunk[3704]
2015-08-28 10:52:59 +00:00
Denis Flaven
cf5adc5ae7
#1062 : bumped the version number of the REST/JSON API to 1.3 to be aligned with the documentation !
...
SVN:trunk[3628]
2015-07-07 14:00:47 +00:00
Denis Flaven
d63b4ef6d1
Integration of the new way to compute relations into the datamodel (ComputeImpactedItems)
...
SVN:trunk[3570]
2015-04-29 16:35:21 +00:00
Romain Quetiez
f773433a93
New REST service: core/check_credentials to implement single sign-on solutions
...
SVN:trunk[3266]
2014-07-11 14:21:30 +00:00
Romain Quetiez
ba4e5ec786
#925 Completes the commit [3163], the link sets were still not correctly handled
...
SVN:trunk[3164]
2014-05-22 13:23:47 +00:00
Romain Quetiez
3e79dad435
#925 REST/JSON: Added an option to output all the fields of the object found (not only the fields of the queried class)
...
SVN:trunk[3163]
2014-05-20 08:15:53 +00:00
Romain Quetiez
2218003bec
#758 REST service: key given in clear in the returned objects (incremented the API verion to 1.1)
...
SVN:trunk[2902]
2013-10-14 13:52:11 +00:00
Romain Quetiez
3d79e3fe8f
#472 REST API: finalized the implementation of core/get_related + added the support for AttributeBlob (to manage documents and attachments)
...
SVN:trunk[2669]
2013-04-02 13:31:52 +00:00
Denis Flaven
d92b0aabee
First (draft) version of the get_related verb for the REST API.
...
SVN:trunk[2666]
2013-04-02 09:42:26 +00:00
Romain Quetiez
3cf398618e
#472 REST Services: added core/delete (to bulk delete, full-featured), and validated the operation core/apply_stimulus
...
SVN:trunk[2616]
2013-03-13 11:01:16 +00:00
Denis Flaven
ddff9180ac
Added 'core/apply_stimulus' as a possible operation for the REST web services.
...
SVN:trunk[2605]
2013-02-27 15:58:16 +00:00
Romain Quetiez
59e1a64f2d
REST services: fixed issue with returned external keys
...
SVN:trunk[2594]
2013-01-30 14:09:32 +00:00
Romain Quetiez
7b2789479d
REST services: alpha2. It is now extensible (implement iRestServiceProvider). Still lacks two verbs: apply_stimulus and delete.
...
SVN:trunk[2592]
2013-01-30 09:46:55 +00:00