Search found 35 matches

by federico
05 Jun 2019, 09:08
Forum: Help
Topic: Restrict user management
Replies: 6
Views: 3642

Re: Restrict user management

Thank you, Atrol. Unfortunately, I am working for a small organization with poor network resources, and your proposal would produces me to change configurarion in about 200 browsers manually. I've found additional information. It happens when accessing the calendar plugin page, so my first candidate...
by federico
02 Jun 2019, 08:15
Forum: Help
Topic: Restrict user management
Replies: 6
Views: 3642

Re: Restrict user management

atrol wrote: 30 May 2019, 16:32 You mean HTTP 414 (URI Too Long ) error?
Have you heard about this error before? Any ideas?
by federico
01 Jun 2019, 06:00
Forum: Help
Topic: Restrict user management
Replies: 6
Views: 3642

Re: Restrict user management

Thank you, Atrol. Yes, is that HTTP error. $g_manage_user_threshold is the last change I did before the error, so was the candidate. I test it in deep, and it is something related with my plugin, but I can not figure out what is going wrong. Seems as a circular reference somewhere. The ante-last act...
by federico
30 May 2019, 08:30
Forum: Help
Topic: Restrict user management
Replies: 6
Views: 3642

Restrict user management

I am trying to restrict the user management feature only to administrators. When I include the following line in my config_inc.php file, and let the current session expiring, $g_manage_user_threshold = ADMINISTRATOR; I get a 414 error in all enviroments I have tested, which dissapear removing that l...
by federico
30 May 2019, 08:07
Forum: General Plugin Discussion
Topic: Extend rest api
Replies: 13
Views: 19722

Re: Extend rest api

Thank you for your generous reply. Building a plugin, is exactly what I am doing. I started with mantis from the understanding of its architecture, and now, I have a well organized plugin working, using all its native components (schema, events, apis, pages, files, configuration, menus...), configur...
by federico
19 May 2019, 07:57
Forum: Help
Topic: dynamic data to initialize client controls
Replies: 2
Views: 1903

Re: dynamic data to initialize client controls

Thank you cas.

It worked for me.
by federico
19 May 2019, 07:53
Forum: General Plugin Discussion
Topic: Extend rest api
Replies: 13
Views: 19722

Re: Extend rest api

Thank you Starbuck. I would like to know the good practices to get a new REST api function published in the mantis plugin context, reusing the mantis API REST core infrastructure. It could be a new service (based on my custom schema), or reusing an existing core api function to incorporate to my plu...
by federico
17 May 2019, 06:29
Forum: Help
Topic: dynamic data to initialize client controls
Replies: 2
Views: 1903

dynamic data to initialize client controls

Hello. I use json to set up one of my plugin page user controls. I would like to add the following script in the page flow, having a php page to bring to the browser the needed data. <script type='text/javascript' src='" . plugin_file( 'data_source.php' ) . "'></script> But I see the php f...
by federico
06 May 2019, 04:53
Forum: General Plugin Discussion
Topic: Extend rest api
Replies: 13
Views: 19722

Re: Extend rest api

Thank you atrol. I saw the author of the rest api uses to participate in this forum, so I suposed he could explain the best practices to extend his own implementation into a plugin to keep things clear. I do not understand all the complexity behind this, because with other technologies it is quite s...
by federico
04 May 2019, 05:43
Forum: General Plugin Discussion
Topic: Extend rest api
Replies: 13
Views: 19722

Extend rest api

Hello. I would like to extend the mantisbt rest api to implement new functions (not to build something new, and it should not be necessary if the api were complete). I tried the following approaches, but none of them seems to be satisfactory for me: Copy the whole rest api infrastructure to my plugi...
by federico
30 Apr 2019, 08:16
Forum: Help
Topic: status_config.php bad request
Replies: 1
Views: 1346

Re: status_config.php bad request

I found the cause:

Bad assigments in the EVENT_LAYOUT_RESOURCES hook of my plugin.
by federico
30 Apr 2019, 07:56
Forum: Help
Topic: status_config.php bad request
Replies: 1
Views: 1346

status_config.php bad request

Hello. I am getting this error: GET http://localhost:8081/mantisbt/css/status_config.php?cache_key=9f0b9532b13e3539acba2b61668bde6d net::ERR_ABORTED 400 (Bad Request) At line 8 in manage_plugin_page.php. I have not changed this php page, and I can not figure out what could be related with this error...
by federico
28 Apr 2019, 10:43
Forum: General Discussion
Topic: Date format per language
Replies: 5
Views: 4198

Re: Date format per language

Thank you, atrol. I will check your proposal.

I come from the java and the .net development world. In your oppinion, which is the best free and friendly PHP development environment for windows, in order to keep my mantisbt extensions tidy. I am using notepad+, and it being a bit hard.
by federico
28 Apr 2019, 10:35
Forum: Customizations
Topic: Move issues
Replies: 2
Views: 4157

Re: Move issues

Thank you, cos. I really appretiate your contributions. I will have to mantain two instances because of my project security restrictions, or I am not seeing something I should see. For future versions, I would like to suggest the possibility of restricting issue movement, depending on a sort of rule...
by federico
26 Apr 2019, 09:08
Forum: Customizations
Topic: Move issues
Replies: 2
Views: 4157

Move issues

Hello. I have one special project with four dependant subprojects (i.e issues of the defence department) which issues are private and confidential, only for the the scope of its parent project. This means, the project manager could move issues only between the parent sub-projects, but should not be ...