subsite-procs-postgresql.xql

  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added elements subsite_node_id, subsite_url, vhost_subsite_url and vhost_package_url to allow includes and master templates to vhost aware server relative urls.

Added subsite::get_url to allow functions to generate vhost aware absolute urls.

  1. … 5 more files in changeset.
Added API to get list of available applications

  1. … 2 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
1. Peter's APM changes broke subsite mounting because the old post

instantiate routine wasn't really called until after the site node for

the subsite was mounted. No problem - I changed it to be an after-mount

callback instead (which was the idea all along)

2. Earlier changes made by me broke the adding of users by an admin, because

the main subsite no longer has a group defined by default separate from

registered users. The registered users group *is* the main subsite

membership group. Had to add a special check for this case.

3. Removed the naughty composition rel added by application_group::new. This

caused subsites to have undesirable side-effects (add admin to subsite and

the user magically became an admin of the supersite, if you defined an

admin_rel and adminstrator relational segment in each)

  1. … 9 more files in changeset.

Switched tree-based queries to a tree-using form, which will greatly enhance

scalability...

  1. … 26 more files in changeset.
Port query

fixed query names in subsite-procs

  1. … 2 more files in changeset.
Port queries/query extractor output

  1. … 180 more files in changeset.
A small contribution to port it

    • -0
    • +39
    ./subsite-procs-postgresql.xql
  1. … 33 more files in changeset.