• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make same changes as for acs_message__new_file/13 to acs_message__new_image/15

    • -60
    • +16
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +74
    ./postgresql/upgrade/upgrade-5.9.1d2-5.9.1d3.sql
- fix call to acs_message__new_file() (use correct types)

- drop acs_message__new_file/13 by making last argument of acs_message__new_file/13 a default

    • -57
    • +19
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +63
    ./postgresql/upgrade/upgrade-5.9.1d2-5.9.1d3.sql
- Don't call deprecated interfaces of content_revisions__new()

- bump version number to 5.9.1d3

    • -22
    • +25
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +61
    ./postgresql/upgrade/upgrade-5.9.1d2-5.9.1d3.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d2-5.9.1d3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d2-5.9.1d3.sql
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
Removed RFC822 id generation from acs_message__new stored procedure:

beside being replication of what already available in proc acs_mail_lite::generate_message_id,

it was buggy, because it assumed http protocol (no https) and also broke General Comments

on installations that by chance had an empty SystemURL parameter

    • -16
    • +27
    ./oracle/acs-messaging-packages.sql
    • -0
    • +136
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -29
    • +36
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +103
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
  1. … 4 more files in changeset.
- fix bug showing up with acs-messaging: some installation did not have wrapper version for acs_message__new/16. red rid of it and use default in /17 version

    • -68
    • +19
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +108
    ./postgresql/upgrade/upgrade-5.9.0-5.9.1d1.sql
  1. … 1 more file in changeset.
file upgrade-5.9.0-5.9.1d1.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.0-5.9.1d1.sql
- add function args missed by earlier upgrades

- bump version numbers

    • -0
    • +18
    ./postgresql/upgrade/upgrade-5.9.0d1-5.9.0d2.sql
  1. … 9 more files in changeset.
- update postgres function to modern style plpgsql definitions, avoid backslash escaping

- add missing function_args

    • -16
    • +42
    ./postgresql/acs-messaging-create.sql
    • -293
    • +471
    ./postgresql/acs-messaging-packages.sql
    • -32
    • +40
    ./postgresql/upgrade/upgrade-4.6.2-4.6.3.sql
    • -6
    • +15
    ./postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql
    • -34
    • +42
    ./postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql
Some time ago some plpgsql functions were changed in order to be compatible with pg 8.x, create scripts were modified but upgrade scripts were missing ( at least i couldn't find them) http://fisheye.openacs.org/changelog/OpenACS?cs=MAIN%3Ajeffd%3A20090210183154 . Bumping up package versions accordingly.

    • -0
    • +98
    ./postgresql/upgrade/upgrade-5.8.0d1-5.8.0d2.sql
  1. … 7 more files in changeset.
switch foo_id_seq.netval to nextval('t_foo_id_seq') calls to placate postgresql 8.

    • -2
    • +2
    ./postgresql/acs-messaging-packages.sql
  1. … 8 more files in changeset.
Correction of name constraint

  1. … 5 more files in changeset.
Correction of name constraint

  1. … 2 more files in changeset.
Fix #2981: table_name and id_column must be null for acs_message_revision object type

    • -0
    • +1
    ./oracle/upgrade/upgrade-5.3.0d1-5.3.0d2.sql
    • -0
    • +1
    ./postgresql/upgrade/upgrade-5.3.0d1-5.3.0d2.sql
  1. … 1 more file in changeset.
Fix typo in table_name for acs_messages object type

Made tables etc lower-case to satisfy Jeff's coding standards automated

tests.

Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

    • -0
    • +655
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
  1. … 720 more files in changeset.
file upgrade-5.2.1d1-5.2.1d2.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
Support root parent_id as -4 instead of 0. Postgresql doesn't have a default for parent_id so it doesn't get an upgrade script.

    • -0
    • +655
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
  1. … 1 more file in changeset.
Applying patch 394: fix for upgrade script 4.6.2-4.6.3

Applied patch 394

various bug fixes for package_id, title addition to acs_objects

    • -2
    • +1
    ./postgresql/acs-messaging-packages.sql
  1. … 12 more files in changeset.
Remerge Timo's changes for tip 42,43, cf tip 53

    • -13
    • +25
    ./oracle/acs-messaging-packages.sql
    • -1
    • +12
    ./postgresql/acs-messaging-drop.sql
    • -75
    • +224
    ./postgresql/acs-messaging-packages.sql
  1. … 93 more files in changeset.
rollback of Timo's name, package_id commit; see TIP 53

    • -24
    • +12
    ./oracle/acs-messaging-packages.sql
    • -11
    • +0
    ./postgresql/acs-messaging-drop.sql
    • -223
    • +74
    ./postgresql/acs-messaging-packages.sql
  1. … 92 more files in changeset.
TIP#42,43: adding package_id and title to acs_objects table

    • -13
    • +25
    ./oracle/acs-messaging-packages.sql
    • -0
    • +8
    ./oracle/upgrade/upgrade-5.1.0d1-5.1.0d2.sql
    • -1
    • +12
    ./postgresql/acs-messaging-drop.sql
    • -75
    • +224
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +8
    ./postgresql/upgrade/upgrade-5.1.0d1-5.1.0d2.sql
  1. … 92 more files in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

    • -8
    • +6
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +11
    ./postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql
  1. … 596 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

    • -9
    • +7
    ./postgresql/acs-messaging-packages.sql
    • -0
    • +11
    ./postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql
  1. … 40 more files in changeset.
file upgrade-5.0.0b3-5.0.0b4.sql was initially added on branch oacs-5-0.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql
  1. … 3 more files in changeset.
Added upgrade to upgrade to changes made for Oracle 9i support

    • -0
    • +643
    ./oracle/upgrade/upgrade-4.5-5.0d1.sql
  1. … 23 more files in changeset.