• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge from oacs-5-10

    • -35711
    • +220868
    ./common/timezone-rules.dat
    • -4
    • +5
    ./postgresql/upgrade/upgrade-timezones.ctl
  1. … 8097 more files in changeset.
Updates timezone data once again, bump version to 5.10.1b3

The timezone data from IANA has changed (probably several years ago),

and the min/max years have to be changed to -2147481748/2147485547,

which are no acceptable years for timestamps in PostgreSQL and

Oracle. The new timezone data maps now these boundary values 1/9999.

This commit fixes as well a bug introduced by the last version of the

timezone data in cases, where Tcl versions with older timezone data

were used, and the fallback operations based on Tcl failed. Tcl

versions 8.6.14* and Tcl 9.0* have up-to-date time zones, e.g. Tcl

8.6.13 still requires in some rare cases the fallback to the database,

where the error might show up.

    • -80739
    • +81885
    ./common/timezone-rules.dat
    • -4
    • +5
    ./postgresql/upgrade/upgrade-timezones.ctl
  1. … 2 more files in changeset.
Upgrade timezone data to tzdb-2024a (Released 2024-02-01) from IANA

The last update of the timezone data of OpenACS happened on Sep 29,

2015 in the release process of OpenACS 5.9.0. The new timezone data is

based on the newest released data from IANA reflecting the changes

made by political bodies to time zone boundaries, UTC offsets, and

daylight-saving rules. The procedures to update the database are

described in RFC 6557 (https://www.rfc-editor.org/rfc/rfc6557.html)

and contains data for e.g. Europe up to the year 2499.

    • -36419
    • +220430
    ./common/timezone-rules.dat
  1. … 2 more files in changeset.
add update script, that was missed several years ago

    • -0
    • +307
    ./postgresql/upgrade/upgrade-5.10.0d1-5.10.0d2.sql
  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -38611
    • +39200
    ./common/timezone-rules.dat
  1. … 7832 more files in changeset.
Fix spelling errors

  1. … 8 more files in changeset.
- updating timezone info (old data was 7 years old, we have now 43 more timezones and many fixes)

    • -38611
    • +39200
    ./common/timezone-rules.dat
  1. … 2 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

    • -13
    • +22
    ./postgresql/upgrade/upgrade-5.2.2-5.2.3b1.sql
  1. … 2547 more files in changeset.
- modernize SQL

    • -13
    • +22
    ./postgresql/upgrade/upgrade-5.2.2-5.2.3b1.sql
  1. … 2 more files in changeset.
- update postgres function to modern style plpgsql definitions, avoid backslash escaping

- add missing function_args

    • -97
    • +217
    ./postgresql/ref-timezones-create.sql
    • -7
    • +15
    ./postgresql/ref-timezones-drop.sql
    • -8
    • +18
    ./postgresql/upgrade/upgrade-0.2d-0.3.sql
    • -7
    • +17
    ./postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql
  1. … 16 more files in changeset.
Applied the 5.5.0a1 fix to the timezones control file, to match the new

data format.

U Wien changed the format of the common timezone-rules.dat file without

changing the format specified in the corresponding Oracle sqlldr .ctl file.

Sigh, and some people think that making releases is a trivial task ...

- Solving problem for overlaping in changes for some european times.

- Loading more timezones.

Ref: http://alice.wu-wien.ac.at:8000/xowiki/timezone-updgrade

    • -35931
    • +39960
    ./common/timezone-rules.dat
    • -0
    • +4
    ./postgresql/upgrade/upgrade-timezones.ctl
  1. … 2 more files in changeset.
Some time, long long ago, the PSQL "\copy" command syntax change, but the

old syntax was accepted. As of PG 8.3, the old syntax is no longer allowed.

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?

  1. … 720 more files in changeset.
Fixed bug #2748

file upgrade-5.2.2-5.2.3b1.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.2.2-5.2.3b1.sql
Fixed bug #2749.

  1. … 1 more file in changeset.
timezone__get_abbrev invalid decl for p_time, bump version, upgrade

    • -0
    • +15
    ./postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql
  1. … 1 more file in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

    • -11
    • +12
    ./postgresql/ref-timezones-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

    • -11
    • +12
    ./postgresql/ref-timezones-create.sql
  1. … 42 more files in changeset.
changed the \copy commands to use the 7.2 format for psql as it is supported in 7.2 and 7.3

  1. … 6 more files in changeset.
switch to using \\copy rather than copy since the backend typically

is not able to read the dat file because of permissions (or if it is

on a remote machine the file typically will not even exist).

bug #1033

  1. … 7 more files in changeset.
Added upgrade to upgrade to changes made for Oracle 9i support

    • -0
    • +341
    ./oracle/upgrade/upgrade-0.3-0.4d1.sql
  1. … 23 more files in changeset.
allow bulk loading with 7.2

  1. … 6 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)

  1. … 274 more files in changeset.
Fixed upgrade for PG 7.2. Unfortunately, COPY has different syntax between 7.2 and 7.3

adding upgrade script for PG for version 0.3 that we forgot to add previously

    • -0
    • +29
    ./postgresql/upgrade/upgrade-0.2d-0.3.sql
Added timezone__convert_to_locale proc for PG

    • -1
    • +23
    ./postgresql/ref-timezones-create.sql
  1. … 1 more file in changeset.
Forgot to change data control file to reference this package rather than

my test package ...