Document uploaded into project - history of who did that?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Uno-Di-Noi
Posts: 5
Joined: May 16, 2020 12:58 pm

Document uploaded into project - history of who did that?

Post 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?

cas
Posts: 776
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post 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)

Uno-Di-Noi
Posts: 5
Joined: May 16, 2020 12:58 pm

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

Post 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?

cas
Posts: 776
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas »

Currently that is not available out of the box.

Post Reply