Commit Graph

8346 Commits

Author SHA1 Message Date
Calen Pennington
8901bf4482 Add a facility for building stacked configuration models that control the same configuration on a Global, Site, Org and Course level 2018-11-02 15:36:01 -04:00
Robert Raposa
53239bdf37 Remove JWT_COOKIES_FLAG.
The JWT_COOKIES_FLAG was a temporary flag used for rollout of the new
JWT cookies. These are live in Production, so we are removing the flag.

Without this flag, we set JWT cookies during login. However, this
requires an oAuth Client that isn't always available during unit tests.
We introduced a feature flag that is only used for unit tests to
disable setting the JWT cookies. The code explains a bit more why this
solution was selected over adding the oauth client to the database.

ARCH-247
2018-10-31 10:29:05 -04:00
Calen Pennington
c02b195ff7 Merge pull request #19155 from edx/rev/allow-studio-content-gating-override
Add Studio UI for tagging Full/Limited access contont
2018-10-29 13:19:45 -04:00
Calen Pennington
f9dd7fe223 Allow Studio override of Feature Based Enrollment status for individual xblocks 2018-10-29 12:37:30 -04:00
Calen Pennington
0adb654724 Add a shell app for content_type_gating 2018-10-29 11:44:44 -04:00
Nadeem Shahzad
0bef89413c Merge pull request #19087 from edx/nadeem/OPS-3544
Add xforwardedformiddleware (OPS-3544)
2018-10-25 19:41:29 +05:00
nadeemshahzad
1ff04aaf3d add xforwardedfor middlewar 2018-10-25 13:33:42 +00:00
Douglas Hall
8bcd5fd785 JwtAuthCookieMiddleware needs to come before AuthenticationMiddleware. 2018-10-24 10:19:36 -04:00
Matthew Piatetsky
073df570fa Merge pull request #19095 from edx/expired_dashboard_message
Add course duration limit and dashboard expiration code
2018-10-23 12:17:58 -04:00
George Babey
f39cd81a31 Merge pull request #18545 from open-craft/kshitij/stylelint-fixes
Bulk stylelint fixes
2018-10-22 14:59:11 -04:00
Michael Youngstrom
dea812ecd0 Add unique value to cms db name 2018-10-18 11:31:31 -04:00
Ayub
11ff39690f Merge pull request #19117 from edx/update-translations-17-oct
updated-translations
2018-10-17 11:44:44 +05:00
ayub-khan
2c4f4b4494 updated-translations 2018-10-17 11:05:56 +05:00
Robert Raposa
fbc59231fc Update edx-drf-extensions to 2.0.0.
Note: this version update is backward incompatible.

ARCH-255
2018-10-17 01:00:34 -04:00
Calen Pennington
4642efbf08 Create shell django app for course duration feature 2018-10-12 16:43:13 -04:00
Dillon Dumesnil
deb758c808 Added in tests for the new password validation. Fixed old tests that
relied on the old configuration values and old way of validating
passwords. Also improved registration page by always showing error
messages rather than hiding them on leaving the field.
2018-10-10 11:06:30 -04:00
Dillon Dumesnil
4fa27f98dc Implementing django password validators for edX. This involves removing
the old validate password method and configuration values in favor of
AUTH_PASSWORD_VALIDATORS, a list of validators to use to check a
password. These include some that come straight from Django and some
that were written according to Django's specifications. This work also
included maintaining the current messaging as instruction text and
passing along restrictions for the password field.
2018-10-10 10:58:21 -04:00
Robert Raposa
79b2992fe1 Merge pull request #19055 from edx/robrap/ARCH-233-jwt-auth-middleware
ARCH-233: Add JWT Auth Middleware.
2018-10-04 10:38:52 -04:00
Michael Youngstrom
0744c0f99c Cache waffleswitch data to avoid query count failures 2018-10-03 17:09:30 -04:00
Robert Raposa
3e3c1333f0 Add JWT Auth Middleware.
From edx-drf-extensions:
1. EnsureJWTAuthSettingsMiddleware: Ensures proper JWT auth settings
   for endpoints.
2. JwtAuthCookieMiddleware: Combines the JWT auth cookie parts into a
   JWT auth cookie.

ARCH-233
2018-10-03 16:26:05 -04:00
Cory Lee
257768c8a4 Merge pull request #19039 from edx/devops/move_tasks_to_more_appropriate_queues
Move tasks to non-default queues
2018-10-03 09:56:04 -04:00
Cory Lee
bd6e060ea7 Use production.py instead of aws.py 2018-10-02 17:02:07 -04:00
Cory Lee
14ed6cf682 Prepare to remove low priority queue, replacing with default 2018-10-02 14:37:31 -04:00
Joseph Mulloy
c870ec3872 Fix pylint warnings OPS-3450 2018-10-01 14:54:58 -04:00
Cory Lee
688968e8c8 Add production.py OPS-3450 2018-10-01 14:54:55 -04:00
Cory Lee
e145049f46 Add deprecation warning to aws.py OPS-3450 2018-10-01 14:54:50 -04:00
matthugs
388be0d494 Merge pull request #18996 from edx/mhughes/remove-checklist-waffles
Remove waffles gating permanent checklist features
2018-09-28 10:51:29 -04:00
Matt Hughes
8df171a8c2 Remove waffles gating permanent checklist features 2018-09-27 15:10:49 -04:00
Diana Huang
deb8bd47d9 Switch existing tests to use the newer endpoint. 2018-09-27 13:33:42 -04:00
Ned Batchelder
14a8ea7be7 Merge pull request #18864 from open-craft/paulo/export-import-library
[OC-3682] Implement management commands to export/import content libraries
2018-09-26 05:17:02 -04:00
Qubad786
318937552a Update VAL version and thumbnails scrapper job in accordance with val api 2018-09-25 20:12:10 +05:00
Matjaz Gregoric
754090279e Address review comments. 2018-09-25 10:52:40 +02:00
Paulo Viadanna
5d59e2df0b Content library export/import commands 2018-09-25 09:29:00 +02:00
Cali Stenson
46a4bdb115 Override change password urls in django admin.
LEARNER-4928
2018-09-18 17:11:49 -04:00
Diana Huang
f88415f89a Merge pull request #18970 from edx/diana/override-admin-templates
Override admin templates to remove links that allow admin users to change passwords
2018-09-18 14:53:22 -04:00
Diana Huang
0fb8f08d2e Override admin templates to remove links that allow admin users to change
passwords.

LEARNER-4928
2018-09-18 13:43:30 -04:00
edx-pipeline-bot
89963efd3a Merge pull request #18968 from edx/release-mergeback-to-master
Merge release back to master
2018-09-18 12:56:07 -04:00
Kevin Falcone
4e8b179ac2 Merge pull request #18651 from edx/robrap/ARCH-180-dot-upgrade-all-steps
ARCH-180: Upgrade DOT to 1.1.2
2018-09-17 16:00:20 -04:00
ayub-khan
92b78e1dec updated-translations 2018-09-17 15:03:48 +05:00
Nimisha Asthagiri
e2ff1ec537 Merge pull request #18917 from edx/arch/user-authn-app
Consolidate user login and authentication code
2018-09-15 10:00:51 -04:00
Nimisha Asthagiri
8cf44283c9 Consolidate user login and authentication code 2018-09-15 03:21:39 -04:00
Calen Pennington
5b71d4408b Merge pull request #18902 from cpennington/fix-educator-3262-v3
Load all webpack chunks into fragments as correctly-typed resources
2018-09-13 10:11:26 -04:00
Robert Raposa
c7800acaa0 Restore "Upgrade DOT to 1.1.2."
This upgrades DOT by reverting the revert.

This reverts commit 4d8b9c3

ARCH-180
2018-09-13 09:54:30 -04:00
J Eskew
7affa237df Merge pull request #18557 from mreyk/teltek/feature/improve-course-modes-configuration
OSPR: Improve Course Modes configuration
2018-09-12 15:52:48 -04:00
Nimisha Asthagiri
700a902b68 Cleanup and remove deprecated RequestCache Django app
ARCH-223
2018-09-12 14:39:11 -04:00
Calen Pennington
db2078ed2f fixup! Load all webpack chunks into fragments as correctly-typed resources 2018-09-12 14:27:54 -04:00
mrey
9003a2dcde Allow to override COURSE_ENROLLMENT_MODES in AWS environment
Add more parameters to COURSE_ENROLLMENT_MODES to allow to display friendly mode name and more options

Fix python tests of PR #18557

PR #18557: Fix Diff Quality test line too long

PR #18557: Fix Diff Quality test unused-variable

Use six.iteritems() in COURSE_MODE_SLUG_CHOICES for future Python 3 compatibility
2018-09-12 17:35:57 +02:00
Calen Pennington
cb075a3240 fixup! Load all webpack chunks into fragments as correctly-typed resources 2018-09-10 15:09:34 -04:00
Calen Pennington
b36aa292dd fixup! Load all webpack chunks into fragments as correctly-typed resources 2018-09-10 14:10:29 -04:00
Calen Pennington
493bbe9310 DO NOT MERGE: debug logging to figure out why libraries won't load 2018-09-10 12:43:04 -04:00