Matthew Jones
|
ca87fa714f
|
Fix issue AC-761, issue with the activity stream middleware could throw exception during authentication
|
2013-12-10 10:55:12 -05:00 |
|
Matthew Jones
|
485b113ae6
|
Fix AC-660, race condition was frequently causing us to not be able to populate the user. This removes some unnecessary checks that were vestigal from an old implementation. Also adds a unit test for verifying user association with an activity stream object
|
2013-12-03 13:34:58 -05:00 |
|
Matthew Jones
|
9038784bb6
|
Fix issue AC=731, make sure we initialize some of the Activity Stream information in the middleware __init__ since process_request may not be called during the request phase
|
2013-11-25 09:36:47 -05:00 |
|
Matthew Jones
|
c039fc4a1f
|
Remove JobHostSummary and JobEvent actions from the activity stream registry
|
2013-11-20 21:19:26 -05:00 |
|
Matthew Jones
|
83950be7ea
|
Don't try to preserve an instance between pre- and post- middleware processing and fail sanely if we lose the activity stream instance
|
2013-11-20 14:02:03 -05:00 |
|
Matthew Jones
|
6f652d801a
|
We need to check for AnonymousUser here sine that's what Django Request Framework will return when no authentication is provided
|
2013-11-20 01:29:52 -05:00 |
|
Matthew Jones
|
4bc15a4392
|
More for AC-694, use the new rest framework materialized user
|
2013-11-20 00:43:27 -05:00 |
|
Matthew Jones
|
d564d73622
|
Fix for AC-694, we weren't saving the instance if using the cached user
|
2013-11-20 00:27:05 -05:00 |
|
Chris Church
|
b73e792b23
|
Example code for capturing current user from rest framework.
|
2013-11-20 00:25:09 -05:00 |
|
Matthew Jones
|
059047ab77
|
Fix AC-660, resolve auth token authentication properly. Implement user instance caching so we don't constantly attempt to look up the user for multiple model operations yielding activity stream events
|
2013-11-19 21:39:10 -05:00 |
|
Chris Church
|
b8edfab481
|
Fixed unit test error caused by extra definition of ActivityStream model. Rearranged imports of signal handlers.
|
2013-11-18 22:54:52 -05:00 |
|
Matthew Jones
|
adf9f40c2e
|
Make sure we check the instance list in the activity stream middleware so we aren't causing a storm of update events trying to attach the request user
|
2013-11-18 11:02:23 -05:00 |
|
Matthew Jones
|
9e8459b96a
|
Improve loading time for some module calls by reducing the number of queries against the activity stream table
|
2013-11-14 13:28:49 -05:00 |
|
Matthew Jones
|
bd942e540a
|
Add job to the list of models that are filtered if a user didn't directly interface with it
|
2013-11-13 14:43:16 -05:00 |
|
Matthew Jones
|
78bdc7ae8b
|
Make sure we are handling multiple activitystream instances from the middleware
|
2013-11-13 13:35:57 -05:00 |
|
Matthew Jones
|
e1e70b37a5
|
Use process_response to attach user information later in the middleware request processing
|
2013-11-12 17:01:15 -05:00 |
|
Matthew Jones
|
a1edfe0dc2
|
Move ActivityStream to it's own model file
|
2013-11-12 17:01:15 -05:00 |
|
Matthew Jones
|
710b01c333
|
Fix an issue with the Activity Stream where we weren't performing the right type conversion to track object types
|
2013-11-12 17:01:15 -05:00 |
|
Matthew Jones
|
b7b22fa7f8
|
Catch some errors that pop up during ActivityStream testing
|
2013-11-12 17:01:15 -05:00 |
|
Matthew Jones
|
3a02c17d2a
|
Initial backend implementation for AC-25, activity stream/audit love
|
2013-11-12 17:01:15 -05:00 |
|