Commit graph

769 commits

Author SHA1 Message Date
Doug Bell
cf4dbc93a3 added WWW::Mech tests for Photo, which do not work because File upload controls require JavaScript 2008-04-18 00:29:17 +00:00
Doug Bell
d2faf8cd23 GalleryFile now sets Album thumbnail if Album doesnt have one 2008-04-18 00:28:26 +00:00
Doug Bell
4ebed16c69 added more vars to GalleryAlbum and GalleryFile. fixed some tests 2008-04-17 22:54:19 +00:00
Colin Kuskie
5b16fcca51 side port new email address test 2008-04-17 21:43:45 +00:00
Doug Bell
7668f68980 add: Calendar can now choose workflow for Events
fix: Event now saves ownerUserId correctly
add: GalleryAlbum now shows link to add a Photo
added a test skeleton for Test::WWW::Mechanize tests
2008-04-16 23:32:12 +00:00
Chris Nehren
684ce5a7ca The export system has been completely rewritten to be less monolithic and
easier to understand. It's also got a fully rewritten test suite (145 and
counting). It uses Path::Class for much of its work, which is now a requirement
for wG.
2008-04-16 22:16:11 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
Doug Bell
8ec2c763b4 fix: Events can no longer be edited by anyone who can add events 2008-04-15 18:10:39 +00:00
Colin Kuskie
f555408b95 add POD to PseudoRequest. Also, refactor initializing the cached print values 2008-04-10 23:31:12 +00:00
Graham Knop
d2116bf797 fixing tests for new output method 2008-04-10 22:15:15 +00:00
Graham Knop
be4e872277 small test fix 2008-03-27 17:17:21 +00:00
Doug Bell
3ea9420479 fix: Fixed permission issues with Gallery comments
Gallery now checks to see if it's committed before allowing Albums to be added
Slideshow and thumbnails work better
Much, much more
2008-03-27 00:24:00 +00:00
Doug Bell
ab6f4defe3 - moved Gallery utility methods to WebGUI::Utility::Gallery
- Added tests for GalleryAlbum RSS
- More tests for comments
- Test International Macro sprintf as third+ arguments
- Add Gallery search limiting by user ID
- Remaining i18n for Gallery templates
- Fix: Search form now visible in Photo assets
Moved a lot of stuff from Photo to GalleryFile
2008-03-20 18:51:44 +00:00
Yung Han Khoe
f70549720b fix: defaultThingId was not automatically set after creating first thing, also added a test for this. 2008-03-15 15:47:55 +00:00
Graham Knop
cef5f68603 Fix test failures 2008-03-13 22:08:24 +00:00
Yung Han Khoe
9de7e34112 add: Thingy asset 2008-03-13 19:06:18 +00:00
Doug Bell
3842ebf6fa Added WebGUI::Asset::File::GalleryFile
Changed Photo to subclass WebGUI::Asset::File::GalleryFile
2008-03-05 23:06:58 +00:00
Colin Kuskie
9695b704c5 sideport new SQL.pm macro test for multiline output 2008-03-05 21:47:18 +00:00
Doug Bell
8af6f28988 fix: GalleryAlbum and Photo were not showing correct confirmation messages on editSave
add: Ability to edit comments to Photos
add: Ability to choose which rich editor for Albums
2008-03-04 21:26:30 +00:00
Colin Kuskie
a69dff3dcf Adding Knowmad's excellent Instance test script for exposing JSON
problems in Workflow::Instance
2008-03-02 22:50:46 +00:00
Colin Kuskie
06f52bae9a Fix how logging gets intercepted. It used to be on by default, now it must be turned on. 2008-02-29 22:09:32 +00:00
Graham Knop
8533cf8ae8 fixing test warnings, Storage should always return to the correct directory 2008-02-29 07:00:29 +00:00
Doug Bell
4a65691dcc add: Calendar List view and associated Help
add: Ical Page length
add: WWW::Mech tests for Auth and Redirect
2008-02-28 18:40:06 +00:00
Colin Kuskie
ecfba4699d forward porting Testing fix 2008-02-22 18:31:05 +00:00
Colin Kuskie
c920bee629 add an explicit test for the safe copying of Asset properties inside get 2008-02-20 16:40:50 +00:00
Colin Kuskie
ed017f6007 Forward port diagnostics and $/ bug fix from 7.4 and Commerce branches. 2008-02-18 18:30:29 +00:00
Doug Bell
4b82481594 changed User.t and Group.t to use a less used ip address to make tests pass on my network that uses 192.168.0.0/16\
fixed a logic bug in WebGUI/Workflow/Cron
2008-02-18 06:08:16 +00:00
Colin Kuskie
39f1a3da3c forward port slash handling fix from 7.4 branch 2008-02-14 23:51:17 +00:00
Colin Kuskie
425d81d3fb temporary fix for this until we get cookies hacked into the test suite 2008-02-10 04:08:54 +00:00
Doug Bell
1f10f07338 add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.
add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
2008-02-09 05:09:33 +00:00
Colin Kuskie
04da356822 take more advantage of getTestCollateralPath file concat 2008-02-09 04:44:15 +00:00
Colin Kuskie
92813f394d remove diag and take advantage of getTestCollateralPath file concat 2008-02-09 04:41:16 +00:00
Colin Kuskie
b4483947cf take advantage of getTestCollateralPath concatenating files to the path for you 2008-02-09 04:25:07 +00:00
Colin Kuskie
227be31be5 By default, every Session created by WebGUI::Test will have
a PseudoRequest object, instead of being blank.  Update
Storage.t to test this.
2008-02-09 04:22:39 +00:00
Doug Bell
fb4d77e958 fix: possibly fixed. 2008-02-08 01:21:20 +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
Colin Kuskie
3ff2dca9b5 Fix the POD for the file method. 2008-02-05 23:44:37 +00:00
Colin Kuskie
9a8c3f2ddd forward port AdSpace tests from branch 7.4 2008-02-05 20:48:28 +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
Colin Kuskie
b27d14f2e5 forward porting editBranch ownerUserId fixes into HEAD 2008-02-05 16:36:45 +00:00
Colin Kuskie
ebfc711f65 finish rough POD docs for WebGUI::PseudoRequest 2008-02-02 00:16:42 +00:00
Colin Kuskie
23f86d775e add POD to PseudoRequest. Needs more 2008-02-01 00:21:24 +00:00
Colin Kuskie
ab476b36e5 POD for WebGUI::Test 2008-01-31 21:04:57 +00:00
Doug Bell
ec3bc19d77 Added i18n for Gallery (Search) template
Fix: Album description showing up in Photos when photo has no synopsis
fix: Photo now shows correct confirmation screen
fix: Photo now gets auto-committed according to Gallery approval workflow
fix: Formatting problems in Album view
fix: Photo and Album assets now retain their Owner after other users edit them.
fix: Gallery::Utility migration now retains createdBy, creationDate, and ownerUserId.
Testing Gallery::Utility a bit more thoroughly.
fix: Photo EXIF data now gets cached correctly and sanitized for references (since JSON won't store them and they're of no use to us anyway).
2008-01-25 22:34:37 +00:00
Doug Bell
054534564b fixed tests for newByDynamicClass and added a couple more for it 2008-01-25 17:47:03 +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
Colin Kuskie
1a6fde9d3f Rework the PassiveProfiling test to use newly created macros.
Add coverage for addPage in the tests.
2008-01-09 23:29:41 +00:00
Colin Kuskie
36b622622e resolved bug/question about assetAddPrivilege and Turn On Admin group. Fixing test 2008-01-09 17:25:16 +00:00
Doug Bell
6fcfa3f80d fixes for Gallery and Gallery Utility 2008-01-09 04:23:52 +00:00