Colin Kuskie
fc060962e8
Interim checkin.
...
FlatRate needs i18n and more tests.
2008-02-25 05:51:43 +00:00
Colin Kuskie
c1e0471d51
Add getEditForm to the ShipDriver, and test it.
2008-02-25 00:06:24 +00:00
Colin Kuskie
4ce8cd1a07
getEditForm also needs to accept the name of the hash key where
...
the list of fields is, because it is different in different
places in WebGUI.
2008-02-25 00:05:41 +00:00
Colin Kuskie
b1990836d0
Refactor out the getEditForm code from WebGUI::Workflow::Activity and
...
put it into HTMLForm. Now HTMLForm can generate dynamic, definition
based forms for WebGUI.
2008-02-24 04:04:36 +00:00
Colin Kuskie
95b8244ce0
add the get tests and method
2008-02-23 06:30:55 +00:00
Colin Kuskie
39aa431e2c
Move the delete test after the new test, so that there's an object
...
to pull from the db. Sheesh.
Remove the id generation from inside the private build method
and make sure it returns the built object.
2008-02-23 06:17:39 +00:00
Colin Kuskie
669bb870eb
Start working on the new method, with tests.
...
Refactor out the object building code into a private method to be shared by
new and create.
2008-02-23 00:30:18 +00:00
Colin Kuskie
b174ce51fb
getName, getId, set, create with db storage.
...
Added tests for all those methods.
Check that definition gets a session object or else.
2008-02-22 23:51:13 +00:00
Colin Kuskie
72177f762c
label is already stored in the options, and never used directly in any method. Code that wants it can instanciate an object
2008-02-22 19:08:32 +00:00
Colin Kuskie
3f4aed78d2
Valiadate inputs to create.
2008-02-22 00:15:44 +00:00
Colin Kuskie
6cc51fa176
add pod
2008-02-21 05:31:14 +00:00
Colin Kuskie
a89c507ed6
definition method for ShipDriver, with tests
2008-02-21 05:19:20 +00:00
JT Smith
40b432da40
took Sku a bit further
2008-02-21 04:19:26 +00:00
Colin Kuskie
33928cba06
Stubbing for ShipDriver.pm
2008-02-21 04:12:26 +00:00
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