Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
396 commits
Select commit Hold shift + click to select a range
8dc53cc
Merge pull request #22914 from cpennington/rel-dates-adr
cpennington Jan 28, 2020
a69fce7
Merge pull request #22956 from edx/robrap/BOM-897-add-trace-info
robrap Jan 28, 2020
1aa8c9c
Add a new courseware API Django app to support the courseware micro-f…
Jan 14, 2020
f46458f
Add dynamic_upgrade_deadline date to mobile API (#22953)
julianajlk Jan 28, 2020
2968401
Links in courseware iframed in MFEs navigate parent window (#22962)
Jan 28, 2020
e81cc7d
Merge pull request #22920 from edx/ahtisham/PROD-1184
AhtishamShahid Jan 29, 2020
3ae0549
Move devstack lms.yml and studio.yml to configuration repo
syedimranhassan Jan 29, 2020
0b4032f
Merge pull request #22967 from edx/ihassan/OPS-4399_move_devstack_fil…
syedimranhassan Jan 29, 2020
4bbdf2e
Merge pull request #22848 from edx/dcs/course-api
Jan 29, 2020
d5d7de9
Updating Bokchoy testing database cache (#22971)
edx-cache-uploader-bot Jan 29, 2020
f8051f9
AA date description font size
xnick421 Jan 28, 2020
54b64e7
Restrict certificate endpoint to return certificates.
waheedahmed Jan 29, 2020
9d6fd1d
Adds compilejs task to paver.
adeelkhan Jan 23, 2020
59bb664
Report iframed courseware content dimensions to parent window (#22972)
Jan 29, 2020
aac8211
Merge pull request #22964 from edx/ndalfonso/AA-date-desc-font-size
xnick421 Jan 29, 2020
6fbfc32
fix: update courseware iframe check for learning mfe (#22974)
Jan 29, 2020
31498cc
In canUserCreateTeam(), look in this.context.userInfo for staff/prive…
iloveagent57 Jan 21, 2020
499fd0e
Remove reads from old column
Jan 29, 2020
f821e19
Update tests for previous commit
pwnage101 Jan 29, 2020
b0285c1
Fix typo in comment
pwnage101 Jan 29, 2020
35d3a28
Fix jenkins test
Jan 29, 2020
79d097d
Remove the role parameter from the courses api.
feanil Jan 29, 2020
0a1056f
fix(i18n): update translations
Jan 30, 2020
0cb0867
Merge pull request #22784 from edx/BOM-1139
mraarif Jan 30, 2020
b99aeda
Add additional check for grade display on course banner.
uzairr Jan 22, 2020
561fb8c
Merge pull request #168 from edx/aj/fix-schedules-app
awaisdar001 Jan 30, 2020
97d327f
BOM-1121
mraarif Jan 9, 2020
fb416ba
Merge pull request #22979 from edx/private_to_public_561fb8c
edx-pipeline-bot Jan 30, 2020
a88bf63
Merge pull request #22932 from edx/awais786/BOM-1121-mixin
awais786 Jan 30, 2020
eb69452
Adding metrics to oauth2authentication class (#22970)
jinder1s Jan 30, 2020
ee51786
Merge pull request #22976 from edx/feanil/remove_course_api_role_option
feanil Jan 30, 2020
37180c0
Update ORA to 2.6.5
iloveagent57 Jan 28, 2020
62d5ff4
EDCUATOR-4810: Add team anonymous ID lookup (#22868)
nsprenkle Jan 30, 2020
e824fa4
Upgrade django-release-util version
Jan 30, 2020
7127cc9
Merge pull request #22975 from edx/rename_start_in_schedules_intermed…
pwnage101 Jan 30, 2020
57d1690
Merge pull request #22981 from edx/upgrade-release-util
hunytalk Jan 30, 2020
b0f0904
Upgrade edx-when to 0.6.0 to support converting relative to absolute …
cpennington Jan 30, 2020
efdbe1f
Adds management command for bulk updating email addresses
Jan 30, 2020
aced705
Merge pull request #22983 from edx/gbabey/bulk-update-emails
Jan 31, 2020
2f98463
Merge pull request #22939 from edx/aj/fix-grade-reports
awaisdar001 Jan 31, 2020
76052ee
Merge pull request #22921 from edx/PROD-1142/add-check-for-grade-display
uzairr Jan 31, 2020
42adb72
Merge pull request #22336 from edx/dcs/data-researcher
Jan 31, 2020
ca032b4
Upgrade ORA to 2.6.7
iloveagent57 Jan 31, 2020
d83a12e
Merge pull request #22985 from cpennington/upgrade-edx-when
cpennington Jan 31, 2020
f3678a4
Revert the proctoring email template change
schenedx Jan 30, 2020
36f7586
Updating Bokchoy testing database cache (#22995)
edx-cache-uploader-bot Jan 31, 2020
9fa5443
add course_ids api
robrap Jan 30, 2020
29b9b7b
fix(i18n): update translations
Feb 2, 2020
4b45809
Add unique_together to CourseEntitlement (#22948)
zainab-amir Feb 3, 2020
ed01311
Merge pull request #22986 from edx/robrap/BOM-897-add-course-id-endpoint
robrap Feb 3, 2020
247cffa
Bumping edx-enterprise version (#23003)
christopappas Feb 3, 2020
5528adc
Include bookmark info in sequence metadata.
Feb 3, 2020
f09e9fd
Merge pull request #23004 from edx/dcs/sequence-bookmark
Feb 3, 2020
ea92073
Limit course outline to a depth of two
mikix Jan 30, 2020
019a97c
Duplicate signals handlers for course content dates from edx-when
cpennington Jan 31, 2020
7e411cd
Upgrade edx-when to 0.7.0 to drop course date signal handling
cpennington Jan 31, 2020
bcb2038
Fix CAPA Problems
awaisdar001 Feb 3, 2020
e098102
changed oauth2 authentication class in bookmarks app (#22908)
jinder1s Feb 4, 2020
0c815af
Updated edx-enterprise
irfanuddinahmad Feb 4, 2020
28206e4
add jwt auth to third-party auth endpoint
robrap Feb 4, 2020
124505d
Merge pull request #23011 from edx/iahmad/ENT-2604-Version-bump-for-e…
irfanuddinahmad Feb 4, 2020
268d03a
Merge pull request #22996 from cpennington/move-course-date-signal-ha…
cpennington Feb 4, 2020
a49ff5a
Merge pull request #23013 from edx/robrap/add-jwt-auth-for-third-part…
robrap Feb 4, 2020
6e80d60
Merge pull request #22982 from edx/mikix/drop-outline-3rd-level
mikix Feb 4, 2020
5a2d98b
initial layout
Andytr1 Jan 21, 2020
742868c
Remove the tracking django backend and the TrackingLog tables.
dianakhuang Feb 4, 2020
53813ee
Merge pull request #22968 from edx/adeel/prod_960_automate_js_18n_com…
adeelkhan Feb 4, 2020
b63a5f1
bump ora (#23019)
jansenk Feb 4, 2020
0899aff
Merge pull request #23017 from edx/diana/remove-tracking-log-backend
dianakhuang Feb 5, 2020
8207311
Merge pull request #22937 from mahyard/master
nedbat Feb 5, 2020
1f45181
Remove ENABLE_SQL_TRACKING_LOGS and all associated code.
dianakhuang Feb 5, 2020
943bf2f
Correctly wire in signal the new course_date_signals app so that it a…
cpennington Jan 31, 2020
a46f6d9
Merge pull request #23025 from edx/diana/remove-sql-track-flag
dianakhuang Feb 5, 2020
82dd040
fixed deprecated django-filter features
iamsobanjaved Feb 6, 2020
4901dde
Clean up pylint errors to get diff-quality to pass
cpennington Feb 6, 2020
e38a100
Fix most frequent deprecation warnings (#23023)
jmbowman Feb 6, 2020
b1d5ad8
Merge pull request #23024 from cpennington/fix-edx-when-date-ingest
cpennington Feb 6, 2020
cea795b
Added new auth class (#23018)
jinder1s Feb 6, 2020
7f65b7c
Add toggle to remove access to DOP code paths.
dianakhuang Feb 5, 2020
1ac1666
Add course_date_signals to INSTALLED_APPS
cpennington Feb 6, 2020
4e277cb
Merge pull request #23032 from cpennington/course-date-signall-instal…
cpennington Feb 6, 2020
6813414
Update requirements
mikix Feb 6, 2020
8c41447
Merge pull request #23026 from edx/diana/shut-oauth-dispatch
dianakhuang Feb 6, 2020
d4d6b33
EDUCATOR-4879: Implement teams CSV GET endpoint (#23005)
jansenk Feb 6, 2020
e60140d
Merge pull request #23033 from edx/mikix/revert-edx-when
mikix Feb 6, 2020
23486a5
Show relevant dates in course dates sidebar
Dillon-Dumesnil Jan 13, 2020
9f42b5e
BOM-939 Update pickle procotol version.
feanil Feb 6, 2020
1cb5e63
Rename the serializer to better match its purpose.
feanil Feb 6, 2020
818427e
Updating Python Requirements
edx-requirements-bot Feb 7, 2020
6dfcddd
Merge pull request #23030 from edx/BOM-1251
iamsobanjaved Feb 7, 2020
d7ed021
Added ability to logout from IDP
ziafazal Dec 4, 2019
7095511
PROD-1236: Change URL returned for generated certificates to use UUID…
azarembok Feb 6, 2020
7444980
Merge pull request #22911 from edx/ddumesnil/relevant-dates-AA-4
Dillon-Dumesnil Feb 7, 2020
490e936
AA-4: CSS updates in date widget
Dillon-Dumesnil Feb 7, 2020
ff8ecd4
Merge pull request #23040 from edx/jenkins/upgrade-python-requirement…
Feb 7, 2020
aa42751
Add button to switch to courseware MFE
Feb 7, 2020
2e71793
Merge pull request #23044 from edx/ddumesnil/relevant-dates-AA-4
Dillon-Dumesnil Feb 8, 2020
b134228
Python upgrades (django-config-models v2)+
Feb 7, 2020
0b1c7db
add multiple correct values check for Dropdown problems
DawoudSheraz Jan 28, 2020
644d4d4
Add condition to fix incorrectly set schedules (#23028)
zainab-amir Feb 10, 2020
cc42ebb
Merge pull request #22954 from edx/dsheraz/PROD-347
DawoudSheraz Feb 10, 2020
2689184
Merge pull request #22987 from edx/ziafazal/ENT-2269
ziafazal Feb 10, 2020
7b68869
AA-4: Be more defensive about not finding an item in modulestore
Dillon-Dumesnil Feb 10, 2020
804e1c3
Merge pull request #23034 from edx/azarembok/cert-url
azarembok Feb 10, 2020
535869f
Merge pull request #22790 from edx/hasnain-naveed/ENT-2511
hasnain-naveed Feb 10, 2020
76a7d40
Merge pull request #23047 from edx/ormsbee/update_config_models
Feb 10, 2020
eea83cd
Increase xdist worker startup timeout (#23059)
jmbowman Feb 10, 2020
9b9c261
Merge pull request #23058 from edx/ddumesnil/relevant-dates-AA-4
Dillon-Dumesnil Feb 10, 2020
cf34c2c
Disable the xss lint violation alert for the code do not expose xss v…
schenedx Feb 7, 2020
f081854
Adding new settings to correct places (#23051)
jinder1s Feb 10, 2020
4422fb3
Merge pull request #23037 from edx/feanil/bom-939
feanil Feb 10, 2020
00fe149
Revert commits for AA-4
Dillon-Dumesnil Feb 10, 2020
b4fed7c
Merge pull request #23063 from edx/ddumesnil/revert-AA-4
Dillon-Dumesnil Feb 10, 2020
59768e7
Fix more deprecation warnings (#23061)
jmbowman Feb 10, 2020
53c1d2a
Hide display titles for vertical blocks embedded in microfrontends (#…
Feb 10, 2020
f684d2b
Add relative dates waffle flag
mikix Feb 10, 2020
69418e3
Merge pull request #23065 from edx/mikix/rel-date-waffle
mikix Feb 10, 2020
a9bd66b
bump edx-enterprise-version (#23060)
zamanafzal Feb 11, 2020
d3a02bc
BOM-1121
Ayub-Khan Feb 11, 2020
374ecba
Mongo socket timeout increased
Feb 4, 2020
c9309a4
replaced jsonfield with jsonfield2
mraarif Jan 20, 2020
a33b5e4
Merge pull request #23070 from edx/BOM-1121-2
Ayub-Khan Feb 11, 2020
36d06e9
Merge pull request #22903 from edx/BOM-1068
mraarif Feb 11, 2020
1167ce7
MICROBA-149 Create external user id tables (#23064)
crice100 Feb 11, 2020
dd99465
use xpath instead of tag to get all matches from subtree instead of s…
saadyousafarbi Feb 10, 2020
67ecee9
Drop tracking log table.
dianakhuang Feb 5, 2020
da23496
Merge pull request #23071 from edx/aehsan/prod-1188/monog_socket_time…
Feb 11, 2020
cce8cdd
Replacing OAuth2Auth (#23067)
jinder1s Feb 11, 2020
03a3c20
Moved hooks around (#23077)
jinder1s Feb 11, 2020
f6f77d1
Merge pull request #23022 from edx/diana/remove-tracking-log-backend
dianakhuang Feb 11, 2020
5dae91b
Removing paver command
adeelkhan Feb 11, 2020
def4d6e
Updated edx-organization version (#23080)
jinder1s Feb 11, 2020
ef80230
Pipe COLLECT_WHO_TESTS_WHAT through to jenkins-report.sh so that we u…
cpennington Feb 11, 2020
fbe8128
Use relative_files setting for coverage
Feb 11, 2020
2a1a936
Updating Bokchoy testing database cache (#23081)
edx-cache-uploader-bot Feb 11, 2020
4bf736c
Merge pull request #23078 from edx/adeel/prod_960_fixing_translations…
adeelkhan Feb 12, 2020
a41f992
MicroBachelor changed to Micro
Feb 12, 2020
6875ef3
Merge pull request #23055 from edx/saad/PROD-1250
saadyousafarbi Feb 12, 2020
0031d07
Merge pull request #23085 from cpennington/upload-coverage-content
cpennington Feb 12, 2020
646cf1e
Replace old coverage context files when uploading
cpennington Feb 12, 2020
06d0d9f
Merge pull request #23086 from edx/nedbat/relative_coverage_files
cpennington Feb 12, 2020
e1d1c29
Fix DRF deprecation warnings (#23082)
jmbowman Feb 12, 2020
47393b5
Merge pull request #23089 from edx/aehsan/prod-1229/changed_microbach…
Feb 12, 2020
829aa23
Merge pull request #23091 from cpennington/replace-coverage-contexts-…
cpennington Feb 12, 2020
e18747a
MicroMaster added in contact us form
Feb 12, 2020
49be02a
Merge pull request #23096 from edx/aehsan/prod-1229/add_micromaster_t…
Feb 12, 2020
eaaebc6
Merge pull request #169 from edx/aj/sec-fix-capa
awaisdar001 Feb 13, 2020
9d81f2a
Merge pull request #23101 from edx/private_to_public_eaaebc6
edx-pipeline-bot Feb 13, 2020
55f87d2
Justify the course banner text to improve usablity
uzairr Feb 13, 2020
d8fb768
Using Feature flag to disable Mobile Course Available UI
adeelkhan Feb 11, 2020
1718cc9
remove hard line breaks
robrap Feb 13, 2020
234eedd
Handle next and course_id in /login_ajax
kdmccormick Feb 12, 2020
0875ede
fixup! Handle next and course_id in /login_ajax
kdmccormick Feb 13, 2020
bac070e
fixup! fixup! Handle next and course_id in /login_ajax
kdmccormick Feb 13, 2020
61154f5
Python Requirements Update (#23103)
edx-requirements-bot Feb 13, 2020
cec654f
two csv upload team-creation bugs (#23036)
jansenk Feb 13, 2020
19137e2
Fixed staff debug on instructor page
AhtishamShahid Feb 6, 2020
eab4e63
Merge pull request #23105 from edx/PROD-1034/justify-text-to-improve-…
uzairr Feb 14, 2020
2453bc8
Stop showing hitting enterprise API in case of 404 error
ziafazal Feb 13, 2020
2cae703
Merge pull request #23073 from edx/adeel/prod_1243_hide_mobile_course…
adeelkhan Feb 14, 2020
876b3ca
Updating Python Requirements
edx-requirements-bot Feb 14, 2020
3523187
Merge pull request #23099 from edx/ziafazal/ENT-2626
ziafazal Feb 14, 2020
8fb4049
Remove flaky test (#23075)
crice100 Feb 14, 2020
c66176d
Add error reporting to UI for CSV team management (#23035)
nsprenkle Feb 14, 2020
e5e96c9
Don't update account recovery until after activation
moconnell1453 Feb 14, 2020
9da8ff0
Allow anonymous access to courseware API, and return error message if…
Feb 3, 2020
ceff4ff
Merge pull request #23110 from edx/jenkins/upgrade-python-requirement…
timmc-edx Feb 14, 2020
d01563d
Merge pull request #23007 from edx/dcs/unauth-api
Feb 14, 2020
d8c3cfe
Merge pull request #23106 from edx/robrap/update-auth-docs
robrap Feb 14, 2020
a18d936
Revert "Adding new settings to correct places (#23051)" (#23112)
jinder1s Feb 14, 2020
0a64e11
update auth docs
robrap Feb 14, 2020
59bb5fd
Unpin edx-search and update to latest version.
dianakhuang Feb 14, 2020
10aabf9
Merge pull request #23113 from edx/diana/unpin-search
dianakhuang Feb 14, 2020
7d67dcf
Don't update account recovery until after activation
moconnell1453 Feb 14, 2020
6b55961
Merge pull request #23115 from edx/robrap/update-auth-docs-2
robrap Feb 14, 2020
2c0d89b
initial styling changes to Studio unit page navigation and breadcrumb…
marcotuts Feb 16, 2020
2d65e86
fix(i18n): update translations
Feb 16, 2020
728f7d2
Updated Trascript functionality
AhtishamShahid Feb 7, 2020
04421b6
Merge pull request #23041 from edx/ahtisham/PROD-920
AhtishamShahid Feb 17, 2020
41c886a
Added migration for JSONField
mraarif Feb 17, 2020
60ad8c8
Merge pull request #22989 from edx/ahtisham/PROD-452
AhtishamShahid Feb 17, 2020
6129f26
Pull `LEARNER_PORTAL_URL_ROOT` from environment tokens
ziafazal Feb 17, 2020
28b657e
Merge pull request #23122 from edx/ziafazal/ENT-2269-b
ziafazal Feb 17, 2020
b602665
Display profile name in gradebook aapi
Jan 29, 2020
2dd128b
Setting template to show currency defined in the course mode DB record
Feb 20, 2019
19ef1e7
updated dependencies
AhtishamShahid Feb 18, 2020
399be25
Merge pull request #23121 from edx/jsonfield-migration
mraarif Feb 18, 2020
e185652
Merge pull request #23108 from edx/ahtisham/PROD-1244
AhtishamShahid Feb 18, 2020
1369aa4
Updating Bokchoy testing database cache (#23126)
edx-cache-uploader-bot Feb 18, 2020
fe91d63
Show relevant dates in course dates sidebar
Dillon-Dumesnil Jan 13, 2020
5853cdd
AA-4: Extreme defensiveness over any fields accessed from modulestore
Dillon-Dumesnil Feb 11, 2020
2274cd0
Added options to pytest calls (#23083)
jinder1s Feb 18, 2020
1f32bc6
Removing deprecated rest_framework_oauth library (#23127)
jinder1s Feb 18, 2020
be7ef98
AA-4: Adding waffle flag for dates widget
Dillon-Dumesnil Feb 18, 2020
16c7f0a
BOM-1278
awais786 Feb 13, 2020
401a37d
Merge pull request #23079 from edx/ddumesnil/relevant-dates-AA-4
Dillon-Dumesnil Feb 18, 2020
d6ffabe
Merge pull request #23107 from edx/awais786/BOM-1278
awais786 Feb 18, 2020
d7bd80a
Renamed OAuth2Authentication to BearerAuthentication (#23128)
jinder1s Feb 18, 2020
c99bf69
Remove class_dashboard.
dianakhuang Feb 12, 2020
45ffefe
Updating Python Requirements (#23125)
edx-requirements-bot Feb 18, 2020
626b35c
Merge pull request #22637 from thraxil/bookmarks-update-exblocks-cach…
nedbat Feb 18, 2020
a7a84ce
Adding in try block for getting item from modulestore
Dillon-Dumesnil Feb 18, 2020
aea6a37
Upgrade ORA to 2.6.10 | Team submissions should also include file upl…
iloveagent57 Feb 18, 2020
9dc5457
Merge pull request #23117 from edx/marco/studio-learning-sequence-nav…
marcotuts Feb 18, 2020
39a59cb
Merge pull request #23133 from edx/ddumesnil/relevant-dates-AA-4
Dillon-Dumesnil Feb 18, 2020
0e0b488
EDUCATOR-4876: Correctly handle 'None' as a valid max_team_size (#23038)
jansenk Feb 18, 2020
2f080e8
Add five seconds step to video slider
uzairr Feb 18, 2020
62e1ad6
Fixed binding issue
AhtishamShahid Feb 18, 2020
cf41d6e
Merge pull request #23123 from edx/ahtisham/PROD-452
AhtishamShahid Feb 19, 2020
4b04a3b
Revert "Removing deprecated rest_framework_oauth library (#23127)"
bderusha Feb 19, 2020
92cfa81
Merge pull request #23138 from edx/revert-23127-msingh/remove_oauth
Feb 19, 2020
448b6a0
Updating Python Requirements (#23137)
edx-requirements-bot Feb 19, 2020
6150683
Merge pull request #23097 from edx/diana/remove-class-dashboard
dianakhuang Feb 19, 2020
5b6fecc
This key used to have underscores and was accidentally changed to not…
coryleeio Feb 19, 2020
592b34b
Merge pull request #21158 from eduNEXT/lmm/add_currency_choose_template
Feb 19, 2020
5e6d3a0
Merge pull request #22973 from eduNEXT/lmm/gradebook_full_name
Feb 19, 2020
18deacd
Revert "Revert "This stage does the following: (#22692)""
pwnage101 Feb 19, 2020
2f019c4
Rename profile image hash seed to better describe what it is.
dianakhuang Feb 19, 2020
2c5264c
Unit test for account recovery
moconnell1453 Feb 19, 2020
bc99a31
Merge branch 'master' into ENT-2607-2
moconnell1453 Feb 19, 2020
9b6eb66
bump ora (#23140)
jansenk Feb 19, 2020
c540eb1
Removing deprecated rest_framework_oauth library (#23139)
jinder1s Feb 19, 2020
eaeed53
Merge pull request #23142 from edx/coryleeio/setting_profile_image_se…
dianakhuang Feb 19, 2020
f8bd530
Merge pull request #23136 from edx/PROD-159/add-five-seconds-step-to-…
uzairr Feb 20, 2020
596eee7
Upgrade ORA to 2.6.12 | When fetching file URLs from keys stored in S…
iloveagent57 Feb 19, 2020
5ec7868
Merge pull request #23114 from edx/ENT-2607-2
moconnell1453 Feb 20, 2020
08269e8
Before adding user to a team, check the organization protection statu…
nsprenkle Feb 20, 2020
e1e0258
Print experiment in output so incorrect usage like passing just a use…
inventhouse Feb 20, 2020
80320ab
Add phone_number field to UserProfile model (#23132)
Tj-Tracy Feb 20, 2020
a5b0f71
Several optimizations for improving vertical rendering performance.
Jan 16, 2020
00f5beb
Merge pull request #22992 from edx/dcs/perf-vertical
Feb 20, 2020
2bc735a
Updating Python Requirements (#23149)
edx-requirements-bot Feb 20, 2020
7dadb5b
Updating Bokchoy testing database cache (#23150)
edx-cache-uploader-bot Feb 20, 2020
b707562
PROD-1045 Update the edx-proctoring library to version 2.2.7 for Emai…
schenedx Feb 20, 2020
39de23c
Add flag to enable password change form in admin
samuelallan72 Sep 11, 2019
67c79e2
fix(i18n): update translations (#23155)
Feb 21, 2020
98328ea
On publish, add evenly spaced dates to self-paced courses
cpennington Feb 3, 2020
b47eb0f
Extract common configuration/documentation into the base StackedConfi…
cpennington Feb 21, 2020
0d3d680
Merge pull request #21616 from open-craft/samuel/gate-change-password
Feb 21, 2020
dca3dbc
Merge pull request #23008 from cpennington/self-paced-relative-dates
cpennington Feb 21, 2020
372d2e9
BOM-1264: add third-party-auth scope and usage (#23135)
robrap Feb 21, 2020
9f83176
Merge pull request #23048 from edx/dcs/mfe-switcher
Feb 21, 2020
629b772
EDUCATOR-4916 - additional error handling
Andytr1 Feb 20, 2020
57dbb2d
AA-33: Function to create calendar event id
Dillon-Dumesnil Feb 19, 2020
3f85ba3
Merge pull request #23144 from edx/pwnage101/rename_site_configuratio…
pwnage101 Feb 21, 2020
e738d04
Merge pull request #23141 from edx/ddumesnil/create-calendar-event-id…
Dillon-Dumesnil Feb 21, 2020
31ca376
Updating Bokchoy testing database cache (#23162)
edx-cache-uploader-bot Feb 21, 2020
bb1981d
AA-34: Add UserCalendarSyncConfig Model
Dillon-Dumesnil Feb 19, 2020
5ea4d8f
Merge pull request #23147 from edx/ddumesnil/create-calendar-model-AA-34
Dillon-Dumesnil Feb 21, 2020
3e65873
Rename values in SiteConfiguration (2/3)
Jan 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ omit =

concurrency=multiprocessing
parallel = true
relative_files = true

[report]
ignore_errors = True
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SWAGGER = docs/swagger.yaml
docs: api-docs guides ## build all the developer documentation for this repository

swagger: ## generate the swagger.yaml file
DJANGO_SETTINGS_MODULE=docs.docs_settings python manage.py lms generate_swagger --generator-class=openedx.core.apidocs.ApiSchemaGenerator -o $(SWAGGER)
DJANGO_SETTINGS_MODULE=docs.docs_settings python manage.py lms generate_swagger --generator-class=edx_api_doc_tools.ApiSchemaGenerator -o $(SWAGGER)

api-docs-sphinx: swagger ## generate the sphinx source files for api-docs
rm -f docs/api/gen/*
Expand Down Expand Up @@ -52,6 +52,7 @@ pull_translations: ## pull translations from Transifex
git clean -fdX conf/locale/eo
i18n_tool validate


detect_changed_source_translations: ## check if translation files are up-to-date
i18n_tool changed

Expand Down Expand Up @@ -90,7 +91,7 @@ upgrade: ## update the pip requirements files to use the latest releases satisfy
done
# Post process all of the files generated above to work around open pip-tools issues
scripts/post-pip-compile.sh $(REQ_FILES:=.txt)
# Let tox control the Django version for tests
grep "^django==" requirements/edx/base.txt > requirements/edx/django.txt
sed '/^[dD]jango==/d' requirements/edx/testing.txt > requirements/edx/testing.tmp
# Let tox control the Django version & django-oauth-toolkit version for tests
grep -e "^django==" -e "^django-oauth-toolkit==" requirements/edx/base.txt > requirements/edx/django.txt
sed '/^[dD]jango==/d;/^django-oauth-toolkit==/d' requirements/edx/testing.txt > requirements/edx/testing.tmp
mv requirements/edx/testing.tmp requirements/edx/testing.txt
9 changes: 7 additions & 2 deletions cms/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

import importlib
import os
import logging
import contracts
import pytest

from openedx.core.pytest_hooks import pytest_json_modifyreport # pylint: disable=unused-import
from openedx.core.pytest_hooks import pytest_sessionfinish # pylint: disable=unused-import
from openedx.core.pytest_hooks import DeferPlugin


# Patch the xml libs before anything else.
Expand All @@ -25,6 +25,11 @@ def pytest_configure(config):
"""
Do core setup operations from manage.py before collecting tests.
"""
if config.pluginmanager.hasplugin("pytest_jsonreport") or config.pluginmanager.hasplugin("json-report"):
config.pluginmanager.register(DeferPlugin())
else:
logging.info("pytest did not register json_report correctly")

if config.getoption('help'):
return
enable_contracts = os.environ.get('ENABLE_CONTRACTS', False)
Expand Down
2 changes: 1 addition & 1 deletion cms/djangoapps/api/v1/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
app_name = 'cms.djangoapps.api.v1'

router = DefaultRouter()
router.register(r'course_runs', CourseRunViewSet, base_name='course_run')
router.register(r'course_runs', CourseRunViewSet, basename='course_run')
urlpatterns = router.urls
7 changes: 4 additions & 3 deletions cms/djangoapps/api/v1/views/course_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from opaque_keys.edx.keys import CourseKey
from rest_framework import parsers, permissions, status, viewsets
from rest_framework.authentication import SessionAuthentication
from rest_framework.decorators import detail_route
from rest_framework.decorators import action
from rest_framework.response import Response

from contentstore.views.course import _accessible_courses_iter, get_course_and_check_access
Expand Down Expand Up @@ -74,7 +74,8 @@ def create(self, request, *args, **kwargs):
serializer.save()
return Response(serializer.data, status=status.HTTP_201_CREATED)

@detail_route(
@action(
detail=True,
methods=['post', 'put'],
parser_classes=(parsers.FormParser, parsers.MultiPartParser,),
serializer_class=CourseRunImageSerializer)
Expand All @@ -85,7 +86,7 @@ def images(self, request, *args, **kwargs):
serializer.save()
return Response(serializer.data)

@detail_route(methods=['post'])
@action(detail=True, methods=['post'])
def rerun(self, request, *args, **kwargs):
course_run = self.get_object()
serializer = CourseRunRerunSerializer(course_run, data=request.data, context=self.get_serializer_context())
Expand Down
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def _parse_time(time_isoformat):
).replace(tzinfo=UTC)


@task()
@task(routing_key=settings.UPDATE_SEARCH_INDEX_JOB_QUEUE)
def update_search_index(course_id, triggered_time_isoformat):
""" Updates course search index. """
try:
Expand Down
27 changes: 27 additions & 0 deletions cms/djangoapps/contentstore/tests/test_course_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,33 @@ def test_ooc_encoder(self):
self.assertEqual(jsondetails['string'], 'string')


class CourseAdvanceSettingViewTest(CourseTestCase, MilestonesTestCaseMixin):
"""
Tests for AdvanceSettings View.
"""

def setUp(self):
super(CourseAdvanceSettingViewTest, self).setUp()
self.fullcourse = CourseFactory.create()
self.course_setting_url = get_url(self.course.id, 'advanced_settings_handler')

@override_settings(FEATURES={'DISABLE_MOBILE_COURSE_AVAILABLE': True})
def test_mobile_field_available(self):

"""
Test to check `Mobile Course Available` field is not viewable in Studio
when DISABLE_MOBILE_COURSE_AVAILABLE is true.
"""

response = self.client.get_html(self.course_setting_url)
start = response.content.decode('utf-8').find("mobile_available")
end = response.content.decode('utf-8').find("}", start)
settings_fields = json.loads(response.content.decode('utf-8')[start + len("mobile_available: "):end + 1])

self.assertEqual(settings_fields["display_name"], "Mobile Course Available")
self.assertEqual(settings_fields["deprecated"], True)


@ddt.ddt
class CourseDetailsViewTest(CourseTestCase, MilestonesTestCaseMixin):
"""
Expand Down
21 changes: 9 additions & 12 deletions cms/djangoapps/contentstore/tests/test_request_event.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
"""Tests for CMS's requests to logs"""


import mock
from django.test import TestCase
from django.urls import reverse
from six import unichr # pylint: disable=W0622
from six import unichr

from contentstore.views.helpers import event as cms_user_track

Expand All @@ -21,12 +20,11 @@ def test_post_answers_to_log(self):
"""
requests = [
{"event": "my_event", "event_type": "my_event_type", "page": "my_page"},
{"event": "{'json': 'object'}", "event_type": unichr(512), "page": "my_page"} # pylint: disable=unicode-format-string
{"event": "{'json': 'object'}", "event_type": unichr(512), "page": "my_page"}
]
with mock.patch.dict('django.conf.settings.FEATURES', {'ENABLE_SQL_TRACKING_LOGS': True}):
for request_params in requests:
response = self.client.post(reverse(cms_user_track), request_params)
self.assertEqual(response.status_code, 204)
for request_params in requests:
response = self.client.post(reverse(cms_user_track), request_params)
self.assertEqual(response.status_code, 204)

def test_get_answers_to_log(self):
"""
Expand All @@ -35,9 +33,8 @@ def test_get_answers_to_log(self):
"""
requests = [
{"event": "my_event", "event_type": "my_event_type", "page": "my_page"},
{"event": "{'json': 'object'}", "event_type": unichr(512), "page": "my_page"} # pylint: disable=unicode-format-string
{"event": "{'json': 'object'}", "event_type": unichr(512), "page": "my_page"}
]
with mock.patch.dict('django.conf.settings.FEATURES', {'ENABLE_SQL_TRACKING_LOGS': True}):
for request_params in requests:
response = self.client.get(reverse(cms_user_track), request_params)
self.assertEqual(response.status_code, 204)
for request_params in requests:
response = self.client.get(reverse(cms_user_track), request_params)
self.assertEqual(response.status_code, 204)
8 changes: 7 additions & 1 deletion cms/djangoapps/contentstore/views/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@

log = logging.getLogger(__name__)


__all__ = ['course_info_handler', 'course_handler', 'course_listing',
'course_info_update_handler', 'course_search_index_handler',
'course_rerun_handler',
Expand Down Expand Up @@ -1312,6 +1313,11 @@ def advanced_settings_handler(request, course_key_string):
course_key = CourseKey.from_string(course_key_string)
with modulestore().bulk_operations(course_key):
course_module = get_course_and_check_access(course_key, request.user)

advanced_dict = CourseMetadata.fetch(course_module)
if settings.FEATURES.get('DISABLE_MOBILE_COURSE_AVAILABLE', False):
advanced_dict.get('mobile_available')['deprecated'] = True

if 'text/html' in request.META.get('HTTP_ACCEPT', '') and request.method == 'GET':
publisher_enabled = configuration_helpers.get_value_for_org(
course_module.location.org,
Expand All @@ -1321,7 +1327,7 @@ def advanced_settings_handler(request, course_key_string):

return render_to_response('settings_advanced.html', {
'context_course': course_module,
'advanced_dict': CourseMetadata.fetch(course_module),
'advanced_dict': advanced_dict,
'advanced_settings_url': reverse_course_url('advanced_settings_handler', course_key),
'publisher_enabled': publisher_enabled,

Expand Down
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/views/transcripts_ajax.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def download_transcripts(request):

# Construct an HTTP response
response = HttpResponse(content, content_type=mimetype)
response['Content-Disposition'] = u'attachment; filename="{filename}"'.format(filename=filename.encode('utf-8'))
response['Content-Disposition'] = u'attachment; filename="{filename}"'.format(filename=filename)
return response


Expand Down
32 changes: 27 additions & 5 deletions cms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# indirectly accessed through the email opt-in API, which is
# technically accessible through the CMS via legacy URLs.
PROFILE_IMAGE_BACKEND, PROFILE_IMAGE_DEFAULT_FILENAME, PROFILE_IMAGE_DEFAULT_FILE_EXTENSION,
PROFILE_IMAGE_SECRET_KEY, PROFILE_IMAGE_MIN_BYTES, PROFILE_IMAGE_MAX_BYTES, PROFILE_IMAGE_SIZES_MAP,
PROFILE_IMAGE_HASH_SEED, PROFILE_IMAGE_MIN_BYTES, PROFILE_IMAGE_MAX_BYTES, PROFILE_IMAGE_SIZES_MAP,
# The following setting is included as it is used to check whether to
# display credit eligibility table on the CMS or not.
COURSE_MODE_DEFAULTS, DEFAULT_COURSE_ABOUT_IMAGE_URL,
Expand Down Expand Up @@ -103,6 +103,9 @@

GENERATE_PROFILE_SCORES,

# Enterprise service settings
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL,

# Methods to derive settings
_make_mako_template_dirs,
_make_locale_paths,
Expand Down Expand Up @@ -325,6 +328,20 @@
'ENABLE_READING_FROM_MULTIPLE_HISTORY_TABLES': True,
'SHOW_FOOTER_LANGUAGE_SELECTOR': False,
'ENABLE_ENROLLMENT_RESET': False,
'DISABLE_MOBILE_COURSE_AVAILABLE': False,

# .. toggle_name: ENABLE_CHANGE_USER_PASSWORD_ADMIN
# .. toggle_implementation: DjangoSetting
# .. toggle_default: False
# .. toggle_description: Set to True to enable changing a user password through django admin. This is disabled by default because enabling allows a method to bypass password policy.
# .. toggle_category: admin
# .. toggle_use_cases: open_edx
# .. toggle_creation_date: 2020-02-21
# .. toggle_expiration_date: None
# .. toggle_tickets: 'https://github.com/edx/edx-platform/pull/21616'
# .. toggle_status: supported
# .. toggle_warnings: None
'ENABLE_CHANGE_USER_PASSWORD_ADMIN': False,
}

ENABLE_JASMINE = False
Expand Down Expand Up @@ -563,7 +580,7 @@

################################# Middleware ###################################

MIDDLEWARE_CLASSES = [
MIDDLEWARE = [
'openedx.core.lib.x_forwarded_for.middleware.XForwardedForMiddleware',

'crum.CurrentRequestUserMiddleware',
Expand Down Expand Up @@ -694,7 +711,7 @@
# https://api.mongodb.com/python/2.9.1/api/pymongo/mongo_client.html#module-pymongo.mongo_client
# default is never timeout while the connection is open,
#this means it needs to explicitly close raising pymongo.errors.NetworkTimeout
'socketTimeoutMS': 3000,
'socketTimeoutMS': 6000,
'connectTimeoutMS': 2000, # default is 20000, I believe raises pymongo.errors.ConnectionFailure
# Not setting waitQueueTimeoutMS and waitQueueMultiple since pymongo defaults to nobody being allowed to wait
'auth_source': None,
Expand Down Expand Up @@ -834,7 +851,7 @@
DEBUG = False
SESSION_COOKIE_SECURE = False
SESSION_SAVE_EVERY_REQUEST = False
SESSION_SERIALIZER = 'openedx.core.lib.session_serializers.PickleV2Serializer'
SESSION_SERIALIZER = 'openedx.core.lib.session_serializers.PickleSerializer'
SESSION_COOKIE_DOMAIN = ""
SESSION_COOKIE_NAME = 'sessionid'

Expand Down Expand Up @@ -1352,7 +1369,6 @@
# other apps that are. Django 1.8 wants to have imported models supported
# by installed apps.
'openedx.core.djangoapps.oauth_dispatch.apps.OAuthDispatchAppConfig',
'oauth_provider',
'lms.djangoapps.courseware',
'coursewarehistoryextended',
'survey.apps.SurveyConfig',
Expand Down Expand Up @@ -1414,6 +1430,9 @@

# so sample_task is available to celery workers
'openedx.core.djangoapps.heartbeat',

# signal handlers to capture course dates into edx-when
'openedx.core.djangoapps.course_date_signals',
]


Expand Down Expand Up @@ -1902,6 +1921,9 @@
########## Settings youtube thumbnails scraper tasks ############
SCRAPE_YOUTUBE_THUMBNAILS_JOB_QUEUE = DEFAULT_PRIORITY_QUEUE

########## Settings update search index task ############
UPDATE_SEARCH_INDEX_JOB_QUEUE = DEFAULT_PRIORITY_QUEUE

###################### VIDEO IMAGE STORAGE ######################

VIDEO_IMAGE_DEFAULT_FILENAME = 'images/video-images/default_video_image.png'
Expand Down
2 changes: 1 addition & 1 deletion cms/envs/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

INSTALLED_APPS += ['debug_toolbar']

MIDDLEWARE_CLASSES.append('debug_toolbar.middleware.DebugToolbarMiddleware')
MIDDLEWARE.append('debug_toolbar.middleware.DebugToolbarMiddleware')
INTERNAL_IPS = ('127.0.0.1',)

DEBUG_TOOLBAR_PANELS = (
Expand Down
9 changes: 8 additions & 1 deletion cms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@ def get_env_setting(setting):
########## Settings youtube thumbnails scraper tasks ############
SCRAPE_YOUTUBE_THUMBNAILS_JOB_QUEUE = ENV_TOKENS.get('SCRAPE_YOUTUBE_THUMBNAILS_JOB_QUEUE', DEFAULT_PRIORITY_QUEUE)

########## Settings update search index task ############
UPDATE_SEARCH_INDEX_JOB_QUEUE = ENV_TOKENS.get('UPDATE_SEARCH_INDEX_JOB_QUEUE', DEFAULT_PRIORITY_QUEUE)

########################## Parental controls config #######################

# The age at which a learner no longer requires parental consent, or None
Expand All @@ -586,7 +589,7 @@ def get_env_setting(setting):
########################## Extra middleware classes #######################

# Allow extra middleware classes to be added to the app through configuration.
MIDDLEWARE_CLASSES.extend(ENV_TOKENS.get('EXTRA_MIDDLEWARE_CLASSES', []))
MIDDLEWARE.extend(ENV_TOKENS.get('EXTRA_MIDDLEWARE_CLASSES', []))

########################## Settings for Completion API #####################

Expand All @@ -607,6 +610,10 @@ def get_env_setting(setting):
'ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER',
ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER
)
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL = ENV_TOKENS.get(
'ENTERPRISE_CATALOG_INTERNAL_ROOT_URL',
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL
)

# This limits the type of roles that are submittable via the `student` app's manual enrollment
# audit API. While this isn't used in CMS, it is used via Enterprise which is installed in
Expand Down
Loading