• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
A handful of various fixes, mostly for PG 7.3. Unfortunately I copied

over the fixed directory tree from my test instance here by mistake so

everything looks changed.

    • -6
    • +6
    ./postgresql/communities-package-create.sql
  1. … 9 more files in changeset.
merging the dotlrn-1-0 branch down onto HEAD (the trunk)

    • -0
    • +62
    ./postgresql/custom-permissions.sql
    • -24
    • +33
    ./postgresql/security-create.sql
  1. … 190 more files in changeset.
change because underscore proc only takes two arguments now, localizing more texts in UI, using message keys for the role names in the database

  1. … 22 more files in changeset.
I removed the composite index that checks for uniqueness of the community_type

and supertype pair. This index broke installation if the Oracle blocksize is

less than 8KB (which is true by default on at least some platforms).

The unique constraint was unnecessary since community_type was already declared as the

table's primary key. Because of this, only one row with a given community_type name

is possible, which means the composite key (community_type, supertype) is guaranteed

to be unique.

Removing the index will also speed community creation slightly, save a bit of

disk space, etc etc.

Note that the composite index was useless for lookups on the supertype alone

anyway (since community_type was the leftmost member of the composite key), and that

any queries on the type hierarchy ought to use the denormalized table defined

by acs-objects-metadata.sql anyway.

So the index seems entirely useless to me.

doh. forgot to remove the plsql function from the vars

move child create to before trigger recreate

sloan - adds dotlrn_spam_community perm, postgresql cleanup

    • -21
    • +32
    ./postgresql/security-create.sql
sloan - faster permission check dotlrn_community_admin_p

    • -0
    • +62
    ./postgresql/custom-permissions.sql
file custom-permissions.sql was initially added on branch dotlrn-1-0.

    • -0
    • +0
    ./oracle/custom-permissions.sql
    • -0
    • +0
    ./postgresql/custom-permissions.sql
rel_id->p_rel_id in function calls to ...rel__detete()

    • -4
    • +4
    ./postgresql/community-memberships-packages-create.sql
copyright OpenForce -> MIT

    • -2
    • +2
    ./oracle/admin-profile-provider-create.sql
    • -2
    • +2
    ./oracle/admin-profile-provider-drop.sql
  1. … 532 more files in changeset.
fixed but in dotlrn_admin_rel__delete

    • -10
    • +9
    ./postgresql/community-memberships-packages-create.sql
fixed order of define_function_args for dotlrn_community__new and also added default value of false for archived_p. also placed the define_function_args calls next to their plsql procs so it is easier to see when the parameter lists don't match.

    • -15
    • +16
    ./postgresql/communities-package-create.sql
fixed another typo in a member_rel_creation..

fixed a typo in a member_rel_creation..

added an operation to the dotlrn_applet service contract. the operation's name

is ChangeEventHandler and is usually implemented by change_event_handler

method in the dotlrn_applet implementation. dotLRN can throw events based on

changes to a community via the dotlrn_community::generate_change_event method.

currently the only event being thrown and handled is the 'rename' event. this

event is thrown when the name of a community is changed. the only applets that

currently listen for this event are dotlrn_fs, dotlrn_forums, and

dotlrn_calendar.

applets do not have to handle all events, only events they are interested in

handling.

we will add events on an as needed basis.

    • -145
    • +168
    ./oracle/applet-sc-create.sql
    • -204
    • +225
    ./postgresql/applet-sc-create.sql
  1. … 48 more files in changeset.
new users can be added as dotlrn_externals now

    • -2
    • +2
    ./postgresql/externals-package-create.sql
  1. … 2 more files in changeset.
added rel_type and segment_id columns to dotlrn_user_types table and

dotlrn_users view.

increase term_year col to 9

increase term_year lenght to 9

    • -0
    • +1
    ./oracle/upgrade/upgrade-july-25-2002.sql
    • -0
    • +27
    ./postgresql/upgrade/upgrade-july-25-2002.sql
fix for pg 7.1

    • -27
    • +33
    ./postgresql/security-create.sql
dotlrn.. it keeps going, and going..

    • -4
    • +4
    ./postgresql/communities-package-create.sql
    • -2
    • +2
    ./postgresql/community-memberships-packages-create.sql
  1. … 5 more files in changeset.
update info file. fix referential constraint in dotlrn_applets table.

  1. … 1 more file in changeset.
some changes regarding dotlrn applets. the data model has changed. some other

small api changes. most of these api are not used.

    • -0
    • +65
    ./oracle/applets-create.sql
    • -0
    • +28
    ./oracle/applets-drop.sql
    • -0
    • +68
    ./postgresql/applets-create.sql
    • -0
    • +28
    ./postgresql/applets-drop.sql
    • -40
    • +1
    ./postgresql/communities-create.sql
  1. … 22 more files in changeset.
lots of fixes to get the pg dotlrn working

    • -2
    • +3
    ./postgresql/admins-package-create.sql
    • -4
    • +4
    ./postgresql/communities-package-create.sql
    • -1
    • +1
    ./postgresql/communities-tree-create.sql
    • -2
    • +2
    ./postgresql/externals-package-create.sql
    • -5
    • +5
    ./postgresql/professors-package-create.sql
    • -8
    • +20
    ./postgresql/students-package-create.sql
    • -18
    • +20
    ./postgresql/users-package-create.sql
  1. … 9 more files in changeset.
some query porting, and bug fixes to support it

    • -9
    • +11
    ./postgresql/communities-package-create.sql
    • -21
    • +21
    ./postgresql/communities-tree-create.sql
  1. … 3 more files in changeset.
fixes to get dotlrn postgres port working

  1. … 4 more files in changeset.
fix include statement

fixed name of file to correspond with oracle

    • -33
    • +0
    ./postgresql/community-membership-packages-drop.sql
    • -0
    • +33
    ./postgresql/community-memberships-packages-drop.sql
renamed files to match oracle versions

    • -0
    • +75
    ./postgresql/admin-profile-provider-create.sql
    • -0
    • +72
    ./postgresql/admin-profile-provider-drop.sql
    • -0
    • +34
    ./postgresql/admins-create.sql
    • -0
    • +28
    ./postgresql/admins-drop.sql
    • -0
    • +89
    ./postgresql/admins-init.sql
    • -0
    • +91
    ./postgresql/admins-package-create.sql
    • -0
    • +24
    ./postgresql/admins-package-drop.sql
    • -0
    • +91
    ./postgresql/admins-sanitize.sql
    • -0
    • +314
    ./postgresql/applet-sc-create.sql
    • -0
    • +197
    ./postgresql/applet-sc-drop.sql
    • -0
    • +72
    ./postgresql/class-membership-drop.sql
    • -0
    • +225
    ./postgresql/class-memberships-create.sql
    • -0
    • +341
    ./postgresql/classes-create.sql
    • -0
    • +39
    ./postgresql/classes-drop.sql
    • -0
    • +113
    ./postgresql/clubs-create.sql
  1. … 121 more files in changeset.