Graham Knop
a95ef168cc
remove use of FindBin in tests
2010-09-01 14:05:53 -05:00
Doug Bell
708b47d73c
Merge remote branch 'upstream/WebGUI8' into 8-merge
...
Conflicts:
docs/gotcha.txt
docs/previousVersion.sql
lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
lib/WebGUI/Asset/Wobject/Navigation.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/Config.pm
lib/WebGUI/Form/Template.pm
lib/WebGUI/Group.pm
lib/WebGUI/VersionTag.pm
lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
t/AdSpace.t
t/Asset/AssetExportHtml.t
t/Asset/AssetLineage.t
t/Asset/Story.t
t/Asset/Template/HTMLTemplateExpr.t
t/Asset/Wobject/Gallery/00base.t
t/Asset/Wobject/GalleryAlbum/00base.t
t/Asset/Wobject/GalleryAlbum/ajax.t
t/Asset/Wobject/InOutBoard.t
t/Asset/Wobject/StoryArchive.t
t/Asset/Wobject/Survey/ExpressionEngine.t
t/Asset/Wobject/Survey/Reports.t
t/AssetAspect/RssFeed.t
t/Auth/mech.t
t/Group.t
t/Mail/Send.t
t/Operation/AdSpace.t
t/Session/ErrorHandler.t
t/Session/Scratch.t
t/Session/Url.t
t/Shop/Cart.t
t/Shop/Pay.t
t/Shop/Ship.t
t/Shop/ShipDriver.t
t/Shop/TaxDriver/Generic.t
t/Shop/Vendor.t
t/VersionTag.t
t/lib/WebGUI/Test.pm
2010-07-14 18:20:00 -05:00
Doug Bell
cd1e450c32
Merge branch 'master' into 8-merge
...
Conflicts:
docs/gotcha.txt
docs/upgrades/upgrade_7.9.8-7.9.9.pl
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/Carousel.pm
t/Asset/Asset.t
t/Mail/Send.t
t/Session/Url.t
t/lib/WebGUI/Test.pm
2010-07-14 17:06:19 -05:00
Doug Bell
29b1f794cd
fix merge problems
2010-07-12 15:52:38 -05:00
Doug Bell
babfa74209
Merge branch 'master' into 8-merge
...
Conflicts:
docs/gotcha.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/File/GalleryFile/Photo.pm
lib/WebGUI/Asset/Post.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
lib/WebGUI/Asset/Wobject/Navigation.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/AssetTrash.pm
lib/WebGUI/Config.pm
lib/WebGUI/Form/Template.pm
lib/WebGUI/Group.pm
lib/WebGUI/Inbox.pm
lib/WebGUI/Workflow/Activity/DeleteExpiredSessions.pm
lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
sbin/testEnvironment.pl
t/AdSpace.t
t/AdSpace/Ad.t
t/Asset/Asset.t
t/Asset/AssetExportHtml.t
t/Asset/AssetLineage.t
t/Asset/EMSSubmissionForm.t
t/Asset/Event.t
t/Asset/File/GalleryFile/Photo/00base.t
t/Asset/File/GalleryFile/Photo/comment.t
t/Asset/File/GalleryFile/Photo/download.t
t/Asset/File/GalleryFile/Photo/edit.t
t/Asset/File/GalleryFile/Photo/exif.t
t/Asset/File/GalleryFile/Photo/makeResolutions.t
t/Asset/File/GalleryFile/Photo/makeShortcut.t
t/Asset/File/Image/setfile.t
t/Asset/File/setfile.t
t/Asset/Post.t
t/Asset/Post/Thread/getAdjacentThread.t
t/Asset/Sku.t
t/Asset/Sku/ProductCollateral.t
t/Asset/Story.t
t/Asset/Template.t
t/Asset/Template/HTMLTemplateExpr.t
t/Asset/Wobject/Gallery/00base.t
t/Asset/Wobject/GalleryAlbum/00base.t
t/Asset/Wobject/GalleryAlbum/ajax.t
t/Asset/Wobject/GalleryAlbum/delete.t
t/Asset/Wobject/Matrix.t
t/Asset/Wobject/StoryArchive.t
t/Asset/Wobject/Survey/ExpressionEngine.t
t/Asset/Wobject/Survey/Reports.t
t/AssetAspect/RssFeed.t
t/Auth/mech.t
t/Config.t
t/Group.t
t/Help/isa.t
t/International.t
t/Mail/Send.t
t/Operation/AdSpace.t
t/Operation/Auth.t
t/Pluggable.t
t/Session.t
t/Session/DateTime.t
t/Session/ErrorHandler.t
t/Session/Scratch.t
t/Session/Stow.t
t/Shop/Cart.t
t/Shop/Pay.t
t/Shop/PayDriver/ITransact.t
t/Shop/PayDriver/PayPalStd.t
t/Shop/Ship.t
t/Shop/ShipDriver.t
t/Shop/TaxDriver/EU.t
t/Shop/TaxDriver/Generic.t
t/Shop/Transaction.t
t/Shop/Vendor.t
t/VersionTag.t
t/Workflow/Activity/ArchiveOldStories.t
t/Workflow/Activity/ExpireIncompleteSurveyResponses.t
t/lib/WebGUI/Test.pm
2010-07-09 11:48:30 -05:00
Colin Kuskie
aed2c13f52
Fix double body encoding when sending emails. Added tests. Fixes bug #11672 .
2010-07-05 11:56:33 -07:00
Colin Kuskie
40e6d7036b
Add a test for UTF-8 handling in the subject.
2010-07-05 10:21:26 -07:00
Colin Kuskie
5e502fee53
Merge commit ' 17ce3572bf' into WebGUI8. All tests passing.
2010-06-30 18:43:27 -07:00
Colin Kuskie
169fa47cdc
Insert mail footers into the first attachment of the email, trying to match its type (text/html). Convert email messages with only 1 part to singlepart, instead of multipart. Fixes bug #11560 .
2010-06-15 12:26:02 -07:00
Graham Knop
bc5df47fed
separate out SMTP testing into its own module
2010-06-10 18:47:54 -05:00
Graham Knop
4c18ba3563
convert all test cleanup to addToCleanup
2010-06-10 18:47:54 -05:00
Graham Knop
b832deecd1
convert all cleanup methods to addToCleanup
2010-06-10 10:09:53 -05:00
Colin Kuskie
3b7d582e8d
Removing END blocks
2010-06-07 18:12:03 -07:00
Graham Knop
29df110409
progress and WebGUI::Paths conversion
2010-04-15 18:42:16 -05:00
Colin Kuskie
16e482f1d2
Remove diags, and fix counts for mail tests.
2009-10-27 19:15:26 -07:00
Colin Kuskie
636ed5ce9a
MIME headers should be MIME encoded. Fixes bug #11089 .
2009-10-07 16:15:01 -07: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
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
Doug Bell
e99c78cb58
refactor Mail/Send test to make test smtp server useful
2009-06-05 02:26:40 +00:00
Colin Kuskie
cbb32cbce8
Fix number of skips in tests.
2009-05-28 22:46:25 +00:00
Colin Kuskie
5690b18125
Forward porting t/Mail/Send.t delay for server startup
2009-05-19 16:44:39 +00:00
Colin Kuskie
f54e975c14
Enable WebGUI sites to send SMS messages as inbox notifications.
2009-05-13 21:55:33 +00:00
Graham Knop
7d0f1e4b8a
improve handling of SMTP test server
2009-04-30 18:17:23 +00:00
Colin Kuskie
70845fd9e8
Fix bad angle bracket handling in messageIds in Main/Send.pm
...
Extend Mail/Send.t to test messageId generation.
2009-04-26 03:05:22 +00:00
Colin Kuskie
4e78593395
Change tests to use the automatic backup of Settings in END blocks.
2009-03-30 20:41:02 +00:00
Colin Kuskie
5248423519
Add tests for toGroup sending.
2009-03-17 16:11:37 -07:00
Colin Kuskie
7336d2d630
SMS coding complete, beginning testing.
...
Added getInboxAddresses method to User.pm, with tests.
All SMS/Email address choices are made in Mail/Send, on create
and on send, since that's when it handles groups.
Test variable addresses on creating mails.
Updated t/smtpd.pl to handle receiving and sending multiple messages.
2009-03-17 14:35:13 -07:00
Colin Kuskie
69768606eb
Fix syntax warnings.
2009-03-16 21:54:52 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
7867ba61d5
turn off email to log properly for mail tests
2008-11-04 22:47:05 +00:00
Graham Knop
9856cc5904
clean up tests some
2008-10-14 22:03:41 +00:00
Frank Dillon
7901eb9642
Added a config setting that allows email to be piped to the log rather than pass through a mailserver that may or may not exist. Added a TODO test block.
2008-08-26 15:56:21 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Doug Bell
e5ca1aa00d
fix: missed a skip
2008-02-05 23:52:01 +00:00
Doug Bell
53ac4be8d1
Added a simple smtpd for testing
...
MERGE: Added ability for WebGUI::Test->getPage to work on Operations
MERGE: Fix for AdSpace and tests for Operation::AdSpace
Fixed Poll's use of JSON
Added tests for emailOverride
2008-02-05 19:34:09 +00:00
Doug Bell
338c494d47
fix: Mails sent from WebGUI now wrap at 78 characters to prevent a problem with SMTP servers that do not accept lines longer than 998 characters. This is per the SMTP RFCs. Added testing for this fix, still much to test for WebGUI::Mail::Send. Added API method to facilitate testing.
2008-01-12 07:46:32 +00:00