In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000969 [In-Portal CMS] Install / Upgrages feature request always 2011-01-18 22:03 2012-07-25 05:32
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.1.2-B1 Target Version 5.2.0
Time EstimateNo estimate
Summary 0000969: New "System Configuration" installation step
Description For In-Portal 5.2.0 we are proposing to add new System Configuration step to Installation process + Update System Configuration option for "Installation Maintenance" (to make changes after the installation). The purpose of this step would be to manage System Settings which can't be saved in the Database due to code architecture and must be accessible before connection to the database for better performance.

Below is description of how it can work.


1. New Installation:

Add System Configuration step (after Basic Configuration step) and make this step to be visible ONLY when Debugger is ON.

It will list the following variable (all MUST be saved in system/config.php):

WebsitePath (string, default to current installation path)
WriteablePath (string, default "/system")
AdminDirectory (string, default "/admin")
AdminPresetsDirectory (string, default "/admin")
ApplicationClass (string)
ApplicationPath (string)
CacheHandler (drop-down with current options), auto-detect (try to check from more powerful to less powerful in following order: Memcache <- XCache <- APC)
MemcacheServers (string, default "localhost:11211")
CompressionEngine (drop-down with None, PHP-based, YUICompressor (Java), Auto-Detected by default)


2. Installation Maintenance:


Add Update System Configuration option after Update License Information option.

WebsitePath (string, default to current installation path)
WriteablePath (string, default "/system")
AdminDirectory (string, default "/admin")
AdminPresetsDirectory (string, default "/admin")
ApplicationClass (string, visible with Debug ON)
ApplicationPath (string, visible with Debug ON)
CacheHandler (drop-down with current options)
MemcacheServers (string, default "localhost:11211")
CompressionEngine (drop-down with None, PHP-based, YUICompressor (Java), Auto-Detected by default)

NOTE: remove variable definition from config.php file, when entered value matches default one.



Description (right hand side) for this new section can read something like this:

These are system advanced settings and must be changed with caution. It's not recommended to change these settings unless you know what you are doing. These settings will be stored in system/config.php file and can be changed manually if needed.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/0evXfMPaS5o/discussion
Change Log Message Added new "System Configuration" installation step
Estimate Points 2
Attached Files patch file icon system_configuration_969.patch [^] (10,392 bytes) 2011-12-02 09:28 [Show Content]
patch file icon system_configuration_969.2.patch [^] (15,514 bytes) 2011-12-05 04:16 [Show Content]
patch file icon sys_config_installation_step_v3.patch [^] (10,863 bytes) 2011-12-05 10:59 [Show Content]
patch file icon sys_config_installation_step_v4-Dmitry.patch [^] (15,109 bytes) 2011-12-07 16:51 [Show Content]
patch file icon sys_config_installation_step_v5-combined.patch [^] (16,253 bytes) 2011-12-08 03:00 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000413closed (5.2.0)alex System Requirements Check before In-Portal Installation 
parent of 0001005closed (5.2.0)alex Incorrectly Detected BASE_PATH in Cron 
parent of 0001176closed (5.2.0)alex Implement usage of Variables added on "System Configuration" step 
parent of 0001220closed (5.2.0)alex Incomplete /system/config.php file after upgrade 

-  Notes
User avatar (0004195)
erik (manager)
2011-12-02 09:28

Patch attached - needs testing.
User avatar (0004200)
alex (manager)
2011-12-05 03:34

New "sys_config.tpl" is missing in the patch attached.
User avatar (0004201)
erik (manager)
2011-12-05 04:17

Added missed file. New patch is - system_configuration_969.2.patch. Needs testing.
User avatar (0004205)
alex (manager)
2011-12-05 11:01

1. Please type in config setting titles ('title' key in $settings array in "sys_config.tpl" file).

2. Please type in more descriptive (separate subsection with description about each config setting) in "steps_db.xml" for "sys_config" installation step.
User avatar (0004219)
Dmitry (manager)
2011-12-07 16:50

New patch attached (sys_config_installation_step_v4-Dmitry.patch) and includes:

1. Updated documentation for new System Configuration step

2. Removed usage/reference to fix_paths.tpl

NOTE:

1. Make sure to DELETE core/install/step_templates/fix_paths.tpl

2. I think it's okay NOT to show "Update System Configuration" on Installation Maintenance in the right side help since it's ONLY when DBG is on and mostly for Developers.
User avatar (0004225)
alex (manager)
2011-12-08 03:00

Fix committed to 5.2.x branch. Commit Message:

Fixes 0000969: New "System Configuration" installation step
User avatar (0005033)
alex (manager)
2012-07-25 05:32

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14842
Timestamp: 2011-12-08 03:00:44
Author: alex
Details ] Diff ]
Fixes 0000969: New "System Configuration" installation step
mod - /in-portal/branches/5.2.x/core/install/install_toolkit.php Diff ] File ]
rm - /in-portal/branches/5.2.x/core/install/step_templates/fix_paths.tpl
mod - /in-portal/branches/5.2.x/core/install/step_templates/install_setup.tpl Diff ] File ]
add - /in-portal/branches/5.2.x/core/install/step_templates/sys_config.tpl File ]
mod - /in-portal/branches/5.2.x/core/install/steps_db.xml Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:32 alex Note Added: 0005033
2012-07-25 05:32 alex Status resolved => closed
2012-03-12 06:29 alex Relationship added parent of 0001220
2011-12-08 03:00 alex Changeset attached 5.2.x r14842
2011-12-08 03:00 alex Note Added: 0004225
2011-12-08 03:00 alex Status reviewed and tested => resolved
2011-12-08 03:00 alex Fixed in Version => 5.2.0-B1
2011-12-08 03:00 alex Resolution open => fixed
2011-12-08 03:00 alex Assigned To !COMMUNITY => alex
2011-12-08 03:00 alex File Added: sys_config_installation_step_v5-combined.patch
2011-12-08 03:00 alex File Deleted: sys_config_installation_step_v5-combined.patch
2011-12-08 02:58 alex Assigned To alex => !COMMUNITY
2011-12-08 02:58 alex Status needs testing => reviewed and tested
2011-12-08 02:58 alex File Added: sys_config_installation_step_v5-combined.patch
2011-12-07 16:51 Dmitry File Added: sys_config_installation_step_v4-Dmitry.patch
2011-12-07 16:51 Dmitry File Deleted: sys_config_installation_step_v4-Dmitry.patch
2011-12-07 16:50 Dmitry Note Added: 0004219
2011-12-07 16:50 Dmitry Assigned To Dmitry => alex
2011-12-07 16:50 Dmitry Developer erik => Dmitry
2011-12-07 16:50 Dmitry Status needs work => needs testing
2011-12-07 16:45 Dmitry File Added: sys_config_installation_step_v4-Dmitry.patch
2011-12-06 14:00 Dmitry Relationship added parent of 0001176
2011-12-05 11:01 alex Note Added: 0004205
2011-12-05 11:01 alex Assigned To alex => Dmitry
2011-12-05 11:01 alex Status needs testing => needs work
2011-12-05 10:59 alex File Added: sys_config_installation_step_v3.patch
2011-12-05 04:17 erik Note Added: 0004201
2011-12-05 04:17 erik Assigned To erik => alex
2011-12-05 04:17 erik Status needs work => needs testing
2011-12-05 04:16 erik File Added: system_configuration_969.2.patch
2011-12-05 03:34 alex Assigned To !COMMUNITY => erik
2011-12-05 03:34 alex Note Added: 0004200
2011-12-05 03:34 alex Assigned To alex => !COMMUNITY
2011-12-05 03:34 alex Status needs testing => needs work
2011-12-02 09:28 erik Time Estimate Removed 3 =>
2011-12-02 09:28 erik Note Added: 0004195
2011-12-02 09:28 erik Assigned To erik => alex
2011-12-02 09:28 erik Developer => erik
2011-12-02 09:28 erik Status needs work => needs testing
2011-12-02 09:28 erik File Added: system_configuration_969.patch
2011-12-02 05:03 alex Description Updated View Revisions
2011-11-06 15:59 Dmitry Assigned To => erik
2011-11-06 15:59 Dmitry Status active => needs work
2011-10-22 05:39 alex Estimate Points => 2
2011-09-26 04:59 alex Time Estimate Added 3
2011-09-23 06:51 alex Description Updated View Revisions
2011-09-11 23:26 Dmitry Description Updated View Revisions
2011-09-03 09:51 alex Relationship added related to 0000413
2011-02-21 13:16 Dmitry Relationship added parent of 0001005
2011-02-21 12:18 Dmitry Description Updated View Revisions
2011-01-18 22:03 Dmitry New Issue
2011-01-18 22:03 Dmitry Reference => https://groups.google.com/d/topic/in-portal-dev/0evXfMPaS5o/discussion
2011-01-18 22:03 Dmitry Change Log Message => Added new "System Configuration" installation step



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker