Commit graph

8874 commits

Author SHA1 Message Date
Colin Kuskie
1704618d6b Update the POD for checkView 2009-08-18 01:19:29 +00:00
Colin Kuskie
afbd893061 Fix the IntSlider integer input box. It was displaying 0 regardless of the actual
value of the slider.
Fixes bug #10552.
2009-08-17 23:41:16 +00:00
Colin Kuskie
0511af269d Make Threads recalculate the number of replies when restoring a Post from the Trash.
Fixes bug #10758.
2009-08-17 22:25:24 +00:00
Colin Kuskie
0762ce1730 Entangle the required and editable properties of Profile fields.
Add tests.  Update i18n for required property hover help.
Upgrade script to set editable=1 on all required fields.
fixes #10781
2009-08-17 19:28:04 +00:00
Colin Kuskie
f942489787 Clean-up Matrix search template JS.
Add link back to main matrix screen.
Make initial search results match search form defaults.
fixes #10766, 10786
2009-08-17 18:35:53 +00:00
Patrick Donelan
808a558ec8 Minor bug fix for ExpireIncompleteSurveyResponses
Removed unnecessary sql clause from ExpireIncompleteSurveyResponses
workflow activity
2009-08-17 10:10:48 +00:00
Colin Kuskie
c7a4c173cc Add tests for new SMS address method. 2009-08-16 16:11:13 +00:00
Patrick Donelan
388a0b1267 Fixed a whole lot of brokenness in Inbox SMS/Email notifications
WebGUI::Inbox::Message::create now passes isInbox flag to WebGUI::Mail::Send::create
so that per-user notification settings get used

SMS Gateway setting field is now 'text' instead of 'email' so that user can enter a
properly formed value (such as 'myemailgateway.com', which is not an email address).

Added SMS notification template as distinct from email notification template because
SMSs should not be HTML and in general you will want to make your SMS notification
message a lot shorter than your html email notification message (160 char limits in
many countries). As a result, SMSs are now sent as separate emails to gateway rather
than being CCd on email notification.

Added smsGatewaySubject setting because many SMS Gateways use email subject for
authentication. For consistency, also added Email notification email subject.

Fixed handling of different combinations of site-wide sendInboxNotificationsOnly with
per-user receiveInboxEmailNotifications and receiveInboxSmsEmailNotifications.
 * sendInboxNotificationsOnly && receiveInboxEmailNotifications = email notification
 * sendInboxNotificationsOnly && !receiveInboxEmailNotifications = no email
 * !sendInboxNotificationsOnly = ignore receiveInboxEmailNotifications
 * In all cases, SMS is optional and only dependent on receiveInboxSmsEmailNotifications

Updated tests and i18n
2009-08-16 09:42:35 +00:00
Colin Kuskie
3cc02af6bb fix bug #10783 copy sender in the Inbox. 2009-08-16 06:33:26 +00:00
Colin Kuskie
b28a14b7fd Fix broken, inconsistent friend wholeName. Bug 10782. 2009-08-16 06:20:31 +00:00
Colin Kuskie
d0e9b083dc Make addListings in the Matrix use AdminConsole submenus for
actions, like all the other assets.  Add a link back to the
Matrix.
Fixes bug #10778.
2009-08-14 20:15:02 +00:00
Colin Kuskie
92815bb75d Change www_delete and www_cut to use either the container, or the parent
as the asset to return the user to after their actions.
Subclass getContainer in the Story, and alias it to getArchive.
Fixes bug 10657.
2009-08-14 19:43:14 +00:00
Colin Kuskie
194e98d937 i18n fixes for LDAP and StoryArchive. Bugs #10774, 10775, 10776 2009-08-14 15:28:53 +00:00
Colin Kuskie
046f1a7303 Ready for 7.7.18 development. 2009-08-14 04:44:03 +00:00
Colin Kuskie
ed97fa1ecd When opening or duplicating Session objects, pass on any Apache2::Request object
stored in the current session.
2009-08-14 01:38:03 +00:00
Colin Kuskie
c557949ef0 Request objects are optional, so check for one before trying to pull
the HTTP headers for it.
2009-08-14 01:36:46 +00:00
Doug Bell
0d72cb8cff fixed #10771: setIsPublic uses string as arrayref 2009-08-13 23:23:20 +00:00
Colin Kuskie
e886474284 Draw a fieldset around each Photo and its metadata.
Change the delete label so that it is clear that you are deleting the image and the metadata.
Redo the image upload form so that it is clear that uploading a new image to a photo with
an existing image replaces the existing with the new one.
2009-08-13 21:30:49 +00:00
Colin Kuskie
d14d468415 Set a default privacy value in the radio list when creating new profile fields. 2009-08-13 15:56:14 +00:00
Colin Kuskie
6a8b771859 i18n several items in the Matrix, and Matrix listing. 2009-08-13 07:08:09 +00:00
Colin Kuskie
a6bb64613e When the matrix displays search results, only show those that match. Previously,
it displayed all the products, with those that matched having checked boxes.
2009-08-13 05:54:12 +00:00
Colin Kuskie
750adbf4d5 Fix bad Matrix i18n when selecting no listings and hitting compare. 2009-08-13 05:16:29 +00:00
Colin Kuskie
c714c0d11a Fix two LDAP typos related to the recent relabeling. 2009-08-12 17:43:56 +00:00
Colin Kuskie
7a3213b373 Allow autocommit workflows to do apply (save & re-edit). 2009-08-12 17:35:36 +00:00
Colin Kuskie
2dc0cc3937 Fix an i18n typo. 2009-08-12 17:02:38 +00:00
Colin Kuskie
d5105a56bb Improve the delete asset i18n message to mention children. 2009-08-12 16:31:28 +00:00
Patrick Donelan
e85335cbc7 Made Survey::getResponseDetails template vars consistent 2009-08-12 06:28:08 +00:00
Graham Knop
686d79d76d small fix to regex for asset class names 2009-08-11 22:30:18 +00:00
Colin Kuskie
a2012171d2 Fix a bad default group setting in the SQL Report for download groups. 2009-08-11 21:16:14 +00:00
Graham Knop
de8b85c669 silence compiler warning 2009-08-11 17:08:32 +00:00
Graham Knop
a5afa49169 fixed: Admin bar won't show multiple packages or prototypes with the duplicate titles 2009-08-11 16:31:39 +00:00
Graham Knop
2ab07179bd fixed: Only users in 'Content Managers' can create shortcuts 2009-08-11 16:31:33 +00:00
Graham Knop
401a1cff1c fixed: Existing ThingyRecords are broken after upgrade
fixed: ThingyRecords cannot be purged
2009-08-11 16:31:26 +00:00
Colin Kuskie
169e64a2b6 Fix a typo in getting the in store credit for the post-transaction email. 2009-08-11 04:41:42 +00:00
Colin Kuskie
9182ce5288 Fix queryIsAllowed to look at the first word in the query, regardless of punctuation or whitespace.
Add tests for queryIsAllowed.
2009-08-11 00:11:10 +00:00
Eric Kennedy
6adfc6ccee Fixed #10743: Inbox Rich Editor selection not saved (Eric Kennedy) 2009-08-10 15:57:56 +00:00
Colin Kuskie
cff541df1d Fix a typo in the illegal product quantity error checker in the cart. 2009-08-10 15:56:51 +00:00
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