luisramos0
|
7c64777a50
|
Remove requires_authentication check from api/base_controller. OFN api does not require auth, it always generates an anonymous user for public endpoints
|
2019-10-28 16:00:36 +00:00 |
|
luisramos0
|
b29983ac60
|
Add AMS versions of the error responses in api/base_controller and cover not_found case with a unit test
|
2019-10-28 16:00:36 +00:00 |
|
Luis Ramos
|
02c0b89fa0
|
Merge pull request #4345 from Matt-Yorkley/shopfront_pagination
Shopfront pagination
|
2019-10-21 16:02:12 +01:00 |
|
Matt-Yorkley
|
7b0c55e15a
|
Ensure producer properties are included in properties results
|
2019-10-18 21:15:13 +01:00 |
|
Matt-Yorkley
|
cbe2477d04
|
Fix property filters and improve test coverage
|
2019-10-18 21:15:13 +01:00 |
|
Matt-Yorkley
|
c730958fe4
|
Restrict search params passed to ProductsRenderer
|
2019-10-18 21:15:13 +01:00 |
|
Matt-Yorkley
|
542c1bf684
|
#slice :params in controller and rename to :args in service context
|
2019-10-18 21:15:13 +01:00 |
|
Matt-Yorkley
|
b3c89a9d6c
|
Move OpenFoodNetwork::ProductsRenderer (lib) to ProductsRenderer (service) and refactor
|
2019-10-18 21:15:13 +01:00 |
|
Matt-Yorkley
|
c54cff10d4
|
Adjust API endpoint params
|
2019-10-18 21:15:13 +01:00 |
|
Matt-Yorkley
|
ab330e882e
|
Remove product cache
|
2019-10-18 21:15:11 +01:00 |
|
Matt-Yorkley
|
06e1f56ae9
|
Extract filter list fetching into a separate endpoint
|
2019-10-08 10:11:24 +01:00 |
|
Matt-Yorkley
|
bc826f73a1
|
Add temporary placeholder for API endpoint
|
2019-10-03 18:11:40 +01:00 |
|
luisramos0
|
baa09b88f7
|
Fix issue with nil current_order where shipping_method serializer requires a current_order to calculate the shipping fees
|
2019-09-25 09:52:10 +01:00 |
|
luisramos0
|
78cf35807a
|
Improve preloading of order query to avoid N+1 queries
|
2019-09-23 23:50:39 +01:00 |
|
luisramos0
|
25fbab2e37
|
Use memoized order method
|
2019-09-19 16:32:09 +01:00 |
|
luisramos0
|
2921ee19e1
|
Add api/order/{order_number} ednpoint and its new order detailed serializer
|
2019-09-19 16:32:09 +01:00 |
|
Luis Ramos
|
1d177a164b
|
Merge pull request #4247 from mkllnk/4243-inventory-pagination
4243 Restore old pagination API for inventory products
|
2019-09-10 11:35:04 +01:00 |
|
Maikel Linke
|
24c8bb95cb
|
Restore old pagination API for products
It's still used by the inventory page. This is an easy fix that I can
deploy without risk. A rewrite of the inventory pagination should
follow.
|
2019-09-09 14:53:04 +10:00 |
|
luisramos0
|
e9b5551c0f
|
Adpat shipment controller to move out of Spree namespace
|
2019-09-08 12:17:36 +01:00 |
|
luisramos0
|
7cec24f1d4
|
Move shipments route, controller and ctrl spec from spree/api to api
|
2019-09-08 12:17:36 +01:00 |
|
Luis Ramos
|
e3ce2a7486
|
Merge pull request #4104 from luisramos0/convert_taxons_to_ams
Convert spree/api/taxons views from rabl to AMS
|
2019-09-06 00:04:10 +01:00 |
|
Matt-Yorkley
|
ff2db0c5f8
|
Update spec routes, namespacing, and test content
Resolving new issues after a big merge
|
2019-09-02 14:35:00 +01:00 |
|
Matt-Yorkley
|
4bec583bff
|
Refactor import_date_scope
|
2019-09-02 14:35:00 +01:00 |
|
Matt-Yorkley
|
90256f9c28
|
Add defaults and pages tests
|
2019-09-02 14:35:00 +01:00 |
|
Matt-Yorkley
|
eb284c1742
|
Use constants for defaults
|
2019-09-02 14:35:00 +01:00 |
|
Matt-Yorkley
|
b0ad0fccfa
|
Add some defaults to avoid returning zero values when not supplied in query
|
2019-09-02 12:00:32 +01:00 |
|
Matt-Yorkley
|
c127110192
|
Make import_date query modification conditional
|
2019-09-02 11:59:13 +01:00 |
|
Matt-Yorkley
|
0470725112
|
Refactor pagination data hash
|
2019-09-02 11:57:32 +01:00 |
|
Matt-Yorkley
|
aeb8d30dae
|
Fix server-side import_date filtering
|
2019-09-02 11:56:00 +01:00 |
|
Matt-Yorkley
|
f6d0de1454
|
Improve pagination data in bulk products
|
2019-09-02 11:54:28 +01:00 |
|
Pau Pérez Fabregat
|
369a5a8a2f
|
Merge pull request #4101 from luisramos0/remove_variants_rabl
Convert spree/api/products and spree/api/variants views from rabl to AMS
|
2019-09-02 12:14:26 +02:00 |
|
luisramos0
|
92a270165e
|
Add missing api taxonomies controller only for the required jstree action
|
2019-08-28 22:06:56 +01:00 |
|
luisramos0
|
9f5c9916ba
|
Add back required api actions (create, update and destroy) and add AMS serializers for the jstree action
|
2019-08-28 22:06:56 +01:00 |
|
luisramos0
|
45bdb85bf3
|
Add missing method and skip_authorization_check to taxons controller
|
2019-08-28 22:06:56 +01:00 |
|
luisramos0
|
7a652fd67b
|
Adapt api/taxons controller to new namespace outside Spree: remove Spree module and add Spree namespace to Taxons and Taxonomy classes
|
2019-08-28 22:06:56 +01:00 |
|
luisramos0
|
4ca8feeef1
|
Move api/taxons route and controller out of spree namespace into /api and move the ctrl spec as well
|
2019-08-28 22:06:56 +01:00 |
|
Maikel
|
229e6fa0a3
|
Merge pull request #4073 from luisramos0/kill_more_rabl
Replace update_prod_image.rabl with ImageSerializer in api/product_image_controller
|
2019-08-06 15:00:33 +10:00 |
|
luisramos0
|
4aa6c673ff
|
Adapt api products and variants controllers to new namespace outside of Spree
|
2019-08-01 18:34:19 +01:00 |
|
luisramos0
|
aa3c1aa0fe
|
Remove Spree module declaration from these files as they were moved out of the spree namespace
|
2019-08-01 14:30:11 +01:00 |
|
luisramos0
|
31bac9641f
|
Move api products and variants routes and ctrl out of spree namespace
|
2019-08-01 14:28:55 +01:00 |
|
luisramos0
|
11a77043eb
|
Switch from Spree::Api::BaseController to Api::BaseController so that AMS is activated
|
2019-07-30 12:20:14 +01:00 |
|
luisramos0
|
58b43c7bc9
|
Remove update_product_image.v1.rabl and switch controller from respond_with to render json to switch from rabl to AMS
|
2019-07-30 12:19:42 +01:00 |
|
luisramos0
|
1d92d6cc33
|
Remove unused api endpoint order_cycles and also action enterprises/managed and respective views
|
2019-07-22 17:35:41 +01: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 |
|
Matt-Yorkley
|
c0a40c616b
|
Use devise's check_authorization and skip_authorization_check
|
2019-05-28 22:02:18 +01:00 |
|
luisramos0
|
86b0d71c7e
|
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
|
2019-05-28 12:57:29 +01:00 |
|
Matt-Yorkley
|
74d7db9fba
|
Allow unauthenticated access to enterprise API endpoints
|
2019-05-21 17:13:00 +01:00 |
|
Matt-Yorkley
|
6a8a67560b
|
Fix API authentication
|
2019-05-07 00:36:08 +01:00 |
|
Matt-Yorkley
|
6bdc5d4438
|
Fix maps performance
|
2019-05-07 00:36:08 +01:00 |
|
luisramos0
|
36e2786a1e
|
Delete Accounts and Billing dead feature code
|
2019-02-25 14:37:16 +00:00 |
|