Rob Harrington
|
afe77925ba
|
Allow request to specify a return value when calling user_passwords#edit
|
2015-04-17 10:21:25 +10:00 |
|
Rob Harrington
|
5940ff2b2c
|
Don't override devise's after_sign_in_path_for, use specific before filters for user sessions and registrations controllers instead
|
2015-04-16 16:56:27 +10:00 |
|
Rob Harrington
|
0c155e6e3a
|
Display message when email has not been confirmed for new enterprise
|
2015-04-15 15:32:17 +10:00 |
|
Rob Harrington
|
2072744870
|
User can enter the number of months back to search for order cycles from which to build relationships
v0.8.0
|
2015-04-12 11:38:18 +10:00 |
|
Rob Harrington
|
0f9fbe6e8c
|
Preventing relationships from being created with self
|
2015-04-12 10:53:22 +10:00 |
|
Rob Harrington
|
b24cad7aeb
|
Providing access to order_cycle_permissions in order cycles controller
|
2015-04-11 23:25:30 +10:00 |
|
Rob Harrington
|
bc89018ee1
|
Refer to the right variable doofus
|
2015-04-11 23:24:50 +10:00 |
|
Rob Harrington
|
88bae32971
|
Adding method: user_manages_coordinator_or(enterprise) to make code a bit more terse
|
2015-04-11 23:00:34 +10:00 |
|
Rob Harrington
|
6f81a9ba18
|
Save common permission method results as instance variables
|
2015-04-11 22:53:57 +10:00 |
|
Rob Harrington
|
22a37cdc8a
|
Rename managed_producers_in as managed_participating_producers
|
2015-04-11 22:44:32 +10:00 |
|
Rob Harrington
|
9c376f0b00
|
Rename managed_hubs_in as managed_participating_hubs
|
2015-04-11 22:32:15 +10:00 |
|
Rob Harrington
|
59a2c84857
|
Rename managed_enterprises_in as managed_participating_enterprises
|
2015-04-11 22:30:21 +10:00 |
|
Rob Harrington
|
6ac45f3dc8
|
Renaming order_cycle_exchanges as visible_exchanges
|
2015-04-11 22:26:55 +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
|
02f8f293da
|
Only allow managers or coordinator to add/remove fees from exchanges
|
2015-04-11 18:32:04 +10:00 |
|
Rob Harrington
|
24e3c9a9e1
|
Adding bugsnag notify block for catching naughty phantom fees
|
2015-04-10 16:41:10 +10:00 |
|
Rob Harrington
|
8b7d321dfe
|
Changing delete time to ensure not_deleted scope works
|
2015-04-10 16:40:33 +10:00 |
|
Rob Harrington
|
72403fd021
|
Fixing broken enterprise controller spec
|
2015-04-10 13:16:21 +10:00 |
|
Rob Harrington
|
1e6fd94663
|
Adding rake task to create E2E relationships with P-OC based on past order_cycles
|
2015-04-10 12:51:15 +10:00 |
|
Rob Harrington
|
96c173414b
|
Adding has_permission method to enterprise_relationship
|
2015-04-10 12:48:27 +10:00 |
|
Rob Harrington
|
226e2f0e2c
|
Fixing error caused by order show template doing a lookup based on current distributor rather than order distributor
|
2015-04-10 09:26:20 +10:00 |
|
Rob Harrington
|
2280a71b23
|
Replace for_order_cycle rabl template with a serializer
|
2015-04-10 09:25:40 +10:00 |
|
Rob Harrington
|
6f24e969ce
|
Removing stupid unusable spec
|
2015-04-09 17:20:31 +10:00 |
|
Rob Harrington
|
81a745420e
|
Only check editable status of variants when actually selecting
|
2015-04-09 15:24:45 +10:00 |
|
Rob Harrington
|
c28ebf63ab
|
As participating Hub, I cannot edit incoming exchanges despite being granted P-OC by the producer
|
2015-04-09 13:41:43 +10:00 |
|
Rob Harrington
|
69004ac477
|
Select all box only selects variants I have permission to edit
|
2015-04-09 13:29:25 +10:00 |
|
Rob Harrington
|
430320e3f9
|
Oopsie!
|
2015-04-09 13:28:41 +10:00 |
|
Rob Harrington
|
60a3d8e0d1
|
Restrict bulk updating order cycles at controller level
|
2015-04-09 12:27:43 +10:00 |
|
Rob Harrington
|
8a3126f117
|
Using helper to disable form elements on order cycle index page
|
2015-04-09 11:11:46 +10:00 |
|
Rob Harrington
|
c7157ce7bd
|
Applying new helper to order cycle name and timing partial
|
2015-04-09 11:11:06 +10:00 |
|
Rob Harrington
|
133f7e4ec7
|
Add viewing_as_coodinator_of? helper method
|
2015-04-09 11:10:56 +10:00 |
|
Rob Harrington
|
fbcfe9b2a4
|
Add viewing_as_coordiantor flag to serialized order cycles and a managed flag to serialized enterprises for_order_cycle(s)
|
2015-04-09 10:31:17 +10:00 |
|
Rob Harrington
|
adc1b639bc
|
Merge remote-tracking branch 'origin/master' into complex_oc
|
2015-04-08 14:38:27 +10:00 |
|
Rob Harrington
|
61a9e2f7cc
|
Add a referer for all admin enterprise controller specs
|
2015-04-08 14:36:56 +10:00 |
|
Rob Harrington
|
f6e635466b
|
Rearranging elements on the order cycle form a little bit
|
2015-04-08 14:31:18 +10:00 |
|
Rob Harrington
|
32cc17745a
|
Non-coordinating user cannot alter important attributes of order cycle
|
2015-04-08 14:12:49 +10:00 |
|
Rob Harrington
|
b1624a733e
|
Editable variants for incoming exchanges for hubs include those for producers that have granted my hub P-OC
|
2015-04-08 13:38:37 +10:00 |
|
Rob Harrington
|
b8ce6ed0fc
|
Coordinator can see any enterprises that are already in the order cycle
|
2015-04-08 13:28:49 +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
|
4dcfec1de9
|
make enterprises_for_order_cycle permissions more correct
|
2015-04-08 12:12:02 +10:00 |
|
Rob Harrington
|
8859aa27ee
|
Slight refactor of order cycle enterprises
|
2015-04-08 10:33:32 +10:00 |
|
Rob Harrington
|
24062e5585
|
Adding permissions for outgoing hubs to see producers whose variants they are distributing, despite P-OC not existing
|
2015-04-08 10:15:50 +10:00 |
|
Rob Harrington
|
4a87798bb4
|
Variants belonging to a producer I manager that are already in an outgoing an exchange need not be editable
|
2015-04-06 23:30:43 +10:00 |
|
Rob Harrington
|
ae1681b790
|
Not 1! Zero!
|
2015-04-06 23:29:15 +10:00 |
|
Rob Harrington
|
36c5cdf556
|
Only show enterprises with fees in order cycle edit page
|
2015-04-06 14:08:10 +10:00 |
|
Rob Harrington
|
d516795774
|
Fetching Enterprise Fees for order cycle, using new enterprisefee serializer
|
2015-04-06 13:06:21 +10:00 |
|
Rob Harrington
|
7eb735f87e
|
Adding for_enterprises scope on enterprise fee
|
2015-04-06 10:24:40 +10:00 |
|
Rob Harrington
|
7448d41b27
|
Adding abilities for new for_order_cycle action
|
2015-04-06 10:23:39 +10:00 |
|
Rob Harrington
|
7ebea23fda
|
Adding route for now for_order_cycle action on enterprise fees
|
2015-04-06 10:23:08 +10:00 |
|