Commit graph

2504 commits

Author SHA1 Message Date
Colin Kuskie
021b7f8fed Fix import Story Archive packages with sub-stories. 2009-09-10 08:43:26 -07:00
Colin Kuskie
f5b2b6d4cd Check for additional bad user profile field names. bug #10941 2009-09-10 08:43:25 -07:00
Colin Kuskie
632e1e1ba2 Remove debug code. 2009-09-10 08:42:33 -07:00
Doug Bell
65120a61cb Merge branch 'master' of git@github.com:plainblack/webgui
Conflicts:
	docs/changelog/7.x.x.txt
	docs/upgrades/upgrade_7.7.19-7.8.0.pl
2009-09-09 17:26:55 -05:00
Doug Bell
0697673846 added Subscribable AssetAspect to Wiki 2009-09-09 17:24:00 -05:00
Graham Knop
e6f38dcf44 add new API for mocking assets in tests 2009-09-09 12:14:07 -05:00
Colin Kuskie
c189c6967b Read preload.custom for extra lib paths in tests. 2009-09-09 09:54:19 -07:00
Graham Knop
9f2db435ba prevent Workflow from trying to run an activity if it didn't get an object 2009-09-09 01:16:49 -05:00
Graham Knop
f6be0746f3 use consistant messages for WEBGUI_LIVE tests 2009-09-09 01:16:48 -05:00
Colin Kuskie
2948e68781 Fix 10939, commit with approval breaks on assets with autocommit children, Post, Story, Wiki, Event, etc.
Encapsulate a new method to get a fresh asset from the db.  With tests.
2009-09-08 21:17:41 -07:00
Colin Kuskie
1671aefee5 Write a test that says that loading Form plugins from a place other than /data/WebGUI/lib/WebGUI works. 2009-09-08 17:05:00 -07:00
Colin Kuskie
ff55ab1493 For USPS priority service, add another container type. 2009-09-06 20:23:12 -07:00
Colin Kuskie
1e98e34128 RE: Profiles, public != visitor. fixes #10907 2009-09-06 19:37:25 -07:00
Colin Kuskie
8fd0be0dc4 Purge tests before cleaning up version tags. Fix a leaky test. 2009-09-04 19:59:26 -07:00
Colin Kuskie
54b9d4d7df Make test clean-up its version tag. 2009-09-04 09:43:14 -07:00
Colin Kuskie
084da8e159 fix #10891: Change session->output->print to skip macros based on detecting the mime-type. 2009-09-04 09:06:23 -07:00
Graham Knop
5090c8029e add another quoting edge case to macro tests 2009-09-03 18:24:36 -05:00
Colin Kuskie
cdb7fd2d6f Fix pagination for keywords listing in Story Archive. Fixes bug #10890. 2009-09-03 12:54:15 -07:00
Colin Kuskie
fea30d0db0 Fix getProfileUrl, so it works with preventProxyCache. fixes #10877 2009-09-02 19:07:54 -07:00
Colin Kuskie
13dd3f358c Finish updating AdSpace for reorganization.
Remove groupToPurchase, update tests to follow suit.
2009-09-02 18:47:55 -07:00
Graham Knop
6f3980a9c9 fixed #10838: Forwarded forum post email to new CS adds reply to original thread 2009-09-01 22:40:08 +00:00
Colin Kuskie
838ae00af5 Provide a way for tests to purge assets with all their (hidden and unreachable)
version tags.  Fix Survey.t that was leaking versionTags.
2009-09-01 22:30:07 +00:00
Colin Kuskie
d8ae7fc68e When purging an asset, clean up all version tags for this asset, which may
contain only this asset. Fixes #10872
2009-09-01 22:13:17 +00:00
Colin Kuskie
2703deba2e Use a consistent naming convention for Asset tests. 2009-09-01 21:33:32 +00:00
Colin Kuskie
e9e2155254 Handle UTF8 in XML data sent to ITransact. Adds a test. Fixes bug #10855. 2009-09-01 15:42:39 +00:00
Colin Kuskie
6d393fe269 Make Ogone.t test for its own name. 2009-08-31 21:30:54 +00:00
Colin Kuskie
22d462166f Move Calendar feeds into the Calendar Asset table as JSON collateral.
Update tests and workflows to follow.
2009-08-26 22:14:04 +00:00
Colin Kuskie
13cceb9c1a Check JSON deserialization, and make Assets do it. 2009-08-26 17:13:00 +00:00
Colin Kuskie
18a52b9aa2 Refactor out the JSON collateral code from FilePump/Bundle.pm to make an aspect
that can be used by assets, operations and any other modules in WebGUI.
2009-08-26 15:42:18 +00:00
Colin Kuskie
6e0fcee52e Add WEBGUI_LIVE env variable to more tests that use Test::WWW::Mechanize. 2009-08-24 04:45:29 +00:00
Colin Kuskie
6634f3e337 Fix broken tests that were creating odd directories. 2009-08-24 03:39:04 +00:00
Colin Kuskie
5c2e596139 Update number of tests. 2009-08-23 19:56:29 +00:00
Patrick Donelan
280e902c09 Fixes to Survey reporting and performance improvements
Fix: Survey export simple/transposed results to csv or tab
Fix: loadTempReportTable handling of revisionDates (and documentation)
Fix: returnResponseForReporting handling of mc questions
NYTProf performance improvements
Added some very basic Survey reporting tests
2009-08-23 05:15:32 +00:00
Colin Kuskie
ea51ba559e Add tests for ideogram searching. ft_min_word_len must be 2 or less. 2009-08-21 21:29:43 +00:00
Colin Kuskie
da12070523 Do chinese ideogram indexing. 2009-08-21 18:01:39 +00:00
Colin Kuskie
f68db111aa Decode HTML entities sent by rich editors. Add tests for the decoding
inside the search indexer.  Gotcha note.  Fixes #10797.
2009-08-21 16:55:57 +00:00
Colin Kuskie
0390d77833 Update number of tests to skip when the correct modules aren't present. 2009-08-21 04:23:16 +00:00
Colin Kuskie
4e3fd9ed40 Update test to follow new style of adding words to search index. 2009-08-21 04:13:15 +00:00
Colin Kuskie
929e99c8c1 requestAutoCommit forks a workflow to commit, use skipAutoCommitWorkflow and
commit it now, manually.
2009-08-21 02:06:24 +00:00
Graham Knop
ac9be28857 add a few additional macro tests 2009-08-20 19:24:39 +00:00
Graham Knop
39127b7ec0 add tests for url extensions 2009-08-19 18:05:28 +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
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
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
f69df9b7ca Enable tests to work around HTTP cookie fetching. Finally! 2009-08-14 01:38:44 +00:00
Doug Bell
c804acebc9 removed END block 2009-08-13 23:32:39 +00:00
Doug Bell
0d72cb8cff fixed #10771: setIsPublic uses string as arrayref 2009-08-13 23:23:20 +00:00
Colin Kuskie
f52a3f9bdd Forward port test fix. 2009-08-11 20:51:51 +00:00
Colin Kuskie
51aa116377 Forward port WEBGUI_LIVE switch addition to Event/edit.t 2009-08-11 20:18:58 +00:00