Commit graph

5193 commits

Author SHA1 Message Date
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
Colin Kuskie
804bad9a48 very beginnings of an Asset MetaData test, along with an API extension to make adding metaData possible 2007-06-05 23:33:50 +00:00
Colin Kuskie
2af436a0ad Add the ability for posts to have metadata. The option is turned off by default,
but can be enabled in the CS.  If the option is turned on, and metadata is
enabled on the site, then sets of template variables will be made available
to the Post Form template, the Thread view template, and the CS view template.
2007-06-05 03:32:00 +00:00
Colin Kuskie
3b336e56a4 fix the Workflow help from the singleton/serial mode change 2007-06-05 03:12:45 +00:00
Graham Knop
56bb1e6fec fix: Show edit links on EMS search view without being in Admin group 2007-06-04 17:25:13 +00:00
Colin Kuskie
a426a50eb0 placeholder work. Refactored out several calls to session->form into a single call 2007-06-01 18:32:32 +00:00
Colin Kuskie
c3ce237e9d POD fixes for FormValidator package name 2007-05-30 22:43:16 +00:00
James Tolley
e553d60f10 WebGUI::FormValidator.pm 2007-05-30 22:36:17 +00:00
Colin Kuskie
261cd940c7 stub out FormValidator so WebGUI::Session will compile 2007-05-30 21:31:39 +00:00
Colin Kuskie
016b8a72b8 add missing use line 2007-05-30 21:31:11 +00:00
JT Smith
a7504f380a removed memcached support
added check for new modules
2007-05-30 18:34:25 +00:00
JT Smith
3259da6750 - Added a realtime workflow option for content publishing.
- Added switches to auto request commit operations and skip adding comments.
2007-05-30 16:07:43 +00:00
James Tolley
c09b2cae1b EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Graham Knop
1ceb7abb02 fix: bad javascript string escaping in EMS
fix: Unable to upload images or edit listings for Matrix
2007-05-29 21:30:07 +00:00
Doug Bell
9c6ca80302 fix: Event help file now passes all tests 2007-05-29 18:48:18 +00:00
Colin Kuskie
0ec7bb7a71 fix double my in setDataByQuery 2007-05-29 18:32:02 +00:00
Colin Kuskie
b7cbde0e79 fix typo in Search code from merge of no results found RFE 2007-05-29 18:30:17 +00:00
Doug Bell
c2a675564b fix: Fixed a problem with password recovery with the new user profile data 2007-05-29 17:25:24 +00:00
Doug Bell
1bdbb186aa fix: new profile fields now default to a type of "ReadOnly"
fix: Added new templates for calendar events and editing
2007-05-29 07:14:20 +00:00
Doug Bell
a4f56ff9ef add: syndicated content wobject now has additional ways to show the description. 2007-05-28 23:12:13 +00:00
Doug Bell
3c52f21923 add: WebGUI::Paginator now capable of more efficient paginations using SQL limit clauses 2007-05-28 22:32:51 +00:00
Doug Bell
b519375126 add: Calendar events from 7.4-prebranch
- Attachments
 - Setting view permissions
2007-05-28 22:27:31 +00:00
Doug Bell
07a40788bb add: User profile data table is now a flat table. 2007-05-28 21:35:34 +00:00
Colin Kuskie
8590ef89d5 Refactor getNumberOfPages to use Posix::ceil instead of gnarly modulo logic.
Refactor getPageData
    use $self instead of $_[0]
    Precalculate the ending page instead of iterating over ALL data with a conditional
2007-05-26 04:11:09 +00:00