Search found 35 matches
- 05 May 2020, 08:53
- Forum: Help
- Topic: Performance when sendings emails
- Replies: 4
- Views: 3983
Re: Performance when sendings emails
Thank you Atrol. I think that is is not the problem. My call is as follows: $t_msg_subject = plugin_lang_get ('substitution_cancelled_subject'); $t_mail_to = config_get( 'from_email' ); $t_msg_body = $t_template->output(); email_store( $t_mail_to, $t_msg_subject, $t_msg_body, null, false ); And the ...
- 03 Mar 2020, 08:03
- Forum: Help
- Topic: Custom Fields
- Replies: 1
- Views: 1937
Re: Custom Fields
could you post the complete configuration of your custom field?
- 03 Mar 2020, 08:01
- Forum: Help
- Topic: Performance when sendings emails
- Replies: 4
- Views: 3983
Re: Performance when sendings emails
$g_email_send_using_cronjob = ON; # is set at config_inc.php where dozen of config settings are set in the same way
What it is supposed I have to assume?
What it is supposed I have to assume?
- 29 Nov 2019, 10:37
- Forum: Help
- Topic: Calculated labels when show a bug
- Replies: 1
- Views: 2006
Calculated labels when show a bug
Hello. I need to show to the users a calculated label when showing a bug. Its value depends on the result of an internal/external resource invocation, which takes in account the bug info for the calculations. I haven't seen a layout event which give this opportunity, but may be there were other diff...
- 20 Nov 2019, 07:57
- Forum: Help
- Topic: Performance when sendings emails
- Replies: 4
- Views: 3983
Performance when sendings emails
Hello, I have developed a script to send multilingual emails based on a custom (very simple) template engine, but I am experimenting some performance issues. I am using the email_store function to signal the need of sending an email, in the same way I saw how it is being done for the reporting issue...
- 30 Sep 2019, 12:30
- Forum: General Plugin Discussion
- Topic: Extend rest api
- Replies: 13
- Views: 20178
Re: Extend rest api
The error I get is in the following piece of code: protected function finalize(ResponseInterface $response) { // stop PHP sending a Content-Type automatically ini_set('default_mimetype', ''); if ($this->isEmptyResponse($response)) { return $response->withoutHeader('Content-Type')->withoutHeader('Con...
- 26 Sep 2019, 10:44
- Forum: General Plugin Discussion
- Topic: Extend rest api
- Replies: 13
- Views: 20178
Re: Extend rest api
As an example of extending the REST API from a plugin, you can have a look at the Announce plugin. You need to hook EVENT_REST_API_ROUTES (see https://github.com/mantisbt-plugins/Announce/blob/v2.4.1/Announce.php#L46) define your routes (https://github.com/mantisbt-plugins/Announce/blob/v2.4.1/Anno...
- 07 Sep 2019, 09:05
- Forum: General Plugin Discussion
- Topic: Extend rest api
- Replies: 13
- Views: 20178
Re: Extend rest api
Thank you very much !
- 24 Jul 2019, 08:17
- Forum: Help
- Topic: Attached files to private notes
- Replies: 7
- Views: 6258
Re: Attached files to private notes
I've just finished, thinking it is enaugh tested and seems to work fine. The experience As well as other parts of the program are clean, the code to manage file attachments is really a mess. The current attachment management implementation, mixes different patterns (OO vs !OO) in different levels of...
- 13 Jul 2019, 20:04
- Forum: Help
- Topic: Attached files to private notes
- Replies: 7
- Views: 6258
Re: Attached files to private notes
Thank you. I am almost finishing the job, and it seems to work by the moment. There are three or four more files to change, but I thing the approach is clean. I can not wait or follow processes because my customer thought it was working fine. I would share the complete solution in order to its revis...
- 02 Jul 2019, 05:58
- Forum: Help
- Topic: Attached files to private notes
- Replies: 7
- Views: 6258
Re: Attached files to private notes
Finally it is an issue by design. The note attachments are added as a result of a timestamp comparison, without a real relationship between notes and attachments (as cproensa suggests at https://mantisbt.org/bugs/view.php?id=21733 ). The approach I am evaluating is the following: - mantis_project_fi...
- 01 Jul 2019, 05:10
- Forum: Help
- Topic: Attached files to private notes
- Replies: 7
- Views: 6258
Re: Attached files to private notes
Thanks atrol. Does someone knows the reason? I have found this issue a week before the users should start to use mantisbt, and after 1000 working hours checking mantis requirements, configuring it for their needs, and developing a plugin to perform some custom transactions. Too late for me, so I nee...
- 30 Jun 2019, 11:14
- Forum: Help
- Topic: Attached files to private notes
- Replies: 7
- Views: 6258
Attached files to private notes
Hello all. The of mantis behaviour when trying to attach files to a private note is the following (for version 2.20.0) - If the note is public: You can mix text and files in the same notes, and both works well without dependencias - If the note is private: I had to comment bugnote_add_inc.php line 1...
- 08 Jun 2019, 19:30
- Forum: General Plugin Discussion
- Topic: Extend rest api
- Replies: 13
- Views: 20178
Re: Extend rest api
I would like to share this small piece of code, which offers two benefits: Integrate external data sources in the business layer Retrieve JSON info which makes the UI more simple and accurate to work with data asynchronously Is my first time with PHP and also Mantis, and I am not absolutely sure if ...
- 05 Jun 2019, 12:06
- Forum: Help
- Topic: Restrict user management
- Replies: 6
- Views: 3655
Re: Restrict user management
Thank you again.
It was true. There was a compatibility issue with the calendar plugin due the mantisbt version was not the right one in one of the servers, but it not solve the main problem.
The problem was with a reauthenticate function call in a wrong place.
It was true. There was a compatibility issue with the calendar plugin due the mantisbt version was not the right one in one of the servers, but it not solve the main problem.
The problem was with a reauthenticate function call in a wrong place.