Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Anthony Wee
a0bb7e572d
INCR-125: Run python-modernize on common/djangoapps/track/views and migrations ( #20425 )
...
* INCR-125: Run python-modernize on common/djangoapps/track/views and migrations
* isort
2019-05-07 14:26:57 -04:00
Awais Jibran
ddd69db7cf
Handle string datetime with datetime parser.
2018-12-11 13:24:10 -05:00
Kyle McCormick
fade4a10af
Implement event for forum thread views
...
EDUCATOR-341
2017-07-11 12:42:49 -04:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Nimisha Asthagiri
a5574792fb
Fix mobile Warning errors in tracking logs.
2016-02-09 13:22:15 -05: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
e53b9c83d9
Use Django 1.4 @ensure_csrf_cookie method PLAT-664
2015-06-06 08:48:36 -04:00
Ned Batchelder
7d799e34f3
Remove unused imports
2015-03-17 07:10:31 -04: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
Gabe Mulley
7900e8d346
Add event tracking endpoint to be called by segment.io
2014-09-09 07:25:54 -04:00