53 Commits

Author SHA1 Message Date
Jeff Dutil
7dabf1a520 Support Spree 1.3.x, add default unauthorized page, and organize locales. 2013-03-10 09:46:06 -04:00
Michael Bianco
8d44a25199 Note about improvement to create_digital_links 2013-03-10 09:35:48 -04:00
Justin Louie
1d9fab3942 Fixing controller for current_order bug
unavailable.html.erb throws an error missing current_order

https://groups.google.com/forum/?fromgroups=#!topic/spree-user/mbEVVManQY8
2013-03-10 14:08:04 +08:00
Michael Bianco
9360c63503 Fixing deface name typo 2013-01-28 10:01:39 -05:00
Dave Mitchell
b381ede8e1 Convert 1.9 to 1.8 syntax. Fixes #23 2013-01-08 13:41:07 -05:00
Michael Bianco
23317eb0fb Adding button to order admin to reset digital downloads
* Resets expire time
* Resets download count
2012-11-01 17:36:47 -04:00
Michael Bianco
446a23ce3a Adding Spree::Order#reset_digital_links! to ease in handling customer support
Hope to add this as a button to the admin soon.
2012-10-29 13:04:39 -04:00
Michael Bianco
fdd8536b5b Tests passing on 1.2 2012-10-29 12:55:37 -04:00
Michael Bianco
949bd9c6fa Merge branch 'delete-protection' into funkensturm/master
* delete-protection:
  Added config to optionally disable deleting digitals on variant deletion
  Revert "Remove delete digitals on soft delete of variant"
  Adding failing variant spec
  Fixed broken Digital#destroy spec
  Remove delete digitals on soft delete of variant
2012-10-29 11:50:23 -04:00
Michael Bianco
d1536aa741 Added config to optionally disable deleting digitals on variant deletion 2012-10-29 11:43:47 -04:00
Michael Bianco
c5b1b87617 Revert "Remove delete digitals on soft delete of variant"
This reverts commit d23462fadb.
2012-10-29 11:10:06 -04:00
funkensturm
359867eddd Merge pull request #28 from iloveitaly/additional-tests
Additional Tests
2012-08-08 06:58:11 -07:00
Michael Bianco
d23462fadb Remove delete digitals on soft delete of variant 2012-08-07 11:18:12 -04:00
Michael Bianco
7839238026 Controller tests passing 2012-08-07 10:55:05 -04:00
Chris Lindensmith
ae106dd280 fix admin display of digital products
copied from funkensturm's fix.
2012-08-07 10:50:17 -04:00
Michael Bianco
27ca264d23 Fixed variant deletion bug 2012-07-15 23:14:25 -03:00
Michael Bianco
95e9b97abe Spree 1.1.2 compat. Adding specs for digital shipping 2012-07-09 13:32:45 -04:00
Michael Bianco
cdbc636e79 Don't authorize! until we know the digital file exists 2012-07-03 13:21:33 -04:00
Michael Bianco
061b6e2e48 Adding download buttons to invoice (orders#show) 2012-06-27 09:41:22 -04:00
Michael Bianco
049770056d Refactoring digital shipping calculation and display
* removed the deface override that modified the checkout/_delivery partial
* created custom digital delivery calculator
* removed digital_shipping_method from Spree::Order. Moved logic to available_shipping_methods monkey patch

The main goal was to eliminate the shipping method detection logic from the _delivery partial.
This was a bit of a hack all along and didn't really present the correct information to the underlying
order logic (i.e. rate_hash.blank? would return true when there was no shipping options available).
This should be more future proof and make overriding another aspect of the delivery process easier.
2012-06-23 19:29:21 -04:00
Michael Bianco
12281630d1 Allow multiple digital files to be attached to a single variant.
Useful for multi-format ebook downloads
2012-06-18 16:54:12 -04:00
Michael Bianco
2a0d165d93 Merge branch 'trahfo/master' into spree-1.1
* trahfo/master:
  specify available attributes for update
  specify available attributes for update
  moved partial into other directory
  specify available attributes for update
  let's see if it also works with spree 1.1.0

Conflicts:
	spree_digital.gemspec
2012-06-07 10:52:43 -04:00
Jakob
1fd0cd2916 specify available attributes for update 2012-05-14 15:54:57 +02:00
Jakob
831b513e6f specify available attributes for update 2012-05-14 15:48:00 +02:00
Jakob
3025683638 moved partial into other directory 2012-05-14 15:05:21 +02:00
Jakob
b7ef0a5b9d specify available attributes for update 2012-05-14 14:56:38 +02:00
Michael Bianco
a8c27750ef Spree 1.1 compatibility. Minor fix to shipping option filtering in checkout process 2012-05-10 10:18:56 -04:00
Michael Bianco
c5f0c79a03 Present message to user when no shipping methods are available 2012-05-03 10:59:32 -04:00
Michael Bianco
65de5ee7d7 Deleting old delivery partials 2012-05-02 16:09:19 -04:00
Michael Bianco
c780e6f756 Replacing _delivery partial overrides with deface 2012-05-02 16:05:12 -04:00
Michael Bianco
596006e8e1 Updating copied templates from spree 2012-05-01 11:45:53 -04:00
Michael Bianco
648f412ceb Resolving internationalization conflict with spree_essentials 2012-05-01 11:35:43 -04:00
Michael Bianco
da1a13f472 Merge branch 'funkensturm/master' into spree-1.0
* funkensturm/master:
  Ruby 1.9.3 compatibility fix
2012-04-11 16:26:58 -04:00
Michael Bianco
ab049fb4bb Removing unneeded CSS + JS assets 2012-04-11 16:24:56 -04:00
funkensturm
6d57afb194 Merge pull request #13 from wakeless/ruby-1-9-3
Fixes broken digitals in ruby 1.9.3
2012-04-09 05:48:29 -07:00
Michael Gall
8367745433 Ruby 1.9.3 compatibility fix 2012-04-05 12:25:43 +10:00
Michael Bianco
e652835a5f Added preferences for click amount and valid days on digital links. Tests for authorization are now running 2012-03-31 11:07:52 -04:00
Michael Bianco
c4a85b71d7 Updating all tests. All tests are passing 2012-03-30 19:25:07 -04:00
Michael Bianco
7f729bd402 Forgot to save merged changed. Minor deface fix 2012-03-28 21:51:16 -04:00
Sam Davies
d2923b595f Removed rake tasks. Added generators. Modern engine dir structure 2012-03-28 18:43:27 -04:00
Michael Gall
76cc733755 Making compatible with later versions of spree 2012-03-28 18:37:13 -04:00
Michael Gall
e1b4787988 Search for digitals through variants 2011-12-19 18:46:11 +01:00
Michael Gall
4ecf99a4ae Using resource controller and namespace 2011-12-19 18:46:11 +01:00
Michael Gall
02fd4a64d1 inheriting from the correct controller 2011-12-19 18:46:11 +01:00
Michael Gall
c0255bdf87 inheriting from the correct controller 2011-12-19 18:46:11 +01:00
Michael Gall
414cf485ab Spree namespace changes 2011-12-19 18:46:11 +01:00
Michael Gall
191158639e Adding namespace support 2011-12-19 18:46:11 +01:00
Michael Gall
eddaea6395 Updating confirm email 2011-12-19 18:46:11 +01:00
影月 零
cdb10b79dd added japanese locale 2011-11-20 03:15:56 +09:00
David Radcliffe
b442641496 fixed human_name warning 2011-04-29 21:13:05 +08:00