• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Re-added fixes that didn't get merged in from 4.5

1) bboard-procs-postgresql.xql

2) etp-procs-oracle.xql

3) subsite/www/admin/users/new-postgresql.xql

4) SQL fix in acs-kernel/sql/postgresql/apm-create.sql

Edited the acs-kernel upgrade script that JonG initially created (PG)

Created an oracle upgrade script

Added upgrade scripts that i had written for 4.5b->4.5 back in (didn't get merged)

Update the acs-kernel .info file to 4.5.1

    • -0
    • +720
    ./upgrade/upgrade-4.5-4.5.1.sql
  1. … 8 more files in changeset.
added Tracy's fix for the hex conversion

updated tree

tree.increment_key() now does the lpadding for us

  1. … 2 more files in changeset.
re-ordering queries in acs_permission.permission_p for performance's sake

moved portal::mapping api and data model from new-portal into the core, i.e.

into acs-tcl and acs-kernel. renamed it from portal::mapping to

site_node_object_map, since that is what it is. enjoy.

    • -0
    • +65
    ./site-node-object-map-create.sql
    • -0
    • +10
    ./site-node-object-map-drop.sql
  1. … 25 more files in changeset.
Performance enchancements based on our testing

    • -0
    • +17
    ./upgrade/upgrade-4.2.1-4.2.2.sql
added "(select acs.magic_object_id('registered_users') from dual)"

clause to registered_users view based on results from scalability testing.

added site_nodes_parent_id_idx based on results from scalability testing

  1. … 1 more file in changeset.
moving ben's tree sortkey utilities for oracle from forums to acs-kernel

    • -0
    • +193
    ./tree-create.sql
  1. … 4 more files in changeset.
using connect by in oracle version of update_last_modified (plpgsql version is still using recursive version)

created acs_object.update_last_modified procedure that takes in an object_id

and an optional timestamp and sets the last_modified time of the object and

all of it's parents (not including object 0) to the last_modified time passed

in or sysdate if none was passed in.

  1. … 1 more file in changeset.
added parent_id function to apm_package package

  1. … 1 more file in changeset.
adding an index to increase performance of some views

adding an index to make the registered_users view faster

Merged with OpenACS 4.5 beta1 branch.

  1. … 88 more files in changeset.

Yep, previous Oracle fix had a problem! "case" isn't allowed in PL/SQL???

1. Community core change was due to an earlier patch that allows a person

to register as a user.

2. Deleting an acs-object would fail if the object specific table didn't exist.

acs-objects and the content repository shouldn't require type specific tables

be named when you extend a type, this is a temporary hack which acknowledges

that folks have been cheating by name non-existent tables. Since I plan to

remove the restriction anyway, this is not a big deal.

The Oracle version still needs testing ...

  1. … 2 more files in changeset.

1. Changed a lot of package info files to fix problems ...

2. Added Vinod's bboard patch

3. Rationalized party e-mail checking by putting a "before insert or update"

trigger on the table that lower-cases email (this was already done by the

party.new() func but at least one update missed this). Got rid of all

"lower(email) = " and "upper(email) = " checks and just made all use the

db email column directly and lower-cased Tcl vars. In this way the index

on the email column is always and consistently used without needing to

define functional indexes on the column (an EE feature for Oracle).

4. Rationalized naming of a couple of workflows and fixed a glossary PG bug

where apparently its workflow got overwritten by one from the CMS at some

point in time.

5. Made the .cmp/.dat/.frm filters in the template code usable though not

very beautiful nor exactly correct. But with practice you can use them

to debug pages in the packages/* hierarchy. I also turned these off by

default as there's no need to run these filters on a production site!

6. Performed minor surgery on templating, including adding a new

"ad_return_exception_template" that allows you to return a templated

error page and aborts the script.

7. ??? probably but I think this covers most stuff.

  1. … 73 more files in changeset.
fixed order of loading to allow all_object_party_privilege_map to be created before acs_gropu body

Added C. R. Oldham's patch to fix membership testing (unimplemented in ACS

4.2). Ported it to PG on the way ...

  1. … 8 more files in changeset.
added person.first_names, person.last_name, party.email functions to person and party packages, as well as porting to their postgresql equivelants

  1. … 1 more file in changeset.
fixed remove_user function to do the right things

Fixing incorrect and confusing error text.

Fixed the 4K character limit on session properties for Oracle by making an

optional "clob" value available. The APM wouldn't let me load any packages

when I added all the dotLRN packages plus standard packages over to a new

"dotlrn" user from my normal "acs" user - the list of packages grew to

> 4KB in size! Grrrr!

  1. … 6 more files in changeset.

Renamed a column named "timestamp" in the security package because this is

now a reserved word in PG (correctly). I changed the Oracle version, too,

because I know that 9i has added the "timestamp" datatype and even if it

will accept it as a column name it's confusing.

I also changes postgresql.sql to load correctly under PG 7.1 and 7.2.

  1. … 8 more files in changeset.

added privacy control

  1. … 3 more files in changeset.

1. Fixed permissions bug in the PG version (missing OR clause in a view)

2. Added (untested thus far) site-wide-search to glossary

3. Added centralized support for importing files into the CR (either into

the filesystem or the database).

4. Fixed wp-slim. Fixed it some more. Fixed it again. It still needs

more fixing.

  1. … 61 more files in changeset.

Copying a version of a package didn't copy the database-supported field for

its files.

  1. … 1 more file in changeset.
added name method support for content_revision type

  1. … 5 more files in changeset.