Julius Pabrinkis
|
ba0b17e168
|
Extract translations from controllers
|
2017-07-21 12:17:12 +10:00 |
|
Rohan Mitchell
|
f33df883a0
|
Fix link_to_remove_fields - does not immediately delete the field
|
2016-11-04 09:39:17 +11:00 |
|
Rohan Mitchell
|
a6a0bdb063
|
Sanitize values before they're used
|
2016-11-04 09:39:17 +11:00 |
|
Rohan Mitchell
|
6753320336
|
Do not stomp address on create
|
2016-11-04 09:39:17 +11:00 |
|
Rob Harrington
|
4c2552e0bf
|
Enterprise users can create tag rules
|
2016-04-01 19:48:25 +11:00 |
|
Rob Harrington
|
066190c16f
|
First cut at an interface for updating tag rules
|
2016-04-01 19:48:25 +11:00 |
|
Rob Harrington
|
77e74c5642
|
OC Coordinators can opt to restrict products in an order cycle to those in their inventory only
|
2016-03-02 12:10:22 +11:00 |
|
Maikel Linke
|
cd7721a127
|
Using date and time of current timezone
Using Time.zone.now and Date.current instead of Time.now and Date.today.
This should make all specs timezone independent.
|
2015-12-10 11:38:41 +11:00 |
|
Rob Harrington
|
1556d38b1e
|
Admin Enterprise#update.json renders updated enterprises using index serializer
|
2015-11-12 14:30:43 +11:00 |
|
Rob Harrington
|
ae7e744644
|
WIP: BOM Refactor, adding for_line_items action to enterprises controller
|
2015-11-04 15:02:29 +11:00 |
|
Rohan Mitchell
|
73b90dba10
|
Shift legacy redirect further down routes to avoid stomping /enterprises/check_permalink
|
2015-07-10 09:42:09 +10:00 |
|
Rob Harrington
|
64ed80f845
|
Enterprise index action load enterprise_set for super admin
|
2015-06-12 01:49:39 +08:00 |
|
Rob Harrington
|
1b52564d58
|
Rerouting welcome page to be an enterprise action, updates to copy for package selection
|
2015-06-12 01:49:38 +08:00 |
|
Rob Harrington
|
e575b0e490
|
Switching enterprise index to its own dedicated serializer, so we can spit out ownership
|
2015-06-12 01:49:37 +08:00 |
|
Rob Harrington
|
a90cd0f8e0
|
Owners can update sells on enterprises they own
|
2015-06-12 01:49:36 +08:00 |
|
Rob Harrington
|
6b35e993bd
|
WIP: More work on panel content, styling and data submission logic
|
2015-06-12 01:49:36 +08:00 |
|
Rob Harrington
|
c311bcdca7
|
Overriding enterprises index action to use AMS for json requests, and prevent collection loading for html requests
|
2015-06-12 01:49:33 +08:00 |
|
Maikel Linke
|
e35b39c7cf
|
Handle invalid referer URLs
Rescues URI::InvalidURIError of URL(request.referer).
|
2015-06-05 12:43:49 +10:00 |
|
Maikel Linke
|
28dae3c6c6
|
Enterprises cannot add themselves to Groups
|
2015-05-22 15:23:59 +10:00 |
|
Rohan Mitchell
|
2e021941d1
|
Fix bug where new enterprises should be created as hubs, but aren't
|
2015-04-16 10:59:15 +10:00 |
|
Rob Harrington
|
e3138c3cd2
|
Renaming order_cycle_enterprises_for as visible_enterprises
|
2015-04-11 22:25:23 +10:00 |
|
Rob Harrington
|
26d55baa35
|
Moving order cycle permissions to their own permissions class
|
2015-04-11 21:11:10 +10:00 |
|
Rob Harrington
|
72403fd021
|
Fixing broken enterprise controller spec
|
2015-04-10 13:16:21 +10:00 |
|
Rob Harrington
|
2280a71b23
|
Replace for_order_cycle rabl template with a serializer
|
2015-04-10 09:25:40 +10:00 |
|
Rob Harrington
|
adc1b639bc
|
Merge remote-tracking branch 'origin/master' into complex_oc
|
2015-04-08 14:38:27 +10:00 |
|
Rob Harrington
|
104a8ddecf
|
Refactor order_cycle_enterpises_for permission method, now requires an order cycle
|
2015-04-08 13:00:17 +10:00 |
|
Rob Harrington
|
5020eb4e32
|
And again: override redirect to index page when editing properties from edit page
|
2015-04-02 14:14:16 +11:00 |
|
Rob Harrington
|
cb376602f2
|
Override redirect to index page when editing properties from edit page
|
2015-04-02 14:03:51 +11:00 |
|
Rob Harrington
|
3aa5f6e023
|
Adding properties tab to admin enterprise edit form
|
2015-04-02 11:30:32 +11:00 |
|
Rob Harrington
|
ca1a5b5f8d
|
Ignoring any new producer properties submitted by the user
|
2015-04-02 08:54:35 +11:00 |
|
Rob Harrington
|
35b27fcfd2
|
Delegating responsibility for returning an empty scope when no options are passed to order_cycle_enterprises_for
|
2015-03-27 16:16:10 +11:00 |
|
Rob Harrington
|
45f6042d3d
|
Enterprises etched by for_order_cycle action now use permissions scoped using an order cycle or coordinator
|
2015-03-27 16:16:10 +11: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
|
09a102bd8b
|
When an enterprise user with a hub creates a new producer, it does not default to sells any #453
|
2015-03-27 12:02:20 +11:00 |
|
Rohan Mitchell
|
ab9bc7b1dc
|
Output debugging information to help investigate bogus changes to the sells field through the enterprises bulk edit action
|
2015-03-18 12:50:25 +11:00 |
|
Rohan Mitchell
|
1a44e74a9d
|
When enterprise user creates an enterprise, make it a hub if they have other hubs
|
2015-03-13 16:06:42 +11:00 |
|
Rohan Mitchell
|
f83ceae5d1
|
Fix feature: Enterprises list is shortened when error in bulk update
|
2015-02-18 15:32:56 +11:00 |
|
Rob Harrington
|
a62f48441d
|
Restrict ability to change managers of enterprises using update action
|
2015-02-12 11:34:58 +11:00 |
|
Rob Harrington
|
c3659612ed
|
enterprise routes use permalink
|
2015-01-22 10:19:42 +11:00 |
|
Rob Harrington
|
c330e49a7f
|
Moving permalink check action to enterprise controller
|
2015-01-22 10:19:42 +11:00 |
|
Rob Harrington
|
e2268e53bb
|
Adding action to check uniquness of enterprise permalink against existing routes
|
2015-01-22 10:19:41 +11:00 |
|
Rohan Mitchell
|
f6e9c9494c
|
Enterprise user can edit profiles it has permission to
|
2015-01-15 13:43:39 +11:00 |
|
Rob Harrington
|
f145a7ed65
|
Moving taxons into its own module, adding preferred shopfront taxon order to enterprise
|
2014-12-19 14:04:02 +11:00 |
|
Rob Harrington
|
51e768e722
|
Refactor EnterpriseSet to accept a collection as an argument
|
2014-11-06 16:29:09 +11:00 |
|
Rob Harrington
|
93e3d87fcb
|
Errors on bulk update for enterprise index do not allow user to list all enterprises
|
2014-11-06 11:01:44 +11:00 |
|
Rob Harrington
|
65d13e0490
|
Show error messages on enterprise index page
|
2014-10-30 13:02:16 +11:00 |
|
Rob Harrington
|
96516a8ff3
|
User can switch between trialling a shopfront and not trialling a shopfront
|
2014-10-24 14:12:47 +11:00 |
|
Rob Harrington
|
e1cf5ceb57
|
Can set producer_profile_only using welcome page
|
2014-10-23 16:42:00 +11:00 |
|
Rob Harrington
|
b11c291df1
|
Add set_sells controller action for enterprises
|
2014-10-23 11:39:33 +11:00 |
|
Rafael Schouten
|
027189ac3c
|
rename check methods
|
2014-10-16 16:26:49 +11:00 |
|