ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Add environment info display to /admin/info. (Feature #1353)
Description
I was asked by someone last year to port this feature from Redmine to ChiliProject, which I did. I didn't share the result up until now due to a lack of time.
Now, before I delete the work I'll upload the patch to this issue to make it publicly available. Yet, I don't know whether or not it might be useful for someone, let alone whether or not it gets integrated in CP-core (considering the rate of activity lately).
Add environment information display to /admin/info view.
- Added
ChiliProject::Info.environment
(based on Redmine revisions r9601, r11918 and r12003)- Modified during porting:
- changed Redmine strings to match CP strings
- changed Redmine version retrieval calls to CP version retrieval calls (
ChiliProject::VERSION
) - changed DB-adapter name retrieval call to use CP's DB layer (
ChiliProject::Database
)
- Modified during porting:
- Added the output of
ChiliProject::Info.environment
to a new preformatteddiv.box
on the /admin/info view and removed the DB-adapter name from the line which outputsRedmine::Info.versioned_name
(based on Redmine revision r9603) - Added unit test
ChiliProject::InfoTest
, in /unit/lib/chili_project/info_test.rb (based on Redmine revision r9601)- Modified during porting:
- changed assertion to match CP version string
- added three new assertions to check for the existence of the three "headers" in the new preformatted
div.box
on the /admin/info view
- Modified during porting:
Patch created against ChiliProject stable 3.8.0.93de0ba66.
History
Updated by Mischa The Evil at 2014-09-10 07:32 am
Attaching patch file.