Commit graph

58 commits

Author SHA1 Message Date
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
Doug Bell
8ca685e089 add file input for progressive enhancement and testing 2011-01-31 20:38:00 -06:00
Colin Kuskie
5f3014aaee Merge branch 'master' into WebGUI8. Merged up to 7.10.4 2010-11-03 09:47:36 -07:00
Colin Kuskie
5bf6628509 Shift the location of break tags in Form/File to prevent danglies. 2010-10-29 14:51:14 -07:00
Colin Kuskie
1f42a0a24e Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset. 2010-09-24 08:03:09 -07:00
Colin Kuskie
445dbff297 Covert File, CheckList over to headTags 2010-09-23 16:20:23 -07:00
Colin Kuskie
0b08031bd7 Covert File, CheckList over to headTags 2010-09-21 14:23:29 -07:00
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -07:00
Colin Kuskie
0cbc4eece1 fix #10879. Form/File loses files from previous storageId.
Tested Collaboration System, and User Profile Avatar field.
2009-09-04 17:16:22 -07:00
Colin Kuskie
2f3b8b8037 Persist form data in the Files and Images.
Reformat lots of AdSku code, and change it to persist the storage for uploading an Image ad.
2009-08-28 22:56:17 +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
472580dd45 Prevent Form/File from returning links in getValueAsHtml if there's
no real value in the storage element to return.
2009-06-03 21:08:40 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
e5ede77c29 use char instead of varchar 2009-02-18 03:18:20 +00:00
Colin Kuskie
41da738e0e Fix handling of multi-form and multiple select form elements by emitting
a hidden form variable to make sure the form element was in the generated form.
Changes in User and ProfileField to support this.
2009-01-26 21:03:23 +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
JT Smith
1f3dbbaca0 a couple bug fixes 2008-08-15 01:02:08 +00:00
JT Smith
982e8343fc - Fixed a problem with the file upload control where you couldn't delete the
file if you have multiple attached.
2008-08-14 22:11:19 +00:00
Graham Knop
d721cafc8e use proper extras url for file icons 2008-08-14 15:45:05 +00:00
Kaleb Murphy
478dc1d085 Form file attachment icons and fileloader.js are no longer loaded inline. 2008-08-14 00:28:19 +00:00
Kaleb Murphy
173c2a12cd Form/* now all use getOriginalValue and getDefaultValue. This resolves the Layout bug where all the check lists could not be unchecked. Tests were updated, but still need a major overhaul. 2008-08-08 14:52:53 +00:00
Graham Knop
bedac54d96 getting value for display shouldn't process form parameters 2008-06-10 18:35:23 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Graham Knop
81bb746f9e fix CS posts not allowing new attachments after deleting old ones 2007-11-08 22:50:59 +00:00
Graham Knop
1c92b36f5d File user profile fields now link to file 2007-10-04 21:28:44 +00:00
Doug Bell
4422ca9844 fix: File Upload control now shows more than one file when deleteFileUrl is specified 2007-09-07 21:58:23 +00:00
JT Smith
81fd7c6194 fix: XHTML 1.0 strict, FileUploadControl.js, resizable textarea 2007-08-14 17:10:19 +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
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +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
54a20b9c65 pod fixes for Form::Image and Form::File 2007-04-26 17:17:22 +00:00
JT Smith
70071838bc Avatar profile field does not update immediatly when you are admin 2007-01-30 18:15:06 +00:00
JT Smith
41e655b452 - fix: New page layout instead of not found
- fix: Rollback
 - fix: debug output
 - fix: Can't delete images at product asset
fixed a problem with file/image form uploads
rearranged group methods for alphabetical order
removed matt's hack for group caching and replaced it with the right way
2006-05-30 22:35:12 +00:00
Colin Kuskie
f413c029a2 Storage now prunes empty directories when delete is called.
Add use WebGUI::Form::Hidden to Form::File
2006-05-19 21:48:10 +00:00
JT Smith
2f24cd3f3c [ 1475220 ] some 6.99 templates have double slashes 2006-04-28 16:59:32 +00:00
JT Smith
722a214f80 added resizable textareas 2006-04-19 19:08:56 +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
Colin Kuskie
81789c2275 restore multiple attachments 2006-01-30 01:38:54 +00:00
Colin Kuskie
8639f53783 Missing session variables in Operation subroutines.
Forward port of Form/File,Image big fixes.
2006-01-26 18:07:56 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
f64ec77d8a fixing the ->param ->body distinction issue. 2006-01-23 05:18:54 +00:00
Colin Kuskie
1fdc49b3bf Storage constructors need session variables 2006-01-18 21:43:01 +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
Colin Kuskie
16b0edfb6b first wave of i18n fixes 2006-01-15 00:58:33 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
JT Smith
1e5034acd6 refactored storage api to handle new session stuff 2006-01-12 19:15:34 +00:00