• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

    • -7
    • +7
    ./postgresql/acs-mail-packages-create.sql
  1. … 598 more files in changeset.
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

    • -7
    • +7
    ./postgresql/acs-mail-packages-create.sql
  1. … 42 more files in changeset.
Added upgrade to upgrade to changes made for Oracle 9i support

    • -0
    • +537
    ./oracle/upgrade/upgrade-4.6.2-5.0d1.sql
  1. … 23 more files in changeset.
Oracle9i porting changes

- Changed procedure names from delete to del

- Changed view declaration to use actual column names

- Changed "rel_constraints_violated_one" and "rel_constraints_violated_two"

(http://openacs.org/forums/message-view?message_id=81045)

    • -18
    • +18
    ./oracle/acs-mail-packages-create.sql
  1. … 272 more files in changeset.
merge of 4.6.3b1 to HEAD

    • -0
    • +7
    ./oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -8
    • +7
    ./postgresql/acs-mail-packages-create.sql
    • -2
    • +2
    ./postgresql/acs-mail-queue-create.sql
  1. … 36 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

    • -7
    • +7
    ./postgresql/acs-mail-packages-create.sql
    • -2
    • +2
    ./postgresql/acs-mail-queue-create.sql
  1. … 50 more files in changeset.
index creates moved to 4.6.2 upgrade to be consistent with the oracle side

    • -6
    • +0
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
Most of the RI indexes were duplicated between the 4.6-4.6.1 and the 4.6.1-4.6.2 upgrade scripts

adds acs_mail_links_body_id_idx

    • -0
    • +1
    ./oracle/upgrade/upgrade-4.6.1-4.6.2.sql
file upgrade-4.6.1-4.6.2.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
more foreign key indexes, bumps to 4.6.2, upgrade scripts included

    • -0
    • +1
    ./oracle/upgrade/upgrade-4.6-4.6.1.sql
    • -0
    • +6
    ./oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -0
    • +6
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
  1. … 1 more file in changeset.
- changing to composite PK made PK too long. fixes bug 178

    • -1
    • +1
    ./oracle/upgrade/upgrade-4.6-4.6.1.sql
- changing to composite PK made PK too long. fixes bug 178

    • -1
    • +1
    ./oracle/upgrade/upgrade-4.6-4.6.1.sql
merge bartt PG 7.3 fixes from HEAD

    • -5
    • +5
    ./postgresql/acs-mail-packages-create.sql
    • -2
    • +2
    ./postgresql/acs-mail-queue-create.sql
  1. … 53 more files in changeset.
pk on acs_mail_queue_outgoing bug 97/patch 19 Vinod Kurup

    • -0
    • +0
    ./oracle/upgrade/upgrade-4.6-4.6.1.sql
    • -4
    • +4
    ./postgresql/acs-mail-queue-create.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
  1. … 1 more file in changeset.
fixes pk on acs_mail_queue_outgoing closes bug 97/patch 19 Vinod Kurup

    • -0
    • +21
    ./oracle/upgrade/upgrade-4.6-4.6.1.sql
    • -4
    • +4
    ./postgresql/acs-mail-queue-create.sql
    • -0
    • +21
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
  1. … 1 more file in changeset.
Patches to make OpenACS PG 7.3 compatible.

    • -5
    • +5
    ./postgresql/acs-mail-packages-create.sql
    • -2
    • +2
    ./postgresql/acs-mail-queue-create.sql
  1. … 53 more files in changeset.
merge from oacs-4-6

    • -0
    • +6
    ./postgresql/upgrade/upgrade-4.5-4.6.sql
  1. … 109 more files in changeset.
file upgrade-4.5-4.6.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./oracle/upgrade/upgrade-4.5-4.6.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-4.5-4.6.sql
  1. … 2 more files in changeset.
- Upgrade scripts for acs-content-repository, acs-events, acs-kernel, acs-mail, acs-service-contract, bookmarks, faq, file-storage, news and search

- Bumped version of above packages to 4.6

- Fixed the view/sequence hack in apm-create so that APM package edit UI works in PG 7.2

    • -0
    • +6
    ./postgresql/upgrade/upgrade-4.5-4.6.sql
  1. … 29 more files in changeset.
fix the object attributes (table, column name)

    • -2
    • +2
    ./postgresql/acs-mail-queue-create.sql
  1. … 2 more files in changeset.
fixed problem with multiple publishing roots

    • -2
    • +2
    ./postgresql/acs-mail-queue-create.sql
  1. … 2 more files in changeset.
fixed to set creation_user only if party_from is actually a user.

fixed to use the acs-kernel param OutgoingSender if party_from doesn't have an email address.

    • -9
    • +26
    ./postgresql/acs-mail-nt-create.sql
fixed incompatiblity in workflow due to changing from acs-notifications to acs-mail

  1. … 9 more files in changeset.
fixed creation_user parameter

fixed a problem where I was sending party_from as creation_user. But some packages use party_from as addresses which are not 'users' and putting those parties in as creation_user then violates the FK requirement in acs_objects->users. So, I've made the creation_user 'null' for now

1. Fixed a bug in the oracle version of acs-mail-nt-create.sql

2. Fixed a bug in the oracle version of the APM - a standard SQL92

left join was being executed rather than the nasty Oracle-specific

notation.

3. Futzed with the APM a bit - you can now only set "watch" commands on

those .xql files which are used by the current installation, you can

only install packages supported by the current installation's RDBMS.

  1. … 8 more files in changeset.
added 'on delete cascade'

    • -29
    • +25
    ./postgresql/acs-mail-queue-create.sql
changed content_object_id to content_item_id

added declaration for v_header_message_id

changed acs_mail_body__body_p to return boolean

fixed acs_mail_link__new

    • -53
    • +49
    ./postgresql/acs-mail-packages-create.sql
simple drop script

    • -0
    • +17
    ./postgresql/acs-mail-nt-drop.sql