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
luisramos0
3776b891ce
Merge branch 'master' into 2-0-stable-dec-3rd
2018-12-03 15:30:16 +00:00
Hugo Daniel
7b33712f7a
Add an API endpoint for EnterpriseFeesController#destroy
2018-11-15 14:05:08 +01:00
Hugo Daniel
3dd981ca05
Use logged in user (spree_current_user) for API authentication (current_api_user)
2018-11-14 11:58:28 +01:00
Matt-Yorkley
334eebeab1
Move json to API and strip index action
2018-10-26 21:38:57 +01:00
luisramos0
d170a4d489
New domain Web (rails engine) with the following features extracted from the main app:
...
- cookies banner
- cookies policy page
- cookies policy and privacy policy links in the footer
2018-09-17 16:05:32 +01:00
Kristina Lim
9c3bb863da
Add endpoints for removing enterprise images
2018-09-04 01:32:39 +08:00
luisramos0
92f9cbd00a
Added new cookies banner (with link to cookie policy page and the accept cookies button)
2018-08-14 10:01:48 +10:00
Rob Harrington
ddb9ae1140
Load all shops that a user is associated with as a customer
...
Regardless of the presence of an order
2018-06-24 16:28:47 +10:00
Rob Harrington
ffa8a8c7d6
Create Api::BaseController to allow use of ActiveModelSerializers
...
Also add index action to Api::CustomersController
2018-06-22 15:39:47 +10:00
Rob Harrington
6e76fd8164
Add Api::CustomersController with update action
2018-06-22 15:39:46 +10:00
Matt-Yorkley
8a11dc3c33
Decouple image upload from Spree
2018-02-14 13:46:05 +00:00
Matt-Yorkley
4d11485283
Use receives_notifications flag for enterprise contact
2018-02-07 10:41:53 +11:00
Matt-Yorkley
ba98c7e2c5
Rewrite enterprise contact functionality
2018-02-07 10:41:52 +11:00
Pau Perez
72889b5c36
Stub current_user instead of api key's user
2017-12-21 10:24:29 +11:00
Pau Perez
cee24dcca7
Use indented style for multiline method calls
...
This enables the Rubocop's Style/MultilineMethodCallIndentation cop with
indentend enforced style. Which makes you split multiline method calls like:
orders = Spree::Order
.an_scope
.another_scope
.where(id: list_of_ids)
It also autofixes the current violations and updates the
rubocop_todo.yml
2017-07-12 10:40:53 +02:00
Rohan Mitchell
59b564c4be
Report job queue status via API
2016-04-13 16:48:24 +10:00
Rob Harrington
ae7e744644
WIP: BOM Refactor, adding for_line_items action to enterprises controller
2015-11-04 15:02:29 +11:00
Rob Harrington
f88fdac710
Adding module - doh!
2015-05-07 12:50:56 +10:00
Rob Harrington
a7019e7e78
Adding permissions method for order report enterprises
2015-05-07 12:50:56 +10:00
Rob Harrington
7ffe0f042e
Moving accessible_by scope on Enterprise to permissions
2015-05-07 12:50:55 +10:00
Rob Harrington
9ab16d8cec
Allowing calls to Api::OrderCyclesController#accessible to specify :as => 'distributor' or 'producer'
2015-05-07 12:50:54 +10:00
Rohan Mitchell
8037811735
Only make new enterprises as hubs when current user *owns*, not just manages a hub.
2015-03-27 14:38:21 +11:00
Rohan Mitchell
0ed1eeffd6
When registering a new enterprise, if user is signed in, owns a hub and is not making a producer, the new enterprise becomes a hub
2015-03-27 14:05:58 +11:00
Rob Harrington
c3659612ed
enterprise routes use permalink
2015-01-22 10:19:42 +11:00
Rob Harrington
8b819539e7
Fixing specs
2014-10-24 14:52:59 +11:00
Rob Harrington
20e2cb4ecc
Set visibility to false for enterprises created through registration process
2014-10-24 13:31:20 +11:00
Rob Harrington
d94ca0174a
Registration process sets sells to 'unspecified'
2014-10-23 16:42:00 +11:00