Commit graph

95 commits

Author SHA1 Message Date
Colin Kuskie
5d4405f43d Convert Image::Graph and Poll over to use FormBuilder. 2010-11-29 09:37:28 -08:00
Doug Bell
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05:00
Graham Knop
ed04b99872 remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
Scott Walters
55962f477d Catch graph plugin failures (including lack of existance of) and send the error to the log. 2010-08-25 09:30:37 -04:00
Graham Knop
fadc4f34ea remove WebGUI::Utility::round 2010-08-25 12:38:14 -05: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
580c6bf6f7 Update addTab usage to pass name/value pairs. 2010-08-11 19:29:17 -04:00
Doug Bell
3934a6704c fix getEditForm 2010-07-15 11:55:25 -05:00
Doug Bell
3c17dafeb4 processPropertiesFromFormPost to processEditForm 2010-07-15 11:52:04 -05:00
Colin Kuskie
005b9da1ac Move session->env->getIp into session->request->address 2010-07-01 13:11:01 -07:00
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -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
616d5cc866 Moose overrides for purge, purgeRevision, and purgeCache. 2010-04-07 16:43:16 -07:00
Colin Kuskie
c786395eb4 Moose overriding for indexContent. 2010-04-07 15:07:20 -07: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
Colin Kuskie
b75c6f7053 Fix Moose usage so that the module compiles. Still won't work correctly under auto edit. 2010-02-17 16:48:08 -08:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
Colin Kuskie
936224311b More Poll fixes. 2010-02-16 14:54:01 -08:00
Colin Kuskie
43bff8c878 No variable fieldTypes. Use noFormPost instead. 2010-02-15 10:35:30 -08:00
Colin Kuskie
3d1491a4aa Updating Poll and MultiSearch for Moose. Poll conversion is not finished yet. 2010-02-11 16:37:11 -08:00
Colin Kuskie
bfd25d6de2 i18n the Graphing tab title in the Poll. Fixes #10831. 2009-08-26 18:45:56 +00:00
Colin Kuskie
39550d399f Prevent the generateGraph yesNo from being generated twice in the editForm.
Fixes bug #10829.
2009-08-26 18:40:20 +00:00
Colin Kuskie
721a8ced26 Use as many autogenerated form fields as possible. 2009-07-04 19:26:36 +00:00
Colin Kuskie
e5c0293498 Add missing POD. 2009-07-04 18:56:59 +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
0bf47be7f4 Add a basic test for the Poll, adding votes and making a graph.
Add POD to Poll for setVote, and use placeholders in there.
2009-05-29 18:54:26 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
315ce0941f use to_json and from_json in more places instead of encode_json and decode_json 2009-01-22 01:14:14 +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
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Graham Knop
d245e8ef48 fixed: Poll question/answers with international text corrupted 2008-03-27 20:29:07 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
53ac4be8d1 Added a simple smtpd for testing
MERGE: Added ability for WebGUI::Test->getPage to work on Operations
MERGE: Fix for AdSpace and tests for Operation::AdSpace
Fixed Poll's use of JSON
Added tests for emailOverride
2008-02-05 19:34:09 +00:00
JT Smith
34fd8c9245 updated webgui to run with Config::JSON 2.04 2008-01-25 05:10:33 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
JT Smith
5167b279f5 - fix: bug in EMS purge
- fix: bug in poll where you can't edit it to have less answers
2007-08-16 21:03:53 +00:00
Doug Bell
8b8feb6af3 Polls now use JSON instead of Storable to store graph info because Storable is not portable between OS/processors. 2007-08-14 17:07:28 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
JT Smith
e42a744ed9 - fix: XSS Vulnerability in WikiPage titles
- Depricated the random array function in WebGUI::Utility in favor of 
   List::Utils per the WebGUI Best Practices.
2007-01-17 05:23:03 +00:00
Drake
0d1c1ea96a Make Asset::getContainer no longer change the session asset. 2006-11-07 00:30:44 +00:00
Martin Kamerbeek
82bea1825c Fixed a a settings bug and a poll bug 2006-10-31 18:17:06 +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
JT Smith
a440cb5f41 fix: Security bug in session env 2006-07-11 20:32:46 +00:00
JT Smith
2e1de9d214 - fix: Column Layout seems a little messed up
- Fixed the EMS default templates to expose all functionality.
 - Fixed a problem in the EMS where it wouldn't let you add any events.
 - fix: FieldName incorrect after adding profile field
 - fix: preload.perl for other roots than /data/WebGUI
 - Fixed a bug where polls weren't distributing karma.
2006-05-30 15:50:13 +00:00
Martin Kamerbeek
9f136ed01e fix [ 1489123 ] problem with graphing 2006-05-16 12:11:16 +00:00
Martin Kamerbeek
27af7de00c Adding the graphing engine. 2006-04-30 22:40:23 +00:00
JT Smith
fe8dd69731 removing some old caching stuff 2006-03-30 01:58:27 +00:00
Colin Kuskie
f59f41cd9e WebGUI::User->isInGroup does not take a UID argument anymore.
Grepped all files and fixed these errors:
	- Passed userId replaced by User object creation and use.
	- Where $session->user->userId was used, it was removed.
Updated POD inside Group.pm
2006-03-15 22:55:00 +00:00
JT Smith
6c4ae02f34 more conversion to the new streaming/chunking/bucketing system 2006-01-30 22:15:27 +00:00