Commit graph

2941 commits

Author SHA1 Message Date
Colin Kuskie
8a683d1aef Better template diagnostics on failure. It now also includes the template URL, and templateId
in both the onscreen and logged output.
2009-06-08 16:53:53 +00:00
Doug Bell
1de7439056 fixed issue with getSortOrder and rating 2009-06-05 17:31:39 +00:00
Colin Kuskie
0cf94b4c32 Fix a syntax warning in Survey.pm 2009-06-04 21:45:13 +00:00
Colin Kuskie
957c0bc2fe 6 bugs fixed in Shortcut.
Added missing POD and i18n'ed some error messages.
Set the UI level on a tab to work with the form elements it contains.
Change the title bar ajax edit form so that people can't accidently change Visitor's profile.
Remove overrides caching if admin mode is on.
Have caching consider the user's last updated time to check if profile settings are updated, too.
2009-06-04 19:48:42 +00:00
Colin Kuskie
f9f5a8b12a Remove patch temporary file. 2009-06-04 16:24:37 +00:00
Patrick Donelan
d3f5c9ecfd Survey - differentiated between endDate and endDateEpoch. 2009-06-04 07:22:48 +00:00
JT Smith
9381fd02d8 Insufficient filtering in javascript filter (#10001) 2009-06-03 15:53:55 +00:00
Martin Kamerbeek
bb31750e7c Fixed: Calendar: Weekly re-occurence function not working properly (#10228) 2009-06-03 14:28:11 +00:00
Yung Han Khoe
15b197976e Adding Matrix tests 2009-06-03 13:22:32 +00:00
Patrick Donelan
3ffb76ef7f Fixed Survey testsuite handling of Tagged question type 2009-06-03 07:16:14 +00:00
Patrick Donelan
5acade845a Fixed Survey test suite 'tagged' check to work with nested data 2009-06-03 07:15:52 +00:00
Patrick Donelan
9702ffcaac Fixed Survey section-level branch precedence bug
For Sections with questions spread out over multiple pages, branch
expressions should only happen on the last page of the Section.
Added explicit test.
2009-06-03 02:12:00 +00:00
Patrick Donelan
da595da89e Remove bloat from Survey response record to reduce json serialisation time 2009-06-03 02:11:31 +00:00
Patrick Donelan
216a48580a Fixed #9927 Survey - verbatim
Fixed inconsistencies between answer 'comment' and 'verbatim'.
Updated tests.
Made minor changes to reporting methods but they still need some love.
2009-06-03 00:29:29 +00:00
Colin Kuskie
6ac30bb2ea Add noFormPost to packed content in the asset tables to prevent them
from overwriting the data that has been packed from the filter function.
Rerun the upgrade script to repack all areas that use packing.
2009-06-02 20:30:48 +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
Patrick Donelan
084a0c3105 Fixed naff Survey::takenCount bug, added explicit test for it 2009-06-02 02:42:37 +00:00
Patrick Donelan
7faa9c3e9d Fixed Survey Date question type server-side validation, and made
all validation messages generate debug output
2009-06-02 01:48:41 +00:00
Colin Kuskie
45d1791876 Remove multiple delete buttons for photos in the Story. Ala GalleryFile/Photo. 2009-06-02 01:39:22 +00:00
Colin Kuskie
5fd74af21e Don't make a 2nd i18n object. 2009-06-01 20:47:06 +00:00
Colin Kuskie
96af6ed2ce Fix POD, and remove dead label/hoverhelp code which isn't used. 2009-06-01 20:15:21 +00:00
Colin Kuskie
fcb884a410 Fix Project Manager calling wrong method on right object. www_viewScreen now
uses mobile template if so enabled via calling processStyle.
2009-06-01 20:00:16 +00:00
Colin Kuskie
8f09dc062d Add edit and delete icons to the Story Topic. Update tests. Adjust both
sets of templates.  Use the correct privileges for displaying the icons.
Help and i18n.
2009-06-01 16:53:22 +00:00
Colin Kuskie
6844ef4559 Add missing edit story and delete story icons in the view method of the Story Archive. 2009-06-01 16:27:49 +00:00
Colin Kuskie
76b9f01e77 Prevent head tags from appearing twice in wobjects.
prepareView sets the extra head tags.  Have all wobjects, in their www_view method,
tell processStyle not to set the extra head tags again.
2009-06-01 02:03:05 +00:00
Colin Kuskie
20a333cde8 Change caching on the SQLReport to be set by its cacheTimeout, even
when viewed standalone, and not part of a page.
2009-05-30 18:01:59 +00:00
Colin Kuskie
d9e2590623 Internationalize the shortcut no longer exists message. 2009-05-30 15:28:59 +00:00
Yung Han Khoe
398f5203f4 making all Matrix datatables templatable 2009-05-30 14:43:41 +00:00
Colin Kuskie
b0a1e20053 Refactor processStyle so there's no duplicated code. Make Wobject call
SUPER.  Add an option to skip adding getExtraHeadTags, so that Shortcut
doesn't add them an extra time.  Remove the subclassed getExtraHeadTags,
since prepareView will add them, which prevents adding them a 3rd time.
2009-05-29 23:30:04 +00:00
Graham Knop
66843db604 string evals are evil 2009-05-29 21:41:52 +00:00
Graham Knop
c0d7357429 fixed: Template parser cannot be set 2009-05-29 20:22:08 +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
Colin Kuskie
2daa6c6c99 fix list type form data in Shortcut, too 2009-05-29 15:51:47 +00:00
Colin Kuskie
91694a2e97 Revert previous bugfix for MetaData list type form controls, and change the
hoverhelp instead.
2009-05-29 15:37:16 +00:00
Patrick Donelan
1a4b673843 Made Survey Test Suite feature was dependent on TAP::Parser and TAP::Parser::Aggregator 2009-05-29 01:04:45 +00:00
Doug Bell
400c67e39a added "addedToCart" var to ThingyRecord 2009-05-28 21:52:54 +00:00
Martin Kamerbeek
1ec0ec5961 - Fixed a bug in thingy which caused the defaultValue property for some list form elements to be ignored.
- Fixed a race condition introduced in a previous commit.
2009-05-28 16:31:45 +00:00
Martin Kamerbeek
0826f09f32 Thingy bug fixes. 2009-05-28 07:58:07 +00:00
Patrick Donelan
beff1d2166 Survey NYTProf performance improvements
initSurveyOrder now builds a lookup cache to speed up branching
Test suite caches surveyOrder and response itself
Unnecessary sub calls reduced
Updated tests
My largest survey instance test suite, which contains > 1000 tests,
now runs nearly 8 times faster.
2009-05-28 07:24:11 +00:00
Patrick Donelan
d14cf19e9d Added Survey tests for more question types 2009-05-28 07:23:43 +00:00
Colin Kuskie
83497b773e Fix Story permissions so that admin need not be turned on.
canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
2009-05-28 04:15:50 +00:00
Colin Kuskie
1e6d9b7d18 Fix missing overrides in the Navigation when shortcutted.
Also, documented the getOverridesList method inside Shortcut.
2009-05-27 23:31:12 +00:00
Colin Kuskie
09970a9ea7 Duplicate the Asset metadata fix inside Shortcut. 2009-05-27 23:18:49 +00:00
Colin Kuskie
cb79dddf00 Disable Syndicated Content caching when admin is on. 2009-05-27 23:09:05 +00:00
Colin Kuskie
303c725d1f Fix JS and CSS showing up in the body of the Gallery album thumbnails and slideshow screens. 2009-05-27 21:32:43 +00:00
Colin Kuskie
d0dd5920a4 Fix the calendar list view to use the correct template variables. 2009-05-27 17:47:18 +00:00
Yung Han Khoe
ab18fbb913 fixed listing urls in matrix default view 2009-05-27 16:57:54 +00:00
David Delikat
a054c9de73 added date pagination to EMS schedule table
also improved formatting of table
2009-05-24 22:51:39 +00:00
Patrick Donelan
0ad26a1921 Survey: more bug fixes
Fixed invalid calendar markup so that Date question type works in IE
Minor tweaks to ResponseJSON for more robustness
Fixed Number question type javascript
2009-05-24 09:59:43 +00:00
Patrick Donelan
3a25e806c6 Survey bug fixes
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
2009-05-23 09:54:03 +00:00