• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
as part of the sql upgrade of acs-kernel from 4.6.1 to 4.7d I forgot to change views and plsql code. Adding these changes now to make the upgrade complete

    • -1
    • +173
    ./upgrade/upgrade-4.6.1-4.7d.sql
  1. … 2 more files in changeset.
upgrading acs-kernel from 4.6.1 to 4.7d to support APM auto mounting of packages, and Tcl procedure package callbacks such as after-install, after-instantiate, and after-mount. Upgrade scripts supplied to add table apm_package_callbacks and add column auto_mount to table apm_package_versions.

    • -0
    • +34
    ./upgrade/upgrade-4.6.1-4.7d.sql
  1. … 3 more files in changeset.
adding a table to the APM for holding Tcl proc callbacks invoked after installation, instantiation etc. of packages

  1. … 1 more file in changeset.
- Fixed double declaration of function acs_attribute__create_attribute, with

same arguments. Thanks for Stan Kaufman on #openacs for reporting this.

Merged in changes to make acs-workflow not part of initial install from HEAD to 4.6 branch

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

  1. … 32 more files in changeset.
Removed acs-workflow from acs-install.sql script

  1. … 1 more file in changeset.
Removed extraneous declaration of acs_attribute__create_attribute.

Patches to make OpenACS PG 7.3 compatible.

  1. … 45 more files in changeset.
adding the Message Catalog APM file type to the datamodel

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

    • -0
    • +0
    ./upgrade/upgrade-4.6-4.6.1.sql
  1. … 1 more file in changeset.
changes acs__magic_object_id to isstrict,iscachable, bump version to 4.6.1, upgrade script provided

  1. … 2 more files in changeset.
I18N: we need pretty_name and pretty_plural of the member relationship role to be internationalized in dotLRN - using two new message keys

  1. … 2 more files in changeset.