• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
My changes weren't counting threaded deletes correctly ... this still needs

retesting on Oracle/PG which I'll do in the next day or so by writing new

test cases...

    • -1
    • +1
    ./oracle/forums-messages-package-create.sql
    • -1
    • +1
    ./oracle/upgrade/upgrade-1.0.6-1.0.7d.sql
    • -2
    • +2
    ./postgresql/forums-messages-package-create.sql
Added previous "mutating table" fix to the upgrade script, too ...

    • -2
    • +4
    ./oracle/upgrade/upgrade-1.0.6-1.0.7d.sql
Fixing "mutating table" problem but on my wrong machine, need to go

test this on the server with Oracle on it ...

    • -2
    • +4
    ./oracle/forums-messages-package-create.sql
Oracle 8 doesn't support current_timestamp, so I've changed it to sysdate

    • -2
    • +2
    ./oracle/forums-messages-package-create.sql
    • -2
    • +2
    ./oracle/upgrade/upgrade-1.0.6-1.0.7d.sql
last_child_post wasn't being initialized in the "new" function...

    • -4
    • +6
    ./oracle/forums-messages-package-create.sql
    • -4
    • +6
    ./oracle/upgrade/upgrade-1.0.6-1.0.7d.sql
Added the thread and reply counting code previously commited for the PG

version to the Oracle version.

    • -8
    • +109
    ./oracle/forums-messages-package-create.sql
    • -0
    • +398
    ./oracle/upgrade/upgrade-1.0.6-1.0.7d.sql
file upgrade-1.0.6-1.0.7d.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-1.0.6-1.0.7d.sql
Update query for reply counting was slightly in error ...

file upgrade-1.0.6-1.0.7d.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-1.0.6-1.0.7d.sql
Added tracking of threads in a forum and replies to a root post to the

forums-forums and forums-messages datamodel, and fixed the necessary code.

Also cleaned up some stuff and wrote a test case for automated testing. PG

only at this point, will add the Oracle stuff shortly.

    • -0
    • +2
    ./postgresql/forums-messages-create.sql
    • -35
    • +126
    ./postgresql/forums-messages-package-create.sql
    • -0
    • +272
    ./postgresql/upgrade/upgrade-1.0.6-1.0.7d.sql
  1. … 12 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040628 and jcd-merge-5-1-20040712 to HEAD

    • -3
    • +5
    ./postgresql/forums-messages-create.sql
    • -167
    • +21
    ./postgresql/upgrade/upgrade-1.0d4-1.0.1d2.sql
  1. … 114 more files in changeset.
fixes for the format field: fix dropping html_p in the upgrade script,

remove references to html_p and use ad_html_text_convert -from $format

for formatting messages, bump version to 1.0.2, bump dependency on notifications

to 5.1.1, retag openacs-5-1-compat.

    • -3
    • +3
    ./postgresql/forums-messages-create.sql
  1. … 5 more files in changeset.
fix format column to be varchar instead of varchar2 for pg bug 1946 patch 550 Stan Kaufman

    • -1
    • +1
    ./postgresql/forums-messages-create.sql
one more time... fix to previous submission

    • -166
    • +2
    ./postgresql/upgrade/upgrade-1.0d4-1.0.1d2.sql
fixing problems with previous submission

    • -0
    • +2
    ./postgresql/forums-messages-create.sql
fixing bug in previous submission

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

    • -4
    • +4
    ./oracle/forums-messages-package-create.sql
    • -0
    • +285
    ./oracle/upgrade/upgrade-1.0d4-1.0.1d2.sql
    • -7
    • +0
    ./postgresql/forums-messages-create.sql
    • -5
    • +5
    ./postgresql/forums-messages-package-create.sql
    • -0
    • +245
    ./postgresql/upgrade/upgrade-1.0d4-1.0.1d2.sql
  1. … 682 more files in changeset.
file upgrade-1.0d4-1.0.1d2.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-1.0d4-1.0.1d2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-1.0d4-1.0.1d2.sql
fix from Sloan: use richtext widget

    • -4
    • +4
    ./oracle/forums-messages-package-create.sql
    • -0
    • +285
    ./oracle/upgrade/upgrade-1.0d4-1.0.1d2.sql
    • -7
    • +0
    ./postgresql/forums-messages-create.sql
    • -5
    • +5
    ./postgresql/forums-messages-package-create.sql
    • -0
    • +245
    ./postgresql/upgrade/upgrade-1.0d4-1.0.1d2.sql
  1. … 10 more files in changeset.
merge changes on oacs-5-1 branch to head, changes between jcd-merge-20040420 and jcd-merge-5-1-20040517 were merged, head pre changes is jcd-merge-pre-20040517 and post is jcd-merge-post-20040517

    • -14
    • +21
    ./oracle/forums-search-create.sql
  1. … 833 more files in changeset.
Paraemterized the Intermedia scripts

    • -14
    • +21
    ./oracle/forums-search-create.sql
fix typo not forums_forumss

add triggers to index forums themselves, small bug in the datasource func

  1. … 1 more file in changeset.
add a forum_forum FtsContentProvider impl, move contract create to callbacks, should move notifications too, bump to 1.1d4, need forums_forums triggers still

  1. … 6 more files in changeset.
fix upgrade script, set package, title for forums on new and edit, propigate displayed_object_id for forum

    • -1
    • +3
    ./oracle/forums-forums-package-create.sql
    • -0
    • +1
    ./oracle/upgrade/upgrade-1.1d1-1.1d2.sql
    • -4
    • +7
    ./postgresql/forums-forums-package-create.sql
    • -56
    • +102
    ./postgresql/upgrade/upgrade-1.1d1-1.1d2.sql
  1. … 3 more files in changeset.
propigate title, package_id to acs_objects, require kernel 5.2.0d2 bump version to 1.1d2, upgrade scripts tip 42

    • -1
    • +5
    ./oracle/forums-messages-package-create.sql
    • -0
    • +1
    ./oracle/upgrade/upgrade-1.1d1-1.1d2.sql
    • -9
    • +20
    ./postgresql/forums-messages-package-create.sql
    • -0
    • +73
    ./postgresql/upgrade/upgrade-1.1d1-1.1d2.sql
  1. … 1 more file in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

    • -1
    • +2
    ./postgresql/forums-messages-package-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

    • -1
    • +2
    ./postgresql/forums-messages-package-create.sql
  1. … 42 more files in changeset.
Reverting accidental change

Added upgrade to upgrade to changes made for Oracle 9i support

    • -0
    • +364
    ./oracle/upgrade/upgrade-1.0d3-1.0d4.sql
  1. … 23 more files in changeset.