Commit Graph

1871 Commits

Author SHA1 Message Date
Calen Pennington
6c5ee7209c Merge pull request #19108 from cpennington/stacked-configuration-models
Stacked configuration models
2018-11-05 13:43:25 -05:00
Douglas Hall
0f125c7a62 Allow custom USE-JWT-COOKIE header on cross origin requests. 2018-11-05 10:56:22 -05:00
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
Calen Pennington
83d676cbfa Add Content Type Gating Behind Waffle Flag
Content Type Gating: Xblocks that have a graded component cannot be
accessed by audit track users.
  - Caveats:
    - In studio, instructors can set certain xblocks to be available to
      all users, but graded components will default to not being
      available for audit users
    - If a course does not have a verified mode option, all users will
      have access to graded content.

The Waffle Flag: The waffle flag is of for now.
  It's name is: ```content_type_gating.debug```

This Commit Does NOT Include: Displaying for a user WHY they do not have
access to a specific piece of content.  That change will be part of
another PR.
2018-10-31 12:34:48 -04:00
Douglas Hall
d8d18829e6 Use JWT cookies for authentication when explicitly requested by client. 2018-10-30 15:56:26 -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
0adb654724 Add a shell app for content_type_gating 2018-10-29 11:44:44 -04:00
Douglas Hall
f8008dacf5 Disable JWT auth cookie. 2018-10-26 21:23:19 -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
Douglas Hall
818bcc509c Add JWT_AUTH_COOKIE setting to enable JwtAuthentication on DRF API endpoints. 2018-10-23 17:01:46 -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
J. Cliff Dyer
b3521e0f88 Add endpoint to get SAML providers for a user.
View is combined with user SSO views.

Includes a new version of the view that takes explicit "username" or "email".

OC-4285
2018-10-18 14:02:12 -04: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
Nimisha Asthagiri
afd0e488ce Merge pull request #19085 from edx/arch/consistent-cookie-expiration
Consistent expiration for all login-related cookies
2018-10-11 13:15:57 -04:00
Calen Pennington
1d8fc40f29 Merge pull request #19064 from cpennington/courseware-absolute-import
Import courseware module from fully-qualified module name
2018-10-11 08:48:14 -04:00
Nimisha Asthagiri
2b8a9d5148 Consistent expiration for all login-related cookies 2018-10-10 22:13:28 -04:00
Douglas Hall
f93c9a9298 Merge pull request #19080 from edx/douglashall/upgrade_edx_drf_extensions_1_11_0
Install the CSRF app included in edx-drf-extensions.
2018-10-10 17:07:05 -04:00
Calen Pennington
72f556c1a9 Import courseware module from fully-qualified module name 2018-10-10 15:34:33 -04:00
Douglas Hall
61319bf2c0 Install the CSRF app included in edx-drf-extensions. 2018-10-10 11:19:23 -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
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
Nimisha Asthagiri
1c1088358c Merge pull request #19031 from edx/arch/login-service-migration
Login service user creation - data migration
2018-10-02 20:45:42 -04:00
Robert Raposa
4a0bda7690 Merge pull request #18988 from edx/robrap/ARCH-238-login-redirect
ARCH-238: Add ability to redirect to subdomain for login.
2018-10-02 16:34:13 -04:00
Robert Raposa
23b9cfd76c Add whitelist for login redirect.
Use LOGIN_REDIRECT_WHITELIST to provide a whitelist of
additional domains to which login will now redirect.

ARCH-238
2018-10-02 16:00:55 -04:00
Cory Lee
14ed6cf682 Prepare to remove low priority queue, replacing with default 2018-10-02 14:37:31 -04:00
Cory Lee
84e1076a11 Move certificate task to low priority queue 2018-10-02 13:37:46 -04:00
Nimisha Asthagiri
2a170549b4 Login service user creation - data migration 2018-10-02 12:26:50 -04:00
mduboseedx
932e7cacae Merge pull request #17216 from proversity-org/proversity/edx-pr-unsupported-browser-alert
Show browser support alert
2018-10-02 09:45:01 -04:00
Nimisha Asthagiri
31a1ad4a09 Merge pull request #18999 from edx/arch/refactor-jwt-builder
JWT Cookies
2018-10-01 13:45:15 -04:00
Nimisha Asthagiri
02ba5fb0e8 Login service support for JWT Cookies 2018-10-01 13:08:40 -04:00
Feanil Patel
17d8410b41 Merge pull request #18985 from edx/feanil/remove_lms_migrate
Remove tools that don't seem to be used.
2018-09-27 14:26:05 -04:00
Feanil Patel
58139bfcdb Remove tools that don't seem to be used.
These views and tools don't seem to be enabled and I think it's safe to
say that we have migrated to LMS+CMS.
2018-09-21 10:37:48 -04:00
Feanil Patel
8bcdc65e4c Remove the cybersource processor that was deprecated in 2014. 2018-09-20 13:54:27 -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
Kevin Falcone
71859e8403 Come down from 6 months to 3 months 2018-09-13 10:39:22 -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
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
Robert Raposa
ba4cc62ff8 Retire deprecated RequestCache (Take 2)
ARCH-223
2018-09-08 15:09:28 -04:00
Nimisha Asthagiri
4ca165f690 Revert "ARCH-223: Retire deprecated RequestCache." 2018-08-30 16:33:03 -04:00
Robert Raposa
3df339a56a Retire deprecated RequestCache.
ARCH-223
2018-08-30 08:55:19 -04:00
Diego Millan
33081e67cc adding unsupported browser alert 2018-08-27 16:09:28 -05:00
Robert Raposa
99c9eb7343 Migrate to edx-django-utils monitoring.
ARCH-220
2018-08-17 15:39:04 -04:00
Jeremy Bowman
713d64e1e2 TE-2702 Update Read the Docs links to HTTPS 2018-08-15 17:34:01 -04:00
Jeremy Bowman
1a5bf35357 TE-2689 Remove useless pylint suppressions part 2 2018-08-14 17:39:02 -04:00
Robert Raposa
204eac003d Add metrics for requests.
ARCH-193
2018-08-13 10:00:57 -04:00
Simon Chen
951b1f8408 Revert "Add feature to send an e-mail to staff when a student enrolls"
This reverts commit 370501d156.
2018-08-08 16:35:40 -04:00