Log of /contributions/modules/domain/API.php
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.50 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 1 16:30:55 2009 UTC
(3 weeks, 5 days ago)
by
agentken
Branch:
MAIN
Changes since
1.49: +41 -1 lines
Diff to
previous 1.49
-- #615258. Cleans up the API for domain source handling. Introduces the new hooks:
-- hook_domain_source_alter(&$source, $nid)
-- hook_domain_source_path_alter(&$source, $path)
And also the new lookup functions for finding the best links:
-- domain_get_node_match($nid)
-- domain_get_path_match($path)
Revision
1.23.2.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 31 18:26:43 2009 UTC
(5 months, 4 weeks ago)
by
agentken
Branch:
DRUPAL-5
CVS Tags:
DRUPAL-5--1-10,
DRUPAL-5--1-11,
DRUPAL-5--1-12,
DRUPAL-5--1-13,
DRUPAL-5--1-14
Changes since
1.23.2.10: +3 -3 lines
Diff to
previous 1.23.2.10
, to
branch point 1.23
, to
next main 1.51
function domain_url_rewrite_outbound(&$path, &$query, &$fragment, &$absolute, &$base_url, $original_path) {
Revision
1.45 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 21 23:11:12 2009 UTC
(9 months ago)
by
agentken
Branch:
MAIN
Changes since
1.44: +3 -1 lines
Diff to
previous 1.44
-- #26607. Allows each domain to specify a default language.
-- Cleans up some more E_ALL notices.
-- Fixes a logic error in domain_get_uri() that discarded language prefixes.
-- Adds a small API change to hook_domainbatch().
Revision
1.40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 10 20:19:27 2008 UTC
(13 months, 2 weeks ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-6--2-0-RC4
Changes since
1.39: +3 -3 lines
Diff to
previous 1.39
-- #319542 by batigolix. Updates install instructions.
-- Standardizes documentation use of the term domain instead of subdomain.
-- Makes most include_once and require_once calls simple include statements.
Revision
1.38 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 3 15:47:55 2008 UTC
(13 months, 3 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.37: +30 -8 lines
Diff to
previous 1.37
-- Updates domain.bootstrap.inc for code style.
-- Cleans up hook_domain_bootstrap_full() implementations.
-- Updates API docs.
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 23 15:12:30 2008 UTC
(14 months ago)
by
agentken
Branch:
MAIN
Changes since
1.36: +49 -1 lines
Diff to
previous 1.36
-- #276303 patch by bforchhammer. Commits the Domain Bootstrap patch for testing.
-- #284422 patch by bforchhammer. Commits the Domain Alias module for testing.
-- Updates INSTALL instruvtions but not the README.
-- WARNING -- HEAD is now unstable.
Revision
1.35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jul 6 21:16:39 2008 UTC
(16 months, 3 weeks ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-6--1-0-RC4
Changes since
1.34: +2 -11 lines
Diff to
previous 1.34
-- Coder style cleanup.
-- E_ALL Strict compliance.
-- Fixes logic error in implementation of url rewrites for Domain Source.
-- Removed the $domain argument from hook_domainconf().
-- Batch operations changes for E_ALL.
-- Removes legacy xcoord, ycoord from domain_conf_system().
-- Removes serialize|unserialize from variable_set|get.
-- Adds hook_node_access_explain() for Devel module.
-- Removes domain_user_boot() -- not needed.
-- #271340 typo on user page.
-- Fixes domain_user view changes for D6.
-- FormsAPI fixes for batch processing in D6.
-- #268779 allows the setting of default domains for URL rewrites.
-- #246497 by scedwar. Adds empty domain gid for use with Domain Views.
-- Created 6.x.1.0rc4
Revision
1.34 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jul 5 15:56:46 2008 UTC
(16 months, 3 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.33: +14 -2 lines
Diff to
previous 1.33
-- Moving domain_init() to domain_boot() broke hook_domainload(). So
we have to keep domaion_init(). We also have to implement hook_boot()
in modules that use hook_domainload(). See the API for details.
-- Fixes issue with Domain User. We do strip the ports off of restricted usernames.
-- #277046 by hardfocus. Implements a new hook_domainignore() to tell the
module not to apply hook_form_alter() in some cases. Notably update.php.
Revision
1.33 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jun 8 15:32:48 2008 UTC
(17 months, 2 weeks ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-6--1-0-RC3
Changes since
1.32: +5 -1 lines
Diff to
previous 1.32
-- #266166 patch by grndlvl. hook_domaincron() now provides table prefix and settings loading.
For users who were performing cron actions across multiple domain or using hook_domaincron(),
you will need to pay attention to potential changes in behavior.
Revision
1.23.2.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jun 8 15:24:58 2008 UTC
(17 months, 2 weeks ago)
by
agentken
Branch:
DRUPAL-5
Changes since
1.23.2.6: +5 -1 lines
Diff to
previous 1.23.2.6
, to
branch point 1.23
-- #266166 patch by grndlvl. hook_domaincron() now provides table prefix and settings loading.
For users who were performing cron actions across multiple domain or using hook_domaincron(),
you will need to pay attention to potential changes in behavior.
Revision
1.30 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Mar 30 17:51:46 2008 UTC
(19 months, 4 weeks ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-6--1-0-BETA1,
DRUPAL-6--1-0-BETA2
Changes since
1.29: +62 -130 lines
Diff to
previous 1.29
-- First full port to Drupal 6.
-- #785216 by ax. Cleans up API documentation according to http://drupal.org/node/1354#contrib.
-- Changes hook_domainload() to properly work by reference.
-- Replaces _ with . in file include names, in accord with Drupal 6 standards.
-- Splits admin functions to .admin.inc files, in accord with Drupal 6 standards.
-- Renames _domain_write_records() to avoid confusion with drupal_write_record.
-- Renames domain_theme_form.inc to domain_theme.admin.inc.
-- Adds the INSTALL_QUICKSTART.txt file.
Revision
1.29 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 26 01:53:46 2008 UTC
(20 months ago)
by
agentken
Branch:
MAIN
Changes since
1.28: +23 -2 lines
Diff to
previous 1.28
Cleans up menu handling for batch actions.
-- Corrects behaviors associated with hook_domainconf().
-- Updates README.txt for Domain, Domain Prefix and Domain Conf.
-- Fixes error in domain_nav_render().
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 17 01:35:28 2008 UTC
(20 months, 1 week ago)
by
agentken
Branch:
MAIN
Changes since
1.27: +87 -89 lines
Diff to
previous 1.27
Fixes error in new logic for domain_conf_form_submit().
-- Adds the ability to delete Domain Conf settings per domain.
-- Adds the ability to delete Domain Theme settings per domain.
-- Adds hook_domainbatch(), for performing batch actions.
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 15 18:59:29 2008 UTC
(20 months, 2 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.26: +5 -2 lines
Diff to
previous 1.26
Clarifies API for hook_domainupdate().
-- #228813. Generates access rules more often and accurately when
using Domain User.
-- Adds $reset flags to domain_domains(), domain_default()
Revision
1.23.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 12 01:30:12 2008 UTC
(20 months, 2 weeks ago)
by
agentken
Branch:
DRUPAL-5
Changes since
1.23: +10 -5 lines
Diff to
previous 1.23
#203776 by MatBoy. Updates documentation of Domain User.
-- #224079 by GearedDesign. Documents that Drupal must be installed
before adding any of the Domain includes to settings.php.
-- #221012. Adds Doxygen for Doamin Source to the API.
Revision
1.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 12 01:23:17 2008 UTC
(20 months, 2 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.24: +10 -5 lines
Diff to
previous 1.24
#203776 by MatBoy. Updates documentation of Domain User.
-- #224079 by GearedDesign. Documents that Drupal must be installed
before adding any of the Domain includes to settings.php.
-- #221012. Adds Doxygen for Doamin Source to the API.
Revision
1.24 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 13 20:13:45 2008 UTC
(21 months, 2 weeks ago)
by
ax
Branch:
MAIN
Changes since
1.23: +6 -11 lines
Diff to
previous 1.23
Doxygen comments: don't use @mainpage (this is reserved for an index page for *all* contrib modules), but @defgroup/@ingroup grouping.
Revision
1.23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 2 21:54:52 2008 UTC
(21 months, 3 weeks ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0
Branch point for:
DRUPAL-5
Changes since
1.22: +95 -2 lines
Diff to
previous 1.22
#210248. Backports custom_url_rewrite_outbound() to Drupal 5.
This patch replaces the hook_url_alter() patch, bringing the Domain
module in line with Drupal 6 core. See #207330.
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 20 19:25:35 2008 UTC
(22 months, 1 week ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0rc4
Changes since
1.21: +29 -1 lines
Diff to
previous 1.21
#211374 by v1nce. Allows the Domain Theme module weight to be
reset from the settings page. Necessary for integration with some
modules.
-- Adds hook_domainform() to allow submodules to add elements to the
default Domain settings page. Use this hook sparingly.
-- Creates rc4.
Revision
1.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Dec 22 02:01:49 2007 UTC
(23 months, 1 week ago)
by
agentken
Branch:
MAIN
Changes since
1.18: +52 -2 lines
Diff to
previous 1.18
Adds hook_domainconf() to Domain Conf; inspired by #202917 and #202671.
-- #202286 by mrichar1. Improves the documentation for Domain Views.
-- #202714 by derjochenmeyer. The Domain Content form accidentally acted
on nid == 0 and created errors in the {node_access} table.
-- #202392 by derjochenmeyer. str_ireplace() is PHP 5 only. We also need to
strtolower() the incoming url host. Fix applies to Domain Conf and Domain Prefix
as well.
-- Adds hook_domainwarnings() to Domain Conf to print form messages only
for select forms.
Revision
1.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 10 22:33:25 2007 UTC
(23 months, 2 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.16: +11 -6 lines
Diff to
previous 1.16
Accidentally committed the module with the default rules reversed.
-- Changes default admin menu item string to --Domains-- to match
the other items in admin/build.
-- Fixes pgSQL install errors in Domain Prefix and Domain User.
-- Adds user_access checks to hook_domainlinks implementations.
-- pgSQL table copying and creating work in Domain Prefix. However, the
table Sequences and Indexes are not being copied and require more work
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 10 18:19:38 2007 UTC
(23 months, 2 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.15: +20 -5 lines
Diff to
previous 1.15
Moves secondary domain CRUD functions from domain_admin to hook implementations. This
allows other modules to call these functions directly without using drupal_execute().
-- First stable domain_user module.
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 6 23:11:52 2007 UTC
(23 months, 3 weeks ago)
by
agentken
Branch:
MAIN
Changes since
1.14: +38 -1 lines
Diff to
previous 1.14
Allows all *_lookup functions to clear their static variables.
-- Changes domain_perfix_perm from -prefix tables- to -administer table prefixing-.
-- Adds domain_user perm -create personal domain-.
-- Adds hook_domaininfo().
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 27 00:37:19 2007 UTC
(2 years ago)
by
agentken
Branch:
MAIN
Changes since
1.13: +18 -2 lines
Diff to
previous 1.13
Prevents the Domain Access option from showing on the default batch content editing page.
domain_content_node_operations() is now path resitricted.
-- #195366 by nicholasThompson. Adds an option to force all node links to go to a single
source. This may help prevent search engines from thinking that content published to
multiple domains is spam.
-- #195439 by skizzo. A rendering bug in Garland breaks the Domain Nav block. Fix adds
a very small domain_nav.css file to fix the issue.
-- #195489 by mrichar1. Notify site admins when they fail to install Domain Prefix or Domain
Conf correctly. Introduces hook_domaininstall().
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 25 22:37:28 2007 UTC
(2 years ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0beta7
Changes since
1.12: +3 -2 lines
Diff to
previous 1.12
#189797 by moshub. Allows the admin to decide if content searches should be run
across all affiliates or just the currently active domain.
-- Allows administrators to change domain access settings as a batch process, using
the Domain Content module.
-- Fixed error in domain_user_domainload() -- this hook is not passed by reference.
-- Creates the beta7 release.
-- Requires that update.php be run.
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 21 19:35:03 2007 UTC
(2 years ago)
by
agentken
Branch:
MAIN
Changes since
1.11: +2 -2 lines
Diff to
previous 1.11
-- Fixes logical error in domain_content.
-- Changes implementation of hook_node_access_grants() to work with OG.
-- Adds patches folder.
-- Includes hook_node_access_logic() patch.
-- Fixes error where module hooks did not pass by reference correctly.
-- #192849 by canen. pgsql in domain_prefix_install() calls wrong table.
-- #191456 by derjochenmeyer. Removes filter_xss_admin() from hook_init. Breaks caching and is not needed.
-- #191494 by lpirotte. Domain Prefix does not work when a global $db_prefix is used.
-- $gid not set properly in domain_nodeapi().
-- #191570. Removes the domain_enabling() function, which caused issues when installing other node access modules.
-- Adds a VALID boolean element to the $_domain array to allow for checking user status with
the Domain User module.
-- #191134 inspired by derjochenmeyer . Filters content for Domain Content so that superusers
do not see all content on all domains.
-- #189797. hook_url_alter() patch to the url() function to enable absolute path links when needed by the
Domain Access module -- required for Search, MySite, and other aggregating functions.
-- #191368. Prevent debugging output from being indexed by the search mechanism.
Revision
1.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 28 17:03:40 2007 UTC
(2 years, 1 month ago)
by
agentken
Branch:
MAIN
Changes since
1.8: +31 -1 lines
Diff to
previous 1.8
Adds hook_domainload() to allow submodules to modify the $domain array.
-- Adds domain_goto($domain). This function allows developers to pop users to the
correct domain. Useful when editors must be on their specific domain to edit content.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 27 00:23:04 2007 UTC
(2 years, 1 month ago)
by
agentken
Branch:
MAIN
Changes since
1.7: +28 -4 lines
Diff to
previous 1.7
#186935. The site_grant element of the domain array was not being set by domain_domains().
-- #186624. domain_form_alter() breaks CCK field management.
-- Adds hook_domaincron().
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 24 01:08:12 2007 UTC
(2 years, 1 month ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0beta3
Changes since
1.6: +61 -7 lines
Diff to
previous 1.6
#184993. Fixes menu order for domain_content.module.
-- Changes help text to indicate full path.example.com should be used.
-- Adds hook_domaingrants() to allow submodules to alter default node grants.
-- Adds hook_domainrecords() to allow submodules to alter default node access records.
-- Renames hook_domainrecord() to hook_domainupdate().
-- Adds column *scheme* to the {domain} table. Warning: no database update provided.
-- Now allows the configuration of different URL schemes (http, https) for each domain.
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 10 00:39:34 2007 UTC
(2 years, 1 month ago)
by
agentken
Branch:
MAIN
Changes since
1.4: +64 -3 lines
Diff to
previous 1.4
Adds the Domain Nav module, which generates a block of navigation links.
-- Adds the Domain Content module, for batch editing domain-specific content.
-- Adds several new helper functions.
-- Corrects use of variable_del() to reset variables during the domain_disable() function.
-- Changes domain_list() to domain_view().
-- Cleans up documentation style and defgroups.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 5 22:56:01 2007 UTC
(2 years, 1 month ago)
by
agentken
Branch:
MAIN
Changes since
1.1: +33 -4 lines
Diff to
previous 1.1
Cleans up README errors.
-- Introduces internal hooks for settings links -- hook_domainlinks(), to be used by submodules to
add links to admin/build/domain/list.
-- Moves the domain access element of the user form into a fieldset.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 1 23:11:16 2007 UTC
(2 years, 1 month ago)
by
agentken
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0beta
Initial commit of the Domain Manager module. This module provides a lightwieght set of tools for
creating and managing a network of affiliates sites. The sites run on subdomains of a master domain.
A single Drupal installation and database are required. The module uses hook_node_access() to determine
how content should be presented. Originally developed for www.skirt.com, the module was introduces
at DrupalCON Barcelona.
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.