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 |
|
Rafael Schouten
|
5c0d846643
|
bugfix sells and is_distributor specs and code
|
2014-09-28 11:55:46 +10:00 |
|
Rafael Schouten
|
beb85e862a
|
get type > sells migration mostly working
|
2014-09-27 15:21:27 +10:00 |
|
Rob Harrington
|
07275574b6
|
Manager can't bulk update owner
|
2014-09-19 18:31:50 +10:00 |
|
Rob H
|
e83e2295ed
|
Adding some extra controller-level specs for enterprise ownership
|
2014-09-11 14:54:51 +10:00 |
|
Rob H
|
138e0281a3
|
Specify owner for enterprise create action
|
2014-09-11 14:39:14 +10:00 |
|
Rob H
|
6540bb8efc
|
Adding select field for enterprise type to index when super admin
|
2014-09-07 19:51:14 +10:00 |
|
Rob H
|
58dcdbd9c4
|
Restricting ability to change enterprise type at the controller level
|
2014-09-05 18:30:15 +10:00 |
|
Rohan Mitchell
|
7f74854a2f
|
For OC, fetch all enterprises we have access to, including those via E2E relationships
|
2014-08-29 16:38:23 +10:00 |
|
Rohan Mitchell
|
94902268e2
|
Initialise enterprise country in controller, not model. Fixes address SQL load every time an enterprise is instanciated.
|
2014-07-04 14:39:27 +10:00 |
|
Rohan Mitchell
|
cf4e7b18b4
|
Redirect to enterprises index page after updating producer properties
|
2014-06-18 15:43:22 +10:00 |
|
Rohan Mitchell
|
c3cec34186
|
Redirect to enterprises page after updating producer properties
|
2014-06-18 15:28:41 +10:00 |
|