Commit Graph

3684 Commits

Author SHA1 Message Date
Muhammad Soban Javed
c9e4e65ddb Merge pull request #24855 from edx/imsobanjaved/BOM-1994
Upgrade redis to latest version
2020-09-08 19:01:54 +05:00
Simon Chen
ba69d9b3dc MST-406 Update the proctoring library so we can prevent learners from creating exam attempts on past due exams (#24918) 2020-09-08 09:26:54 -04:00
George Babey
e717758a96 Bump edx-enterprise to 3.7.4 2020-09-04 14:02:58 -04:00
edX requirements bot
a77fede84f Updating Python Requirements (#24913) 2020-09-04 10:19:15 +05:00
Alex Dusenbery
2cbfd2c568 Upgrade edx-enterprise to 3.7.3 2020-09-03 09:12:14 -04:00
edX requirements bot
86832e2c2d Updating Python Requirements (#24906) 2020-09-03 12:20:56 +05:00
edX requirements bot
cb1635a60c Updating Python Requirements (#24892) 2020-09-02 12:10:22 +05:00
Alex Dusenbery
a06f4dc09d Upgrade edx-enterprise to 3.7.2 2020-09-01 12:09:43 -04:00
edX requirements bot
44c5725058 Updating Python Requirements 2020-09-01 02:14:06 -04:00
Binod Pant
bc5b71f044 upgrade edx-enterprise 3.7.1 (#24876) 2020-08-31 10:34:43 -04:00
Régis Behmo
ba18d48ac3 Get rid of lepl deprecation warning by removing rfc6266 dependency (#24059)
The LEPL dependency was triggering a lot of deprecation warnings of the
form:

    venv/lib/python3.5/site-packages/lepl/matchers/support.py:497:
    DeprecationWarning: inspect.getargspec() is deprecated, use
    inspect.signature() instead
    argspec = getargspec(func)

It turns out that LEPL was only used by the rfc6266_parser package, which
itself was only used in one place to generate utf8-compliant
Content-Disposition headers.

This issue was noticed here:
https://github.com/SWW13/python-rfc6266-parser/issues/2
Unfortunately it is quite difficult to extract LEPL from the
rfc6266-parser package.

The rfc6266-parser package (https://pypi.org/project/rfc6266-parser/) is
itself a fork of the now-unmaintained rfc6266 package
(https://pypi.org/project/rfc6266/). Thus, it became high time to get
rid of this package. The FileResponse object can appropriately set the
Content-Disposition header, and thus replace the rfc6266 functionality,
since Django 2.0: https://code.djangoproject.com/ticket/16470

In our testing, the FileResponse object correctly set the
`filename*=utf-8''` value, following the RFC. The only difference is
that it does not provide "filename" fallback value, as expressed in the
RFC: https://tools.ietf.org/html/rfc6266#appendix-D

With rfc6266_parser:

    >> import rfc6266_parser
    >> rfc6266_parser.build_header("my_file_é.csv", filename_compat="video_urls.csv")
    b"attachment; filename=video_urls.csv; filename*=utf-8''my_file_%C3%A9.csv"

With FileResponse we have:

    >> from django.http import FileResponse
    >> import io
    >> response = FileResponse(io.StringIO(), as_attachment=True, filename="my_file_é.csv", content_type="text/csv")
    >> response.get("Content-Disposition")
    "attachment; filename*=utf-8''my_file_%C3%A9.csv"

We consider that this is a sufficiently minor difference, that will
impact very few browsers.
2020-08-31 09:30:27 -04:00
edX requirements bot
3d70cfcbe3 Updating Python Requirements (#24870) 2020-08-31 14:42:32 +05:00
Saleem Latif
9b72042bf4 Merge pull request #24854 from edx/saleem-latif/3336
ENT-3336: Added default for new enterprise setting INTEGRATED_CHANNELS_API_CHUNK_TRANSMISSION_LIMIT
2020-08-28 14:04:15 +05:00
Saleem Latif
c5502057b1 Added default for new enterprise setting INTEGRATED_CHANNELS_API_CHUNK_TRANSMISSION_LIMIT 2020-08-28 13:17:49 +05:00
edX requirements bot
b727458245 Updating Python Requirements 2020-08-28 00:46:17 -04:00
Soban Javed
bafb7757d1 Upgrade redis to latest version 2020-08-27 15:27:41 +05:00
edX requirements bot
4fc2c8d38b Updating Python Requirements (#24852) 2020-08-27 14:08:23 +05:00
Alexander Sheehan
377b4521f4 Bumping enterprise to 3.6.8 2020-08-26 11:40:14 -04:00
M. Zulqarnain
a184c219fd Use pytest-xdist[psutil] (#24845) 2020-08-26 18:29:05 +05:00
edX requirements bot
f3862385a1 Updating Python Requirements 2020-08-26 01:28:02 -04:00
edX requirements bot
9b3418bb70 Updating Python Requirements 2020-08-25 01:26:11 -04:00
edX requirements bot
b92079ed35 Updating Python Requirements 2020-08-24 00:52:52 -04:00
Nathan Sprenkle
3a4e3170e9 Bump ORA to 2.9.3 (#24830) 2020-08-21 15:45:13 -04:00
Binod Pant
ebdd60ff70 Bump enterprise version to 3.6.4: canvas release (#24822) 2020-08-21 09:54:08 -04:00
edX requirements bot
c455d8ade0 Updating Python Requirements 2020-08-21 00:46:21 -04:00
edX requirements bot
47894e419a Updating Python Requirements 2020-08-20 00:53:34 -04:00
Dave St.Germain
3ec8486dd3 Upgraded LTI and ORA2 xblocks 2020-08-19 13:48:27 -04:00
Alexander Sheehan
f417128ded bumping edx enterprise version 2020-08-19 10:39:23 -04:00
edX requirements bot
e0097ae5c3 Updating Python Requirements 2020-08-19 00:52:18 -04:00
edX requirements bot
22f81ce74e Updating Python Requirements 2020-08-18 01:33:42 -04:00
Robert Raposa
8c127db978 Merge pull request #24344 from regisb/regisb/toggles-docs
[BD-21] Generate feature toggle documentation
2020-08-17 15:04:46 -04:00
edX requirements bot
f102e737f6 Updating Python Requirements 2020-08-17 00:56:03 -04:00
Robert Raposa
2c8105f7ae [BD-21] Generate feature toggle documentation
We introduce a new documentation target, where we use the featuretoggles
Sphinx extension from code-annotations to generate human-readable
documentation of feature toggles in edx-platform. The annotation report
is generated on-the-fly based on the standard feature toggle
configuration file in code-annotations.

In addition, we add new doc.in & doc.txt requirement files that will be
pip-installed by readthedocs to generate the documentation targets.
2020-08-14 19:41:26 +02:00
edX requirements bot
cbab8d5d26 Updating Python Requirements 2020-08-14 01:39:29 -04:00
Anirudh Naidu
e7099518d9 Merge pull request #24771 from edx/chavesj/ENT-2939
ENT-2939: remove ENTERPRISE_CUSTOMERS_EXCLUDED_FROM_CATALOG list and upgrade edx-enterprise
2020-08-13 12:04:58 -04:00
edX requirements bot
0ce0f530a0 Updating Python Requirements 2020-08-13 00:46:05 -04:00
chavesj
72c338a8dd upgrading edx-enterprise 2020-08-12 17:50:17 -04:00
M. Zulqarnain
c8ea2c5fde Unpin psutil (#24745) 2020-08-13 01:20:04 +05:00
Adam Stankiewicz
241db5ff47 bump edx-enterprise to 3.5.3 (#24755) 2020-08-12 09:25:11 -04:00
edX requirements bot
52773ff9b6 Updating Python Requirements 2020-08-12 00:46:03 -04:00
Alexander Sheehan
98d261537c bump edx-enterprise to version 3.5.1 2020-08-11 15:05:02 -04:00
Adam Stankiewicz
de0d475c72 bump edx-enterprise to 3.5.0 (#24746) 2020-08-11 09:41:40 -04:00
edX requirements bot
9d83ca2eb9 Updating Python Requirements (#24744) 2020-08-11 11:26:39 +05:00
edX requirements bot
fbfa776a35 Updating Python Requirements 2020-08-10 00:55:18 -04:00
Ben Warzeski
21aced2c09 bump ora to 2.8.13 (#24732) 2020-08-07 16:59:49 -04:00
Tim McCormack
b04f784d7a Unpin django-pytest now that pytest has upgraded to 5.4.0 and later (#24730)
- Originally pinned in PR #23566
- pytest was unpinned in PR #24717 and upgraded to v6+
2020-08-07 17:40:22 +00:00
Nathan Sprenkle
ccefeba004 Bump ORA to 2.8.12 (#24729) 2020-08-07 13:06:14 -04:00
Michael Terry
5ce6ac9c3e Merge pull request #24728 from edx/mikix/warn-on-is-past-due-prop
Warn if an xblock defines is_past_due as a property
2020-08-07 11:33:29 -04:00
Michael Terry
e0a0d4d6e3 Warn if an xblock defines is_past_due as a property
We support it still, but want to encourage folks to try to define it
as a method, so that in the future, we can rely on it being one.

Also updates lti-consumer to a version that has the value as a
method.
2020-08-07 10:29:10 -04:00
Tim McCormack
514bd4a105 Unpin pytest and allow upgrade past 5.4.0 all the way to 6.0.1 (#24717)
This was pinned in PR #23533 for intermittent breakage in pytest
reporting (https://github.com/pytest-dev/pytest/issues/6925) but
that seems to have since been fixed.
2020-08-07 13:44:37 +00:00