• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Migrated over changes to move some GIF resources into a common subdirectory

in the subsite package, so anyone who can read the main site can read

the images (previously you had to grant read privs to "/doc" explicitly

to get the graphics stored by acs-datetime to show up.

  1. … 37 more files in changeset.
bumping up allowed length of group_type column in group_types table from 100 to 400. Adding a subject in dotlrn with a 100 length subject pretty_name would break otherwise (the group_type becomes department key + subject pretty_name)

making upgrade script use timestamptz like the create script

I accidently dropped a trigger create when I switched back to dropping and

creating them instead of using "create or replace function" (which doesn't

quite work in PG 7.3 unfortunately when the function's attached to a trigger)

Sped up the view used to build the denormalized acs_privilege_descendant_map

table.

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

    • -0
    • +0
    ./upgrade/upgrade-4.6.1-4.6.2.sql
  1. … 1 more file in changeset.
Upgrade to 4.6.2: APM changes and change in installation procedure

    • -0
    • +208
    ./upgrade/upgrade-4.6.1-4.6.2.sql
  1. … 4 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

  1. … 45 more files in changeset.
Made changes so we can install under PG 7.3.

add email and url as acs_datatypes

  1. … 2 more files in changeset.
Fixed a couple of minor upgrade problems.

A bunch of things

1. AOLserver 4.0's nsxml appears to expose a gcc bug which causes the

backwards-compatible "getattr" command to fail. I dug around nsxml

and it does appear to be a gcc bug. I changed to the proper nsxml v2

syntax.

2. In the course of exploring #1 above, I realized that the calls to

dom:: Tcl XML package commands were still being executed despite

being commented out. Typical Tcl misunderstanding on someone's part.

Net effect: we were parsing all APM .info files twice, once in Tcl

and once in ns_xml! Yuk!

3. Fixed a minor notifications bug - you couldn't delete a notification

request if any unsent notifications were pending, causing the homework

package to bomb if you deleted an uploaded homework file and the prof

hadn't yet received their notification.

4. Fixed an obscure corner case in my permissions denormalization code.

  1. … 14 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.

    • -151
    • +134
    ./acs-permissions-create.sql
Moved over my new permissions stuff plus improved file storage stuff (mostly

speed improvements in PG-land)

  1. … 13 more files in changeset.
the upgrade scripts for message_catalog file type must check if the file type is already there since the upgrade script came so late

  1. … 1 more file in changeset.
1. Got rid of the "create or replace function" decls used for triggers, due

to the brand-new PG 7.3 "opaque" vs. "trigger" issue.

2. Added a new "fs::get_folder_object_ids" for use when you just need the

object ids rather than a bunch of (slow) permissions information,

(slow) counts of items in folders and subfolders, last modified info,

etc. dotLRN was calling "fs::get_folder_contents" when cloning folders

despite making use of only the object_id and that proc used to be unimaginably

slow. It's faster now due to the new permissions code but it's still slow

enough to warrant avoiding it when possible.

3. Fixed typo in my last commit.

  1. … 4 more files in changeset.
trying to fix issue with APM upgrade UI breaking on new APM filetype message_catalog described here: http://openacs.org/forums/message-view?message_id=80178 Issuing warning in log file instead of erroring out on un-recognized filetypes. Adding upgrade script to acs-kernel that adds the message_catalog filetype

    • -0
    • +1
    ./upgrade/upgrade-4.7d-4.7.2d.sql
  1. … 3 more files in changeset.
rollback Dons commit which should have gone in on 4.6 rather than HEAD

Minor bug fix tweaks to the Oracle version, and some rewriting on the

PostgreSQL side to better match the structure of the Oracle side.

    • -90
    • +162
    ./upgrade/upgrade-4.6-4.6.1.sql
  1. … 2 more files in changeset.
Adding parameter PermissionCacheTimeout that determines the lifetime of the permissions cache. Adding comment to PermissionCacheP parameter saying server must be restarted after change. Removing instantiation of acs-kernel in acs-install.sql (not needed as its done in apm_install_package).

  1. … 1 more file in changeset.
remove conflict markers from Dons commit. fixes bug 243

First cut at Oracle perm rewrite and some whacking around on the PG version

    • -153
    • +47
    ./upgrade/upgrade-4.6-4.6.1.sql
  1. … 7 more files in changeset.
More mucking around with the denormalized party_approved_member_map ...

delete direct permissions in acs_object__delete (oracle and postgres) upgrade provided, bug 234 patch 74 Tilmann Singer

  1. … 2 more files in changeset.
1. Fixed a couple of typos in file storage

2. New fast permissions stuff (PG only thus far)

2. While poking around CMS code looking for things that needed recreating

due to the permissions upgrade, changed over to "create or replace function"

  1. … 16 more files in changeset.
acs-install.sql doesn't need to instantiate acs-kernel as this is done during install of that package (since it's a singleton)

  1. … 1 more file in changeset.
Adding missing piece to the db upgrade of acs-kernel 4.6.1-4.7d - the callbacks were not being copied when upgrading a package through the edit package page. Changing to create or replace syntax for functions in PG (works in 7.2 and 7.1 is deprecated)

  1. … 2 more files in changeset.
Modified permissions code to materialize acs_privilege_descendant_map view. Needed to speed up queries on acs_object_grantee_priv_map view.

moving instantiation and mounting of all core packages (acs-lang, acs-admin, api-doc etc.) except acs-kernel and main site (retained because they are needed during install) from the acs-install.sql file to the Tcl proc apm_mount_core_packages that is invoked on first startup. Note that this unfortunately means that callbacks will not be invoked for the main site node and for the acs-kernel instance.

  1. … 5 more files in changeset.