Search found 7 matches

by castris
21 May 2025, 09:11
Forum: Help
Topic: Inline images not working
Replies: 19
Views: 21161

Re: Inline images not working

On version 2.27.0 with markdown plugin also there are de same problem

Refused to load the image 'https://external-domain.com/path/image.jpg' because it violates the following Content Security Policy directive: "img-src 'self' data:".


Solution


Edit your `config_inc.php` file and add one of ...
by castris
09 Nov 2023, 07:22
Forum: General Discussion
Topic: After update to 2.26.0 all call to api are broken for me.
Replies: 0
Views: 113215

After update to 2.26.0 all call to api are broken for me.

I have an application that uses the Mantis API.

After the update to 2.26.0 ALL endpoints returned a 200 but in the most worrying case for me and where I saw the problem was /api/rest/projects

After performing a debug, I observed that it returned a 200 but the json with the data was empty.

I have ...
by castris
16 Oct 2023, 06:54
Forum: General Discussion
Topic: Get Manage Configuration via API or via Database
Replies: 3
Views: 9585

Re: Get Manage Configuration via API or via Database

Hi.
- Permissions Report,. config_defaults_inc.php
- Configuration report -> config_table
- WorkFlow Thresholds ????? I don't see it in tables and don't see where is stored. AFTER search on docs, i see 6.8.5.1. Workflow Thresholds. But I have tried to do a test by modifying a value in one of the ...
by castris
11 Oct 2023, 06:53
Forum: General Discussion
Topic: Get Manage Configuration via API or via Database
Replies: 3
Views: 9585

Get Manage Configuration via API or via Database

Hi.

Due to the needs of the project I work on, I have to replicate the permissions model that users have in a Mantis installation.

I am referring to those that appear in Manage Configuration, and in particular
- Permission Report
- Workflow Thresholds
- Workflow Transitions. This is not important ...
by castris
28 Aug 2023, 08:05
Forum: Help
Topic: Where is work_threshold, permissions, workflod transitions
Replies: 0
Views: 118007

Where is work_threshold, permissions, workflod transitions

Helo

I'm working on the integration of Mantis in another project.

I feel quite confused, and I can't locate one of my needs.

The management of what in Mantis are called, Permissions report, workflow thresholds , and workflows transitions .

I'm working with version 2.25.7 and some things I get ...
by castris
30 May 2023, 06:35
Forum: General Discussion
Topic: [SOLVED] API Create user
Replies: 1
Views: 12125

Re: API Create user

After downloading postman collection I see my error

```curl
curl --location 'https://my.domaon.tld/gmao/api/rest/users/' \
--header 'Authorization: oSuMFbvFTiokeToken2WXNIyxzaM' \
--header 'Content-Type: application/json' \
--header 'Cookie: MANTIS_PROJECT_COOKIE=0; PHPSESSID ...
by castris
29 May 2023, 07:04
Forum: General Discussion
Topic: [SOLVED] API Create user
Replies: 1
Views: 12125

[SOLVED] API Create user

I'm trying to use the api from Postman on a Mantis 2.25.7 to create a user with specific data.

Your example with dummy data

curl --location 'https://my.domain.tld/gmao/api/rest/users/' \
--header 'Authorization: 6H6R8AKuKUkUkUkUkUDP5Vn1fZ' \
--header 'Content-Type: text/plain' \
--header 'Cookie ...