|
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 |
|
|
14b90de059
|
Revised the documentation of the "use_opaque" and "__domain" properties in the DigestAuth class.
|
2022-12-06 23:27:28 +08:00 |
|
|
e9013017fb
|
Changed the "domain" and "qop" property to private in the DigestAuth class.
|
2022-12-06 23:26:42 +08:00 |
|
|
6e6ac8bbe7
|
Changed the "serializer" property to private in the DigestAuth class.
|
2022-12-06 23:14:32 +08:00 |
|
|
7ec56ee52d
|
Removed the secret_key attribute from the DigestAuth class. It is actually not used.
|
2022-12-06 23:13:45 +08:00 |
|
|
b348c872dc
|
Fixed the example in the documentation of the login_required decorator.
|
2022-12-06 22:59:13 +08:00 |
|
|
d78093ab53
|
Advanced to version 0.2.4.
|
2022-12-06 22:48:20 +08:00 |
|
|
c6b8569543
|
Fixed the documentation on the pytest example.
|
2022-12-06 22:46:52 +08:00 |
|
|
a1c48beb32
|
Removed the unused module index from the documentation.
|
2022-12-06 22:24:39 +08:00 |
|
|
a88fdf81fa
|
Advanced to version 0.2.3.
|
2022-12-06 22:18:49 +08:00 |
|
|
4993bfdd9b
|
Added the documentation dependencies.
|
2022-12-06 22:18:22 +08:00 |
|
|
696f350a44
|
Updated the version number in the documentation.
|
2022-12-06 22:10:25 +08:00 |
|
|
409f794835
|
Advanced to version 0.2.2.
|
2022-12-06 22:05:12 +08:00 |
|
|
92eb011470
|
Added the documentation to MANIFEST.in.
|
2022-12-06 22:04:58 +08:00 |
|
|
b5ecd1552b
|
Added the .keep files to the _static and _templates subdirectories in the docs directory to keep them in the source distribution.
|
2022-12-06 22:04:33 +08:00 |
|
|
765822a300
|
Revised the documentation.
|
2022-12-06 21:54:10 +08:00 |
|
|
e9a6449505
|
Changed the "authenticate" and "make_response_header" methods to private in the DigestAuth class.
|
2022-12-06 21:22:16 +08:00 |
|
|
df15f0b0d5
|
Revised the introduction in the documentation.
|
2022-12-06 20:58:13 +08:00 |
|
|
6c7f7e8c8e
|
Added the comment to the master_doc setting in conf.py.
|
2022-12-06 20:02:53 +08:00 |
|
|
dfc1108b41
|
Added master_doc to conf.py.
|
2022-12-06 19:34:45 +08:00 |
|
|
4fe57532b0
|
Added the installation instructions to the introduction in the documentation.
|
2022-12-06 19:34:26 +08:00 |
|
|
d104b0f28d
|
Revised the title of the documentation.
|
2022-12-06 18:55:20 +08:00 |
|
|
30106c7e9f
|
Added the introduction to the documentation.
|
2022-12-06 18:54:40 +08:00 |
|
|
9997985d8c
|
Added the examples to the documentation.
|
2022-12-06 18:37:51 +08:00 |
|
|
6057fc0987
|
Revised the documentation of the Client class and the calc_response function.
|
2022-12-06 18:04:12 +08:00 |
|
|
a6dc530ac7
|
Moved the BasePasswordHashGetter, BaseUserGetter, and BaseUserGetter classes to the end of flask_digest_auth.auth, for readability.
|
2022-12-06 17:47:21 +08:00 |
|
|
6a14c04aaa
|
Moved UnauthorizedException from flask_digest_auth.exception to flask_digest_auth.auth, because it is only used there.
|
2022-12-06 17:46:17 +08:00 |
|
|
f9e10ecb2f
|
Replaced validate_required with assert in the calc_response function, for simplicity.
|
2022-12-06 17:44:18 +08:00 |
|
|
b6bfb2eae9
|
Revised the documentation of the DigestAuth class and the calc_response function.
|
2022-12-06 17:38:58 +08:00 |
|