Commit Graph

18339 Commits

Author SHA1 Message Date
Tim McCormack
f29e418264 Revert "Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils (#25010)" (#25025)" (#25055)
This reverts commit 986a448d9e.
2020-09-28 13:53:57 +00:00
Kyle McCormick
ddae9e02ab Use fully-qualified edxnotes app name when checking if installed 2020-09-25 14:13:30 -04:00
edX Transifex Bot
eccdda53ae geoip2: update maxmind geolite country database 2020-09-24 11:51:35 +05:00
Calen Pennington
9c4f746d8f Get rid of unused NoOpMigrationModules 2020-09-23 10:05:37 -04:00
Calen Pennington
88d16a8186 Improve the logging of tests that fail because of a changed number of mongodb calls 2020-09-23 10:05:37 -04:00
Calen Pennington
0aa2edbc37 Clean up some radically dirty global state pollition to fix a flaky test 2020-09-23 10:05:37 -04:00
Calen Pennington
4a120a9e26 Fix failures caused by removing lms/djangoapps from sys.path 2020-09-23 10:05:37 -04:00
Shadi Naif
1502a9c16c (Problem Input) should always be LTR (#24208) 2020-09-23 07:01:30 -04:00
edX cache uploader bot
b664322645 Updating Bokchoy testing database cache 2020-09-21 16:52:06 -04:00
edX cache uploader bot
f943891177 Updating Bokchoy testing database cache (#25029) 2020-09-21 19:56:42 +05:00
Ned Batchelder
746646ee9c Merge pull request #25016 from open-craft/gabor/correct-lms-cms-config-file-names
Replace all .(lms|cms).(\w+|_)?\.json to .(lms|cms).(\w+|_)?\.yml
2020-09-21 10:12:46 -04:00
Omar Al-Ithawi
fc0eb71918 Add USER_ACCOUNT_ACTIVATED signal (#23296)
Plugins can listen to USER_ACCOUNT_ACTIVATED signal to perform custom logic.
2020-09-21 09:57:32 -04:00
Ahtisham Shahid
986a448d9e Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils (#25010)" (#25025)
This reverts commit ba9ee4e151.

Fixed Style lint issue
2020-09-21 13:48:00 +05:00
Gábor Boros
210f9c6ace refactor(lms): Update migrations to use lms.yml in the help text 2020-09-19 11:57:24 +02:00
Tim McCormack
ba9ee4e151 ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils (#25010)
This uses the new names introduced in edx-django-utils
3.8.0 (edx/edx-django-utils#59), which we're already using, as
well as updating a few other locations where we incorrectly refer
to New Relic custom metrics instead of custom attributes.

Includes a couple of unrelated lint fixes in a file I modified.
2020-09-18 13:33:50 +00:00
Gábor Boros
6ccd6c308d docs(lms and studio): Replace all .(lms|cms).(\w+|_)?\.json to .(lms|cms).(\w+|_)?\.yml 2020-09-18 10:44:14 +02:00
edX Transifex Bot
d0afacb5a4 geoip2: update maxmind geolite country database 2020-09-16 17:13:29 -04:00
Awais Qureshi
8ade256a52 Merge pull request #24982 from edx/testeng/bokchoy_auto_cache_update_a39dfa49997f3d32b0ce74db1ce2246fe3854071
Bokchoy Testing DB Cache update
2020-09-15 22:49:40 +05:00
Feanil Patel
d264490fb7 Merge pull request #24952 from regisb/regisb/simplify-waffle-module-name
[BD-21] Simplify hack to obtain waffle module names
2020-09-15 11:19:43 -04:00
edX cache uploader bot
49465e26e2 Updating Bokchoy testing database cache 2020-09-15 11:12:34 -04:00
Usman Khalid
8546fa6b6f Convert LibraryContentModule to LibraryContentBlock. (#24611) 2020-09-15 08:41:29 -04:00
edX cache uploader bot
5429f8510f Updating Bokchoy testing database cache (#24980) 2020-09-15 17:11:16 +05:00
Régis Behmo
307457a255 Simplify hack to obtain waffle module names
Instead of going up the stacktrace to find the module names of waffle
flags and switches, we manually pass the module __name__ whenever the
flag is created. This is similar to `logging.getLogger(__name__)`
standard behaviour.

As the waffle classes are used outside of edx-platform, we make the new
module_name argument an optional keyword argument. This will change once
we pull waffle_utils outside of edx-platform.

Note that the module name is normally only required to view the list of
existing waffle flags and switches. The module name should not be
necessary to verify if a flag is enabled. Thus, maybe it would make
sense to create a `add` class methor similar to:

    class WaffleFlag:
        @classmethod
        def add(cls, namespace, flag, module):
            instance = cls(namespace, flag)
            cls._class_instances.add((instance, module))
2020-09-14 09:30:24 +02:00
Kshitij Sobti
9adeeb0056 Remove report path from task output data
Use alternative method for getting report download link
2020-09-11 14:12:28 +02:00
edX cache uploader bot
6ce0cdf2b9 Updating Bokchoy testing database cache 2020-09-10 18:33:59 -04:00
Saad Yousaf
66297177e6 Merge pull request #24843 from edx/saad/PROD-1991
[PROD-1991] - Add mgmt command to update entitlement mode.
2020-09-10 15:25:24 +05:00
uzairr
c68155f76f Modify the api response
Update the api response so that it cannot contain the response
in the form of HTML which may prove vulnerable for MFE in future.

VAN-14
2020-09-10 12:39:09 +05:00
edX cache uploader bot
df4ba9c8ba Updating Bokchoy testing database cache (#24935) 2020-09-08 20:19:51 +05:00
taliaedX
728d57aac2 Merge pull request #24888 from edx/trhodes/ENT-3350
SAML Configuration API endpoint (And Public Flag)
2020-09-08 10:42:45 -04:00
SaadYousaf
0a3faf08a0 add mgmt command to update entitlement mode. 2020-09-08 18:22:47 +05:00
Talia
9cbd1907ea SAML Configuration API endpoint + Public flag 2020-09-04 14:58:05 -04:00
stvn
06c9edf764 Merge PR #24675 open-craft/bb-2597-remove_bypass_home
* Commits:
  Remove course bypass_home setting and references
2020-09-03 10:09:46 -07:00
edX cache uploader bot
7c67e8d0c5 Updating Bokchoy testing database cache (#24901) 2020-09-03 12:19:11 +05:00
edX Transifex Bot
d3590bcf2d geoip2: update maxmind geolite country database 2020-09-03 12:11:58 +05:00
stvn
c87df89be5 Merge PR #24055 regisb/fix-lti-provider-admin
* Commits:
  Fix creation of LTIProviderConfig object in admin
2020-09-02 13:49:28 -07:00
Adam Butterworth
6231bad22e Revert "Revert "[BD-10] [DEPR-92] Remove directories that includes pattern library."" (#24696) 2020-09-02 15:39:58 -04:00
Bill Currie
6edd28c73c Remove course bypass_home setting and references 2020-09-02 19:26:03 +02:00
Dillon Dumesnil
315b974b82 Merge pull request #24868 from edx/ddumesnil/courseware-due-date-fixes
AA-314/AA-330: Updates to courseware due date.
2020-08-31 09:49:22 -07:00
Dillon Dumesnil
1341068d20 AA-314/AA-330: Updates to courseware due date.
This will fix a bug about if assignment type is None, we will only
show the due date.
This will also fix a bug where we would show the assignment type and
due date on non-scored units within a subsection. Now it will only
show on scored units.
This also fixes the pill that displays from stretching out if the due
date text is multi-lined.
2020-08-31 10:50:42 -04:00
Ali Akbar
9068b43ea6 Merge pull request #24871 from edx/aj/check-capa-logs
Adding debug logs for CR-2618
2020-08-31 18:36:53 +05:00
Awais Jibran
a113dd2f90 Adding debug logs for CR-2618 2020-08-31 16:50:22 +05:00
edX cache uploader bot
7f9ba4c401 Updating Bokchoy testing database cache 2020-08-28 01:45:31 -04:00
edX cache uploader bot
f6c6a71959 Updating Bokchoy testing database cache (#24859) 2020-08-28 00:11:10 +05:00
edX Transifex Bot
a96b30d2e2 geoip2: update maxmind geolite country database 2020-08-26 17:03:40 -04:00
Matt Tuchfarber
c4cf0b9bb7 Refactor program type enrollment checks
Checking if a user was enrolled in a program type was using the `name`
field which is subject to be translated. This change allows for us to check by
the type's slug which will be constant. This also includes the addition
of api.py files for the course_modes, catalog, and programs apps.
2020-08-26 14:29:39 -04:00
stvn
3da9362ac8 Log and skip empty children when rendering library_content
instead of throwing an exception on None-access.
2020-08-24 10:04:25 -07:00
David Ormsbee
63567122fd Merge pull request #24149 from open-craft/mtyaka/video-transcript-cookies
Fix issues with video transcript panel
2020-08-24 12:37:07 -04:00
Waheed Ahmed
13b3764f20 Allow entitlements to be used past course has ended.
Allow entitlements to be used past the course has ended but
upgrade deadline is still in future for already enrolled
learners.

PROD-1497
2020-08-24 13:20:11 +05:00
Matjaz Gregoric
68eddcee38 Fix issues with video transcript panel
This fixes a bug where the video transcripts panel would be open on
page load even when no transcripts were present. It also cleans up the
code a bit to remove unused cookies and tries to reduce flickering of
the transcript panel.
2020-08-22 09:56:24 +02:00
Régis Behmo
288ccc6705 Fix creation of LTIProviderConfig object in admin
When attempting to create a "Provider Configuration (LTI)" object in the
django admin, the following 500 error was being triggered:

    "Either an icon class or an icon image must be given (but not both)"

This was caused by the `clean()` method of the mother class
(OAuth2ProviderConfig) which checked whether at least the icon_class XOR
icon_list attribute was well defined. In the case of the
LTIProviderConfig objects it isn't, but that's ok because this object
is not meant to be displayed in the login form.

To resolve this issue, we modify the `clean()` method to ensure that at
most icon_class or icon_image is set. Alternatively, we could have set
`visible = False` and then dropped the `visible` column from the
database, but it was deemed too risky.
unused.

Close CRI-205.
2020-08-21 09:51:12 +02:00