acs-content-repository

  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
register_child_type would only register one type per parent since it

ignored relation tag when checking if the relation existed.

is_valid_type failed with more than one type since it wanted to count

max_n but did not sum.

needs an upgrade script.

bumping up version name to 4.7d1 (Lars forgot to do that when he added the upgrade scripts for the new mime types)

forgot about all of the trigger work-arounds for data-change violation problem that no longer exists. Fixed now.

  1. … 7 more files in changeset.
forgot about all of the trigger work-arounds for data-change violation problem that no longer exists. Fixed now.

  1. … 3 more files in changeset.
Eliminated acs_privilege_hierarchy_index in favor of using acs_privilege_descendant_map. In addition, rewrote trigger for creating acs_privilege_descendant_map as permissions creation was getting too slow on .LRN. .LRN has somewhere in the neighborhood of 90 entries in the privilege hierarchy, which is much higher than anticipated.

file_extension not always defined

Added a note that joining is more efficient than using the get_live_revision function

fixed mangled queries

    • -1
    • +1
    ./tcl/acs-content-repository-procs-oracle.xql
    • -1
    • +1
    ./tcl/acs-content-repository-procs.xql
Added check for table name longer than 25 chars, because that caused me significant pain to track this problem down.

Adding new mime-types, which I forgot to add back when I added the new richtext widget. Jeff will probably go in and rename them something else for me, and hopefully he'll propagate the change to the richtext widget and acs-tcl/tcl/text-html-procs as well.

    • -0
    • +7
    ./sql/oracle/upgrade/upgrade-4.6.1-4.7d1.sql
    • -0
    • +7
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.7d1.sql
file upgrade-4.6.2-4.6.3.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-4.6.2-4.6.3.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql
moved the includes back up to where they belong, add the 4.6.3 upgrade scripts

    • -0
    • +483
    ./sql/oracle/upgrade/upgrade-4.6.2-4.6.3.sql
    • -0
    • +483
    ./sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql
file mime-type-data.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/common/mime-type-data.sql
- Adds table cr_extension_mime_type_map,

- Adds function cr_filename_to_mime_type [-create] filename

- Adds function cr_create_mime_type -extension -mime_type -description

- Removes *_maybe_create_new_mime_type

- Updates acs-content-repository to 4.6.3. Ugrade scripts provided.

- Updates dependency information for several packages.

- Adds most mime types plus comprehensive list of extension to mime-typemappings.

- Maps .c .h .c++ .pl etc to text/plain

    • -30
    • +23
    ./sql/postgresql/content-create.sql
  1. … 14 more files in changeset.
merge Dons file copy fix from HEAD

file upgrade-4.6.1-4.6.2.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
adds indexes for fk constraint children, bumps version to 4.6.2, upgrades supplied

    • -4
    • +27
    ./sql/postgresql/content-create.sql
    • -0
    • +12
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
Switched to "file copy" ...

  1. … 7 more files in changeset.
file upgrade-4.6-4.6.1.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-4.6-4.6.1.sql
adds */* mime type, bump version from 4.6 to 4.6.1 and provide an upgrade script (*/* added by Lars on HEAD)

    • -0
    • +5
    ./sql/oracle/upgrade/upgrade-4.6-4.6.1.sql
    • -186
    • +3
    ./sql/postgresql/upgrade/upgrade-4.6-4.6.1.sql
merge bartt PG 7.3 fixes from HEAD

  1. … 45 more files in changeset.
Merge of all changes from oacs-4-6 to HEAD. All changes up to tag jcd-merge-2

on oacs-4-6 are included.

    • -10
    • +19
    ./tcl/acs-content-repository-procs.tcl
    • -0
    • +10
    ./tcl/acs-content-repository-procs.xql
  1. … 31 more files in changeset.
Bad oracle fetch_paths query merged from oacs-4-6

    • -1
    • +1
    ./tcl/acs-content-repository-procs-oracle.xql
Bad oracle fetch_paths query closes bug 122/patch 40 C. R. Oldham

    • -1
    • +1
    ./tcl/acs-content-repository-procs-oracle.xql
merge fix for bug 143 to head

ns_puts used instead of puts. closes 143/patch 45 Kevin Crosbie

applied patch supplied by Ola Hansson which fixes the drop commands to support both the 7.2 and the 7.3 syntax

    • -0
    • +188
    ./sql/postgresql/upgrade/upgrade-4.6-4.6.1.sql
Patches to make OpenACS PG 7.3 compatible.

  1. … 45 more files in changeset.
remove oracle file, fix fetch_paths query, comment on idiocy of existing delete function fixes bug 81

    • -10
    • +19
    ./tcl/acs-content-repository-procs.tcl
    • -0
    • +10
    ./tcl/acs-content-repository-procs.xql
use ns_returnfile for returning files from the content repository