Page 1 of 1

Document uploaded into project - history of who did that?

Posted: May 18, 2020 5:29 pm
by Uno-Di-Noi
Hello.

In the "Docs" main menu ("proj_doc_page.php"), there is date and time metadata for every uploaded file, but (at least in my installation, Mantis v.1.2.19) there is no visible info about which user uploaded those files.

Is this info recorded in the database? Can it be shown with some config option?

Re: Document uploaded into project - history of who did that?

Posted: May 19, 2020 2:29 am
by cas
it definitely is recorded in the database, just not printed.
There is no config option to display it.
You would need to adjust the proj_doc_page.php script :mrgreen: ( every time when you update Mantisbt)

Re: Document uploaded into project - history of who did that?

Posted: May 19, 2020 3:28 pm
by Uno-Di-Noi
cas wrote:
May 19, 2020 2:29 am
it definitely is recorded in the database, just not printed.
There is no config option to display it.
You would need to adjust the proj_doc_page.php script :mrgreen: ( every time when you update Mantisbt)
Thanks for the info. I see that column "user_id" in table "mantis_project_file_table" contains the info about what user uploaded which project file. I think it will be easy to print that translated to "username" with some of the many functions defined in "core". So problem solved.

Changing subject, and going off-topic: I see that in an Issue's History the changes in "time tracking" data are not recorded into History. Do you know why, and can this "historical" info be recorded and shown somehow?

Re: Document uploaded into project - history of who did that?

Posted: May 20, 2020 2:16 am
by cas
Currently that is not available out of the box.