Commit graph

5429 commits

Author SHA1 Message Date
JT Smith
e1a0b462a1 ems performance improvements 2007-07-05 04:18:16 +00:00
JT Smith
0d145e6d91 - api: Form Controls and Workflow Activities may now include web based helper
subroutines directly in their files. See
   WebGUI::Operation::FormHelpers::www_formHelper and
   WebGUI::Operation::Workflow::www_activityHelper for details.
2007-07-05 02:31:46 +00:00
Colin Kuskie
7f59bd3f33 forward port of config variable stomping fix 2007-07-03 01:05:44 +00:00
Colin Kuskie
a25df35eea forward port of session template variable doc removal in style template 2007-07-02 23:50:57 +00:00
Doug Bell
65235990a3 fix: Collaboration System can now be subclassed and still work with existing Thread and Post assets 2007-07-02 22:25:41 +00:00
Graham Knop
8a88823682 fix: Email validate codes aren't removed after use 2007-07-02 17:21:08 +00:00
Colin Kuskie
00c91f1ad0 fix bad whitespace before POD directives 2007-07-01 16:47:44 +00:00
Colin Kuskie
37f6db428f Make Macro/Thumbnail.t more robust by not running downstream tests if
the file does not exist.

Fixed a bug I created by changing the order of update and change comparison
in Asset/File.pm.  This caused Asset/File.t, Asset/File/Image.t and
Macro/Thumbnail.t to fail.
2007-07-01 16:39:24 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
16e44d42f0 fix typos in the Help and i18n for the Newsletter 2007-07-01 05:30:00 +00:00
Colin Kuskie
c615268d94 fix a bug with the new assetDbProperties method. It used the wrong class 2007-07-01 05:15:53 +00:00
Colin Kuskie
8bd9f14a3f Forward port of import log false error fixes. 2007-06-29 23:08:26 +00:00
Colin Kuskie
fa1499cf06 Forward port of empty Matrix Listing productName.
I did not bring in the 7.3.20 upgrade script, because I'm not sure how
the branch is supposed to work.
2007-06-28 23:15:34 +00:00
Colin Kuskie
4f570b67c9 Forward port of inactive user group email fix, and user status documentation. 2007-06-28 20:03:22 +00:00
Frank Dillon
6047b341be Added HttpProxy URL Pattern Filter 2007-06-28 14:26:39 +00:00
Graham Knop
3f3fc5dd8f Don't fail on importing iCal events with invalid timezones 2007-06-27 15:18:49 +00:00
Graham Knop
feb82c6d4b fix: image profile field edit errors 2007-06-27 13:07:13 +00:00
Graham Knop
47649c4401 fix: Calendar Event import ignores time zone 2007-06-27 12:37:11 +00:00
James Tolley
60eeebdba9 spectre/workflows/priorities RFE 2007-06-26 23:48:41 +00:00
JT Smith
794da40e5c merging 7.3.19 fix 2007-06-26 15:17:40 +00:00
Colin Kuskie
0c45e5286e Forward port of isHidden work from 7.3 for Post, Event and WikiPage.
isHidden is not allowed to be 0 for those Assets.  I had to reinstantiate
the update method for the Event Asset, but I only put in the code to
force isHidden to be forced to 1.
2007-06-26 04:33:07 +00:00
Colin Kuskie
7abd54eb94 forward port of double-thumbnail bug. Image was inheriting a Storage object from File, and needed a Storage::Image object 2007-06-23 02:19:38 +00:00
James Tolley
0db9d14a94 SQLForm empty search field fix 2007-06-23 00:21:17 +00:00
Colin Kuskie
522d87fed2 forward port of File/Image - Storage/Storage::Image object alignment fix 2007-06-22 23:26:13 +00:00
Colin Kuskie
4de39b7fe5 forward port of getAllInstances fixes, so that it never returns undef but logs warnings instead 2007-06-22 17:55:25 +00:00
James Tolley
a640222a29 improved SQLForm field default search modes 2007-06-21 22:43:57 +00:00
JT Smith
ec67b2e8fe - rfe: snippets should have titles too!
- Added a mechanism for using external folders for custom code. See 
   sbin/preload.custom.example for details.
2007-06-21 17:58:58 +00:00
James Tolley
d32d4112f4 SQLForm - simple weighted sorting, various fixes 2007-06-20 18:46:35 +00:00
Colin Kuskie
fa74d270b1 use max(sequenceNumber) instead of count(*) to prevent any future sequenceNumber clashes 2007-06-20 05:01:44 +00:00
Colin Kuskie
07582c34d6 Forward port of Workflow Activity sequencing bug. create uses count, but
delete did not reorder the existing activities.  This would allow duplicate
sequenceNumbers in the db.

The upgrade script will resequence and fix all activities in all workflows.
2007-06-20 04:43:11 +00:00
Colin Kuskie
8ced11c8ab make the user invite email templatable 2007-06-18 05:05:18 +00:00
JT Smith
9248570f79 Added Newsletter Asset (Funded by United Knowledge) 2007-06-16 19:33:12 +00:00
Frank Dillon
a2098b828a removed debug code accidentally left in 2007-06-15 22:30:23 +00:00
Colin Kuskie
92151cdf7b documentation for new macro 2007-06-15 21:29:12 +00:00
Frank Dillon
e0c86a8915 inbox changes 2007-06-15 18:17:12 +00:00
Frank Dillon
0dae2cf96f Macro for displaying new private message alerts to users 2007-06-14 20:11:22 +00:00
Frank Dillon
82e020dc4f Changes to WebGUI for Private Messaging 2007-06-14 20:10:33 +00:00
Colin Kuskie
e3092f0aa8 Fixed a bug where due to the lack of a cached Storage object,
the assetSize in the db was set wrong.  This happened when a File/Image
was added, and when it is committed. Editing the Asset would fix it, but
once it was committed, the files in the Storage area were not added.

List of Changes:
1) Removed setSize from File/Image.pm. It can inherit from File.
2) In Asset::File::processPropertiesFromFormPost, set _storageLocation to the Storage
   object.  Remove the call to setSize since it's done in ->update
3) In Asset::File::setSize, fetch the current storage object via getStorageLocation.
4) In Asset::File::update, move the call to update after the filesystem work.  This
   way changes in the size of the permissions file get accounted for.
5) In Asset::update, call setSize after all changes, regardless of whether or not
   properties have changed.
6) In Asset::setSize, refactor out the size calculation and update $self's properties
   cache so that long running scripts have the right size.
2007-06-13 23:06:44 +00:00
JT Smith
87a1db4392 made it far less verbose 2007-06-13 19:54:13 +00:00
JT Smith
c0cba2a467 hadn't been brought up to spec 2007-06-13 15:16:45 +00:00
JT Smith
ee4f857d59 should be using ^Extras; macro instead 2007-06-13 14:14:27 +00:00
Yung Han Khoe
d1f5dcfd9d Updated help for Search Asset. 2007-06-11 22:48:04 +00:00
Yung Han Khoe
fdd11a2b7b fix: Package deploy: hidden assets become visible 2007-06-11 16:26:03 +00:00
Yung Han Khoe
e5e2c4b2ca Added assetId to template vars in search asset. 2007-06-11 15:32:09 +00:00
Colin Kuskie
ebf093775e remove debugging code from Auth for user invites 2007-06-10 22:05:49 +00:00
JT Smith
c9266c4588 - Added a simple Single Sign On mechanism.
- Added the SessionId macro.
2007-06-10 17:52:51 +00:00
JT Smith
f25553394e fixed wiki master problem 2007-06-10 17:41:13 +00:00
Colin Kuskie
21c4fcb75f This patch adds user invitations, a way for existing users on a site
to send an email to their friends and invite them to create an account
on the site.  The feature is enabled or disabled in the site Settings.
(Operation/Settings.pm)

It is implemented as a new operation, Invite (Operation/Invite.pm,
Help/Invite.pm, i18n/English/Invite.pm), and the option is displayed
as an option on the user's account screen. (Operation/Shared.pm).
The form is templated, and lives in the Invite namespace.  Once
the invitation is submitted, if the user's email address is not
already in WebGUI, an email is sent and a record is stored in
the userInvitations table.

When the friend gets the invitation, they are taken to the account
creation screen, which conveniently has their email address already
filled in.  This required changes in the Auth modules (Auth.pm, Auth/*.pm),
and ProfileField.pm.  The latter was so that profile fields can have
their values manually set.  The former changes handle inserting the
email address, bypassing the anonymous registration check, and
updating the record in ther userInvitations table.

I refactored some code out of the AdminConsole for finding the url
back to the site and added it to Session/Url.pm.  The method is
called getBackToSiteUrl.
2007-06-10 16:38:43 +00:00
Colin Kuskie
0155c43c6e commit product manager produce ID display RFE 2007-06-07 04:59:52 +00:00
Yung Han Khoe
17b86ba9c7 fix: Order of content position loops in Page Layout 2007-06-06 15:28:07 +00:00