• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

  1. … 1 more file in changeset.
sloan - adds dotlrn_spam_community perm, postgresql cleanup

  1. … 4 more files in changeset.
sloan - faster permission check dotlrn_community_admin_p

  1. … 1 more file in changeset.
file custom-permissions.sql was initially added on branch dotlrn-1-0.

    • -0
    • +0
    ./custom-permissions.sql
  1. … 1 more file in changeset.
copyright OpenForce -> MIT

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

  1. … 50 more files in changeset.
added rel_type and segment_id columns to dotlrn_user_types table and

dotlrn_users view.

  1. … 5 more files in changeset.
increase term_year col to 9

increase term_year lenght to 9

    • -0
    • +1
    ./upgrade/upgrade-july-25-2002.sql
  1. … 2 more files in changeset.
update info file. fix referential constraint in dotlrn_applets table.

  1. … 2 more files 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
    ./applets-create.sql
  1. … 28 more files in changeset.
fixes to get dotlrn postgres port working

  1. … 4 more files in changeset.
fix typo

optimized tree trigger a little bit

  1. … 2 more files in changeset.
removed unused columns; you can just drop them and recreate any dependent views

tree.increment_key() now does the lpadding for us

  1. … 2 more files in changeset.
One of the index names was too long for oracle

Use icon and alt text attrs for groups

  1. … 3 more files in changeset.
added for icon alt text change in groups

    • -0
    • +29
    ./upgrade/upgrade-jun-12-2002.sql
fix typo

adding some indexes

    • -0
    • +2
    ./upgrade/upgrade-jun-07-2002.sql
added some indexes

  1. … 1 more file in changeset.
removing access_level column, it is the equivalent of the dotlrn_browse permission

  1. … 21 more files in changeset.
now using "tree_sortkey" instead of "connect by"

    • -338
    • +65
    ./communities-tree-create.sql
    • -0
    • +18
    ./communities-tree-drop.sql
  1. … 5 more files in changeset.
added drop scripts. KEEP THEM UP TO DATE OR SUFFER THE WRATH OF YON

    • -0
    • +189
    ./applet-sc-drop.sql
    • -0
    • +196
    ./class-memberships-create.sql
    • -0
    • +67
    ./class-memberships-drop.sql
    • -195
    • +0
    ./classes-memberships-create.sql
    • -0
    • +34
    ./communities-drop.sql
    • -0
    • +21
    ./communities-package-drop.sql
    • -0
    • +366
    ./communities-tree-create.sql
    • -0
    • +30
    ./community-memberships-drop.sql
  1. … 16 more files in changeset.
1. Added add_portlet/remove_portlet calls that accept portal_id as a param,

so that we can call this code from within the applet itself (e.g. add_user_to_community)

and be called directly so that we can create portal templates.

2. Infrastructure for applet cloning

3. New portal types system in dotlrn which replaces dummy_comm_p

4. Minor fixes to portal configuration, dotlrn-static

5. renamed add_element_or_append_id and remove_element_or_remove_id to

add_element_parameters and remove_element_parameters respectively

    • -0
    • +33
    ./portal-types-create.sql
    • -0
    • +24
    ./portal-types-drop.sql
  1. … 71 more files in changeset.
was missing the member role attributes

displaying role in community correctly everywhere

  1. … 9 more files in changeset.
fixed role attributes

added the plural versions of the attributes too