Commit Graph

  • 23d36e3898 Merge pull request #2058 from coopdevs/improve-order-cycle-notification Pau Pérez Fabregat 2018-02-09 13:19:32 +01:00
  • c79641c77c Fix typos in documentation Pau Perez 2018-01-31 15:23:31 +01:00
  • aa4bd7f397 Improve code style and docs of job Pau Perez 2018-01-29 15:34:35 +01:00
  • be07996656 Merge pull request #2070 from chancancode/skylight Pau Pérez Fabregat 2018-02-09 08:55:30 +01:00
  • e12207f3de Use shop contact email and contact name for subscription emails Rob Harrington 2018-02-09 14:26:38 +11:00
  • 09b800672d Fix specs to handle non-deterministic ordering Rob Harrington 2018-02-05 14:03:22 +11:00
  • c59b172348 Fix typo Rob Harrington 2018-02-05 13:07:02 +11:00
  • 7017c8540c Replace references to 'standing line item' with 'subscription line item' Rob Harrington 2018-02-05 12:28:11 +11:00
  • ae4420d9ba Rename standing line item files Rob Harrington 2018-02-05 12:26:21 +11:00
  • eb53df8238 Rename 'standing_line_items' table to 'subscription_line_items' Rob Harrington 2018-02-05 11:21:35 +11:00
  • 71370e0bce Replace references to 'standing order' with 'subscription' (cleanup) Rob Harrington 2018-02-02 17:28:32 +11:00
  • ba66c0e862 Replace references to 'standing order' with 'subscription' (schedule) Rob Harrington 2018-02-02 17:22:02 +11:00
  • c605742671 Replace references to 'standing order' with 'subscription' (routes) Rob Harrington 2018-02-02 17:21:17 +11:00
  • 720628e49e Replace references to 'standing order' with 'subscription' (translations) Rob Harrington 2018-02-02 17:20:05 +11:00
  • 501fa4c901 Replace references to 'standing order' with 'subscription' (erb) Rob Harrington 2018-02-02 17:08:54 +11:00
  • 532f998b24 Replace references to 'standing order' with 'subscription' (js: spec) Rob Harrington 2018-02-02 17:05:37 +11:00
  • b7876ebfbf Replace references to 'standing order' with 'subscription' (spec) Rob Harrington 2018-02-02 16:45:06 +11:00
  • 04e48989c9 Replace references to 'standing order' with 'subscription' (lib) Rob Harrington 2018-02-02 16:39:57 +11:00
  • 094c3e70f7 Replace references to 'standing order' with 'subscription' (HAML) Rob Harrington 2018-02-02 16:30:23 +11:00
  • b3eaa30f3d Replace references to 'standing order' with 'subscription' (JS) Rob Harrington 2018-02-02 16:25:42 +11:00
  • 672f96b85b Replace references to 'standing order' with 'subscription' Rob Harrington 2018-02-02 16:17:14 +11:00
  • 902802594f Renaming standing order files (lib, spec) Rob Harrington 2018-02-02 17:02:56 +11:00
  • a9b5fd69d8 Renaming standing order files Rob Harrington 2018-02-02 16:10:10 +11:00
  • b258c032cc Rename 'standing_orders' table to 'subscriptions' Rob Harrington 2018-02-02 15:18:06 +11:00
  • fe7b86ff60 Fix broken call to log_order which should have been record_order Rob Harrington 2018-02-02 12:12:42 +11:00
  • 17950ba498 Lazy load summarizers for standing order jobs outside of initializer Rob Harrington 2018-02-02 11:25:52 +11:00
  • ccbe33001f Add missing interpolation for shop name Rob Harrington 2018-02-02 08:09:59 +11:00
  • c5f3249172 Fix rubocop issues Rob Harrington 2018-02-02 00:54:05 +11:00
  • e7eb02dfe3 Reduce cognitive complexity of VariantsController#search Rob Harrington 2018-02-01 23:10:22 +11:00
  • 17a0b18e50 Reduce cognitive complexity of StandingLineItemsController#build Rob Harrington 2018-02-01 16:23:40 +11:00
  • 2012c23956 Reduce cognitive complexity of ProxyOrder#state Rob Harrington 2018-02-01 16:09:42 +11:00
  • 88a5d4be47 Reduce cognitive complexity of LineItemSyncer#update_item_quantities Rob Harrington 2018-02-01 15:07:39 +11:00
  • 224249d66b Reduce cognitive complexity of OrderSyncer Rob Harrington 2018-02-01 14:57:16 +11:00
  • ceab1fe16a Reduce cognitive complexity of StandingOrderPaymentUpdater Rob Harrington 2018-02-01 10:25:58 +11:00
  • c1f0a0b514 Reduce congnitive complexity of AddressFinder Rob Harrington 2018-02-01 10:17:13 +11:00
  • ce09a8dad6 Reduce cognitive complexity of StandingOrder#state Rob Harrington 2018-02-01 09:48:33 +11:00
  • 99db6f8e14 Fix translation key for StandingOrderValidator errors Rob Harrington 2018-02-01 09:47:31 +11:00
  • d6924d2866 Add comment to OrderUpdateIssues Rob Harrington 2018-01-31 16:39:05 +11:00
  • 3e68973812 Rename StandingOrderUpdater to OrderSyncer Rob Harrington 2018-01-31 16:22:32 +11:00
  • bbc3cad67d Refactor large StandingOrderUpdater#update! method Rob Harrington 2018-01-31 15:43:52 +11:00
  • 50d3522b2c Extract logic for recording issues with updating orders to separate class Rob Harrington 2018-01-31 13:14:11 +11:00
  • 2c5bfab29f Refactoring price estimation logic for StandingOrderForm Rob Harrington 2018-01-31 12:22:46 +11:00
  • 844cd79270 Clean-up of standing order form and spec Rob Harrington 2018-01-31 12:03:27 +11:00
  • 8ae4307a69 Move logic for updating orders to dedicated class Rob Harrington 2018-01-31 11:38:33 +11:00
  • 2c40252edb Extract validation logic for standing orders into service object Rob Harrington 2018-01-17 13:31:05 +11:00
  • 0c302b022a Move StandingOrderForm to app/services folder Rob Harrington 2018-01-11 12:36:19 +11:00
  • 7581779a0d Remove weird escape characters Rob Harrington 2017-12-07 09:58:11 +11:00
  • f9727de206 Comment out interface for turning standing orders ON for an enterprise Rob Harrington 2017-12-06 15:41:18 +11:00
  • 76daa183d5 Add orders sub-menu to standing-order index page Rob Harrington 2017-11-30 16:22:53 +11:00
  • 981b874263 Remove unused method active? for order cycles Rob Harrington 2017-11-30 14:50:50 +11:00
  • 4362ef2cea Properly translate all error messages for StandingOrderForm Rob Harrington 2017-11-30 14:44:01 +11:00
  • 7ca60e1990 Use activerecord error translations properly Rob Harrington 2017-11-30 12:07:01 +11:00
  • 1bf2f7ad03 Fix a couple of offences pickup up by rubocop Rob Harrington 2017-11-25 13:04:25 +11:00
  • 8ba1a909ca Use summarizer for standing order confirm job Rob Harrington 2017-11-24 16:01:16 +11:00
  • c86207212f Add confirmation summary email Rob Harrington 2017-11-24 16:46:56 +11:00
  • 86cddb1cc4 Capitalise translated strings Rob Harrington 2017-11-24 14:30:36 +11:00
  • b49c44f7ce Generalise record_failure method to record_and_log_error Rob Harrington 2017-11-24 14:30:08 +11:00
  • 818af47613 Move rescue clause to process method Rob Harrington 2017-11-24 13:38:37 +11:00
  • ef6c9ec0f0 Integrate standing order summarizer into placement job Rob Harrington 2017-11-24 12:08:33 +11:00
  • 13d01df4d8 Add mail method and template for sending placement summary emails to shop owners Rob Harrington 2017-11-24 11:36:36 +11:00
  • cf30b7c883 Add service objects for summarizing outcomes of standing order processing jobs Rob Harrington 2017-11-23 18:20:05 +11:00
  • 0c0e12e165 Show edit link in placement email if changes are allowed by shop Rob Harrington 2017-11-22 10:45:36 +11:00
  • f9af8edf27 Ignore Metrics/BlockLength for specs and Rails/HasAndBelongsToMany Rob Harrington 2017-11-17 14:45:31 +11:00
  • 8bf460c93a Manually fix remaining rubocop offences Rob Harrington 2017-11-17 14:36:23 +11:00
  • f902b8cef0 Fix rubocop Style/ClassAndModuleChildren offences Rob Harrington 2017-11-17 14:35:21 +11:00
  • 84ad996ef8 Use guard clauses Rob Harrington 2017-11-17 14:10:30 +11:00
  • fb28940952 Use Time.zone.now instead of Time.now Rob Harrington 2017-11-17 13:44:35 +11:00
  • 03f1980b1b Auto-correct rubocop offences for standing-orders Rob Harrington 2017-11-17 13:38:38 +11:00
  • 26a325e6e0 Handle payment processing errors for standing orders Rob Harrington 2017-11-17 12:26:23 +11:00
  • 2576d10e49 Create a new payment when none is present Rob Harrington 2017-11-17 11:10:10 +11:00
  • 67e05cea9c Add failed payment email to StandingOrderMailer Rob Harrington 2017-11-17 10:33:12 +11:00
  • 0ccb0ce0e4 Make standing order header partial more generic Rob Harrington 2017-11-17 09:26:24 +11:00
  • 8c96a19e3e Specify minimum postgresql version for travis Rob Harrington 2017-11-16 16:17:20 +11:00
  • 6e83c6dc86 Move standing order emails to a dedicated StandingOrderMailer Rob Harrington 2017-11-16 12:53:25 +11:00
  • d6a9d63de5 Replace StandingOrderSyncJob with ProxyOrderSyncer service object Rob Harrington 2017-11-15 14:57:03 +11:00
  • 6ea343f26e Clean up proxy order performance specs Rob Harrington 2017-11-15 13:09:21 +11:00
  • 43c2aca208 Use delete_all instead of destroy_all for increased speed Rob Harrington 2017-11-16 10:39:47 +11:00
  • 8a498391ca Add performance spec for removal of proxy orders Rob Harrington 2017-11-15 12:44:10 +11:00
  • 146348a4fe Refactor proxy order syncer using direct sql query for increased speed Rob Harrington 2017-11-15 12:14:19 +11:00
  • 48b39f4712 Add performance spec for proxy order syncer Rob Harrington 2017-11-15 12:09:27 +11:00
  • 3aee0b5e70 Allow proxy order syncer to accept both ActiveRecord::Relation or StandingOrder Rob Harrington 2017-11-15 14:56:20 +11:00
  • 6d5c920a95 Split proxy order sync logic out into dedicated service object Rob Harrington 2017-11-12 11:27:26 +11:00
  • cdf04323a9 Serialize standing order credit_card_id to enable selection in edit form Rob Harrington 2017-11-10 18:44:03 +11:00
  • bdac68900f Move address and card loading logic down into DetailsController Rob Harrington 2017-11-10 18:09:24 +11:00
  • a5ae4c801c Initialize ofn-select2 with empty array when data is a promise Rob Harrington 2017-11-10 18:07:53 +11:00
  • 404913dcfa Move form-saving logic into dedicated StandingOrderForm service Rob Harrington 2017-11-10 15:51:33 +11:00
  • c94badbf36 Stub or provide mailer as appropriate Rob Harrington 2017-11-10 15:02:36 +11:00
  • ca1485f121 Add missing translations for proxy order controller error messages Rob Harrington 2017-11-10 14:31:13 +11:00
  • dfe874cf3f Attempt to add a credit card before processing payment Rob Harrington 2017-11-10 11:36:19 +11:00
  • c20c9e2e78 Use the rails logger instead of Bugsnag Rob Harrington 2017-11-10 10:07:38 +11:00
  • f4f6fb6a7a Update and process standing order payments prior to confirmation Rob Harrington 2017-11-09 17:01:07 +11:00
  • ac8e09bc11 Add credit card validation to StandingOrderForm Rob Harrington 2017-11-02 14:02:50 +11:00
  • 183ad87d07 Fix mislabeled StandingOrderForm specs Rob Harrington 2017-11-02 13:33:37 +11:00
  • f95d1ef058 Show message when no credit cards available for a customer Rob Harrington 2017-11-02 13:28:50 +11:00
  • 61b64a7516 Add credit card selection element to standing orders form Rob Harrington 2017-11-02 13:18:14 +11:00
  • 494f2f4821 Add cards lookup action to CustomersController Rob Harrington 2017-10-27 16:32:00 +11:00
  • d3937e5c80 Move customer address lookup action to CustomersController Rob Harrington 2017-10-27 16:30:14 +11:00
  • 3ac2ac34ed Add credit_card_id to StandingOrder model Rob Harrington 2017-10-27 12:18:24 +11:00
  • 25907d8969 Prevent standing order form from accepting non cash/stripe payment methods Rob Harrington 2017-10-27 11:40:30 +11:00
  • 26b85052e1 Load only Cash and Stripe payment methods into standing order form actions Rob Harrington 2017-10-27 11:14:05 +11:00