Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Ben Patterson
b9558a90f1
Create a 3rd explicit shard for unit tests.
...
More accurately, this creates a 4th shard because the
last shard is always the default.
2016-04-28 10:09:32 -04:00
J. Clifford Dyer
001874c42e
Update seq_* to edx.ui.lms.sequence.* format
...
seq_next, seq_prev, and seq_goto events are all renamed, and maintain
legacy compatibility.
This PR also introduces new EventTransformer framework to shim events
based on name prefix.
MA-2221
2016-04-22 13:38:41 -04:00
Nimisha Asthagiri
a5574792fb
Fix mobile Warning errors in tracking logs.
2016-02-09 13:22:15 -05:00
Syed Hassan Raza
de91ceaae2
Fix HTTP_USER_AGENT latin1 characters
2016-01-20 18:40:09 +05:00
Ned Batchelder
43ac38aa87
Add autospec to all mocks
2015-12-09 09:44:22 -05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Bill DeRusha
40a8608b0b
Upgrade IP parsing in tracker middleware
2015-10-08 13:48:53 -04:00
Bill DeRusha
c721ff5a82
Replace SEGMENT_IO_LMS & SEGMENT_IO_LMS_KEY with single key SEGMENT_KEY
2015-09-24 11:49:03 -04:00
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Sarina Canelake
e53b9c83d9
Use Django 1.4 @ensure_csrf_cookie method PLAT-664
2015-06-06 08:48:36 -04:00
Gabe Mulley
4a8b0c5ef5
Make user_track use eventtracking
2015-05-06 20:57:46 -04:00
Ned Batchelder
7d799e34f3
Remove unused imports
2015-03-17 07:10:31 -04:00
christopher lee
bb5fbda873
MA-272 Updated analytics shim for mobile video events
...
Shim has been updated to handle currents builds of the android and iOS
apps which are not returning the correct semantics/events. Shim now
includes the seek event.
2015-03-09 15:01:30 -04:00
Piotr Mitros
cf719a40ba
Add referer and accept_language to tracking logs
...
3 line patch, together with a world of pain due to buggy code, broken abstractions in tests, etc.
2015-02-11 13:35:27 -05:00
Nimisha Asthagiri
ad7a67da2b
Update segment.io shim for mobile event syntax change.
2014-12-19 12:39:39 -05:00
Nimisha Asthagiri
a6003991a5
MA-157 Mobile analytics end-to-end.
...
Move app-generated context back into properties.
Ignore BI events through segment's webhook.
Ignore events without Data in Properties.
2014-12-09 18:44:06 -05:00
Nimisha Asthagiri
07d50ba7a1
MA-90 Update Analytics Shim to match new mobile requirements.
2014-11-13 18:18:57 -05:00
Gabe Mulley
821c97fbb4
Implement shim for mobile video events.
...
This PR addresses the following issues:
1) All requests return a 200 OK unless there is an authorization failure. This is deliberate in case the secret key is compromised.
2) Push all of the nasty logic necessary to generate compatible video events into the LMS instead of trying to do that mapping on the mobile devices.
3) Stop using the deprecated "action" field in the segment.io event. According to their support team this field should not be used anymore and is just around for backwards compatibility reasons.
Fixes: AN-3818
2014-11-03 14:12:07 -05:00
Gabe Mulley
5643101ad1
Small changes to the segment.io event handler
2014-10-09 13:25:20 -04:00
Brian Wilson
0eb190fc61
Add _get_request_value to safely access request.REQUEST for browser events.
2014-10-03 11:45:08 -04:00
Gabe Mulley
7900e8d346
Add event tracking endpoint to be called by segment.io
2014-09-09 07:25:54 -04:00