Commit graph

97 commits

Author SHA1 Message Date
Colin Kuskie
c4553012d1 Syntax clean. 2010-11-17 16:34:11 -08:00
Doug Bell
6d6e5768ef fix typo preventing Article from add/edit 2010-08-06 17:02:09 -05:00
Doug Bell
3c17dafeb4 processPropertiesFromFormPost to processEditForm 2010-07-15 11:52:04 -05:00
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -05:00
Doug Bell
b767824711 cache: s/delete/remove/ 2010-04-19 18:51:10 -05:00
Doug Bell
165be5b389 remove eval{} from caching code 2010-04-19 18:41:13 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
f56bac9948 SUPER handling for most of Wobject/*.pm. There's a problem with Calendar, though. 2010-04-08 17:00:05 -07:00
Colin Kuskie
ce39ad6a14 Must set cache after updating, since the attribute clears the cache if the ids are different. 2010-04-06 19:10:57 -07:00
Colin Kuskie
c549803777 Reindent Article.pm 2010-04-06 19:05:12 -07:00
Colin Kuskie
54f0148ec9 Use lots and lots of Moose modifiers in the Article. 2010-03-24 17:01:18 -07:00
Colin Kuskie
8a3f36a449 Fix an accessor name. 2010-03-24 15:09:59 -07:00
Graham Knop
913fa9ad03 clean up Tie::IxHash imports 2010-03-10 12:59:51 -06:00
Colin Kuskie
814c2af249 Change calls to new to newById across Asset/ 2010-03-03 16:27:45 -08:00
Colin Kuskie
117c7897bb Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes. 2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
Colin Kuskie
7caa3e3738 Move AssetRole to Role::Asset, and update all client modules. 2010-02-16 11:00:47 -08:00
Colin Kuskie
90facc46a9 Refactor code for updating storage location file permissions into a Role. 2010-02-16 08:56:34 -08:00
Colin Kuskie
c1a3030191 Another Article method change. 2010-02-04 15:22:23 -08:00
Colin Kuskie
019ebba6f2 Remove update override sub, and use the new Asset triggers instead. 2010-02-04 14:02:08 -08:00
Colin Kuskie
13d0289098 Moose accessors. Convert part of update code into a trigger on storageId. 2010-01-26 16:21:06 -08:00
Colin Kuskie
1736b481b6 Update Article for Moose 2010-01-26 16:13:36 -08:00
Colin Kuskie
5bd5bb48a9 Central cache access for Assets to handle SSL caching. Fixes bug #11131. 2009-10-20 15:15:38 -07:00
JT Smith
ebb6134c2d bug fixes 2009-09-25 22:50:59 -05:00
JT Smith
ccff9c7014 Converted all existing uses of cache. 2009-09-25 22:24:33 -05:00
Colin Kuskie
1a74cb056d Fix the separator macro. Adds a method to WebGUI::HTML that splits
content based on the separator macro, and does a best effort to fill in
tags that the splitting breaks by and start and end tags.
Update Post and Article to use it.
2009-07-25 04:30:28 +00:00
Colin Kuskie
bd924e8f88 Form/File will automatically delete empty storage locations, but assets
expect them to stick around.  Add a flag to Form/File.pm to prevent it
from deleting them.  Make sensitive assets use that flag.
2009-07-23 16:50:57 +00:00
Colin Kuskie
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Colin Kuskie
4a5d907d77 POD Coverage for Event, SQLReport, Survey, Navigation, Article, and Form/HTMLArea 2009-04-10 02:02:07 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
fbd118d37e fixed: Permissions aren't correctly applied to Article attachments 2009-02-05 20:02:52 +00:00
David Delikat
118c18569f caching now takes into account the correct parameter for pagination 2009-01-31 19:12:34 +00:00
David Delikat
e3e24b37b0 fixed #9596: Articles now use a semi-unique pagination variable based on asset id
also restored the 'synopsis = first page' feature in Asset::Post::getSynopsisAndContent
2009-01-29 17:45:52 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Kaleb Murphy
50f6670a1a Article now only allows two files to be uploaded. 2008-09-15 19:00:30 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Graham Knop
8f9568c887 fixed: storage locations for some assets in packages not imported correctly 2008-06-20 08:57:20 +00:00
Graham Knop
f095337301 fixing article storage copying 2008-04-03 16:31:09 +00:00
Graham Knop
53bdfda753 fixed: profile photos don't obey max image size 2008-03-28 19:55:03 +00:00
Graham Knop
f22646625b package importing fixes 2008-02-08 00:00:13 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
1b3d7f0c2b Refactor out the copied code to resize images based on the max file
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +00:00
Graham Knop
865c1d315b merging 7.4 changes 2007-11-22 06:09:27 +00:00
JT Smith
350d7f6e01 - api: You may now use a displayOnly attribute in your asset properties list
that will display a field, but is not settable via the update() method.
 - api: You may now use a customDrawMethod attribute in your asset properties
   list that will enable you to add custom display options for that fields when
   the edit form is automatically generated.
 - Added file attachments to the Wiki.
 - Added a new attachments form control.
 - Added a form control skeleton.
2007-07-25 22:22:49 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
a8e972695e change the order of the Article fields to make logical sense 2006-12-06 23:42:01 +00:00
Drake
c438d55310 Normalized signature of Asset::duplicate. This involved going through
existing overrides and callers for that method and making sure they followed
the correct signature.  Various related cleanups.

This should fix those bugs with collaboration systems refusing to be copied
or deployed as packages.
2006-09-23 01:33:46 +00:00
Martin Kamerbeek
7d453b758c Fixing a typo 2006-07-20 15:03:03 +00:00
Wouter van Oijen
c545bea063 fix: Article thumbnail not working 2006-07-20 12:46:54 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00