Commit Graph

15187 Commits

Author SHA1 Message Date
Eric Fischer
7c1913b702 Merge pull request #13765 from edx/efischer/grades_task_retry
Recalculate Subsection Grade task retry logic
2016-10-20 10:47:58 -04:00
Cliff Dyer
ac48c2e42f Merge pull request #13716 from edx/cdyer/fix-problem-block-tests
Make problem block tests more realistic.
2016-10-20 10:36:45 -04:00
J. Cliff Dyer
1cfff02f06 Add tests for scoring of diverse problem types.
Includes:
* CAPA
* ORA
* LTI
* LTI-Consumer
* SGA
* Randomized Content Block

TNL-5692
TNL-5464
2016-10-20 09:29:55 -04:00
alisan617
04fa2a4263 Merge pull request #13793 from edx/alisan/page-navs-wraps-TNL-5794
byte-size fix for 2 lines page navs
2016-10-20 09:19:15 -04:00
alisan617
9bcbb25b86 byte-size fix for 2 lines page navs 2016-10-19 19:13:58 -04:00
Sanford Student
9209eef7e2 add grading policy hash to transformer 2016-10-19 11:35:51 -04:00
Eric Fischer
2ca7484c1a Merge pull request #13763 from edx/efischer/use_env_tokens
Allow Celery queue settings to be defined by ENV_TOKENS
2016-10-19 10:02:22 -04:00
Jeremy Bowman
c8b36a6ac1 Merge pull request #13161 from mitocw/fix/aq/support_django_oauth_toolkit
Fixed authentication classes to support Django OAUTH Toolkit
2016-10-19 10:00:15 -04:00
Eric Fischer
529889f3f2 Recalculate Subsection Grade task retry logic
The task will now be retried if an IntegrityError is encountered, up to
the default of 3 times. Test included.

TNL-5739
2016-10-19 09:45:34 -04:00
Christina Roberts
6b3aa71102 Merge pull request #13730 from indagation/fix_staticbook_url
Fix Malformed Staticbook url
2016-10-18 21:45:56 -04:00
Nimisha Asthagiri
6e7f131c40 Merge pull request #13790 from edx/release
Merge Release to Master
2016-10-18 19:23:23 -04:00
Nimisha Asthagiri
ba9ef89e8d Fix CCX migration to be resilient to course-not-found 2016-10-18 13:55:25 -04:00
Robert Raposa
4d301b9b98 Revert MathJax -full config. 2016-10-18 13:55:25 -04:00
Toby Lawrence
6704e17afd [TNL-5632] Optimize the single_thread view.
Firstly, we're now explicitly instructing the comments service to not
return thread responses/comments if the request isn't AJAX.  So, if you
load the URL for a single discussion thread in your browser, this would
be a non-AJAX call and we'll avoid loading the responses for the entire
thread behind-the-scenes.  Big win here for large threads.

Next, we removed a redundant "get threads" call which was also happening
behind-the-scenes.  This call was redundant as the front-end JS also
grabs the thread list when a topic is chosen, so we were making an
extranenous call for no benefit.  Poof, gone!

Finally, we added some caching of database queries that are required to
drive a lot of the permissions/cohorts machinery around discussion.
This will have a minimal effect but introduced a cleaner way to apply
general memoization at the per-request level which will let us further
cache things as we identify them as issues.
2016-10-18 13:11:30 -04:00
Douglas Hall
9cf6880534 Merge pull request #13777 from edx/douglashall/fix_session_cookie_domain_middleware
Refactored middleware that supports SESSION_COOKIE_DOMAIN overrides.
2016-10-18 11:20:43 -04:00
Douglas Hall
ac390e13f6 Refactored middleware that supports SESSION_COOKIE_DOMAIN overrides. 2016-10-18 09:07:03 -04:00
Amir Qayyum Khan
f09445ed18 Added more tests 2016-10-18 16:20:57 +05:00
Amir Qayyum Khan
164d324449 Refactor tests 2016-10-18 16:20:57 +05:00
Amir Qayyum Khan
25d8085b79 Fixed authentication classes to support Django OAUTH Toolkit 2016-10-18 16:20:57 +05:00
Christina Roberts
046ee7bd96 Merge pull request #12923 from CredoReference/static-page-for-instructors-only
Ability to hide Pages from students
2016-10-17 17:10:33 -04:00
Robert Raposa
13495d88ab Use MathJax -full config. 2016-10-17 16:50:31 -04:00
Eric Fischer
5df9f20160 Allow Celery queue settings to be defined by ENV_TOKENS
General good-practice cleanup requested by @jibsheet. Also includes some
pylint fixes myh editor flagged during this cleanup.
2016-10-17 11:45:07 -04:00
Eric Fischer
76b3a65259 Use redefined LOW_PRIORITY queue
aws.py redefines the default queues in order to expose cross-environment
work. The new recalculate grades routing key shgould use that value
rather than the default defined in common.py.
2016-10-17 11:32:06 -04:00
Gregory Martin
2f868e5e24 Merge pull request #13733 from edx/yro_localized-datetime
Set up DateUtil factory, modify requests to handle moment-timezones, moment-with-locales.
2016-10-17 10:10:58 -04:00
tasawernawaz
ab8e5b82b6 Forgot Password - Verbiage Update
ECOM-5684
2016-10-17 11:56:35 +05:00
Dmitry Viskov
bb09fdb7be Ability to hide Pages from students 2016-10-14 22:43:26 +03:00
Greg Martin
4ddda443b8 Implement localized datetimes in browser
moment-timezone require config

jasmine test fix, duplicate req. cleanup
2016-10-14 15:25:38 -04:00
Eric Fischer
c4c2875232 Route grading updates to low priority queue 2016-10-14 14:24:08 -04:00
Andy Armstrong
03c3ee53e5 Move cors_crsf to openedx/core 2016-10-14 13:59:01 -04:00
sanfordstudent
8c22d5229b Merge pull request #13761 from edx/sstudent/one_milestones_app
removing extra instance of MILESTONES_APP
2016-10-14 13:40:49 -04:00
sanfordstudent
455e0749e2 Merge pull request #13720 from edx/sstudent/TNL-5697
Updating logging for TNL-5697
2016-10-14 13:12:27 -04:00
Sanford Student
e8c508596b removing extra instance of MILESTONES_APP 2016-10-14 12:38:03 -04:00
alisan617
21eb03e116 Merge pull request #13513 from edx/alisan/inline-discussion-TNL-4756
New inline discussion home view TNL-4756
2016-10-14 12:09:42 -04:00
alisan617
d5635cf1ba New inline discussion home view UI
TNL-4756
2016-10-14 10:54:50 -04:00
Ned Batchelder
eaa0989c6a Update translations (autogenerated message) 2016-10-14 10:14:17 -04:00
Sanford Student
b706fb461a updating grades logging
for TNL-5697
2016-10-14 09:26:52 -04:00
chrisndodge
6d327594ac add restricted DOT OAUTH2 client with reduced privileges 2016-10-14 07:31:26 -04:00
Eric Fischer
0928cfde80 Merge pull request #13734 from edx/efischer/async_grade
Update persistent grades asynchronously
2016-10-13 15:02:44 -04:00
Eric Fischer
70e029b1f5 Update persistent grades asynchronously
For better user-facing performance, the SCORE_CHANGED signal is now handled by
enqueueing an async task to update the relevant stored grade, rather than
making the request wait until that operation finishes.

TNL-5738
2016-10-13 14:06:06 -04:00
Jesse Zoldak
8004545cf5 Revert "Cdodge/restricted oauth2 applications" 2016-10-13 13:18:29 -04:00
Clinton Blackburn
8a97a5b8f4 Merge pull request #13627 from Microsoft/cdodge/restricted-oauth2-applications
Cdodge/restricted oauth2 applications
2016-10-13 12:48:50 -04:00
Andy Armstrong
4d4097e13c Move dark_lang and lang_pref apps to openedx/core 2016-10-13 11:56:24 -04:00
Robert Raposa
e7028c6eab Move static_template_view.views to its own urls.py. 2016-10-12 14:37:18 -04:00
Robert Raposa
cd869d29a4 Move performance.views to its own urls.py. 2016-10-12 14:37:18 -04:00
Robert Raposa
8a9cf7e10e Move track.views to new urls.py 2016-10-12 14:37:18 -04:00
sanfordstudent
a9c548c3fa Merge pull request #13728 from edx/sstudent/hack-instructor-task
Sstudent/hack instructor task
2016-10-12 13:16:17 -04:00
Nimisha Asthagiri
e0b3866123 Merge pull request #13640 from edx/beryl/grading_policy_api
Grading Policy endpoint in Grades API
2016-10-12 13:14:06 -04:00
Nimisha Asthagiri
dea4147232 Grading Policy endpoint in Grades API
This copies the grading policy endpoint currently in the
course_structures django app to its new location, in preparation
to remove the old app.

TNL-5701
2016-10-12 11:43:12 -04:00
Sanford Student
54d34e834d update all references to instructor module 2016-10-12 11:35:02 -04:00
Kyle Boots
2c9cdb731b Fix Malformed Staticbook url 2016-10-12 10:11:49 -04:00