Commit graph

10377 commits

Author SHA1 Message Date
Colin Kuskie
42784e1b98 Fix copy/paste POD in Settable role. 2010-08-20 07:47:39 -07:00
Colin Kuskie
092c8d96ba Remove C::IO use line. 2010-08-19 16:48:05 -07:00
Colin Kuskie
c917e6ca6d Convert AssetCollateral/DataForm/Entry.pm over to use Moose. 2010-08-19 16:47:07 -07:00
Scott Walters
9c3a3b1b79 It's better to die than to return in failure. 2010-08-19 12:38:27 -04:00
Doug Bell
d04a46218c remove reference to old AdminBar css file 2010-08-19 16:08:59 -05:00
Doug Bell
68e0e117b0 fix bad height calculations in admin bar 2010-08-19 16:08:58 -05:00
Doug Bell
e9e6771379 make everything look uniform 2010-08-19 16:08:58 -05:00
Doug Bell
ca2a91f2d4 fix i18n and cursor (to show clickability) 2010-08-19 16:08:58 -05:00
Colin Kuskie
13d65d8b4a purgeCache also cleans up internally cached objects, _parent, _thread 2010-08-19 11:54:39 -07:00
Colin Kuskie
dbac3e2ae7 Don't update storage permissions if there isn't an "old" argument. This was being called during ->new. 2010-08-19 11:54:39 -07:00
Colin Kuskie
ae8ed52647 Fix triggers for updating storage permissions when asset permissions change. 2010-08-19 11:54:39 -07:00
Doug Bell
e51a74e7bb nice pretty buttons and approved checkbox 2010-08-18 18:29:37 -05:00
Doug Bell
9a6f75e40e reorder richedit buttons 2010-08-18 16:56:54 -05:00
Doug Bell
b073727e50 codearea defaults to 100% width 2010-08-18 16:56:50 -05:00
Doug Bell
a0e2347336 textarea defaults to 100% width/height 2010-08-18 16:56:47 -05:00
Doug Bell
52fc3d821e default to Helvetica font 2010-08-18 16:56:44 -05:00
Doug Bell
755708f325 rich editor defaults to 100% width/height 2010-08-18 16:56:43 -05:00
Colin Kuskie
4bf7eb4cfb Fix UTF-8 URL handling in dispatch. Added tests for creating assets and accessing assets with UTF-8 urls. Fixes bug #11785 2010-08-17 16:55:00 -07:00
Colin Kuskie
80c906b8eb Really fix sorting numerically for resolutions. Added tests to check it. 2010-08-17 13:30:39 -07:00
Colin Kuskie
eac7fe8a64 Gallery resolutions are integers. Fixed sorting the resolutions, and fixed the tests to not use bad resolutions. Fixes bug #11787 2010-08-17 11:16:58 -07:00
Colin Kuskie
09ff64334e Explicit scalar for getting the URL form param in Asset.pm. 2010-08-17 11:13:29 -07:00
Scott Walters
420fcdeca6 Use the Form::ReadOnly control rather than the raw interface;
WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw().
2010-08-17 12:37:43 -04:00
Scott Walters
ba953a6526 Use the Form::ReadOnly control rather than the raw interface;
WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw().
2010-08-17 12:37:23 -04:00
Colin Kuskie
decfa808bb Change the YesNo form plugin to be a subclass of RadioList. Fix rendering problems with RadioList. Fixes bug #11777 2010-08-16 11:11:30 -07:00
Colin Kuskie
797606639d Lookup file icon for all attachments, and thumbnail for all images. Fixes bug #11782. 2010-08-16 09:12:29 -07:00
Colin Kuskie
8f7bbdaa5d Fixes bug #11780: anchor filename regex to the end of the string. 2010-08-15 23:23:49 -07:00
Colin Kuskie
05c287cfc7 Thingy add/edit via AJAX returned nothing useful, and lied about error status. Fixes bug #11781. 2010-08-15 23:16:53 -07:00
Colin Kuskie
11ac13c349 Prune out a method call from db->dbh->quote_identifier. 2010-08-14 17:51:25 -07:00
Graham Knop
04c49fb48e use setPrivileges on files instead of doing it manually 2010-08-14 09:26:52 -05:00
Doug Bell
6857ad6355 add www_edit boilerplate
This will be removed when forms can be directly added to
templates and template objects can be passed around. Finally www_
methods will be extendible!
2010-08-13 16:40:27 -05:00
Paul Driver
890a94d3d5 Stop realtime run on deleted wf instances 2010-08-13 13:51:08 -07:00
Colin Kuskie
3e8e2d452c Merge branch 'master' into WebGUI8. Merged up to 7.9.12 2010-08-13 12:25:19 -07:00
Colin Kuskie
7b218942b3 Merge commit '63865eb39f' into WebGUI8. up to 7.9.11 2010-08-13 11:52:08 -07:00
Scott Walters
f51ef19889 'getStoryRichEdit' was never implemented and there is no 'parent' method.
This was commented out in 7.x and apparently got uncommented without being implemented (which is okay but I've gotta comment it out again... it's gotta be done).
The StoryForm field does richEditId => $archive->richEditorId.  Perhaps this is the desired approach?
2010-08-12 10:30:54 -04:00
Scott Walters
f1fe99a95a Use super() instead of SUPER. 2010-08-12 07:55:53 -04:00
Scott Walters
8f616a9fe1 addField takes the key/value pairs unrolled, not as a hash ref. 2010-08-11 22:04:46 -04:00
Scott Walters
7d41ade046 WebGUI::Asset::File::Image::getEditForm counts on having the templateId tab be under the 'display' tab so lock it down to there. 2010-08-11 21:41:59 -04:00
Colin Kuskie
7251cc2c23 Secure and fix the Zip Archive. 2010-08-11 17:38:15 -07:00
Scott Walters
c74572bac1 Fix typo in '_doAfterTimeLimit_options' call from property definition. 2010-08-11 19:29:18 -04:00
Scott Walters
c65eb74197 Use the new getProperties() API rather than the definition datastructure. 2010-08-11 19:29:17 -04:00
Scott Walters
7b11f97aec In a properties block, "defaultValue" does nothing. We want "default". 2010-08-11 19:29:17 -04:00
Scott Walters
580c6bf6f7 Update addTab usage to pass name/value pairs. 2010-08-11 19:29:17 -04:00
Scott Walters
9eea40aeff Don't blow up on view when there are no WebGUI::Asset::WikiPage
child objects under us to feature.  Also, the only reason that -1
on the rand works is because Perl is nice.
2010-08-11 19:29:16 -04:00
Colin Kuskie
e43745cd86 Trap exceptions when trying to get the featured wiki page. 2010-08-11 21:47:18 -07:00
Colin Kuskie
13a222f6ce Block files with dangerous names from coming in via Storage untar. 2010-08-11 15:46:02 -07:00
Colin Kuskie
9f724a7193 block the same set of extensions in http, scalar and file uploads in Storage. 2010-08-11 14:56:16 -07:00
Doug Bell
6b1e02f764 fixed possible vulnerability loading help files 2010-08-11 15:54:48 -05:00
Doug Bell
4e9a2c07c2 fix possible vulnerability loading template parser 2010-08-11 15:37:34 -05:00
Doug Bell
0957759fa9 fix 11779 SQLReport can run arbitrary queries 2010-08-11 14:48:38 -05:00
Graham Knop
996acb5ab5 fix typo in SQLReport 2010-08-11 12:28:16 -05:00