In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
969 [In-Portal CMS] Install / Upgrages feature request always 2011-01-18 22:03 2012-07-25 05:32
Dmitry  
alex  
normal  
closed 5.1.2-B1  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-dev/0evXfMPaS5o/discussion
Added new "System Configuration" installation step
2
0000969: New "System Configuration" installation step
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.
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 
patch system_configuration_969.patch (10,392) 2011-12-02 09:28
http://tracker.in-portal.org/file_download.php?file_id=1339&type=bug
patch system_configuration_969.2.patch (15,514) 2011-12-05 04:16
http://tracker.in-portal.org/file_download.php?file_id=1343&type=bug
patch sys_config_installation_step_v3.patch (10,863) 2011-12-05 10:59
http://tracker.in-portal.org/file_download.php?file_id=1344&type=bug
patch sys_config_installation_step_v4-Dmitry.patch (15,109) 2011-12-07 16:51
http://tracker.in-portal.org/file_download.php?file_id=1354&type=bug
patch sys_config_installation_step_v5-combined.patch (16,253) 2011-12-08 03:00
http://tracker.in-portal.org/file_download.php?file_id=1356&type=bug
Issue History
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 bug_revision_view_page.php?rev_id=918#r918
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 bug_revision_view_page.php?rev_id=820#r820
2011-09-11 23:26 Dmitry Description Updated bug_revision_view_page.php?rev_id=816#r816
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 bug_revision_view_page.php?rev_id=689#r689
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

Notes
(0004195)
erik   
2011-12-02 09:28   
Patch attached - needs testing.
(0004200)
alex   
2011-12-05 03:34   
New "sys_config.tpl" is missing in the patch attached.
(0004201)
erik   
2011-12-05 04:17   
Added missed file. New patch is - system_configuration_969.2.patch. Needs testing.
(0004205)
alex   
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.
(0004219)
Dmitry   
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.
(0004225)
alex   
2011-12-08 03:00   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0000969: New "System Configuration" installation step
(0005033)
alex   
2012-07-25 05:32   
Since 5.2.0 version was released.