• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixing many bugs

    • -0
    • +191
    ./upgrade/upgrade-5.7.0d7-5.7.0d8.sql
    • -67
    • +0
    ./upgrade/upgrade-5.7.0d7-upgrade-5.7.0d8.sql
Had to remove the cascade_p feature of the new drop_type procedure, because

implementing it in Oracle would require a huge reorganization of the order

of definition of object and metadata tables and their associated tables,

which just is not going to happen.

    • -0
    • +67
    ./upgrade/upgrade-5.7.0d7-upgrade-5.7.0d8.sql
  1. … 1 more file in changeset.
*** empty log message ***

Further bug fixing ... hopefully, testing with AOM will tell the tale.

Also bumped *info file.

  1. … 1 more file in changeset.
Fixed a bug with the new version of create_type, found as I was porting to

Oracle (there *is* a use for Oracle, I'll be damned!).

    • -0
    • +117
    ./upgrade/upgrade-5.7.0d5-5.7.0d6.sql
Believe it or not, "create_type" has never, ever checked to see if the

given supertype is a valid type. The code now verifies that the given

supertype is a child of "acs_object", except when supertype is passed in

as NULL or '' (in which case it's set to acs_object). Only did it for

PostgreSQL since it's been around forever and whatever Oracle users don't

know, won't hurt them.

    • -0
    • +119
    ./upgrade/upgrade-5.7.0d4-5.6.0d5.sql
  1. … 1 more file in changeset.
Moved table building and column adding code from content repository to

kernel, so all objects can benefit. Part of the acs object management package

work.

    • -309
    • +5
    ./upgrade/upgrade-5.7.0d3-5.7.0d4.sql
  1. … 4 more files in changeset.
Upgrade scripts for changes on object metadata creation (adding automatic

table and column creation to base objects as well as CR object, object views,

etc).

    • -0
    • +936
    ./upgrade/upgrade-5.7.0d3-5.7.0d4.sql
  1. … 3 more files in changeset.
On my previous commit I added a not null constraint for name column on site_nodes, the problem is that main site node on oracle has a NULL name ( given the fact that empty strings are managed as NULL on Oracle ) therefore doesnt make sense to have such constraint.

  1. … 2 more files in changeset.
- Avoiding usage of coalesce function on site_nodes table columns in WHERE clause, this was leading to usage of sequencial scans which can be expensive when having a huge amount of site_nodes. Instead we go for isolation of the case when requestion a node with a null parent ( this would be the main site node ) and we use the = operator so the planner goes for a index scan.

- Adding not null constraint to site_nodes(name)

    • -0
    • +82
    ./upgrade/upgrade-5.7.0d2-5.7.0d3.sql
  1. … 3 more files in changeset.
apm_parameter__get_value bug missed by merge apparently.

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.

    • -0
    • +19
    ./upgrade/upgrade-5.6.0b1-5.6.0b2.sql
    • -1
    • +28
    ./upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 211 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/upgrade-5.7.0d1-5.7.0d2.sql
  1. … 15 more files in changeset.
file upgrade-5.6.0b2-5.6.0b3.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./upgrade/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.
Somebody hosed this (probably me). Never caught because no one creates a

base object directly, just subtypes of acs_object with their own (correct)

definition of a new() function.

- complete change to acs_objects_package_idx for new creates (see http://fisheye.openacs.org/changelog/OpenACS/?cs=oacs-5-6%3Agustafn%3A20100509112929)

  1. … 1 more file 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.

    • -14
    • +5
    ./upgrade/upgrade-5.6.0b1-5.6.0b2.sql
    • -14
    • +0
    ./upgrade/upgrade-5.6.0d1-5.6.0d2.sql
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).

    • -1
    • +27
    ./upgrade/upgrade-5.6.0b1-5.6.0b2.sql
    • -1
    • +33
    ./upgrade/upgrade-5.6.0d1-5.6.0d2.sql
- 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/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/upgrade-5.6.0d7-5.6.0d8.sql
  1. … 7 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/upgrade-5.6.0d6-5.6.0d7.sql
If I'd known global parameters would be such a PITA, would I have TIP'd to

do them?

Turns out we must make a parameter value when a parameter is registered, else

all sorts of stuff dies. This is for PG. Oracle will come soon.

A bunch of stuff related to global/instance parameters.

  1. … 2 more files in changeset.
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/upgrade-5.6.0d5-5.6.0d6.sql
  1. … 18 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/upgrade-5.6.0d4-5.6.0d5.sql
  1. … 1 more file in changeset.
add three column constraint to acs_data_links

  1. … 2 more files in changeset.