Commit graph

11030 commits

Author SHA1 Message Date
Colin Kuskie
8bc1417091 Fix bad template code in 4 gallery templates. They were functional, just not
using template variables.
2009-02-05 22:13:14 +00:00
Tabitha Zipperer
c6c78794e5 Updated Data Table templates to be compliant with Rogier's templating project 2009-02-05 20:03:25 +00:00
Graham Knop
fbd118d37e fixed: Permissions aren't correctly applied to Article attachments 2009-02-05 20:02:52 +00:00
Kaleb Murphy
4d4dc3b253 Added survey.css as a snippet. Had been left out. 2009-02-05 16:50:15 +00:00
Kaleb Murphy
f38c821be5 Added survey.css as a snippet. Had been left out. 2009-02-05 16:49:58 +00:00
Colin Kuskie
ddff93418c Fix the display of creationDate in the gallery search template. 2009-02-05 01:56:39 +00:00
Colin Kuskie
4c5397ca71 Document the hoverhelp fix in the changelog. 2009-02-04 23:25:06 +00:00
Colin Kuskie
c4d4182f0f Prototype fix for yellow hoverhelp lines in opera/firefox. 2009-02-04 23:20:53 +00:00
Colin Kuskie
f2f8f22669 When data is successfully saved from the edit user preferences form, make it
redraw the Dashboard, instead of the shortcut.
2009-02-04 22:07:50 +00:00
Colin Kuskie
2c6717d508 Fix a dashboard bug where scripts and css needed by user profile fields were not
sent via an AJAX method in the shortcut.
2009-02-04 21:58:34 +00:00
Colin Kuskie
62a14a2dcc Dates in the galley advanced search were ignored. 2009-02-04 16:58:25 +00:00
Colin Kuskie
a5ad3bf4bd Fix broken subfolder synopsis template variable in the Folder. 2009-02-04 16:30:38 +00:00
Colin Kuskie
b8b2a38ef5 Fix the exitURL redirection when a survey is completed and the site uses a gateway url. 2009-02-04 02:22:21 +00:00
Patrick Donelan
669e986189 Replaced ResponseJSON's implementation of shuffle with List::Util's
shuffle and updated Colin's ninja shuffle tests
2009-02-04 02:05:44 +00:00
Patrick Donelan
477f014177 Improved createSurveyOrder documentation, and made perlcritic happy 2009-02-04 00:16:44 +00:00
Patrick Donelan
6fb325699f Refactored createSurveyOrder in ResponseJSON
Added lastSectionIndex, lastQuestionIndex, lastAswerIndex convenience
methods to SurveyJSON to simplify iterations over Sections, Questions
and Answers
2009-02-04 00:16:26 +00:00
Graham Knop
787fe74ee1 fixed #9623: preload.custom paths not included during upgrade 2009-02-03 23:46:41 +00:00
Colin Kuskie
a8f3d2ea30 Fix dotted assetIds in the database for the WebGUI 7 Style snippets, navigations,
folder and Image assets.
2009-02-03 23:42:59 +00:00
Graham Knop
3433c7c332 fixed #9542: Default WebGUI config contains invalid workflow activity 2009-02-03 23:28:25 +00:00
Colin Kuskie
2c60d6e7a8 Fix broken gateway macros. ^/;file does not work with prevent proxy cache. 2009-02-03 22:25:27 +00:00
Colin Kuskie
3e326cf25d Update the templateChecker test to look at extra head tags instead of the defunct
headBlock.  Add URL to the output to make working with wgd easy.
2009-02-03 22:24:02 +00:00
Colin Kuskie
10dcc25aef Fix hardcoded extras URLs in templates and in extra head tags in assets. 2009-02-03 22:07:59 +00:00
Colin Kuskie
ca208699a4 Make test pass when there are no failures. Yes, it does seem strange. 2009-02-03 22:00:00 +00:00
Colin Kuskie
7365d116be Remove old help for the survey that is broken, and not used anymore. 2009-02-03 20:37:28 +00:00
Colin Kuskie
a17e4288ba Remove tests for file content that do not work because files stream.
Update error message in test to match how the code works.
2009-02-03 20:27:36 +00:00
Colin Kuskie
cdf2638243 Remove dots from config files in exportBinaryExtensions. 2009-02-03 17:43:59 +00:00
David Delikat
621a0cf71b initialize keyword field in GalleryFile.pm because get fills it in now due to a recent code change 2009-02-03 16:43:47 +00:00
Patrick Donelan
66a2adcbe5 Moved ResponseJSON data hash to private variable, for security and
consistency with SurveyJSON

Added some more accessors/mutators, and param validation
2009-02-03 08:32:40 +00:00
Patrick Donelan
17dbf7fa66 Updated Survey.pm to use the new SurveyJSON contructor params 2009-02-03 08:32:22 +00:00
Patrick Donelan
57fb3cb238 Refactored SurveyJSON for perlcritic compliance.
Simplified some code, refactored out some C-isms.
2009-02-03 08:32:06 +00:00
Patrick Donelan
821635eb71 Refactored ResponseJSON and SurveyJSON
Added Params::Validate to ResponseJSON.pm
Refactored ResponseJSON constructor and re-ordered params for
consistency
Added new ->session accessor
Updates tests
Removed unnecessary logging methods
Further refactored SurveyJSON, gave private variables underscores,
replaced direct hash access with accessors
2009-02-03 08:31:43 +00:00
Patrick Donelan
8833459c74 Added param validation to all SurveyJSON.pm methods. 2009-02-03 08:31:24 +00:00
Patrick Donelan
d00c8661f3 Made first argument to SurveyJSON contructor $session for consistency
with rest of wg.

Also added Params::Validate validation.
2009-02-03 08:31:07 +00:00
Patrick Donelan
76d677ab4f Updated & cleaned YUI includes in Default Survey Edit template 2009-02-03 08:30:48 +00:00
Colin Kuskie
99d6796675 Prevent Event, WikiPage and Thread from being pasted places where they don't
belong.  This allows chained method calls to "getMyParent", getParent, getWiki, getCalendar, etc.
to work.
Adds the new canPaste and validParent method to Asset and AssetClipboard.
2009-02-03 04:43:11 +00:00
Colin Kuskie
151ebbde09 Also leaking a version tag. 2009-02-03 04:23:22 +00:00
Colin Kuskie
4ac37757ca Fix a leaking test. 2009-02-03 04:09:01 +00:00
Colin Kuskie
512b672ac6 Fix a few broken help entries. 2009-02-03 01:46:12 +00:00
Colin Kuskie
e0f6eec470 Fix the bad subnet checking in spectreTest. Subnet checks should only happen
in www_spectreTest, until a way is found to round trip data in and out of spectre
back to WebGUI.  Documented how and where that should occur.
2009-02-03 00:14:05 +00:00
Colin Kuskie
1091616705 Prevent WikiPages from being manually added to places where they shouldn't. 2009-02-03 00:11:52 +00:00
Yung Han Khoe
8dd4d66c96 fixed #9635: Matrix - Add attributes not working 2009-02-03 00:11:46 +00:00
Tabitha Zipperer
cd1992c9b5 Added styles for taking a survey 2009-02-02 22:44:50 +00:00
David Delikat
118c18569f caching now takes into account the correct parameter for pagination 2009-01-31 19:12:34 +00:00
Colin Kuskie
101e95fd63 Prevent Wiki Pages from being pasted to anywhere but a Wiki Master.
Add provisions for other assets to behave similarly.
2009-01-30 23:49:19 +00:00
Colin Kuskie
826089f075 Add a test to check for hardcoded extras in templates, and
in the extra head tags of all assets.
2009-01-30 16:49:00 +00:00
Colin Kuskie
ee9369392d Fix a test I broke with the i18n refactor for the GalleryFile 2009-01-29 23:46:39 +00:00
Colin Kuskie
097de28bd0 Fix a perl syntax error, and use if/elsif/else instead
of cascaded if, since the 2nd if would always win.
2009-01-29 23:38:14 +00:00
Colin Kuskie
2f599812f4 Fix the mime/type and content of the XML sent to ITransact. 2009-01-29 23:24:53 +00:00
Yung Han Khoe
df7de822ff Adding help for Survey Questions template 2009-01-29 23:17:29 +00:00
Paul Driver
9b749bc2ff Delete friends now removes both sides of the friendship. 2009-01-29 20:35:05 +00:00