• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
I earlier fixed a bogus "lsearch" result check without realizing that the

"lsearch" had another bug, searching a comma-separated string rather than a

list. Sigh. This code never "worked" it just appeared to work since the

old portal code didn't give errors if you tried to modify parameters to a

non-existent portlet.

Made a similar change to fs permissions for add_applet as I did earlier for

add_applet_to_community

Changed dotlrn-fs applet to track recent changes in file-storage. Each

instance now has its own root folder so permission details are different.

fix from Sloan: when cloning a community, give admins admin privs on the files in the Public/Shared files folder. they only get write on that folder so they won't delete it and that was preventing them from deleting copied files

implement a remove_user proc

  1. … 3 more files in changeset.
Bug 2058

Use localized folder names to find built-in folders during clone.

Fixes bug#2058.

Use localized name for cr_items.name of built-in folders. Uses sitewide

locale.

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040712 and jcd-merge-5-1-20040724 to HEAD

  1. … 138 more files in changeset.
bug 374 - file storage file size limit

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