• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 212 more files in changeset.
Changes for supporting postgresql 9.0:

- Avoiding usage of SQL reserved keywords on plpsql functions (plpsql lexer and parser were reworked).

- Fixing all those places on which FROM clause was automatically added by PG ( PG Config add_missing_from parameter was removed for this release of PG ).

Many thanks to Tracy Adams and Jeff Lu for providing first version of the patches.

    • -0
    • +103
    ./upgrade-5.7.0d1-5.7.0d2.sql
  1. … 16 more files in changeset.
file upgrade-5.6.0b2-5.6.0b3.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./upgrade-5.6.0b2-5.6.0b3.sql
Bumped to beta 3 so I could put in this important upgrade script, fixing

a problem with using package_instantiate_object to instantiate a base

(acs_object) object. Never done in core or .lrn code apparently because typically

you instantiate subtypes, but it is important to get right.

  1. … 26 more files in changeset.
Needed to drop bio_mime_type attribute values, too ... this is removed

as it was never actually used so no need to copy it into the persons

table.

Had to remove the drop/create of cc_users because some obscure views make

use of it. No existing code expects cc_users to contain "bio" anyway, so

recreating the view was a matter of tidiness, not need. Drop ... cascade

would work but would break ecommerce and dotlrn-ecommerce, and likely some

other packages, so this seems the lesser of two evils.

Fixed up some "bio" related upgrade stuff, including protection against

trying to upgrade sites that had already applied the upgrade against 5.5

(that script didn't make it into the repository however).

- create index for acs_objects on package_ids and drop old one (as discussed in OCT)

- bump version number to trigger run of upgrade scripts for testing

  1. … 2 more files in changeset.
file upgrade-5.6.0b1-5.6.0b2.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./upgrade-5.6.0b1-5.6.0b2.sql
  1. … 1 more file in changeset.
More code dealing with instance and global parameter semantics. I finally

have a reasonable model of inheritance and semantics implemented, not

perfect from a language-theoretic point of view, but works well without

having to rewrite every bit of parameter-handling code in acs-core.

    • -0
    • +26
    ./upgrade-5.6.0d7-5.6.0d8.sql
  1. … 8 more files in changeset.
Victor had made an upgrade script for version d4, and committed it before

I got around to adding and committing mine. So now my tcl upgrade commits

and my datamodel ones aren't synchronized :( But they're dev versions so

no harm should result.

    • -0
    • +262
    ./upgrade-5.6.0d6-5.6.0d7.sql
Added 'embeds' to allowable dependencies.

1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

    • -0
    • +28
    ./upgrade-5.6.0d5-5.6.0d6.sql
  1. … 29 more files in changeset.
Fixing constraint snom_node_id_fk, was connecting wrong field on table. Creation scripts are ok, just needed to correct upgrade files.

    • -0
    • +3
    ./upgrade-5.6.0d4-5.6.0d5.sql
  1. … 1 more file in changeset.
add three column constraint to acs_data_links

  1. … 3 more files in changeset.
drop acs_data_links unique constraint, use unique index instead.

  1. … 3 more files in changeset.
TIP #138 - Add relation_tag to acs_data_links

    • -0
    • +9
    ./upgrade-5.6.0d3-5.6.0d4.sql
  1. … 7 more files in changeset.
Added some missing attributes (more to go, though, damn core datamodel)

  1. … 3 more files in changeset.
Got rid of 'bio' attribute declared for 'user' type.

Moved "bio" back to "person", but with type-specific storage. People can

fight over where such things belong on another day, for now keeping it in

"person" has the advantage that the Tcl API is 100% unchanged so moving it

to type-specific storage won't break .LRN.

  1. … 8 more files in changeset.
One more upgrade ...

    • -0
    • +59
    ./upgrade-5.6.0d2-5.6.0d3.sql
Added upgrade scripts (Oracle isn't correct, yet), removed bogus attribute

sql files (PG, for instance, created bio and bio_mime_type but only

dropped bio, Oracle had not bio_mime_type_reference at all).

    • -0
    • +42
    ./upgrade-5.6.0d1-5.6.0d2.sql
  1. … 3 more files in changeset.
- Add two missing indices to improve performance of permission system

and the object context hierarchy significantly (these two indices

improved the performance of e.g. /projects/openacs/download/ and

/projects/openacs/download/one-revision?revision_id=2089636 by more

than a factor of 10; these indices are now among the most used on

openacs.org)

- Bump version number

    • -0
    • +2
    ./upgrade-5.5.0d5-5.5.0d6.sql
  1. … 5 more files in changeset.
Fix acs_group__new to create group_rels for all group supertypes

    • -0
    • +90
    ./upgrade-5.5.0d4-5.5.0d5.sql
  1. … 4 more files in changeset.
Preliminary version of "extend package" code, along with new package

attributes that allow the declaration of packages that are subsites.

    • -0
    • +282
    ./upgrade-5.5.0d3-5.5.0d4.sql
  1. … 29 more files in changeset.
Fix totally broken syntax for contraints

  1. … 1 more file in changeset.
Add description to groups object type

    • -0
    • +1
    ./upgrade-5.5.0d2-5.5.0d3.sql
  1. … 4 more files in changeset.
TIP#126 optionally allow user to provide email, first, last name when authority does not

    • -0
    • +5
    ./upgrade-5.5.0d1-5.5.0d2.sql
  1. … 5 more files in changeset.
Merged from 5.4.2

  1. … 282 more files in changeset.
upgrading from older versions never have this privilege created