John Eskew
74e70119a2
Use a common MongoDB connection function.
...
Add some missing @autoretry_read() decorators.
Change to PyMongo 3.x-compatible syntax.
2015-12-14 07:42:38 -05:00
Syed Hasan raza
86227e7711
Merge pull request #10793 from edx/shr/bug/AN-4509-logging-raise-exception-UnicodeDecodeError
...
Raise UnicodeDecodeError exception after logging the exception
2015-12-03 22:54:24 +05:00
Renzo Lucioni
1cee9a0dcd
Merge pull request #10714 from edx/renzo/programs-authoring-page
...
Add a Studio view and template to host the Programs authoring app
2015-12-03 12:12:23 -05:00
frances botsford
9e1c9ab08c
Merge pull request #10605 from edx/frances/reduce-component-padding
...
Percent-based padding on course-content
2015-12-03 12:02:13 -05:00
Renzo Lucioni
e2833d8fc6
Add a Studio view and template to host the Programs authoring app
...
The Programs authoring app is a Backbone SPA maintained in a separate repository. The app handles its own routing and provides a UI which can be used to create and publish new Programs (e.g, XSeries). ECOM-2598.
2015-12-03 10:47:12 -05:00
Eric Fischer
44eaca08e8
Merge pull request #10772 from edx/efischer/post_rc_fix
...
CohortMembership Transaction Fixes
2015-12-03 10:34:00 -05:00
David Baumgold
3b5d9fe95a
Merge pull request #10761 from jbzdak/tnl-363
...
Fixes TNL-363: EdX OpenID provider doesn't handle unicode e-mails
2015-12-03 10:17:58 -05:00
wajeeha-khalid
ef383a8902
Merge pull request #10790 from edx/jia/MA-1748
...
jia/MA-1748 patch read states for users
2015-12-03 20:15:00 +05:00
Ben Patterson
613c39b00f
Merge pull request #10803 from edx/benp/fix-flaky-teams-events
...
Enforce order on these events to solve flaky condition.
2015-12-03 09:31:14 -05:00
David Baumgold
c681000975
Merge pull request #10717 from nikolas/patch-2
...
Upgrade pip to 7.1.2
2015-12-03 09:30:18 -05:00
Jacek Bzdak
3506d962f8
Fix for error in TNL-363
...
Audit logs were causing open_id provider logins to fail when
username or e-mail address contained unicode data.
2015-12-03 11:27:20 +01:00
Jacek Bzdak
451d70a2d1
Added Jacek Bzdak to AUTHORS file.
2015-12-03 11:22:02 +01:00
Syed Hassan Raza
395db381f6
Raise UnicodeDecodeError exception after logging the exception
2015-12-03 12:49:52 +05:00
wajeeha-khalid
c9c1a4bc71
jia/MA-1748 patch read states for users
2015-12-03 12:08:20 +05:00
raeeschachar
f2c4a3de14
Merge pull request #10719 from edx/raees/chrome-bok-choy-test-page-scroll-on-thread-change-view
...
Fixes test_page_scroll_on_thread_change_view failing on chrome
2015-12-03 11:06:37 +05:00
Ben Patterson
134a3134df
Reset mongo events store for each test.
2015-12-02 21:05:46 -05:00
Ben Patterson
1d6c61c356
Enforce order on these events to solve flaky condition.
2015-12-02 20:13:01 -05:00
Adam
cfa034ba2d
Merge pull request #10785 from edx/adam/delete-orphans-in-bulk-op
...
do orphan deletion in a bulk operation (SUST-21)
2015-12-02 15:47:46 -05:00
Eric Fischer
88a389652b
CohortMembership Test Fixes
...
There are 3 main changes in this commit:
* CohortFactory now sets up memberships properly, so consuming tests do not
need to explicitly touch CourseUserGroup.users to add() users.
* test_get_cohort_sql_queries has been updated to 3 and 9 queries when using
and not using the cache, respectively. This is needed due to each operation
needing an extra queery to get the CourseUserGroup from the CohortMembership.
* Adding remove_user_from_cohort(), the counterpart to add_user_to_cohort().
This is also to keep tests from touching the users field directly, and keep
CohortMembership data in sync.
2015-12-02 15:03:52 -05:00
Eric Fischer
731d85f771
CohortMembership Transaction Fixes
...
An issue arose recently due to ATOMIC_REQUESTS being turned on by default. It
turns out that CohortMemberships had been somewhat relying on the old default
transaction handling in order to keep CohortMemberships and the underlying
CourseUserGroup.users values in-sync.
To fix this, I've made all updates to Cohortmemberships go through an
outer_atomic(read_committed=True) block. This, is conjunction with the already
present select_for_update(), will no longer allow 2 simultaneous requests to
modify objects in memory without sharing them. Only one process will be
touching a given CohortMembership at any given time, and all changes will be
immediately comitted to the database, where the other process will see them.
I've also included some changes to get_cohort(), add_user_to_cohort(), and
remove_user_from_cohort() in order to properly make use of the new
CohortMembership system.
2015-12-02 15:03:28 -05:00
clrux
06eede5d14
Merge pull request #10796 from edx/clrux/ac-253
...
LMS: changing blue to pink, ensuring contrast, for Studio/Staff
2015-12-02 13:54:37 -05:00
Adam Palay
72e7ac5d4c
do orphan deletion in a bulk operation (SUST-21)
2015-12-02 13:33:59 -05:00
Chris Rodriguez
deaa044669
Changing blue to pink as was previously there
2015-12-02 12:14:15 -05:00
wajeeha-khalid
fee7946988
Merge pull request #10758 from edx/jia/MA-1742
...
MA-1742; return read status for GET thread details
2015-12-02 21:13:52 +05:00
Chris Rodriguez
284b1a0fdf
LMS: darkening blue on Studio links
2015-12-02 11:09:11 -05:00
raeeschachar
1de57ed56b
Merge pull request #10776 from edx/raees/chrome-bok-choy-test-split-test-lms-staff-view
...
Fixed test studio split test failing on chrome
2015-12-02 17:29:58 +05:00
Awais Qureshi
989389e3f2
Merge pull request #10781 from edx/awais786/ECOM-2980-admin-certs-page
...
Replacing user dropdown field with user search textbox. On stage due …
2015-12-02 17:10:45 +05:00
raeeschachar
b3271e3be1
Fixes test_page_scroll_on_thread_change_view failing on chrome
2015-12-02 15:01:02 +05:00
raeeschachar
93173622c0
Merge pull request #10783 from edx/raees/chrome-bok-choy-video-test-test-arr-license
...
Fixed test cc and test arr license that were failing on Chrome
2015-12-02 12:17:52 +05:00
Braden MacDonald
927e919ec4
Merge pull request #9903 from open-craft/sso-custom-auth-entry-points
...
Allow using a custom login/register form with third_party_auth
2015-12-01 16:41:56 -08:00
Braden MacDonald
4645c6ecdd
Allow using a custom login/register form with third_party_auth
2015-12-01 15:43:34 -08:00
Robert Raposa
1371b2e9ee
Merge pull request #10786 from edx/release-2015-12-01-conflict
...
Release-2015-12-01 conflict resolved
2015-12-01 17:03:10 -05:00
Robert Raposa
38bee4f794
Merge branch 'rc/2015-11-24' into release-2015-12-01-conflict
...
# Conflicts:
# requirements/edx/github.txt
2015-12-01 15:38:31 -05:00
Renzo Lucioni
d370b0aa23
Merge pull request #10774 from edx/renzo/fix-programs-migration
...
Modify existing Programs migration to account for help_text change
2015-12-01 11:06:12 -05:00
Matt Drayer
f6872a0fa4
Merge pull request #10750 from edx/asadiqbal08/SOL-1417-CSV
...
SOL-1417 Certs: Allow CSV upload for Cert Exceptions
2015-12-01 10:36:32 -05:00
Nimisha Asthagiri
47b0d492e4
Merge pull request #10727 from edx/cdyer/pagination
...
Add pagination support to course catalog API
2015-12-01 09:09:04 -05:00
raeeschachar
c167ad5eb0
Fixed test studio split test failing on chrome
2015-12-01 18:59:50 +05:00
raeeschachar
f87236b9ff
Fixed test cc and test arr license in Video Tests that were failing on Chrome
2015-12-01 18:30:09 +05:00
Matt Drayer
2320d4220c
Merge pull request #10748 from edx/saleem-latif/SOL-1389
...
SOL-1389: Cert Exception: Add error states and messages
2015-12-01 08:23:24 -05:00
Ben Patterson
abcf33aba4
Merge pull request #10757 from edx/benp/mp-support-discussion-tab
...
Support multiprocess bok-choy testing for discussion
2015-12-01 08:23:02 -05:00
Matt Drayer
f5d9f2829e
Merge pull request #10759 from edx/ziafazal/SOL-1439
...
SOL-1439: removed certificates delivered dependency on certificate eligibility
2015-12-01 08:19:38 -05:00
Matt Drayer
6fca86a736
Merge pull request #10777 from edx/saleem-latif/SOL-1466
...
SOL-1466: Make sure web view renders certs only if downloadable.
2015-12-01 08:17:52 -05:00
J. Cliff Dyer
f53de2c04a
Paginate results of Courses API list endpoint
...
* Catalog results are now paginated
* Implements the new namespaced pagination described at
https://openedx.atlassian.net/wiki/pages/viewpage.action?pageId=47481813
* API level code returns pythonic business objects
* View layer performs serialize at the view layer
* Convert views to use DRF generic views
* Removes an unintentional authentication decorator that caused
the detail endpoint to return a 401 for anonymous users
MA-1724
2015-12-01 08:13:18 -05:00
wajeeha-khalid
11f34c1e8c
Merge pull request #10736 from edx/jia/MA-1211
...
MA-1211; Discussion API - make boolean params case insensitive
2015-12-01 18:11:18 +05:00
Douglas Hall
7bb6653d93
Merge pull request #10775 from edx/task/douglashall/fix_xblock_utils_requirement
...
Do not install xblock-utils in editable mode
2015-12-01 06:56:20 -05:00
Awais
afd6d3f66a
Replacing user dropdown field with user search textbox. On stage due to large user's list page is not loading.
...
ECOM-2980
2015-12-01 16:52:10 +05:00
Zia Fazal
34d630eacf
removed certificates delivered dependency on certificate eligibility
...
split variables on multiple lines
changes after feedback from Afzal
2015-12-01 16:24:06 +05:00
Saleem Latif
37f10a3846
Make sure web view renders certs only if downloadable.
2015-12-01 16:10:05 +05:00
Saleem Latif
a8e44b3097
Cert Exception: Add error states and messages
2015-12-01 12:46:04 +05:00
Aamir
a0db0d8297
Merge pull request #10520 from edx/aamir-khan/ECOM-1447-login-error-message
...
Aamir khan/ecom 1447 login error message
2015-12-01 11:44:31 +05:00