• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
substantially speed up /admin/site-map/ on postgres (and probably oracle but I did not test it)

    • -17
    • +17
    ./www/admin/site-map/index-postgresql.xql
Move over the bandaid patch for bug #1144 from the 5.0 branch. This needs

to be fixed for real (including datamodel changes with upgrade scripts) in

5.1.

  1. … 2 more files in changeset.
Forgot to add this earlier...

file make-member.xql was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/members/make-member.xql
An additional whacka-hack bandaid patch for relseg usage to cover up the

fact that they won't really be fixed properly 'til 5.1.

Did a bandaid patch for bug number 1144. The views were fixed earlier but

the new pages in acs-subsite assumed that a user could only belong to one

relseg at a time.

fix a few more missing rdbms stanzas

  1. … 10 more files in changeset.
Removing unused postgresql xql file and taking user_contributions out of

the community-member.tcl properties.

    • -15
    • +0
    ./www/shared/community-member-postgresql.xql
fix calls to ad_return_complaint

  1. … 22 more files in changeset.
fixing typo: query group::member_p.user_is_member was missing the group:: prefix in its name

fix invalid markup patch 336 Randy O'Meara

Simplified make-admin and make-member pages, now that we have a better group::add_member that knows to delete existing relations

Another partial fix for #1144: join on rel_id, too, so when a user has two rows in cc_users he only shows up twice, not four times (cartesian product of all the relations)

Fix for #1144: duplicate rows in cc_users. group::add_member will now delete any memberhip_rel or child thereof before inserting the new relation. It didn't before, and this could cause a user to have both a membership_rel and an admin_rel relation to the registered_users group.

Accidentally dropped the link to the subsite

adding a test case that exposes bug 1144

trim the node_name

bugfix #1117: paginated the list

file perm-user-add-include.xql was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/permissions/perm-user-add-include.xql
Use DB queries instead of cached site-map: More efficient with permission checking

Changed naming of 'Community' to 'Subsite', following consensus on a recent thread on the forums on that topic. Removed distinction between children of subsites and children of the main site, since 'Subsubsites' wouldn't sound that great.

    • -12
    • +9
    ./catalog/acs-subsite.en_US.ISO-8859-1.xml
#1223 noquote fix

    • -1
    • +1
    ./www/admin/groups/elements-display.adp
Addresses bug 1148, bug 1149 (and performance problems generally with plpgsql functions).

eliminate with(isstrict,iscachable) in favor of the new syntax strict, immutable, stable.

bump version of acs-kernel, acs-content-repository to 5.0.0b4, upgrade scripts provided.

Fix bugs with the following plpgsql procs:

acs_object__initialize_attributes: raise exception on null input.

acs_object__set_attribute: exception on null input

acs_object_util__get_object_type: remove the exception after the return statement

apm__unregister_package: properly default cascade_p

apm__unregister_service: properly default cascade_p

content_item.get_parent_folder: infinite loop on input if not a direct descendent of a folder (fixed on oracle too)

content_item__get_context: exception on null input, fix bug in exception print (wrong variable name)

content_item__is_publishable: returned t on null and invalid items

content_item__is_subclass: did not short curcuit loop when subclass found

content_item__move: would silently ignore null target_id

content_revision__copy_attributes: generate an exception on null input

content_revision__export_xml: generate exception if called (unimplemented in postgres)

content_symlink__copy: generate exception if called (unimplemented)

apm_package__parent_id: returned -1 on not found rather than null

content_folder__is_registered: no default provided in code for include_subtypes

content_keyword__is_assigned: no default for recurse...

content_revision__import_xml: generate exception if called (unimplemented in postgres)

content_revision__index_attributes: generate exception if called (unimplemented in postgres)

content_type__trigger_insert_statement: now generates exception on null input (was silent failure)

number_src: infinite loop on null input

rule_exists: fix case folded lookup

Declare the following stable:

get_func_definition get_func_header acs_message__name

acs_object_type_insert_tr acs_message__message_p

acs_object_type__pretty_name acs_message__first_ancestor

acs_object_type__is_subtype_p acs_objects_get_tree_sortkey

acs_object__name acs_object__default_name

acs_object__get_attribute_storage acs_object__get_attribute

acs_object__check_path acs_mail_link__link_p

acs_object_util__object_type_exist_p acs_object_util__get_object_type

acs_object_util__type_ancestor_type_p

acs_object_util__object_ancestor_type_p acs_object_util__object_type_p

acs_rel_type__role_pretty_name acs_rel_type__role_pretty_plural

party__email person__name person__first_names person__last_name

application_group__group_id_from_package_id

acs_user__receives_alerts_p group_contains_p

acs_message_get_tree_sortkey acs_mail_body__body_p

acs_permission__permission_p acs_mail_multipart__multipart_p

content_keyword__get_heading acs_group__name acs_group__member_p

rel_segment__get rel_segment__name rel_constraint__get_constraint_id

rel_constraint__violation rel_constraint__violation_if_removed

content_keyword__get_description site_node_get_tree_sortkey

timezone__convert_to_local timezone__get_offset

timezone__get_rawoffset timezone__get_abbrev timezone__get_date

timezone__isdst_p rdbms_date apm__register_p timezone__get_id

doc__get_proc_header apm__parameter_p apm__id_for_name apm__get_value

apm__get_value apm_package__initial_install_p apm_package__singleton_p

apm_package__num_instances apm_package__name

apm_package__highest_version apm_package__parent_id

apm_package_type__num_parameters content_keyword__is_leaf

acs_sc_msg_type__get_id acs_sc_msg_type__get_name

acs_sc_contract__get_id acs_sc_contract__get_name

acs_sc_operation__get_id acs_sc_impl__get_id acs_sc_impl__get_name

acs_sc_binding__exists_p cr_items_get_tree_sortkey

content_keyword__is_assigned content_keyword__get_path

content_template__is_template cr_keywords_get_tree_sortkey

content_template__get_path table_exists column_exists trigger_exists

trigger_func_exists rule_exists content_folder__is_registered

content_folder__get_label content_folder__get_index_page

content_type__get_template content_type__trigger_insert_statement

content_type__is_content_type content_item__get_root_folder

content_item__is_published content_item__is_publishable

content_item__is_valid_child content_item__get_id

content_item__get_template content_item__get_content_type

content_item__get_live_revision content_item__get_revision_count

content_item__get_context content_item__get_latest_revision

content_item__get_best_revision content_item__get_title

content_item__get_title content_item__get_publish_date

content_item__is_subclass content_item__is_index_page

content_item__get_parent_folder content_revision__get_number

content_revision__revision_name content_revision__is_latest

content_revision__get_content content_symlink__is_symlink

content_symlink__resolve_content_type content_extlink__is_extlink

content_folder__is_folder content_folder__is_empty

file_storage__get_root_folder file_storage__get_package_id

forums_message__root_message_id content_symlink__resolve

  1. … 42 more files in changeset.
fix for bug 1185 Subsites can only be mounted directly under subsites patch by Barry Books

remove a rel constriant violation check that can never fire

Fixed bug #906: trim email (and username)

  1. … 1 more file in changeset.
Fixed bug #1136: Do not offer sort by role, since we can't sort by localized role, anyway. Also flushes the page cache every time, even though that makes the page unbearably slow to use with pagination, but that'll have to wait until we get better pagination into list builder

changed query reference member_p to group::member_p

Added a url element validation filter for form elements. Check for valid URLs when creating a new subsite. Fixes Bug #1000.

  1. … 1 more file in changeset.
quick fix to bug 1089, uploading a file does not work