Commit graph

80 commits

Author SHA1 Message Date
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
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
JT Smith
771d11f833 - fix: Help is missing style
- fix: Setting expire password on user creation does nothing
 - fix: Collaboration settings in help
 - Lots of template fixes.
2006-06-02 16:22:55 +00:00
Wouter van Oijen
e81ce2759a Fixed POD in 12 files reported by new test for invalid whitespace 2006-05-20 10:39:16 +00:00
JT Smith
ac15407a7e trying to fix the new styles which are all broke to hell!!!!
removed convertCarriageReturns from article
added two of the new content items for 7
2006-04-26 01:59:13 +00:00
JT Smith
e8c073b9df some http header changes 2006-04-18 14:22:42 +00:00
JT Smith
8fb74410ab a few bug fixes 2006-04-16 18:04:28 +00:00
JT Smith
4adfc0737c made it so it's possible to use file form elements without any auxillary code
fixed a bug in Post
storage copy can accept an optional new storage location to copy to
articles can now accept direct attachments
2006-04-16 17:30:01 +00:00
JT Smith
7fcfb11f20 made the file and image form fields better, but still have some work to do
began converting the article to have it's own attachments, but still have some work to do
2006-04-16 01:10:34 +00:00
JT Smith
e4392f7449 new caching system to replace old page cache 2006-04-05 20:46:57 +00:00
JT Smith
9f6a13e022 removed PBtmpl0000000000000003 because it's no longer needed or used 2006-03-23 17:13:21 +00:00
JT Smith
46fa7e78e7 began adding streaming support for view method 2006-01-30 21:26:22 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
Colin Kuskie
01d95a265e new i18n api requiring $session 2006-01-12 17:49:20 +00:00
JT Smith
877bf082a0 migrating paginator api to new session system
fixed a few old style session vars
2006-01-12 17:24:06 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
2866a2c873 converting assets to new session system 2006-01-02 03:12:54 +00:00