Commit graph

5695 commits

Author SHA1 Message Date
JT Smith
2ca95d8586 Made a little progress on the sku tests and base class. 2008-02-21 03:16:59 +00:00
Colin Kuskie
e9327db8d8 sideporting i18n fix 2008-02-20 21:33:58 +00:00
Colin Kuskie
02011a7d37 finalize names and update docs to match 2008-02-19 18:33:45 +00:00
Colin Kuskie
995ae35bb0 base work for ShipperDriver module with tests 2008-02-19 04:50:20 +00:00
Colin Kuskie
c613e38995 Input validation tests for importTaxData. 2008-02-18 21:23:43 +00:00
Colin Kuskie
215031bb4e Renamed the import and export methods to prevent Perl from
calling them.
Added code and tests for import method.  It needs more testing
for user input validation.
2008-02-18 19:27:45 +00:00
Colin Kuskie
b4ef882e4c Fix a bug where $/ ended up being undef globally. 2008-02-18 18:17:12 +00:00
Colin Kuskie
6415b9186f Added the export method.
Basic tests for the export method.  Need to check the CSV file
to make sure it's created correctly.
2008-02-16 17:11:10 +00:00
Colin Kuskie
0701adf7e0 Add input validation for the add method, and test it.
Now it's time for the import and export methods.
2008-02-16 06:48:00 +00:00
Colin Kuskie
645c21bc3b Tax: add the delete method, with tests 2008-02-16 05:36:25 +00:00
Colin Kuskie
19591d37d4 Fix a bug in the upgrade script, with a default applied to the wrong column.
Built the add method, and tested it, too.
2008-02-15 23:17:52 +00:00
Colin Kuskie
70b8331794 Add the tax table.
Add the getItems method, for accessing the entire tax table.
2008-02-15 22:15:58 +00:00
Colin Kuskie
cf3ed73830 Fix a bad use test in Shop/Tax.t
Begin Tax.pm, using Class::InsideOut with a basic constructor and a session method.
2008-02-15 18:51:02 +00:00
Graham Knop
9fa0df22c7 Reject HTML and macros in usernames 2008-02-15 14:56:40 +00:00
Colin Kuskie
39f1a3da3c forward port slash handling fix from 7.4 branch 2008-02-14 23:51:17 +00:00
Colin Kuskie
f3f2bcd3fb clarify that synopsis==summary 2008-02-12 23:59:42 +00:00
Colin Kuskie
2b7928db0f add more POD to www_add 2008-02-12 21:59:25 +00:00
Graham Knop
f0b38ad224 fix regression: Site starter style displays incorrectly in IE 2008-02-12 10:16:48 +00:00
Graham Knop
178d6e787a fix: don't show Admin mode toggle when not in adminModeSubnets 2008-02-12 10:16:41 +00:00
Doug Bell
fa156af1a9 add: i18n for more Gallery templates
add: International macro now takes sprintf arguments as third and subsequent parameters
add: Keywords are now processed and given to the photo template, along with a url to search the gallery for the keyword. 
add: Photos now track views
2008-02-12 00:55:06 +00:00
Colin Kuskie
6c72ee9a41 adding the SpectreCheck Macro, per the RFE 2008-02-11 23:11:27 +00:00
Colin Kuskie
563e3101d9 added POD to the macro skeleton 2008-02-11 21:44:09 +00:00
Colin Kuskie
a21e710c72 um, add enough POD to by syntactically correct 2008-02-09 22:52:31 +00:00
Colin Kuskie
abdf04659a Add POD for the SessionId macro. 2008-02-09 22:45:52 +00:00
Doug Bell
a8e8f01887 Forgot this 2008-02-09 19:54:01 +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
Graham Knop
fb81012d1a fix rolling back version tags with an asset with a later revisionDate than a child 2008-02-08 02:10:46 +00:00
Graham Knop
f22646625b package importing fixes 2008-02-08 00:00:13 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
439fbce173 fix: importPackage now allows you to skip site's autocommit settings. This is necessary for upgrades.
Upgrades were fixed to use the new options
2008-02-07 22:43:05 +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
Graham Knop
0599bd0d5b fix Extra head tags of unplaced assets included twice 2008-02-04 14:49:44 +00:00
Doug Bell
2bad2ecab2 fix: Couldn't add photos to gallery albums 2008-02-04 00:56:00 +00:00
Doug Bell
0a17df8174 fixed problem with JSON sanity checking 2008-02-01 17:48:43 +00:00
Colin Kuskie
63668be0d0 Alter Workflow::Instance and Cron to return empty hashrefs instead
of undef.
Fix JSON handling in Commerce::Transaction->shippingOptions.  This probably isn't a problem
now since it is never called as an accessor.
2008-01-31 05:34:12 +00:00
Colin Kuskie
ada1a76b87 Make same change as in Workflow::Cron in Workflow::Instance. 2008-01-31 05:00:31 +00:00
Colin Kuskie
e491447ed9 Fix JSON handling in WebGUI::Workflow::Cron.
There's gonna be a whole bunch of these, since JSON throws
an exception unless you pass it something that looks like
valid JSON.
2008-01-31 04:49:59 +00:00
Graham Knop
d9b9573caa fix CalendarUpdateFeeds causing warnings in logs 2008-01-30 23:21:08 +00:00
Colin Kuskie
d2e55307ed Set up enhanced logging of transactions.
Note that now, all transactions are logged, whether they
fail or not.  Failed transactions are logged with status
canceled.  ITransact transactions have additional data
logged.
2008-01-30 15:59:09 +00:00
Graham Knop
29045734e5 fix: No current asset when ending up on Not Found page 2008-01-29 15:43:18 +00:00
Colin Kuskie
cee13f4a24 fix variable assignment inside of conditional, according to perlcritic 2008-01-28 19:01:24 +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
Colin Kuskie
2a388db1a6 fix a typo 2008-01-25 21:33:01 +00:00
Colin Kuskie
b5f7d42a5e fix another i18n entry. Go BartJol! 2008-01-25 16:59:10 +00:00
JT Smith
34fd8c9245 updated webgui to run with Config::JSON 2.04 2008-01-25 05:10:33 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Doug Bell
ffa90c5fbd fix: 7.5.0 time tracker templates were corrupt, now fixed.
fix: AssetPackage www_importPackage would give an error message about package being corrupt, but the package would import correctly. No longer gives error message.
2008-01-24 20:31:23 +00:00
Doug Bell
3b9be36035 fix: newByDynamicClass cannot die if given bad arguments, should return undef instead. 2008-01-24 18:01:57 +00:00