Gabe Mulley
4b1974cdbc
fix spammy log messages from course_id tracking in CMS
2013-11-18 08:47:54 -05:00
Gabe Mulley
3377cb66c9
emit enrollment event
2013-11-06 15:09:33 -05:00
Gabe Mulley
5aa19c08b5
Revert "emit enrollment event"
...
This reverts commit 5734cae1c3 .
2013-11-06 14:35:28 -05:00
Gabe Mulley
5734cae1c3
emit enrollment event
2013-11-06 08:46:40 -05:00
Gabe Mulley
4f4e58b5f6
add user_id to tracking context
...
AN-213
2013-10-29 08:18:01 -04:00
Gabe Mulley
d2b03e28fb
add course_id to event context
2013-10-17 17:44:01 -04:00
Carlos Andrés Rocha
e0fb94cc55
Cleanup mongodb authentication
...
Authenticate to the database before getting a reference to the
collection.
2013-10-08 11:26:29 -04:00
Gabe Mulley
761a4dcc97
Make URL patterns to exclude from tracking configurable
...
* Add unit test coverage for this "exclusion from tracking" logic
* Exclude based on regex match instead of raw string comparison
* Exclude heartbeat requests from tracking
2013-09-13 11:24:51 -04:00
Will Daly
2677598a53
Merge pull request #938 from rocha/mock-mongo-on-event-tracking-tests
...
Mock mongo event tracking backend during tests
2013-09-12 11:27:22 -07:00
Carlos Andrés Rocha
6a64b404a1
Mock mongo event tracking backend during tests
2013-09-12 13:36:49 -04:00
Carlos Andrés Rocha
979ec89f0e
Fix error encoding datetime objects in the event track logger backend
...
The function json.dumps was being called with incorrect arguments,
causing an infinite recursion when serializing an event containing
datetime objects
2013-09-12 12:21:08 -04:00
Carlos Andrés Rocha
11db4e3773
Use datetime objects in time field in event tracking
2013-09-11 10:02:16 -04:00
Carlos Andrés Rocha
6de25bf5fe
Monitor event tracking time by backend using statsd
2013-09-11 10:02:15 -04:00
Carlos Andrés Rocha
fbc243dbeb
Add event tracking with configurable backends
2013-09-11 10:02:15 -04:00
Diana Huang
c867be7961
Limit the rate of logins.
2013-08-02 11:23:59 -04:00
Adam Palay
d056c8a8f2
replace test setting changes with test-specific mock.patch.dicts
2013-07-10 10:18:58 -04:00
Adam Palay
c692428fe5
fix pylint violations
2013-07-02 10:22:26 -04:00
Adam Palay
bdacc7646c
clean up track/models
2013-07-01 18:21:47 -04:00
Adam Palay
03aee3ed79
add tests
2013-07-01 18:21:47 -04:00
Adam Palay
af75e1f785
log student answers using POST instead of GET
2013-07-01 18:21:47 -04:00
Ned Batchelder
a484224ef5
Remove pointless addition tests
2013-06-27 16:27:39 -04:00
Ned Batchelder
df4b512b6f
Change wildcard imports into specific imports
2013-06-21 17:33:06 -04:00
Ned Batchelder
181b1e979b
Remove unused imports from common, as reported by pylint.
2013-06-19 16:56:34 -04:00
Brian Wilson
d2b3977f57
Add dogstat logging to background tasks.
2013-06-18 11:13:55 -04:00
Brian Wilson
95c1c4b8a8
Refactor tracking and xqueue initialization to no longer require a request. Get tracking logs to work. Add transaction annotations.
...
Make sure to read only once from result objects when getting result status,
so that values are consistent.
2013-06-18 11:04:05 -04:00
Don Mitchell
168cb306d3
Move tz_aware into connection config rather than settings.
...
Make django use_tz
2013-06-10 17:16:35 -04:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
ichuang
320f1b4141
update schema for tracking sql logs - larger fields; add hostname
2012-12-21 08:44:40 -05:00
ichuang
ad5b3a3342
add admin interface for tracking logs
2012-09-08 10:30:18 -04:00
ichuang
b6e41dc05c
fix view_tracking_log to show proper timezone
2012-08-17 15:46:09 -04:00
ichuang
4365b4a092
more flexible event logs retrieval
2012-08-17 16:17:00 +00:00
ichuang
9805ed8962
cleanup syntax, split long if into two lines
2012-08-06 14:37:17 -04:00
ichuang
a46a37d1c0
log.debug -> log.exception; revert log change in xml_module
2012-08-06 13:58:42 -04:00
ichuang
c42960c172
add feature ENABLE_SQL_TRACKING_LOGS and url view /event_logs
2012-08-05 16:32:58 -04:00
Calen Pennington
1d1a9173a4
Cleaning up pep8 violations
2012-07-23 14:44:40 -04:00
Piotr Mitros
0fb8a7b1c8
Middleware password fix. Needs Cale's cleanup
2012-07-20 16:38:45 -04:00
Calen Pennington
8134bcbc3d
Get the cms up to the point of rendering a template
2012-06-08 14:01:41 -04:00