Commit graph

8430 commits

Author SHA1 Message Date
Colin Kuskie
072aee2f38 Remove debug code from RemoveOldCarts workflow. 2009-08-10 15:24:13 +00:00
Colin Kuskie
4457ee2c7a Forward port macro i18n fix. 2009-08-10 15:17:21 +00:00
Colin Kuskie
bf12123247 Forward porting LDAP i18n tweaks 2009-08-10 15:10:46 +00:00
Martin Kamerbeek
46829ac970 Adding return JSON on specific requeest feature to template. 2009-08-10 12:42:33 +00:00
Colin Kuskie
d17399df41 Add patch to let Thingy workflows know which Thing they are working on. 2009-08-09 23:03:33 +00:00
Patrick Donelan
2cc10d2953 Survey JSON performance warning for non-wre-standard JSON modules/versions
If you have funny combinations of JSON, JSON::XS and JSON::PP installed,
JSON can start deciding to use JSON::PP instead of JSON::XS, which equals
bad performance on very large Survey instances.

This commit adds a new warning to the Edit Survey page if JSON->backend
is detected to be something other than JSON::XS.
2009-08-09 06:25:49 +00:00
Colin Kuskie
af2d858f68 Revision Event storage locations. 2009-08-09 04:35:16 +00:00
Colin Kuskie
d2b9be686c Add the missing pending versions link to the manage assets in tag screen. 2009-08-08 16:23:08 +00:00
Colin Kuskie
2236460583 Forward port LDAP relabeling. 2009-08-08 02:30:19 +00:00
Colin Kuskie
e53d921397 Fix broken Post i18n. 2009-08-08 02:28:28 +00:00
Colin Kuskie
0175abdfc5 Forward porting TinyMCE ask user fix for FF browsers on Windows. 2009-08-07 20:42:58 +00:00
Henry Tang
fe99aa7665 Fixed version tag modes bug #10689 2009-08-07 18:02:25 +00:00
Patrick Donelan
146373937d Fixed two new Survey bugs
* Survey response startDate stored twice
startDate was being stored both in a column in Survey_response and also inside the
serialised responseJSON. Consolidated to column and moved startDate methods to
Survey.pm where they are actually used. Was not causing errors because both copies
were initialised to "now" at response creation time, and then never changed (this is also
why we don't need any repair code to fix existing survey repsonses in the wild).

* Survey ExpireIncompleteSurveyResponses Workflow Activity not enabled
The only time you'd actually want to modify startDate is when you're trying to simulate
response expiry in test code, which is why I found the above bug when I was writing the
missing test suite for ExpireIncompleteSurveyResponses. Along with test suite, added
upgrade code to enable workflow activity and add it  to the Daily Maintenance Tasks
workflow. Also made minor fixes to the workflow activity, such as making sure it uses
the correct isComplete code.
2009-08-07 01:08:39 +00:00
Colin Kuskie
0bfc16bf9a Forward porting viewing pending assets in the trash and clipboard. Also
allowing restore of pending assets in the trash.
2009-08-06 17:56:56 +00:00
Colin Kuskie
3b577599f5 Forward port XML encoding for template based RSS feeds in the Gallery. 2009-08-05 22:16:38 +00:00
Colin Kuskie
55e0feb687 Extend WebGUI::HTML::filter to also do encode XML entities. 2009-08-05 21:47:14 +00:00
Colin Kuskie
92afb44b4e Merge dead code removal for Account/Profile.pm 2009-08-04 17:12:07 +00:00
Colin Kuskie
2892aedf71 Forward porting iCal end day date math fix. 2009-08-03 23:06:14 +00:00
Colin Kuskie
4ecc2c725e Forward porting Event iCal end day date math fix. 2009-08-03 22:56:10 +00:00
Graham Knop
38ff4f053b fixed #10667: cannot change size of template editor 2009-08-03 20:09:00 +00:00
Colin Kuskie
ecd89d349a Forward porting calendar non-inclusive end times fix. 2009-08-03 20:05:34 +00:00
Doug Bell
c0fe0a7765 change "testing" to "no_email" for inbox messages 2009-07-31 21:02:51 +00:00
Colin Kuskie
a4f8ea7065 Fix an i18n Survey typo in survey progress. 2009-07-31 16:14:41 +00:00
Colin Kuskie
2ad6f3c8ab Fix i18n survey typo, questions displayed. 2009-07-31 16:12:10 +00:00
Colin Kuskie
b71bc8edd4 Update i18n timestamp. 2009-07-31 16:06:18 +00:00
Colin Kuskie
54c8de12e3 Fix recorded answer template variable help, which got stomped on somehow. 2009-07-31 16:01:46 +00:00
Colin Kuskie
2c4ebe6333 Fix misspelled i18n for Gradebook. 2009-07-31 15:51:55 +00:00
Colin Kuskie
051cbf2ab3 StoryArchive i18n fix. 2009-07-30 16:53:45 +00:00
Martin Kamerbeek
4c4fb8f3a2 Fixed a bug where the textarea based formplugins would put multiple style tags in head if invoked mor than once per
request. One case in which this happens is when you provide multiple form controls for the same form param through
a template, like in eg. the post form of the cs. Anyway thes multiple tags confuse IE somehow borking javascript
execution in the process.
2009-07-30 09:30:53 +00:00
Patrick Donelan
10755c3b83 Fixed Survey reporting bugs
* Survey::responseJSON mutator was not doing the right thing when
  responseId argument was passed in
* www_viewGradeBook template fixes and documentation
2009-07-29 06:37:34 +00:00
Colin Kuskie
3dfb850d41 Better description of the price template variable in the Shelf. 2009-07-29 02:25:29 +00:00
Tom Suchy
cc02a66e8e missed a change required to redirect comment rating icons away from bazaar icons 2009-07-28 18:01:35 +00:00
Tom Suchy
f1d91ce1be updated path to rating icons 2009-07-28 17:57:52 +00:00
Colin Kuskie
a4494a6567 Fix #10707, i18n copy/paste in the FriendManager. 2009-07-28 16:16:36 +00:00
Patrick Donelan
74d1be7799 fixed #10706: FriendManager Style/Layout template options 2009-07-28 05:00:09 +00:00
Colin Kuskie
78b53aecc7 Fix a rendering problem in the Product template where images overlap
the controls, or brochure, warranty, manual.  Also, i18n the word Controls
for admin mode being on.
2009-07-27 21:13:39 +00:00
Colin Kuskie
dd9b46272b Fix Commit from the Admin Bar. Only seen when there's no autocommit, and comments
are disabled.  Added a button/form to the subpanel with CSRF.
2009-07-27 20:24:22 +00:00
Colin Kuskie
e8bfd8a0a7 Empty warranty, brochure and manual show empty areas in the Product. 2009-07-27 16:21:04 +00:00
Colin Kuskie
96b26fb099 i18n the Default My Sales template. 2009-07-25 23:01:24 +00:00
Colin Kuskie
1a74cb056d Fix the separator macro. Adds a method to WebGUI::HTML that splits
content based on the separator macro, and does a best effort to fill in
tags that the splitting breaks by and start and end tags.
Update Post and Article to use it.
2009-07-25 04:30:28 +00:00
Colin Kuskie
f34dc2c8f0 Add Story fields to the search index. 2009-07-24 18:15:18 +00:00
Colin Kuskie
1a4befc540 Search indexer appends asset keywords directly to content. Should
be separated by spaces.
Refactor out common code in create and addKeywords.
Use greedy regexps and drop one s///.
2009-07-24 18:11:20 +00:00
Colin Kuskie
4226ef211f Remove autocommit from addRev in Story, because it committed the
story before the keywords were set, which messed up searching.
Adjust tests to request autocommit on all submitted stories.
2009-07-24 17:26:50 +00:00
Colin Kuskie
9259e1db23 And restore the original method, and add tests to catch the approximation in Session/DateTime.t instead
of relying on Asset/Story.t
2009-07-24 00:12:56 +00:00
Colin Kuskie
3c4ae9aa82 Refactor exact duration intervals into a separate method. 2009-07-23 23:47:45 +00:00
Graham Knop
56773eefc1 fixed #10590: Session::DateTime->secondsToInterval doesn't allow 7 weeks 2009-07-23 22:04:27 +00:00
Colin Kuskie
a3d8c390bd Fix CDN working with GUID style, vs hex style, storage locations.
Add tests for geting a GUID storage location.
2009-07-23 21:51:45 +00:00
Colin Kuskie
c9fa63bdb7 Give StoryArchive sub-folders the same style as their parent. Fix to hide them
better upcoming.
2009-07-23 21:17:25 +00:00
Colin Kuskie
aa1fcf4b67 Fix i18n and Help for StoryArchive, Story 2009-07-23 19:36:04 +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