summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions/engine.rb
AgeCommit message (Collapse)Author
2020-10-30Add Subscriptions tab to User page in AdminIgor Barbosa
2020-10-07Migrate ability to permission setsAlessandro Desantis
Custom abilities are deprecated in favor of the new permission sets API.
2020-09-25Fix coding style violationsAlessandro Desantis
2020-09-24Use `.configure`/`.configuration` standard for config managementAlessandro Desantis
2020-07-27Update default permitted attributesAlessandro Desantis
The billing address as well as the interval and end date can now be set directly on the subscription, so we need to permit those attributes by default.
2020-06-13Update decorator namespaces to be compliant with ZeitwerkAlessandro Desantis
2020-06-13Update to the latest solidus_dev_supportAlessandro Desantis
2017-07-24Authorize subscriptions admin sidebar linkBrendan Deere
Only show the admin sidebar link if the user is authorized to see it. Before: The link to the subscriptions area of the subscriptions administrative area would be displayed on the admin login screen. Clicking this link without authenticating would redirect the user to the log in page After: The link to the subscriptions area of the admin is hidden until after the user authenticates
2017-05-23Only load permitted attributes onceBrendan Deere
Previous Behaviour: The to_prepare block was reloading the permitted attributes module. This resulted in the subscription parameters being appended to the spree premitted attributes multiple times. New behaviour: Do not auto load the lib directory Only load the permitted attributes once during the initalization process
2016-10-07Add a link to the subscriptions backend areaBrendan Deere
Jam this link into the admin sidebar
2016-10-03Remove duplicated lib autoloadBrendan Deere
2016-09-28Hook SubscriptionOrder promo up to solidusBrendan Deere
Register the subscription order promotion rule up to solidus
2016-09-28Merge pull request #67 from brendandeere/promo_ruleBrendan Deere
Promo rule
2016-09-28Merge pull request #47 from brendandeere/rake_task_and_jobBrendan Deere
Rake task and job
2016-09-28Register Subscription promotion rule with solidusBrendan Deere
Add the custom promotion rule to the list of solidus promotion rules. add some translations and an empty template so that the admin can render the promotion rule properly
2016-09-27Autoload constants in libBrendan Deere
2016-09-26Move decorators to the decorators directoryBrendan Deere
I mistakently put decorators in the overrides folder. These files were loaded twice, once by the engine and once by deface. Move these files where they belong and require them properly
2016-09-23Autoload constants in the lib folderBrendan Deere
2016-09-23autoload app/jobsBrendan Deere
2016-09-23Add CanCan abilities classAlex Blackie
This adds a CanCan class for modelling our permissions. This then modifies the LineItemsController to use the new CanCan abilities instead of manually checking.
2016-09-21Fix isolated namespaceAlex Blackie
This should be set to our engine's module namepsace, but instead it was set to Spree (probably because most extensions pollute the Spree namespace so it's there by default from the generators). Changing this allows our engine routes to be properly defined as `solidus_subscriptions` instead of `spree`.
2016-09-08Load Config module on initializationBrendan Deere
Load the config module after the default spree payment methods have been registered
2016-08-29Load all overrides on activationBrendan Deere
All files in /overrides will be spree override files. Load them all
2016-08-25Namespace Engine modelsBrendan Deere
all models tables will be prefixed with 'solidus_subscriptions_'
2016-08-24initBrendan Deere