- Jul 10, 2008
-
-
Adrian Rossouw authored
Ensure that including settings.php from imported sites, to get their settings, to not modify the php ini_set environment
-
- Jul 09, 2008
-
-
Adrian Rossouw authored
-
Adrian Rossouw authored
#275953 - add global configuration to settings.php. Files directory is now correctly configured for each site
-
anarcat authored
grant ALL PRIVILEGES instead of just create/drop to the mysql root user as the latter is not sufficient to create mysql users. do not flush privileges as GRANT already does that.
-
anarcat authored
hint at the simpler 'adduser' command to add a user to a group instead of vigr, but keep the instructions on how to edit the group file
-
- Jul 04, 2008
- Jun 27, 2008
-
-
Adrian Rossouw authored
Fix issue with redirect failing --uri needs the http:// to work properly, it was writing the vhost file as http:///domain.com
-
Adrian Rossouw authored
-
Adrian Rossouw authored
-
Adrian Rossouw authored
I managed to never commit the provision.install file, which sets the module weights, and makes sure that restore happens in the right order. This fixes the problem I had where it would try to import the database dump before actually having extracted it. Fixed the weird chgrp error message it was having (which was just an issue in logging, not in the actual chgrp call)
-
Adrian Rossouw authored
-
Adrian Rossouw authored
Attempt to capture drupal error messages and integrate them with provision errors, to keep them in the correct order
-
Adrian Rossouw authored
Do checking to see that the tarball has been correctly extracted. Remove db password from log info returned to hosting.
-
Adrian Rossouw authored
-
Adrian Rossouw authored
Simplify verify code by creating _provision_create_dir function. Removed duplicate code from other modules. Need this in hosting_setup too.
-
- Jun 26, 2008
-
-
Adrian Rossouw authored
-
Adrian Rossouw authored
-
Adrian Rossouw authored
Significantly improved the requirement checking and contextual help. All this stuff is integrated into the wizard, and eventually will add queues from provision to hosting to flag exact errors. Introduce some simple jquery and css to handle collapsible and collapsed help text, to clean up the pages a bit
-
Adrian Rossouw authored
-
- Jun 23, 2008
-
-
Adrian Rossouw authored
-
- Jun 21, 2008
-
-
Adrian Rossouw authored
Finishing splitting up help into _requirements() functions, and fix the web_group validation to work with the new wizard forms
-
Adrian Rossouw authored
Refactor the help code a bit, by adding a _provision_requirements function, which calls _provision_$req_requirements() functions, containing the actual help text. Allows me to much more easily integrate help text into forms. Also added some weights to the db_server and web_server forms, so that they can be more easily manipulated
-
- Jun 20, 2008
-
-
anarcat authored
-
anarcat authored
-
Adrian Rossouw authored
Missing return to db create function. Added additional error checking. Become more stringent about regenerating the config files. Wrong path to database.sql
-
anarcat authored
-
Adrian Rossouw authored
Updated provision_stats module to be more recent. Hosting_stats still needs more work before statistics will work as planned
-
- Jun 19, 2008
-
-
Adrian Rossouw authored
-
Adrian Rossouw authored
#245664 - add validation to check that user is in the correct group during provision configuration. updated help text with howto on configuring the user group.
-
Adrian Rossouw authored
Added restore functionality for #237555. Implement rollback as well, if something goes wrong it rolls back to the initial system status
-
- Jun 12, 2008
-
-
Adrian Rossouw authored
More work towards restore functionality. Moved the mysql utility functions to provision_mysql.inc, and the help stuff to it's own include too. Made more constants to replace the various helper functions, still need to document them. Replaced all references to db_username with db_user, which is consistent with everywhere else in the system.
-
Adrian Rossouw authored
Fix some issues with the site.php generation, that caused catastrophic problems when the site was synched (upon editing of the site node), because the site.php had been overwritten and lost it's db settings.
-
Adrian Rossouw authored
-
Adrian Rossouw authored
It is now called provision_path, and instead of the nasty switch statement it has a small set of pluggable functions, which work similarly to theme() etc. For that reason I also ended up changing the order of the parameters to be provision_path('mkdir', 'somepath'). The functionality grew to over 200 lines of code (mostly comments), so i split it off into it's own file. I also added checks that the user is in the correct group, and it will specify it to the user if it comes to it, but I should really hook it up into the user interface and write some better documentation about it before i can close #245664. Although it seems chgrp now fails silently for me, even from the command line. Please check it out. I moved _provision_drupal_recursive_delete to provision.inc and removed the drupal from the module prefix. I also made it use the provision_path module for logging purposes, cleaning it up a bit. #262008 is now completely fixed. I've re-added the permission checking in provision_drupal.module, since it now works. It was missing a clearstatcache(), so i added these pretty liberally. Part of the fallout from this, is that each of the provision_path_ functions have an optional third parameter, which is a reference. This reference can be used to provide a reason for the operation failing. Also, mostly due to the chown function, i run the messages through t() before they get sent to logs. Meaning developers can just use @path and @confirm in their error messages, and they get the centrally prettied up variables. It's made the verify code a lot easier on the eyes. just check out provision_verify. Added redirection to a new site maintenance page, for while the site is being restored. Added a switch paths function, which flips around site directories. I'm building restore to be non-destructive, until after the site has been completely restored and verfied. #237555 I'm making a move to using more defines for various site infrastructure things. I just tackled the paths, will do the current user and current group stuff soon, bringing it back in line with hosting. It cleared up a fair amount of code just doing the paths.
-
- Jun 11, 2008
-
-
Adrian Rossouw authored
-
Adrian Rossouw authored
-
- Jun 03, 2008
-
-
Adrian Rossouw authored
Fix bug whereby servers without mysql support (and only mysqli) would not be able to install sites. Hosting now stores the db_type, and passes it to the provision backend correctly. Also added a trim to the apache template file for the file directory security fix, removing a double / that should not be in the path.
-
Adrian Rossouw authored
-
- Jun 01, 2008
-
-
Adrian Rossouw authored
-