|
848971709a
|
Advanced to version 0.7.0.
|
2023-10-08 22:46:59 +08:00 |
|
|
409b04af47
|
Added docs/requirements.txt and the "sphinx_rtd_theme" theme to the readthedocs configuration, as Read the Docs does not install sphinx_rtd_theme by default after August 7, 2023.
|
2023-10-08 22:46:33 +08:00 |
|
|
a8c34eb367
|
Updated the Sphinx documentation.
|
2023-10-08 22:15:44 +08:00 |
|
|
cc96987a18
|
Revised the FlaskLoginTestCase test case to skip testing when Flask-Login 0.6.2 conflicts with Werkzeug 3.
|
2023-10-08 22:11:50 +08:00 |
|
|
1f657568bb
|
Replaced the "Flask-Testing" package with the "httpx" package for testing, and retired the unused "flask_digest_auth.test" module. "Flask-Testing" is not maintained for more than 3 years, and is not compatible with Flask 3.
|
2023-10-08 22:06:20 +08:00 |
|
|
320cfe1700
|
Added the SKIPPED_NO_FLASK_LOGIN constant to test_flask_login.py, to simplify the code.
|
2023-06-10 16:45:19 +08:00 |
|
|
a5188c9aa1
|
Advanced to version 0.6.2.
|
2023-06-10 16:26:39 +08:00 |
|
|
b62b98bd51
|
Changed the properties of the test cases from public to private.
|
2023-06-08 17:28:35 +08:00 |
|
|
877f02fe82
|
Added missing documentation to the global variables and class and object properties.
|
2023-06-08 17:20:24 +08:00 |
|
|
bc888195ad
|
Disabled logging in the AuthenticationTestCase and FlaskLoginTestCase test cases, for clearer test output.
|
2023-05-03 08:08:51 +08:00 |
|
|
8e69733cf6
|
Updated the login_required view decorator of the DigestAuth class, replaced writing to STDERR directly with warning through the Flask logger.
|
2023-05-03 08:05:28 +08:00 |
|
|
f04ea7ac18
|
Advanced to version 0.6.1.
|
2023-05-03 06:59:27 +08:00 |
|
|
15ea650ddd
|
Revised the code that handles the "qop" and "stale" parameters of the "WWW-Authenticate" response HTTP header for the upcoming Werkzeug 2.4.
|
2023-05-03 06:58:14 +08:00 |
|
|
5b255b6504
|
Split the Flask-Login login manager initialization from the init_app method to the __init_login_manager method in the DigestAuth class, to simplify the code.
|
2023-04-29 11:17:11 +08:00 |
|
|
919b8d0dc3
|
Removed the unnecessary f-string in the __make_response_header method of the DigestAuth class.
|
2023-04-29 10:44:15 +08:00 |
|
|
604ed0be27
|
Updated the Python version in the Read the Docs configuration.
|
2023-04-27 09:09:00 +08:00 |
|
|
9e0a06bd4c
|
Advanced to version 0.6.0.
|
2023-04-27 09:08:21 +08:00 |
|
|
e861cae2e0
|
Replaced importing the "typing" module as "t" with importing the individual names in the "typing" module. We do not have as many names to import. This is also to be consistent with the practices of most major and standard packages and examples.
|
2023-04-27 09:08:10 +08:00 |
|
|
264ba158ee
|
Updated minimal Python version to 3.8. As "typing.Literal" is used from the beginning of the project, it is never compatible with Python 3.7. I suppose it was ignored by Python 3.7 when importing the "typing" package but not the name "Literal" itself for type hints.
|
2023-04-26 23:30:27 +08:00 |
|
|
d1fd0c3693
|
Simplified README.rst.
|
2023-04-23 22:43:56 +08:00 |
|
|
bc15a578cb
|
Added the change log.
|
2023-04-23 22:36:31 +08:00 |
|
|
cedff68247
|
Added the "VERSION" constant to the "flask_digest_auth" module for the package version, and revised "pyproject.toml" and "conf.py" to read the version from it.
|
2023-04-23 22:15:11 +08:00 |
|
|
769ca7dddd
|
Replaced the requirements.txt in the docs directory with the Read the Docs configuration file.
|
2023-04-05 23:52:43 +08:00 |
|
|
33eb81f368
|
Replaced setup.cfg with pyproject.toml for the package settings, and rewrote the packaging rules in MANIFEST.in.
|
2023-04-05 23:09:44 +08:00 |
|
|
5faf51c49b
|
Removed the realm from the example in the documentation of the init_app method of the DigestAuth class.
|
2023-01-07 15:03:37 +08:00 |
|
|
d5a8bb3acd
|
Advanced to version 0.5.0.
|
2023-01-06 00:21:19 +08:00 |
|
|
27d27127f6
|
Added the DIGEST_AUTH_REALM configuration variable as the recommended way to set the authentication realm. Changed the default realm from an empty string to "Login Required".
|
2023-01-06 00:20:40 +08:00 |
|
|
5ebdea6d0a
|
Reordered the code in the create_app methods of the AuthenticationTestCase and FlaskLoginTestCase test cases.
|
2023-01-05 22:50:59 +08:00 |
|
|
ea31bb9579
|
Revised the coding style in the init_app method of the DigestAuth class.
|
2023-01-05 22:42:59 +08:00 |
|
|
4f30756dc5
|
Advanced to version 0.4.0.
|
2023-01-04 21:29:51 +08:00 |
|
|
cdc057f851
|
Renamed the package from flask-digest-auth to Flask-DigestAuth, by the Flask recommended extension guidelines https://flask.palletsprojects.com/en/latest/extensiondev/.
|
2023-01-04 21:29:12 +08:00 |
|
|
574ecade05
|
Revised the copyright year in auth.py.
|
2023-01-04 21:29:04 +08:00 |
|
|
84b9c5f62e
|
Renamed digest_auth_state to _digest_auth_state as the state stored in the request instance.
|
2023-01-04 20:48:45 +08:00 |
|
|
4990de085c
|
Changed to store the DigestAuth instance from app.digest_auth to app.extensions["digest_auth"].
|
2023-01-04 20:42:51 +08:00 |
|
|
51e51ae4e2
|
Replaced auth.app with current_app.
|
2023-01-04 20:37:57 +08:00 |
|
|
2de770aed0
|
Advanced to version 0.3.1.
|
2022-12-29 23:49:28 +08:00 |
|
|
9ab413d583
|
Added the test_disabled test to the FlaskLoginTestCase test case.
|
2022-12-29 23:44:02 +08:00 |
|
|
aeb93a60e5
|
Fixed to store the auth state in request instead of the g global object in the flask_login load_user_from_request and unauthorized handlers in the init_app method of the DigestAuth class. This is so that the auth state is always reset in the lifecycle of request even if g stays. Revised the unauthorized to create a new auth state if it is not available in the current request, in the case that the load_user_from_request handler was not run previously.
|
2022-12-29 23:43:35 +08:00 |
|
|
a07118ef9c
|
Revised the documentation for digest_auth parameter of the open method in the test client, to be clear.
|
2022-12-07 18:59:41 +08:00 |
|
|
514e9255aa
|
Replaced "my_user" and "my_pass" with USERNAME and PASSWORD in the examples of the test client in the documentation, to avoid GitGuardian from detecting them as real passwords.
|
2022-12-07 18:55:52 +08:00 |
|
|
79abdc9cde
|
Fixed the documentation of the login_required decorator in the DigestAuth class.
|
2022-12-07 18:48:39 +08:00 |
|
|
038e7a8352
|
Removed the warnings in the documentation of the test client. It is API document now. All content, for public or not, are available. There is no need to warn now.
|
2022-12-07 18:45:06 +08:00 |
|
|
0387abb4f6
|
Revised the documentation in the "flask_digest_auth.auth" module.
|
2022-12-07 18:39:20 +08:00 |
|
|
10e8add9e6
|
Replaced the manually-added package content with the automatically-generated package content, and added the modules list to the documentation.
|
2022-12-07 18:11:35 +08:00 |
|
|
c004e28c37
|
Fixed the documentation of the AuthState class and the UnauthorizedException exception.
|
2022-12-07 16:08:07 +08:00 |
|
|
46f05a1022
|
Updated the Sphinx version that is used to create the document template.
|
2022-12-07 09:48:56 +08:00 |
|
|
b9384150b7
|
Added documentation to the private properties of DigestAuth.
|
2022-12-07 06:55:34 +08:00 |
|
|
4296756ae7
|
Advanced to version 0.3.0.
|
2022-12-06 23:59:29 +08:00 |
|
|
83cf83a67c
|
Revised the type hint of the "algorithm" and "__qop" properties of the DigestAuth class.
|
2022-12-06 23:55:20 +08:00 |
|
|
7aaa7b9abe
|
Revised the documentations.
|
2022-12-06 23:52:42 +08:00 |
|