Ned Batchelder
b3a731550c
Fix problems that drf-yasg uncovered.
...
These were originally fixed individually, but had to be reverted, and
are now combined in one commit. The originals were:
7b9040f6b0 This enum was backwards
8774ff1f9b Use ref_name to disambiguate serializers that drf-yasg would otherwise assume are the same.
8a44397139 Is this field missing because it is None?
4a1154a7ca Give a safer buffer for clearing the rate limiting
64c47856dd DRF 3.7.4 changed how you delegate to another view, so don't
7359ca4fb2 Is this right? It fixes two tests
fdd66e5390 Adjust the expected error message for DRF 3.7.7
9257f68fd8 The default TIME_ZONE should be UTC
2019-06-21 18:04:15 -04:00
Ned Batchelder
2e9cae46cb
Add drf-yasg
...
* Install drf-yasg
* Add drf-yasg settings and urls
* Pin drf to make drf-yasg work
* Adjust config-models version to be compatible
* Remove django-rest-swagger (the old way)
2019-06-21 17:47:26 -04:00
Mushtaq Ali
d9a67496ff
Add CSRF_TRUSTED_ORIGINS settings to successfully make POST requests from edx-learner-portal to edx-platform - ENT-2025
2019-06-19 16:04:24 +05:00
Ned Batchelder
39c7a2db7c
Revert "Use drf-yasg for Open API documentation"
2019-06-11 16:05:00 -04:00
Ned Batchelder
756dd88691
Merge pull request #20393 from edx/nedbat/drf-yasg
...
Use drf-yasg for Open API documentation
2019-06-11 13:58:13 -04:00
edx-pipeline-bot
de5d25eccc
Merge pull request #20794 from edx/private_to_public_55dd3e1
...
Mergeback PR from private to public.
2019-06-11 19:17:13 +05:00
Ned Batchelder
9257f68fd8
The default TIME_ZONE should be UTC
...
In production, we use UTC as the time zone. DRF 3.7.7 now puts all
times in the currently set timezone where it used to use UTC. By
setting TIME_ZONE to UTC, we keep the same results we used to get.
In a few places, we had to change the expected test results to be UTC.
2019-06-10 15:27:39 -04:00
Ned Batchelder
5985480409
Add drf-yasg
...
* Install drf-yasg
* Add drf-yasg settings and urls
* Pin drf to make drf-yasg work
* Adjust config-models version to be compatible
* Remove django-rest-swagger (the old way)
2019-06-10 15:27:38 -04:00
Zia Fazal
504decf345
Bumped edx-enterprise version and added cornerstone app
2019-05-29 14:21:09 +05:00
Zainab Amir
3eb13ae7ac
Merge pull request from zamir/LEARNER_7313_move_command_arguments_to_common_settings
...
Move command arguments to common settings
2019-05-29 10:39:49 +05:00
Nimisha Asthagiri
01ccd877e6
Merge pull request #20702 from edx/bom/enrollment-readme
...
Enrollments README and refactor
2019-05-28 16:58:27 -04:00
Nimisha Asthagiri
6e214a85b0
Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments
2019-05-28 11:20:53 -04:00
Zainab Amir
886834adb5
Move command arguments to common settings
...
Move command parameter arguments, resend-days and days-range, to
common settings. This will help in creating a consistency when the
default values are changed in the future.
LEARNER-7313
2019-05-28 14:49:27 +05:00
Nimisha Asthagiri
1ebecef5ed
Prevent JWT Authentication from updating LMS User Data
2019-05-24 12:24:05 -04:00
noraiz-anwar
34cf433588
rate limit requests for password reset emails
2019-05-23 13:29:36 +05:00
Dave St.Germain
73e8324f64
Merge pull request #20399 from edx/dahlia/sgp
...
Runtime Support for Staff Graded Points
2019-05-21 09:29:01 -04:00
Waheed Ahmed
137be4bf79
Merge pull request #20537 from edx/waheed/revert-LEARNER-4117
...
Revert "Making honor code not eligible for Certificate"
2019-05-20 14:29:02 +05:00
Waheed Ahmed
2c80a76f8e
Add feature flag to disable honor mode certificates.
...
Added a feature flag to disable honor mode certificates for
edx.org, by default set to false to allow honor mode certificates
for open community.
PROD-269
2019-05-20 12:53:22 +05:00
Stu Young
6478d43329
incr-298 ( #20606 )
...
* run python modernize
* run isort
* Split out handlers/apps into separate files.
2019-05-16 11:02:36 -04:00
Dave St.Germain
0573b2e4d4
Grade runtime service support for Staff Graded Points
2019-05-16 10:21:46 -04:00
Hammad Ahmad Waqas
cdc8ddf190
clearing all relevant cache if enterprise customer change DSC enable flag.
2019-05-14 17:50:48 +05:00
Chris Pappas
d937708432
Merge pull request #20438 from edx/cpappas/ENT-1887
...
ENT-1887 | Adding logic for new business marketing footer url constru…
2019-05-10 16:28:27 -04:00
Emma Green
7ae68aa383
add applicability endpoint
2019-05-10 09:11:54 -04:00
Christopher Pappas
4c5ca6d086
ENT-1887 | Adding logic for new business marketing footer url construction, while maintaining backwards compatibility
...
Fixing quality test
Testsing out a default value for the sake of jenkins tests. will revert
Fix footer test from being flaky
Moving an import statement
ran isort. adding a test. fixing 1 quality issue
Quality cleanups
Attempting more quality fixes
adding back in config variable name for default value
Adding ENTERPRISE_MARKETING_FOOTER_QUERY_PARAMS to common settings
Changing marketing_url logic to only concatenate enterprise url to root if the enterprise url is relative (starts with a /)
quality fixes
2019-05-09 17:15:47 -04:00
Brian Mesick
a4a009e57b
Merge pull request #20222 from edx/bmedx/course_enrollment_history
...
Re-adding django-simple-history for CourseEnrollment
2019-05-09 13:02:07 -04:00
Jeremy Bowman
5eac6aa049
Upgrade to django-pipeline 1.6.14 ( #20449 )
2019-05-07 16:01:37 -04:00
bmedx
17cb93dd51
Re-adding django-simple-history for CourseEnrollment
2019-05-03 16:16:41 -04:00
Diana Huang
c6a89b03b9
Remove Diff Paid experimental features.
2019-05-03 15:09:20 -04:00
Nimisha Asthagiri
dfa3728edf
Move django_comment_common from common to openedx
2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
7b4b6c3539
Move notifier and notification_prefs to discussion/
2019-05-03 12:09:47 -04:00
Nimisha Asthagiri
e160b23903
Move django_comment_client to discussion/
2019-05-03 12:09:46 -04:00
Nimisha Asthagiri
b949452eb2
Move discussion_api to discussion/rest_api
2019-05-03 12:07:21 -04:00
Nimisha Asthagiri
ef0e06cc0a
Revert "Discussions consolidation"
2019-05-02 14:59:56 -04:00
Nimisha Asthagiri
df962a31b7
Move django_comment_common to openedx/core/djangoapps/discussion_common
2019-05-01 19:15:02 -04:00
Nimisha Asthagiri
97862d2ed7
Move notifier and notification_prefs to discussion/
2019-05-01 19:13:10 -04:00
Nimisha Asthagiri
db89a64d06
Move django_comment_client to discussion/
2019-05-01 19:13:10 -04:00
Nimisha Asthagiri
3d1bb23809
Move discussion_api to discussion/rest_api
2019-05-01 19:13:10 -04:00
Nimisha Asthagiri
2a168a4e1b
Account: Toggle for Microfrontend Redirect
...
ARCH-636
2019-05-01 11:31:48 -04:00
albemarle
05a682f55e
use new, shorter names for feature toggle annotations ( #20202 )
2019-04-12 15:46:09 -04:00
Nimisha Asthagiri
dbde017a9b
Order History: Toggled redirection to Microfrontend
...
ARCH-641
2019-04-11 08:21:49 -04:00
irfanuddinahmad
5cb8d7a4ce
ENT-1784-SYSTEM_TO_FEATURE_ROLE_MAPPING-setting
2019-04-10 15:24:14 +05:00
Chris Pappas
a0332148f4
Merge pull request #20170 from edx/cpappas/ENT-1556-tweaks
...
ENT-1556 | Updating settings files to grab SYSTEM_WIDE_ROLE_CLASSES f…
2019-04-08 13:27:41 -04:00
Hammad Ahmad Waqas
3955dab574
Merge pull request #20164 from edx/hammad/WL-1905
...
WL-1905 | Some learners not showing up in report | Missing Data Sharing Consent Redirection
2019-04-08 12:39:43 +05:00
Christopher Pappas
59a1d6ab41
ENT-1556 | Updating settings files to grab SYSTEM_WIDE_ROLE_CLASSES from config as expected
...
Moving rbac settings above plugins
Moving the setting above plugins in common.py for the lms and cms as well
2019-04-05 17:27:13 -04:00
Hammad Ahmad Waqas
974a937f70
session is replaced with cache to hold data_sharing_consent_needed
...
flag value
added signal to destroy data_sharing_consent_needed flag if user is
is enrolled in enterprise course.
2019-04-05 18:06:54 +05:00
Cory Lee
f6bf01661a
Merge pull request #19959 from edx/coryleeio/remove_aws_py
...
Remove aws.py
2019-03-28 15:25:35 -04:00
Christopher Pappas
3fcf99f65b
ENT-1556 - Adding in roles claim to jwt for use with edx rbac
...
Adding logic that adds roles to jwt
Quality fixes
2019-03-28 14:17:07 -04:00
Cory Lee
ac4845d052
DEPR-14 Remove AWS.py
2019-03-28 10:48:34 -04:00
Robert Raposa
e52db402b8
add user_id scope to the list of available scopes
...
This should have been done when the scope was first added as part
of (#19765 ).
ARCH-603
2019-03-27 19:00:04 -04:00
Matt Tuchfarber
e6a7c58182
Merge pull request #19853 from edx/tuchfarber/add_username_replacement_api
...
Adds username replacement API
2019-03-21 12:39:23 -04:00