Commit graph

972 commits

Author SHA1 Message Date
Colin Kuskie
d9bada9a81 Add some more comments to i18n/template.t and remove unused regexps.
Lookup the name of the International macro is the specified config file.
2008-07-09 01:07:01 +00:00
Colin Kuskie
91317dfdd7 Fix potential JSON/UTF8 encoding issues in Asset/Sku/Product.pm 2008-07-08 21:23:45 +00:00
Colin Kuskie
f60cd4a579 Add a test that scans templates for International macros
and makes sure that their namespaces and labels resolve.
2008-07-07 15:01:21 +00:00
JT Smith
aa9f0e8396 Replaced CLI gallery import system with a better one. 2008-06-29 02:01:40 +00:00
Graham Knop
ea3f9291fc silence another blessed warning 2008-06-26 20:51:19 +00:00
Colin Kuskie
145329f0aa Update the test to match the template changes in PayDriver's definition sub. 2008-06-25 16:09:04 +00:00
Colin Kuskie
14724cbbef Add tests to check how getThumbnailUrl is supposed to work in the Product.
Then fix the bugs I added to it yesterday.
2008-06-20 22:05:47 +00:00
Chris Nehren
05cf8fa24c Fixed: One can now turn off inheritUrlFromParent, and the code is now more
robust: moved from Asset->update to Asset->fixUrl.
2008-06-20 19:21:30 +00:00
Graham Knop
d3e802b1cf clean up test warnings 2008-06-20 08:57:34 +00:00
Graham Knop
11dfcd6277 fix throws_deeply test exporting 2008-06-20 08:57:29 +00:00
Colin Kuskie
8be5eeb5f6 Prevent the Subscription from showing the redeem code label and URL unless there are codes 2008-06-20 04:41:03 +00:00
Colin Kuskie
359da35e6d remove a bad test from FileCache 2008-06-19 16:00:59 +00:00
Colin Kuskie
1a50aeb1dc add a few tests for Cache/FileCache 2008-06-18 20:06:50 +00:00
Colin Kuskie
e17569c6f7 clean up cleaning up and make the getPaymentGateways test more robust 2008-06-15 21:56:56 +00:00
Colin Kuskie
a8cea440c6 remove debug code from Shop/Ship.t 2008-06-15 05:06:10 +00:00
Colin Kuskie
be29a09114 fixes for deleting ship drivers created during testing 2008-06-15 04:34:48 +00:00
Colin Kuskie
6e9031de4a WebGUI ships with 1 driver, do not delete it 2008-06-15 04:30:50 +00:00
Doug Bell
879668156b fixed: Syndicated Content wobject makes H::T choke 2008-06-13 19:30:19 +00:00
Colin Kuskie
307c1e0e68 document work to be done in POD for the Perl::Critic policy 2008-06-13 05:04:05 +00:00
Graham Knop
713e73bf19 proper dataform test fix 2008-06-13 00:35:16 +00:00
Colin Kuskie
55237e3e82 fix the label test to handle not explicit i18n namespace in new 2008-06-13 00:05:05 +00:00
JT Smith
42ed751694 test reports errors without crashing 2008-06-12 23:47:42 +00:00
Graham Knop
1acca9fa47 fix list form test 2008-06-12 23:42:20 +00:00
Doug Bell
35e5b95fb6 fixed WebGUI::Utility::Gallery tests 2008-06-12 23:34:48 +00:00
JT Smith
40e28848d0 fixed 2008-06-12 23:33:27 +00:00
Graham Knop
520c18b3e2 fixing dataform test 2008-06-12 23:31:00 +00:00
Doug Bell
58417faf8a fix problems with gallery URLs. fixed disk space check. added error messages to photo template 2008-06-12 22:08:10 +00:00
Doug Bell
0e299cc18b fixed photo/view test 2008-06-12 19:37:44 +00:00
Colin Kuskie
227745d975 Fix getCollateral, which used to return direct copies instead of safe copies, and
add a test for that.
addToCart does not adjust inventory, that is handled by the cart.
Invert the sense of quantity in onAdjustQuantity.
2008-06-10 01:48:20 +00:00
Colin Kuskie
1fd425ac96 Convert WebGUI::Shop::Products over to be object oriented.
Update the tests and Content plugin for the Shop.
Add the Products screen to the Shop admin screen.
Add exception handling to www_import.
Add a status message to the manage products screen.
2008-06-09 21:52:59 +00:00
Colin Kuskie
112da861ca add missing collateral from previous commit, add more tests for import 2008-06-07 22:35:55 +00:00
Colin Kuskie
0316b74ecd add tests for upgrading existing products, with bug fixes 2008-06-07 22:16:47 +00:00
Colin Kuskie
090e4c7adf add more export products tests, along with several bug fixes 2008-06-06 23:11:38 +00:00
Colin Kuskie
288fd54b17 tests for exporting, and some bug fixes in exportProducts 2008-06-05 19:57:01 +00:00
Colin Kuskie
994da561a5 web interface for importing and exporting products. Additional tests for the import/export API 2008-06-05 04:10:48 +00:00
Colin Kuskie
9a9e94a0de replace the old, buggy label.t with the new, slow critic_labels.t. Add Perl::Critic and Test::Perl::Critic as optional requirements to sbin/testEnvironment.pl 2008-06-04 20:09:00 +00:00
Chris Nehren
9c77fdcce7 Add the inheritUrlFromParent property, which causes the asset to prepend its
parent's URL to its own URL. Boolean, default off, found in the meta tab.
2008-05-30 23:38:07 +00:00
Yung Han Khoe
075c02221f Added UserList wobject 2008-05-30 15:31:24 +00:00
Colin Kuskie
9e1cc24271 Since the topical view of the Help has gone away, the TOC labels
are no longer required in the i18n files.  Remove the test and
subroutine from Operation/Help.pm.
2008-05-30 07:22:26 +00:00
Colin Kuskie
844c39e321 update PayDriver.t with the latest definition and form elements 2008-05-30 07:18:05 +00:00
Colin Kuskie
70f657d042 account for another default paydriver not that itransact has been added 2008-05-30 07:14:39 +00:00
Colin Kuskie
8409f5dcd4 clean up old commerce macro tests and have the upgrade script remove them for the user 2008-05-30 07:07:20 +00:00
Colin Kuskie
a998e119d1 update the plan since tests were moved into Asset.t for getIsa 2008-05-30 07:04:32 +00:00
Colin Kuskie
1d4810f6b5 migrate some tests from errorHandler to log 2008-05-30 07:03:05 +00:00
Colin Kuskie
f41d53aa90 make the upgrade script remove SQLForm files, code, Help, i18n and test. Retire the SQLForm test in the repo 2008-05-30 06:59:56 +00:00
Colin Kuskie
3ad1668a21 Promote the getAllProducts to Asset.pm as getIsa. Move the tests
from Asset/Sku/Product.t into Asset/Asset.t, and add tests to check
that inheritance is respected.
2008-05-28 16:06:52 +00:00
Colin Kuskie
0a05d637d4 Build an iterator for getting all products as objects, one at a time.
Build tests for the iterator.
Begin working on the exporter (which will use the iterator).
2008-05-28 04:37:21 +00:00
Yung Han Khoe
f3b14a227c Added Database link access for SQL Macro 2008-05-27 15:27:52 +00:00
Colin Kuskie
e562a45b10 Fix two bugs with importing product data.
Begin to build code for adding and editing products.
2008-05-27 04:01:41 +00:00
Colin Kuskie
b03b3b340e Remove extra whitespace in the testing files.
Make importProducts check file headers.
Add testing collateral, and tests
2008-05-27 01:12:01 +00:00