Commit Graph

58450 Commits

Author SHA1 Message Date
Saad Yousaf
93f4ceeee7 Revert "[TNL-7361] - Restrict Instructor Tab from masquerading user with student role." 2021-01-19 20:01:03 +05:00
Usama Sadiq
5458b30565 Merge pull request #26069 from edx/usamasadiq/upgrade-markdown-package
remove markdown constraint
2021-01-19 19:47:41 +05:00
Ali Akbar
38e2a5242e Merge pull request #216 from edx/IM/security-fixes-7
Incident Management Security Fixes 7
2021-01-19 19:26:45 +05:00
Usama Sadiq
7ef4471c2c Merge pull request #26104 from edx/jenkins/upgrade-python-requirements-985229f
Python Requirements Update
2021-01-19 16:39:33 +05:00
edX requirements bot
f795105e41 Updating Python Requirements 2021-01-18 23:56:23 -05:00
Syed Muhammad Dawoud Sheraz Ali
985229fb7a add last_login user and staff only field in user_api (#26087)
* add last_login user and staff only field in user_api
2021-01-18 19:36:01 +05:00
edX requirements bot
985e4d80df Updating Python Requirements 2021-01-18 19:20:37 +05:00
usamasadiq
b8eee0b9d8 remove markdown constraint
Use django-wiki version 1.0.0
Pin python3-saml<1.10.0
2021-01-18 19:18:04 +05:00
Awais Qureshi
07e60855b6 Merge pull request #26095 from edx/awais786/global-cons
Adding a common_constraints.txt
2021-01-18 18:16:38 +05:00
Awais Qureshi
4f24ed7453 Adding a common_constraints.txt 2021-01-18 15:52:41 +05:00
Awais Qureshi
cb864c2606 Adding a common_constraints.txt 2021-01-18 13:57:29 +05:00
Robert Raposa
0a5f255376 Merge pull request #26089 from edx/robrap/fix-cookie-monitoring-middleware
fix cookie monitoring middleware
2021-01-15 16:19:40 -05:00
Régis Behmo
f90d495ed8 Fix paver update_assets warning on missing sass dir (#25771)
On missing sass directory, the following kind of warning was printed:

        Sass dir '[{'sass_source_dir': path('lms/static/sass'), 'css_destination_dir': Path('/openedx/themes/indigo/lms/static/css'), 'lookup_paths': [Path('/openedx/themes/indigo/lms/static/sas│..  s/partials'), path('lms/static/sass/partials'), path('lms/static/sass')]}, {'sass_source_dir': Path('/openedx/themes/indigo/lms/static/sass'), 'css_destination_dir': Path('/openedx/themes│.  /indigo/lms/static/css'), 'lookup_paths': [Path('/openedx/themes/indigo/lms/static/sass/partials'), path('lms/static/sass/partials'), path('lms/static/sass')]}, {'sass_source_dir': Path('│ /openedx/themes/indigo/lms/static/certificates/sass'), 'css_destination_dir': Path('/openedx/themes/indigo/lms/static/certificates/css'), 'lookup_paths': [Path('/openedx/themes/indigo/lms│ /static/sass/partials'), Path('/openedx/themes/indigo/lms/static/sass')]}]' does not exists, skipping sass compilation for '/openedx/themes/indigo'

Which was rather inconvenient. Instead, we now print the following
warning:

    Sass dir '/openedx/themes/indigo/lms/static/certificates/sass' does not exists, skipping sass compilation for '/openedx/themes/indigo'
2021-01-15 15:40:21 -05:00
Robert Raposa
8b4ea05d5e fix cookie monitoring middleware
The cases of no cookies or no cookie groups
found would cause an error. This was fixed
and additional test coverage was added.
2021-01-15 15:07:22 -05:00
Ned Batchelder
e6c7b6fd60 Merge pull request #26080 from open-craft/0x29a/fix_add_post
Fix Markdown errors on discussions tab
2021-01-15 11:45:46 -05:00
Michael Terry
225220014c Merge pull request #26086 from edx/mikix/when-1.3.2
Bump edx-when to 1.3.2 (silences a warning)
2021-01-15 11:28:32 -05:00
Ned Batchelder
15ce0a3fde Merge pull request #25020 from jramnai/registration-api
[ADD]  /user_api endpoints in api-docs
2021-01-15 11:18:05 -05:00
Michael Terry
521c5f5045 Bump edx-when to 1.3.2 (silences a warning) 2021-01-15 10:38:22 -05:00
alangsto
5894d63ebe updated edx proctoring version (#26083) 2021-01-15 10:25:02 -05:00
Ahtisham Shahid
b03fb3f3fc Fixed size of lti component in studio (#26075) 2021-01-15 20:22:59 +05:00
Usama Sadiq
e1136e5b89 Merge pull request #26081 from edx/testeng/bokchoy_auto_cache_update_fd891669ccb867a3adceb737f3d805c3c1993685
Bokchoy Testing DB Cache update
2021-01-15 19:24:09 +05:00
0x29a
c8fc932c45 Preserve js files order for discussions view
Co-authored-by: Shimul Chowdhury <shimul@opencraft.com>
2021-01-15 15:15:08 +01:00
edX cache uploader bot
6ab6cc1536 Updating Bokchoy testing database cache 2021-01-15 08:57:04 -05:00
alangsto
b11fdd7d14 updated edx-proctoring version (#26063) 2021-01-15 08:52:35 -05:00
Shimul Chowdhury
e339cc1b07 Add Unit & Nested blocks to breadcrumbs
hide links that has no url

Hide sequence nav in nested pages

Improve doc
2021-01-15 18:49:01 +06:00
Saad Yousaf
e01c07775c Merge pull request #26052 from edx/saad/TNL-7361
[TNL-7361] - Restrict Instructor Tab from masquerading user with student role.
2021-01-15 13:13:50 +05:00
Jayram
5a9e12dd96 [ADD] user account registration endpoint for api-docs
Added alias for /user_api endpoints

FIX quality violations

IMPROVED urls_common for readability

Removed redundant URL entry from urls_common file
2021-01-15 03:59:16 +00:00
Feanil Patel
4047a72701 Merge pull request #26065 from edx/feanil/update_cookie_metrics
Add more cookie logging code.
2021-01-14 16:30:34 -05:00
Feanil Patel
b4461ecc05 Merge pull request #26074 from edx/feanil/update_editorconfig
Update to the latest editorconfig from edx-lint.
2021-01-14 16:02:51 -05:00
Feanil Patel
e5e2b7f7b6 Only capture the top N cookies and cookie groups.
Instead of adding new attributes for each cookie name we create
consistent attribute names.  This should prevent any issues where we
have too many different unique attribute names because the cookie names
are unique to the user.

We added two new settings to make the number of cookies and groups
capture configurable:

- TOP_N_COOKIES_CAPTURED
- TOP_N_COOKIE_GROUPS_CAPTURED
2021-01-14 15:49:15 -05:00
Feanil Patel
1a1da89f55 Drop setting attributes for the size of each cookie.
Setting a new metric per cookie name resulted in a lot of metrics
getting added to New Relic.  In some cases, this was causing other
more important metrics to not get registered.
2021-01-14 11:03:28 -05:00
Feanil Patel
07fbfca83c Update to the latest editorconfig from edx-lint.
Ran: `edx_lint write .editorconfig`
2021-01-14 10:09:42 -05:00
Bianca Severino
2a7fe2a385 Merge pull request #26062 from edx/bseverino/enrollment-api
[MST-570] Create runtime api to return active enrollments by course
2021-01-14 09:56:29 -05:00
Feanil Patel
1ae50fc466 Add more cookie logging code.
We want to be able to easily figure out what our biggest cookies are and we
want to also group cookies by prefix because certain services create multiple
cookies and then put unique identifiers in the cookie name.

For example braze cookie names use the following pattern:
    ab.storage.<userId>
    ab.storage.<deviceId>
    ab.storage.<sessionId>

In this case we want to group all the `ab` cookies together so we can see
their total size.

New attributes:

cookies.<group_prefix>.group.size: The size of a group of cookies. For example
	the sum of the size of all braze cookies would be the value of the
	`cookies.ab.group.size` attribute.
cookies.max.name: The name of the largest cookie sent by the user.
cookies.max.size: The size of the largest cookie sent by the user.
cookies.max.group.name: The name of the largest group of cookies. A single cookie
	counts as a group of one for this calculation.
cookies.max.group.size: The sum total size of all the cookies in the largest group.
2021-01-14 09:55:49 -05:00
Calen Pennington
197c6d11ee Merge pull request #26043 from cpennington/user-profile-segment-identify
Call segment.identify with any changed values when user profile field…
2021-01-14 08:54:21 -05:00
Zaman Afzal
f96e31f455 ENT-3709 Update edx requirements (#26071) 2021-01-14 17:43:25 +05:00
Zach Hancock
3a738e6c02 Create runtime api to return active enrollments by course
Co-authored-by: Bianca Severino <biancasev@gmail.com>
2021-01-13 16:45:40 -05:00
Calen Pennington
0294f28818 Tag some known instances of sailthru specific code that can be removed as part of AA-607 2021-01-13 15:58:55 -05:00
Calen Pennington
f42dfe69d2 Remove emit_setting_changed_event in favor of emit_settings_changed_event 2021-01-13 15:58:55 -05:00
Calen Pennington
c8b6d69341 Implement emit_setting_changed_event in terms of emit_settings_changed_event 2021-01-13 15:58:55 -05:00
Usman Khalid
9116599f00 Convert HiddenDescriptor to an XBlock.
The class name has been retained because the class path is
specified in the modulestore config in a number of places.
2021-01-14 01:22:08 +05:00
stvn
7a599311c3 Merge PR #26050 debug/search/indexing
* Commits:
  Increase logging verbosity on update_search_index task
2021-01-13 11:52:09 -08:00
Nizar Mahmoud
a44091e7ec Adds grade cutoffs to gradebook grading information 2021-01-13 14:10:19 -05:00
Ned Batchelder
91d0c43cc8 Slightly clearer (#26060)
Without to_locale, it's not a locale anymore, so don't call it that.
2021-01-13 13:34:30 -05:00
Usama Sadiq
e4b8f56e26 Merge pull request #26031 from edx/djangorestfram-upgrade
Upgrade drf version.
2021-01-13 23:29:42 +05:00
stvn
a40feee9c7 Increase logging verbosity on update_search_index task
to gain insight into CR-3119/TNL-7866.
We know that one or more errors are occuring during this job, but it's
not obvious what these errors are.
2021-01-13 10:04:08 -08:00
edX requirements bot
3d7da3e739 Updating Python Requirements 2021-01-13 23:01:20 +05:00
Tim McCormack
129cd48266 Include security patch for pinning JWT signature algorithm in apple-id (#26059)
Extract from social-auth-core eed3007c4ccdbe959b1a3ac83102fe869d261948
2021-01-13 17:19:37 +00:00
Mahyar Damavand
e66ff41194 Change data-language format to ISO639-1 (#25278) 2021-01-13 12:07:59 -05:00
Régis Behmo
e9de9257cd Improve test coverage of toggle state view 2021-01-13 17:09:24 +01:00