• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
fix from Sloan: don't allow admins to delete public folder in cloned classes/communities (it's already there for new ones)

Fixed bug #1718, copying a community failed in Postgres because of an

unported Oracle query.

  1. … 2 more files in changeset.
Bug 1387 - an Oracle-style query had been left in the Tcl script

  1. … 2 more files in changeset.
fixing typo: folder_key should be folder

changing so that for folder pretty names that are I18N messages containing variables we don't store the message key anymore, but rather the en_US message (should be improved to be the locale of the community). This applies to messages of type "%user_name%'s Public Files" and "%community_names%'s Public Files". The problem with those vars is that file-storage would need to have a way to lookup community_name when displaying a folder name. Allowing folders with messages with no embedded vars to still have their pretty names be message keys in the db. That way we can have Assignments, Exams, Handouts etc. be multilingual.

changing pretty names going into the database to be on syntax #package_key.message_key#

making dotlrn-fs, dotlrn-calendar, and dotlrn-dotlrn applets finally use the right portal page pretty names. Reverting the 1.109 revision in dotlrn.info so that dotlrn now still creates the portal pages. This is the minimal effort change that fixes the portal page pretty name I18N bug

  1. … 3 more files in changeset.
taking a stab at fixing the problem of file-storage and calendar applets not adding their portlets to the right pages due to I18N changes. Making the applets use the same message keys as dotlrn to avoid the naming mismatch

  1. … 3 more files in changeset.
merging dotlrn-1-0-1 tag down onto head. Thanks to Jarkko Laine and Mohan Pakkurti for all the help. See comments at http://openacs.org/storage/download/index?version_id=104101

  1. … 121 more files in changeset.
Changed copy to track removal of fs_simple_objects in file storage.

  1. … 1 more file in changeset.
1. protected community default files, not just classes

2. made it work for class cloning

  1. … 1 more file in changeset.
Changed perms on default class folders so admins can't delete or rename them,

breaking portlets. Also did the same for the community public folder for

all community types.

Switched to using new fs::get_folder_objects proc rather than the

full-blown fs::get_folder_contents proc.

Changed code to use the new fs::get_folder_objects rather than

fs::get_folder_contents because the code only needs object_ids and the

latter proc does all sorts of permission checking and the like.

I18N: adding two strings to message catalog that we missed previously

  1. … 1 more file in changeset.
I18N: converting dotlrn-fs to using the message catalog

  1. … 5 more files in changeset.
copyright OpenForce -> MIT

  1. … 546 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. … 51 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.

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

  1. … 33 more files in changeset.
reflect change in parameters to get_child_package_id

update to refelct move of site_nodes::get_child_package_id to

site_node_apm_integration::get_child_package_id

  1. … 1 more file in changeset.
In the "clone" method use fs::rename_folder instead of creating a new root folder.

file-storage

more improvements to the site-node api

  1. … 17 more files in changeset.
moved portal::mapping api and data model from new-portal into the core, i.e.

into acs-tcl and acs-kernel. renamed it from portal::mapping to

site_node_object_map, since that is what it is. enjoy.

  1. … 28 more files in changeset.
more fs-content stuff

  1. … 1 more file in changeset.
Finished up work on cloning

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

  1. … 76 more files in changeset.