luisramos0
|
ca5a5bf301
|
Convert oc.rabl to oc serializer and use it in both haml file and controller
|
2019-07-29 18:13:29 +01:00 |
|
Luis Ramos
|
340b92e580
|
Merge pull request #3700 from luisramos0/2-0-without-auth-devise
Remove dependency to spree_auth_devise
|
2019-07-26 10:57:38 +01:00 |
|
Luis Ramos
|
23b6267e30
|
Merge pull request #3916 from luisramos0/schedules_of_coordinator
OC schedules are now filtered to schedules of OCs with same coordinator
|
2019-07-09 14:21:34 +01:00 |
|
luisramos0
|
1681e8a572
|
Remove unused auth config
|
2019-07-08 14:06:01 +01:00 |
|
luisramos0
|
e897eb0439
|
Remove Spree::BaseController.class_eval, these methods are already in the application helper through spree::application_helpers
We can ignore the difference in spree_logout_path as spree.logout_path is the user_sessions#destroy route
|
2019-07-08 13:59:26 +01:00 |
|
luisramos0
|
10e123a9c4
|
Move spree/authentication_helpers injection from spree initializers directly to the application_controller
Also, switch from using send to public_send making rubocop happier
|
2019-07-08 13:11:57 +01:00 |
|
luisramos0
|
0101dcdd93
|
Remove unused Spree::Dash from controllers brought from spree_auth_devise
|
2019-07-08 13:10:52 +01:00 |
|
luisramos0
|
9416f61fb3
|
Remove spree/checkout_controller.completion_route only used in spree/checkout_controller.update which is never used in OFN. Checkout update happpens in the checkout_controller.update
|
2019-07-08 13:04:38 +01:00 |
|
luisramos0
|
8efd69c3d1
|
Remove unnecessary checkout registration code, it's not used in OFN
|
2019-07-08 12:57:17 +01:00 |
|
luisramos0
|
dcbdfbb081
|
Fix rubocop issues in multiple files copied from spree_auth_devise, mostly hash rockets
|
2019-07-08 11:22:56 +01:00 |
|
luisramos0
|
92968c5efe
|
Merge spree/users_sessions_controller into spree/users_sessions from spree_auth_devise
|
2019-07-07 22:06:18 +01:00 |
|
luisramos0
|
c8ac64566f
|
Merge spree/users_controller_decorator into spree/user_controller
|
2019-07-07 22:04:04 +01:00 |
|
luisramos0
|
1a64a737d4
|
Add ActionController::Metal frorm spree_auth_devise for api authentication
|
2019-07-06 10:50:48 +01:00 |
|
luisramos0
|
17448699f9
|
Bring devise initializer from spree_auth_devise and fix spree initializer details
|
2019-07-05 22:45:59 +01:00 |
|
luisramos0
|
a413f22e12
|
Remove unnecessary dependency to spree/users helper
|
2019-07-05 22:37:07 +01:00 |
|
luisramos0
|
fc0ffda8ec
|
Bring routes and controllers from spree_auth_devise
|
2019-07-05 15:08:42 +01:00 |
|
luisramos0
|
e66dea7e03
|
Improve query in filter_schedules_by_enterprise_id. Makes join to OCs explicity.
|
2019-07-05 10:37:27 +01:00 |
|
Luis Ramos
|
00841cb537
|
Merge pull request #3923 from luisramos0/prod_image_error
User friendly error when creating a product with an image in an unsupported format
|
2019-06-26 15:30:18 +01:00 |
|
luisramos0
|
8b0296eae6
|
Use a single query to get filter_schedules_by_enterprise_id
|
2019-06-26 11:38:03 +01:00 |
|
Luis Ramos
|
57917a498b
|
Merge pull request #3946 from luisramos0/missing_translatiojns
Fix last missing translations covered by specs
|
2019-06-24 20:52:59 +01:00 |
|
Maikel
|
5b0c8bbaef
|
Merge pull request #3836 from Matt-Yorkley/fast_and_furious2
Improve /shops, /producers, and /groups performance
|
2019-06-21 15:02:19 +10:00 |
|
Maikel
|
71f396a44f
|
Merge pull request #3896 from luisramos0/clear_unit_desc
Clear product.variants.unit_description if product.variant_unit is items
|
2019-06-21 15:00:06 +10:00 |
|
Maikel
|
5aea361d87
|
Merge pull request #3709 from luisramos0/2-0-prepare-4-rails-4
Start upgrade to Rails 4
|
2019-06-21 14:58:24 +10:00 |
|
luisramos0
|
eab6cc563b
|
Fix rubocop issues
|
2019-06-18 10:49:20 +01:00 |
|
luisramos0
|
02b9fca620
|
Remove unused spree checkout and spree cart routes
|
2019-06-18 10:49:19 +01:00 |
|
luisramos0
|
40f7d07e27
|
Remove unnecessary method from spree storecontroller and spree orderscontroller
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
c56486d7ae
|
Remove unnecessary methods from spree checkoutcontroller
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
56db90f49e
|
Remove unused checkout controller update action and order controller populate action
Additionally, remove routes of these actions as well as routes already defined in routes.rb (checkout and cart)
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
a8b4037885
|
Remove dependency to coupon code logic in checkoutcontroller, ofn doesnt have that feature
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
fc145d472d
|
Add home controller to ofn codebase from spree frontend
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
5037cce6f5
|
Add all the code missing from checkout, order and store controllers to ofn controllers
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
c399491314
|
Move spree frontend routes to ofn and transform decorators with class_eval to controller classes
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
0cdb49818d
|
Remove distinct from enterprise.ready_for_checkout scope
Adapt use of enterprise scope not_ready_for_checkout to rails 4 by adding enterprises table alias to selected field id
|
2019-06-18 10:40:49 +01:00 |
|
luisramos0
|
0235a04530
|
Add missing translation key in user sessins controller
|
2019-06-17 15:48:52 +01:00 |
|
luisramos0
|
a7c970054c
|
Add rescue in product controller create action to avoid server error and send appropriate error message to client when product image upload fails
|
2019-06-14 10:20:28 +01:00 |
|
Matt-Yorkley
|
785595a951
|
Reduce initial queries on shop page by ~95%
|
2019-06-12 09:47:01 +01:00 |
|
Matt-Yorkley
|
0aa8b1a30e
|
Make shop hidden ams injection consistent with other uses
|
2019-06-12 09:47:01 +01:00 |
|
Matt-Yorkley
|
a91ae8947b
|
Only query visible enterprises
|
2019-06-12 09:47:01 +01:00 |
|
Matt-Yorkley
|
4ec46c2db6
|
Fix groups index page
|
2019-06-12 09:47:01 +01:00 |
|
Matt-Yorkley
|
ed97400a23
|
Improve producers performance
|
2019-06-12 09:47:01 +01:00 |
|
Matt-Yorkley
|
45d65baf8e
|
Improve shops performance
|
2019-06-12 09:47:01 +01:00 |
|
Pau Pérez Fabregat
|
99b82272cc
|
Merge pull request #3883 from Matt-Yorkley/order_cycles_performance
Admin order cycles performance
|
2019-06-12 10:38:54 +02:00 |
|
Pau Pérez Fabregat
|
fd95ae7e41
|
Merge pull request #3847 from Matt-Yorkley/api_access
Allow unauthenticated access to OFN API endpoints
|
2019-06-12 09:45:11 +02:00 |
|
luisramos0
|
9c539da811
|
Fix rubocop issue in schedules_controller.collection by extracting method
|
2019-06-11 21:28:55 +01:00 |
|
luisramos0
|
6cf705ea55
|
In the order cycle pages (both create and edit, both simple and normal), add OC coordinator to schedules request to the server and make the controller filter schedules of order cycles coordinated by that enterprise id.
|
2019-06-11 21:28:52 +01:00 |
|
luisramos0
|
1a4e83d633
|
Change products controller to clear variants unit description if variant_unit is items
|
2019-06-01 16:56:17 +01:00 |
|
Matt-Yorkley
|
563f9a4f5f
|
Remove another N+1
|
2019-05-29 12:28:56 +01:00 |
|
Matt-Yorkley
|
8733036fb0
|
Remove 2 N+1s, reduce queries in #visible action ~90%
|
2019-05-29 10:01:44 +01:00 |
|
Matt-Yorkley
|
c0a40c616b
|
Use devise's check_authorization and skip_authorization_check
|
2019-05-28 22:02:18 +01:00 |
|
luisramos0
|
07854cf372
|
Fix a few problems introduced by rubocop auto correct
|
2019-05-28 12:57:29 +01:00 |
|