QuickInstall 1.1.8-RC2

Discussion forum for MOD Writers regarding MOD Development.
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: QuickInstall 1.1.8-dev

Post by tumba25 » Mon Dec 17, 2012 7:12 pm

QI now handles profiles. You can have profiles with different configurations. When you first go to the QI page after upgrading the files QI will try to convert your old config file to a new profile named "default". That requires that PHP has write permission to the new settings directory.

More changes are coming. I hope to release a RC before Thursday morning.

Changes since 1.1.7
  • [Fix] QI_PHPBB_VERSION and AUTOMOD_VERSION are not used so they got deleted.
  • [Fix] Use the QI_VERSION constant directly instead of copying it to the config array.
  • [Fix] Ticket #63262 SMTP port was not copied from settings to config table.
  • [Fix] Ticket #62767 QI should not crash when it can't delete a board but inform about it.
  • [Change] Cleaned up the JS in the main html file.
  • [Change] Changed the changelog to have the same format as the rest of our tools have. A text file with most recent versions at top.
  • [Change] QI pages are now in $page instead of $mode, need $mode for settings and it got kind of crowded.
  • [Change] Only try to connect to DB when saving settings or creating/deleting a board.
  • [Change] Removed version check from the About page and moved the changelog stuff a bit.
  • [Change] Errors are stored as a array and imploded to a string on demand.
  • [Change] The global $qi_config array has been removed and all setting/config are now handled by $settings.
  • [Change] Deleted qi_config_sample.cfg since its not used anymore.
  • [Feature] Added possibility to set phpBB config fields before creating a board.
  • [Feature] Ticket #62796 Added config settings for chunk sizes when populating a board.
  • [Feature] Ticket #62774 and #62792 Added a settings directory to replace the config file.
  • [Feature] Ticket #62774 and #62792 Added profiles with config files in a directory instead of one configuration file.
  • [Feature] Added confirm to the delete button. And don't show it if there is no boards to delete.
  • [Feature] Added save/reset buttons after each section on the settings page. For convenience.
  • [Feature] Added anchors and internal links to the settings tab.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: QuickInstall 1.1.8-RC1

Post by tumba25 » Wed Dec 19, 2012 2:04 am

Image

phpBB3 QuickInstall a is tool used to manage many installations of phpBB3. It is not meant to be used on a remote server, it should be used only locally. You can install a phpBB3 board with one single mouse click. Now this is useful for developing modifications, as you won't have any conflicts of different mods.

There are tons of new stuff in this QI release. The major new feature is that you can save profiles. Perfect if you regularly change between different settings in QI. Also support for PostgreSQL has been added in this version.

phpBB3 QuickInstall is distributed under the terms of the GNU General Public License 2 (GPL). A copy has been included in the package (license.txt) and more information can be found in readme.txt.

The RC is downloadable from github, this is a direct download link.
You can get the latest development version from github

Comments and support for this RC in this topic. Please report bugs in the MOD Teams tracker.

NOTE: phpBB QuickInstall is only intended to be used for local testing and should not be installed on a public/live server.

Getting started
To install QI simply download the latest version and extract it to a directory accessible via a browser.
Download the latest phpBB version and extract it into the sources directory.
Download the latest AutoMOD and copy the contents from the root directory to sources/automod.
Make sure the "cache", "boards" and "settings" directories are writable by PHP.
Point your browser to the QI directory. You will be taken to the settings page with some default data entered. You can go direct to the bottom of that page and save the settings as a profile named "default". But you should take a look at the settings and see if you want to change anything. When you have saved the first profile you are good to go.

Upgrading
Just download the package and unzip it into your QI directory. Make sure the new "settings" directory is writable by PHP and point your browser to your QI directory. QI will convert your old config to a profile named "default", you can of course choose some other name for it.

Changes since QI 1.1.6
  • [Fix] Some language edits and spelling fixes.
  • [Fix] Check that the boards directory exists and is writeable.
  • [Fix] Create one user per minute and one post per second, or actually change the timestamp.
  • [Fix] Set a default value for user_sig, user_occ and user_interests to not error out there.
  • [Fix] Take cache directory from settings if possible.
  • [Fix] Use boards_dir from configuration if it is set.
  • [Fix] Added missing settings globalizations
  • [Fix] Fixes to permission granting.
  • [Fix] Made quickinstall functional on postgres.
  • [Fix] Make sure boards_url ends with a slash.
  • [Fix] Bug #62694 Clarify that it is QI that do not support PHP older than 5.2.0 and not phpBB.
  • [Fix] Bug #62700 Put the config through htmlspecialchars_decode() instead of remove request_var().
  • [Fix] Bug #62704 Mention the upload directory for AutoMOD 1.0.0.
  • [Fix] Bug #62739 Check for phpBB3/common.php instead of the phpBB3 directory.
  • [Fix] Bug #62757 Copy permissions from the default forum instead of from the default category.
  • [Fix] Bug #62765 Need to globalize table prefix.
  • [Fix] Bug #62831 Don't try to login when loading a alternative environment.
  • [Fix] Bug #63111 When setting table prefix, table data containing "phpbb_" was also changed.
  • [Fix] QI_PHPBB_VERSION and AUTOMOD_VERSION are not used so they got deleted.
  • [Fix] Use the QI_VERSION constant directly instead of copying it to the config array.
  • [Fix] Ticket #63262 SMTP port was not copied from settings to config table.
  • [Fix] Ticket #62767 QI should not crash when it can't delete a board but inform about it.
  • [Change] Added checking for functions_mods.php. It will be moved in AutoMOD in the future.
  • [Change] Include functions_admin.php for postgres' benefit.
  • [Change] Use get_cache_dir() in sqlite dbal.
  • [Change] Delay database connection until it is necessary.
  • [Change] Cleaned up the JS in the main html file.
  • [Change] Changed the changelog to have the same format as the rest of our tools have. A text file with most recent versions at top.
  • [Change] QI pages are now in $page instead of $mode, need $mode for settings and it got kind of crowded.
  • [Change] Only try to connect to DB when saving settings or creating/deleting a board.
  • [Change] Removed version check from the About page and moved the changelog stuff a bit.
  • [Change] Errors are stored as a array and imploded to a string on demand.
  • [Change] The global $qi_config array has been removed and all setting/config are now handled by $settings.
  • [Change] Deleted qi_config_sample.cfg since its not used anymore.
  • [Feature] Made quickinstall not require write access to qi_config.php
  • [Feature] Added UI for setting cache directory.
  • [Feature] Added a separate notion of boards url.
  • [Feature] Added ability to grant specific permissions when creating boards.
  • [Feature] Added hover-over on the manage tab.
  • [Feature] Added support for PostgreSQL
  • [Feature] Added possibility to set phpBB config fields before creating a board.
  • [Feature] Ticket #62796 Added config settings for chunk sizes when populating a board.
  • [Feature] Ticket #62774 and #62792 Added a settings directory to replace the config file.
  • [Feature] Ticket #62774 and #62792 Added profiles with config files in a directory instead of one configuration file.
  • [Feature] Added confirm to the delete button. And don't show it if there is no boards to delete.
  • [Feature] Added save/reset buttons after each section on the settings page. For convenience.
  • [Feature] Added anchors and internal links to the settings tab.
  • [Feature] Config settings for "Drop database if it exists" and "Delete files if they exist" checkboxes default state.
  • [Feature] A setting for the confirmation alert when deleting boards and profiles. To show that confirm alert or not.
  • [Feature] A setting for default "Alternate environment" now that profiles exists.
  • [Feature] Added option to not save passwords and/or admin/db-user names. They will be required when creating a board.
  • [Feature] Use JS to check that the required fields are filled.
Happy testing.
The MOD Team.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
pertneer
Registered User
Posts: 205
Joined: Tue Dec 05, 2006 3:56 pm
Contact:

Re: QuickInstall 1.1.8-RC1

Post by pertneer » Fri Dec 21, 2012 5:17 pm

Should this language

Code: Select all

“Board database and directory name:” is the only field you have to fill, the others get filled with default values from includes/qi_settings.php.
Actually say

Code: Select all

“Board database and directory name:” is the only field you have to fill, the others get filled with default values from includes/default_settings.php.
I intend to live forever. So far, so good.
Steven Wright

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: QuickInstall 1.1.8-RC1

Post by tumba25 » Sat Dec 22, 2012 10:46 pm

pertneer wrote:Should this language

Code: Select all

“Board database and directory name:” is the only field you have to fill, the others get filled with default values from includes/qi_settings.php.
Actually say

Code: Select all

“Board database and directory name:” is the only field you have to fill, the others get filled with default values from includes/default_settings.php.
includes/default_settings.php it is and nothing else. Thanks, I'll change that.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

Oleg
Former Team Member
Posts: 1221
Joined: Sat Jan 30, 2010 4:42 pm
Location: NYC
Contact:

Re: QuickInstall 1.1.8-RC1

Post by Oleg » Wed Dec 26, 2012 11:45 pm

Configuration profiles are awesome.

I created some new tickets as the old ones have been cleared out. The biggest issue is postgres appears to have gottten broken.
Participate in phpBB development: Get involved | Issue tracker | Report a bug | Development board | [url=irc://chat.freenode.net/phpbb-dev]Development IRC chat[/url]
My stuff: mindlinkgame.com

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: QuickInstall 1.1.8-RC2

Post by tumba25 » Thu Dec 27, 2012 10:06 pm

QI v1.1.8-RC2 is released at github. Direct download link.

For more info, please read the first post in this topic.

Changelog RC1 > RC2
  • No need to globalize db variables as they already exist (postgres)
  • $sql_db needs to be globalized, do so in both places it is used
  • Ticket #63303 The wrong sidebar was shown in settings when installing QI.
  • Ticket #63298 Error text was not shown when there where errors on first config save.
  • Ticket #63297 If a new profile name is entered; prefill the new profile name if settings validation fails.
  • Ticket #63299 and #63296 Leave cookie domain empty for new installs and don't require it either.
  • Ticket #63290 Make sure QI script path ends with one and only one slash.
  • Using isset() on strings and empty() on int might give a undesired result.
  • Ticket #63293 Admin, board and all test users now gets the correct timezone and DST setting.
  • Set class="radio" for all radio buttons.
  • Set the profile cookie when saving new profiles too.
  • The fix for ticket #63289 needed some more fixing.
  • Added in-page links to the about page instead of big brother.
  • Removed some unused language strings.
  • Added settings/* to be ignored.
  • Ticket #63292 Better options for Daylight saving time.
  • Ticket #63289 Need to check $_REQUEST data and config before returning the default value.
  • Ticket #63293 Changed forum/forums to board/boards in several places.
  • Moved some JS to the header where it belongs.
Happy testing.
/the MOD Team
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: QuickInstall 1.1.8-RC2

Post by leschek » Sat Dec 29, 2012 12:05 pm

Really great tool for testing MODs.
I would like to ask if would be possible to add field for alternative text to lorem ipsum when populating board, so user can choose what he will see in posts. I know it is very unimportant feature, but it would look nicer to have posts in topics in users language (or localized lorem ipsum - example).

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: QuickInstall 1.1.8-RC2

Post by tumba25 » Sat Dec 29, 2012 5:44 pm

leschek wrote:(or localized lorem ipsum - example)
How do you translate a string that don't mean anything?

Anyhow this might be something for a future release, I'll add a note in my TODO file.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: QuickInstall 1.1.8-RC2

Post by leschek » Sat Dec 29, 2012 9:12 pm

Well I can imagine field where you can paste some text you want to see in posts (if you leave the field empty QI will use default lorem ipsum). It can be lorem ipsum or anything else. Different languages have different look, alphabets etc.

If you will follow the link I sent in my previous post you can choose on that page Hindi, Arabian etc. lorem ipsum. I cannot to read it, but it feels like real text in those languages.

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: QuickInstall 1.1.8-RC2

Post by tumba25 » Tue Jan 01, 2013 2:11 am

And released. Unstickifying.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

Locked

Return to “[3.0.x] MOD Writers Discussion”