summaryrefslogtreecommitdiff
path: root/tests/signing
AgeCommit message (Collapse)Author
2023-09-18Refs #33199 -- Removed support for passing positional arguments to ↵Mariusz Felisiak
Signer/TimestampSigner. Per deprecation timeline.
2022-12-09Fixed #33199 -- Deprecated passing positional arguments to ↵SirAbhi13
Signer/TimestampSigner. Thanks Jacob Walls for the implementation idea.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-01Fixed #30360 -- Added support for secret key rotation.tschilling
Thanks Florian Apolloner for the implementation idea. Co-authored-by: Andreas Pelme <andreas@pelme.se> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Vuyisile Ndlovu <terrameijar@gmail.com>
2021-05-07Fixed #32712 -- Deprecated django.utils.baseconv module.Hasan Ramezani
2021-01-14Refs #31842 -- Removed DEFAULT_HASHING_ALGORITHM transitional setting.Mariusz Felisiak
Per deprecation timeline.
2021-01-14Refs #27468 -- Removed support for the pre-Django 3.1 signatures in Signer ↵Mariusz Felisiak
and signing.dumps()/loads(). Per deprecation timeline.
2021-01-06Refs #32191 -- Added Signer.sign_object()/unsign_object().Florian Apolloner
Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
2020-08-04Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.Mariusz Felisiak
It's a transitional setting helpful in migrating multiple instance of the same project to Django 3.1+. Thanks Markus Holtermann for the report and review, Florian Apolloner for the implementation idea and review, and Carlton Gibson for the review.
2020-08-01Refs #27468 -- Fixed TestSigner.test_dumps_loads_legacy_signature.Mariusz Felisiak
Added in 1d6fdca557e674b9a789b51caadca8985e588492.
2020-07-31Refs #27468 -- Added tests and release notes for signing.dumps()/loads() ↵Mariusz Felisiak
changes. Follow up to 71c4fb7beb8e3293243140e4bd74e53989196440.
2020-04-15Refs #27468 -- Changed default Signer algorithm to SHA-256.Claude Paroz
2020-01-30Added tests for signing non-string values and updated docs.Claude Paroz
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-07Refs #27795 -- Removed force_text from the template layerClaude Paroz
Thanks Tim Graham for the review.
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-07Fixed #26331 -- Fixed test function names with typosGeorge Marshall
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-09-23Refs #22804 -- Made an unsafe value of 'sep' in Signer an exception.Tim Graham
Per deprecation timeline.
2015-07-07Fixed #22804 -- Added warning for unsafe value of 'sep' in SignerDavid Wolever
Thanks Jaap Roes for completing the patch.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-22Fixed #23792 -- Added test.utils.freeze_time() context manager.Thomas Chaumeny
2014-11-15Fixed #21363 -- Added datetime.timedelta support to TimestampSigner.unsign().Berker Peksag
2014-02-28Replaced deprecated assertEqualsClaude Paroz
2014-02-16Fixed #19980: Signer broken for binary keys (with non-ASCII chars).MattBlack85
With this pull request, request #878 should considered closed. Thanks to nvie for the patch.
2013-12-17Removed superfluous models.py files.Aymeric Augustin
Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner