Log of /contributions/modules/hosting/hosting.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.122 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 23 11:42:18 2009 UTC
(4 weeks, 6 days ago)
by
mig5
Branch:
MAIN
Changes since
1.121: +7 -6 lines
Diff to
previous 1.121
fix to handle items and ticks separately (cron queue, where ticks don't occur). move drupal_set_message out of the foreach loop in hook_submit to avoid repetitive feedback
Revision
1.121 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 23 11:33:53 2009 UTC
(4 weeks, 6 days ago)
by
mig5
Branch:
MAIN
Changes since
1.120: +19 -1 lines
Diff to
previous 1.120
sanity checks on the frequency items and ticks in the Queues admin areas, don't accept non-numeric characters
Revision
1.118 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 20 16:33:23 2009 UTC
(5 weeks, 1 day ago)
by
adrian
Branch:
MAIN
Changes since
1.117: +1 -5 lines
Diff to
previous 1.117
Some UI fixes. an incorrect permission check on the run button. log was relabeled view and run was relabeled queue
Revision
1.110 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 13 14:29:27 2009 UTC
(2 months, 1 week ago)
by
anarcat
Branch:
MAIN
CVS Tags:
DRUPAL-6--0-4-ALPHA1
Changes since
1.109: +3 -3 lines
Diff to
previous 1.109
api change: more parameters to domain validation
instead of just passing nid and port, we now pass an array of
parameters, which will usually be a array version of the node object.
hooks can now validate against a client and such.
now we are certain that client A cannot create a site on a different
port than client B for the same domain (but client A can)
see #570980
Revision
1.109 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 13 13:46:32 2009 UTC
(2 months, 1 week ago)
by
anarcat
Branch:
MAIN
Changes since
1.108: +15 -1 lines
Diff to
previous 1.108
API change: ditch the confusing hosting_site_exists() in favor of a more generic and consistent hosting_domain_allowed() that also calls the hook_allow_domain, which should *all* return true for the site to be allowed
Revision
1.103 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 26 16:26:29 2009 UTC
(6 months ago)
by
adrian
Branch:
MAIN
Changes since
1.102: +3 -3 lines
Diff to
previous 1.102
#319277 - this probably breaks d5 support now, but this is the first step towards a d6 port. Deadwood now ports to d6 without any php errors
Revision
1.100 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 4 15:56:11 2009 UTC
(6 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.99: +1 -66 lines
Diff to
previous 1.99
Added a --debug to switch between post and get in the hosting task. Removed some cruft from hosting.module and fixed the broken hosting clients block, which was causing weird non existent blocks to show up in the block listing
Revision
1.98 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Apr 16 23:59:50 2009 UTC
(7 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.97: +28 -1 lines
Diff to
previous 1.97
Fix some minor site status issues, accidental triggering of verify tasks and add in pages for site disabled and site maintained redirects
Revision
1.96 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 1 13:25:44 2009 UTC
(7 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.95: +2 -7 lines
Diff to
previous 1.95
Several changes relating to queue handling (all tasks are executed in their own process using the new drush_backend_fork(). Fixed the fracas was task vs task_queue statuses. needs HEAD of drush fr that function. Fix a small bug in the edit queue frequence setting page where number of items per execution got wiped out.
Revision
1.94 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 28 16:08:08 2009 UTC
(7 months, 4 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.93: +1 -4 lines
Diff to
previous 1.93
#416550 - Denormalize packages and package releaseses. Import of complete package structure of site. REQUIRES a run of update.php
Revision
1.88 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 17 15:46:42 2009 UTC
(9 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.87: +109 -25 lines
Diff to
previous 1.87
First commit towards 0.2 front end.
1. Added the drush_path to the web server node type. Also added hook_update for it.
2. Changed command line generation to point at the drush path.
3. Added the code needed to call remote sites. Hosting can now manage sites on multiple server. (this is working, but not fully tested and will remain an experimental feature until 0.3).
4. Started excising provision from hosting. This is not completely done yet.
It is important to note that NEW INSTALLS with hostmaster are completely broken, you need to install 0.1 completely, and then replace hosting with this checkout, physically remove the drush, provision and cvs_deploy modules from the hostmaster directory, and then run update.php
You will need to then remove the symlink to drush.php in the root directory, and configure the drush_path to the drush 2.x drush.php location. Provision 0.2 will need to be installed in ~/.drush
HEAD might be broken after this, but it's a start towards 0.2
Revision
1.85 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 2 22:32:11 2008 UTC
(11 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.84: +11 -1 lines
Diff to
previous 1.84
Move the provision help to hosting, severely reducing code duplication and simplifying provision even further
Revision
1.84 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 18 15:50:52 2008 UTC
(12 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.83: +2 -86 lines
Diff to
previous 1.83
Hosting features now finds and installs modules that have features. Also made the features screen earlier in the config and made it cleaner
Revision
1.78 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 6 21:20:54 2008 UTC
(12 months, 2 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.77: +91 -10 lines
Diff to
previous 1.77
Create admin/hosting menu item and move all the additional configuration pages as children of that page. Move the hosting features page into the admin section. Also has the beginnning of a routine that
finds features in modules which havent been enabled yet.
Revision
1.71 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 23:18:07 2008 UTC
(12 months, 4 weeks ago)
by
anarcat
Branch:
MAIN
Changes since
1.70: +7 -4 lines
Diff to
previous 1.70
reactivate the platform/db/webserver block listing, since we now have
more than one of those potentially
See: #319390
Revision
1.67 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 17 00:16:50 2008 UTC
(13 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.66: +19 -30 lines
Diff to
previous 1.66
#321944 - cleaned up hosting_setup command to use the provision_setup command as base, with extra hosting things after
Revision
1.63 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 8 03:19:37 2008 UTC
(13 months, 2 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.62: +29 -2 lines
Diff to
previous 1.62
Remove dependency on views completely. Custom profiles that included views were dying because views was already included in the hosting site. This also reduced the amount of code we have to maintain for this release, at the expense of very few features (views support wasnt really usable up to now).
Revision
1.56 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 27 07:47:45 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.55: +20 -1 lines
Diff to
previous 1.55
Added some hook_access implementations to hide important info, for now. These are not nearly granular enough yet
Revision
1.55 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 27 05:12:10 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.54: +33 -7 lines
Diff to
previous 1.54
Made the hosting setup command responsible for a few more things, no actually runs dispatch itself to make sure it's working, before creating the cron entry. Lowered the frequency on the tasks queue to make wizard quicker. Cleaned up the hosting task log screen, so that usable output is gotten when drupal just returns a database connection error or similar
Revision
1.54 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jun 23 22:31:49 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.53: +43 -0 lines
Diff to
previous 1.53
Add a hosting setup drush command which configures the cron entry for the dispatcher. Needed to finish the wizard properly for release
Revision
1.53 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 21 17:12:52 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.52: +8 -10 lines
Diff to
previous 1.52
Completely rewrote hosting.wizard.inc.
Started out as integrating documentation more cleanly, but the next thing I realized i had
come across a very clean and simple recipe for a wizard using only hook_menu and formsapi.
Split up requirements documentation in previous commits to allow for re-use in the new wizard,
and write a large amount of documentation additionally.
New wizard inherits a lot of the existing forms as well, and has additional validation. Changes
are mostly contained in hosting.wizard.inc ( apart from a couple of small changes in hosting.module
and a new css file)
New form is functionaly in line with the previous one, but is a whole lot cleaner. Has a few more extra pages, including some place holders that need to be properly finished before a release.
Revision
1.52 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 20 21:33:11 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.51: +1 -1 lines
Diff to
previous 1.51
Changed how dates are displayed in most views, and wrote a small handler to show the offset between when a task was created and when it was completed
Revision
1.51 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 20 16:07:20 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.50: +45 -298 lines
Diff to
previous 1.50
Centralized all command generation in hosting, making sure everything is run through escapeshellcmd and escapeshellarg.
Introduces hosting dispatch and hosting_queues hook, which allows you to create new queues that will be managed by hosting, by defining a hook
and a simple function.
Updated hosting_stats and hosting_cron to be (more) current, and implement the queue api.
Incomplete queue configuration form, that allows you to set the frequency that events occur at. Supports configuration of both batch and serial queues.
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 3 18:01:59 2008 UTC
(17 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.46: +1 -0 lines
Diff to
previous 1.46
Fix issue with a problem initializing the site_status field. 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.
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 3 01:57:16 2008 UTC
(17 months, 3 weeks ago)
by
adrian
Branch:
MAIN
CVS Tags:
DRUPAL-5--0-1-ALPHA1
Changes since
1.45: +29 -3 lines
Diff to
previous 1.45
Fix the package instance import code. Finish site import code, including a bevy of crud functions for easily finding the right nodes to relate various site properties to. Provide defines for commonly used variables such as HOSTING_OWN_WEB_SERVER and the like
Revision
1.42 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 29 22:58:44 2008 UTC
(17 months, 4 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.41: +14 -28 lines
Diff to
previous 1.41
enable / disable fully working. removed node/add/action and turned it into a series of local tasks attaching to nodes, additionally fixed and extended the logic for available tasks to ensure that you are not able to disable sites that are already in the process of being disabled etc. Clean up action parameters.
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 18 21:53:33 2008 UTC
(19 months, 1 week ago)
by
anarcat
Branch:
MAIN
Changes since
1.36: +3 -2 lines
Diff to
previous 1.36
more action debugging: unserialize exec output properly (join instead of split). add much more information to action error log to ease debugging
Revision
1.33 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 26 04:14:01 2008 UTC
(20 months ago)
by
adrian
Branch:
MAIN
Changes since
1.32: +41 -9 lines
Diff to
previous 1.32
Implement views integration for packages and releases. Fix embedded views by adding arguments for many of the major reference fields. Remove some testing code that made actions not complete. change the help documentation to show the rename of hosting process to hosting actions.
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Mar 25 04:17:36 2008 UTC
(20 months ago)
by
adrian
Branch:
MAIN
Changes since
1.31: +106 -10 lines
Diff to
previous 1.31
The verify step now returns information on all the the installed modules and profiles on the platform, and generates package and package release nodes for them, as well as populates a junction table relating modules to platforms. with some views integration, you will be able to see which sites have which modules installed, etc
Revision
1.31 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 21 17:31:59 2008 UTC
(20 months ago)
by
adrian
Branch:
MAIN
Changes since
1.30: +48 -21 lines
Diff to
previous 1.30
Add tracking of backups that have been generated. First steps toward rollback functionality. Added lots of comments. Start work on dispatcher call for process management, so you have one (configurable) cron call that will run all the other queues for you.
Revision
1.24 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 14 20:43:52 2008 UTC
(20 months, 1 week ago)
by
anarcat
Branch:
MAIN
Changes since
1.23: +0 -20 lines
Diff to
previous 1.23
fix commit brainfart: don't redeclare the functions in hosting.module but update them in hosting_site.inc
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 3 12:28:23 2008 UTC
(20 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.20: +15 -5 lines
Diff to
previous 1.20
trying to fix 225585. hosting.crud is not required in this checkout of the code (and should not have been in the previous commit either, unless i missed something)
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 26 04:07:12 2008 UTC
(21 months ago)
by
adrian
Branch:
MAIN
Changes since
1.19: +14 -1 lines
Diff to
previous 1.19
remove nodequeue, token, install_profile api dependencies and fix drush_option call. still not calling backend correctly
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 26 01:27:31 2008 UTC
(21 months ago)
by
adrian
Branch:
MAIN
Changes since
1.15: +91 -11 lines
Diff to
previous 1.15
almost complete switch to drupal node types. start of configuration wizard. cleaned up admin section. some small documentation changes. backend integratiion is still untested. still need to add views argument support for fields (most important being on action rid relationship, so the actions_embed view works)
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 12 03:24:50 2008 UTC
(21 months, 2 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.13: +129 -135 lines
Diff to
previous 1.13
This is an in between commit. It probably doesn't even run. I am committing now because I never want to have to do this change again , ever. I have completely removed the dependency on all cck modules, and am about 3/4 of the way in porting all the node types and behaviours from cck + weird helper functions to standard module defined node types, which has simplified the code immensely.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 11 16:52:39 2008 UTC
(21 months, 2 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.12: +250 -544 lines
Diff to
previous 1.12
In progress commit. Remove dependency on date module. Lots of help additions. Added verify step so the back end (mostly) configures itself
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 23 03:11:08 2008 UTC
(22 months ago)
by
adrian
Branch:
MAIN
Changes since
1.11: +120 -107 lines
Diff to
previous 1.11
linked up the provision configuration with the default nodes created, so they keep in synch when you modify either of them. there are a whole bunch of fields that dont match yet. i also updated the documentation
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 20 20:27:27 2008 UTC
(22 months ago)
by
adrian
Branch:
MAIN
Changes since
1.10: +67 -33 lines
Diff to
previous 1.10
modified the data structure to introduce the concept of platforms, updated documentation, throw error when drush command doesnt return a serialized array, fixed some other things here and there
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 19 20:28:41 2008 UTC
(22 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.9: +16 -5 lines
Diff to
previous 1.9
Fairly complete introductionary documentation, with information about requirements for the system, and links to the newly completed provision documentation page. Also finished move to cck_fullname 1.5
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 19 02:34:42 2008 UTC
(22 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.6: +24 -11 lines
Diff to
previous 1.6
fix removal from node queue, trim return value from external call to fix serialization problem, which in turn leads to fixing error codes for executed site actions and updating the view to display them
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 13 21:37:21 2008 UTC
(22 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.1: +29 -26 lines
Diff to
previous 1.1
Removed all serialized strings in install file by switching to some simple crud functions, to allow for easier debugging
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 7 16:57:43 2008 UTC
(22 months, 2 weeks ago)
by
adrian
Branch:
MAIN
initial commit of hosting module, which provides the back end functionality for the provisioning framework
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.