Commit graph

7559 commits

Author SHA1 Message Date
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
Graham Knop
5aa79dba45 preparing for 7.5.4 dev 2008-02-22 00:54:33 +00:00
Colin Kuskie
3f4aed78d2 Valiadate inputs to create. 2008-02-22 00:15:44 +00:00
Graham Knop
6e0173bc25 preparing for 7.5.3 release 2008-02-21 23:52:09 +00:00
Graham Knop
3c39775869 use proper urls for rich editor image uploads 2008-02-21 23:07:27 +00:00
Graham Knop
192c2344aa Form header needs to default to post, multipart/form-data for empty data 2008-02-21 23:07:23 +00:00
Graham Knop
b2ba305e0f Fixing image uploads 2008-02-21 23:07:19 +00:00
Graham Knop
0010134059 fixed: Rich editor page and image pickers are broken 2008-02-21 23:07:11 +00:00
Doug Bell
ce4688310e More Gallery i18n
fix: Add an Album link now appears on Gallery List Albums view
2008-02-21 18:38:25 +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
d495218152 removing empty i18n entry 2008-02-20 21:31:27 +00:00
Graham Knop
4601dd2bbe don't write .wgaccess files for world readable storage locations 2008-02-20 21:01:10 +00:00
Colin Kuskie
02011a7d37 finalize names and update docs to match 2008-02-19 18:33:45 +00:00
Graham Knop
3713003b82 fixed: creating ad spaces was broken 2008-02-19 17:56:21 +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
ed017f6007 Forward port diagnostics and $/ bug fix from 7.4 and Commerce branches. 2008-02-18 18:30:29 +00:00
Colin Kuskie
b4ef882e4c Fix a bug where $/ ended up being undef globally. 2008-02-18 18:17:12 +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
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
JT Smith
e40881c861 additional health check 2008-02-15 21:26:56 +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
JT Smith
1f5e3ffcad faulty ref check 2008-02-15 18:05:49 +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
Graham Knop
10c435dccb preparing for 7.5.3 dev 2008-02-14 21:46:23 +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