Commit Graph

87 Commits

Author SHA1 Message Date
imacat 46f05a1022 Updated the Sphinx version that is used to create the document template. 2022-12-07 09:48:56 +08:00
imacat b9384150b7 Added documentation to the private properties of DigestAuth. 2022-12-07 06:55:34 +08:00
imacat 4296756ae7 Advanced to version 0.3.0. v0.3.0 2022-12-06 23:59:29 +08:00
imacat 83cf83a67c Revised the type hint of the "algorithm" and "__qop" properties of the DigestAuth class. 2022-12-06 23:55:20 +08:00
imacat 7aaa7b9abe Revised the documentations. 2022-12-06 23:52:42 +08:00
imacat 14b90de059 Revised the documentation of the "use_opaque" and "__domain" properties in the DigestAuth class. 2022-12-06 23:27:28 +08:00
imacat e9013017fb Changed the "domain" and "qop" property to private in the DigestAuth class. 2022-12-06 23:26:42 +08:00
imacat 6e6ac8bbe7 Changed the "serializer" property to private in the DigestAuth class. 2022-12-06 23:14:32 +08:00
imacat 7ec56ee52d Removed the secret_key attribute from the DigestAuth class. It is actually not used. 2022-12-06 23:13:45 +08:00
imacat b348c872dc Fixed the example in the documentation of the login_required decorator. 2022-12-06 22:59:13 +08:00
imacat d78093ab53 Advanced to version 0.2.4. v0.2.4 2022-12-06 22:48:20 +08:00
imacat c6b8569543 Fixed the documentation on the pytest example. 2022-12-06 22:46:52 +08:00
imacat a1c48beb32 Removed the unused module index from the documentation. 2022-12-06 22:24:39 +08:00
imacat a88fdf81fa Advanced to version 0.2.3. v0.2.3 2022-12-06 22:18:49 +08:00
imacat 4993bfdd9b Added the documentation dependencies. 2022-12-06 22:18:22 +08:00
imacat 696f350a44 Updated the version number in the documentation. 2022-12-06 22:10:25 +08:00
imacat 409f794835 Advanced to version 0.2.2. v0.2.2 2022-12-06 22:05:12 +08:00
imacat 92eb011470 Added the documentation to MANIFEST.in. 2022-12-06 22:04:58 +08:00
imacat 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
imacat 765822a300 Revised the documentation. 2022-12-06 21:54:10 +08:00
imacat e9a6449505 Changed the "authenticate" and "make_response_header" methods to private in the DigestAuth class. 2022-12-06 21:22:16 +08:00
imacat df15f0b0d5 Revised the introduction in the documentation. 2022-12-06 20:58:13 +08:00
imacat 6c7f7e8c8e Added the comment to the master_doc setting in conf.py. 2022-12-06 20:02:53 +08:00
imacat dfc1108b41 Added master_doc to conf.py. 2022-12-06 19:34:45 +08:00
imacat 4fe57532b0 Added the installation instructions to the introduction in the documentation. 2022-12-06 19:34:26 +08:00
imacat d104b0f28d Revised the title of the documentation. 2022-12-06 18:55:20 +08:00
imacat 30106c7e9f Added the introduction to the documentation. 2022-12-06 18:54:40 +08:00
imacat 9997985d8c Added the examples to the documentation. 2022-12-06 18:37:51 +08:00
imacat 6057fc0987 Revised the documentation of the Client class and the calc_response function. 2022-12-06 18:04:12 +08:00
imacat 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
imacat 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
imacat f9e10ecb2f Replaced validate_required with assert in the calc_response function, for simplicity. 2022-12-06 17:44:18 +08:00
imacat b6bfb2eae9 Revised the documentation of the DigestAuth class and the calc_response function. 2022-12-06 17:38:58 +08:00
imacat e6b4594393 Added the Sphinx documentation. 2022-12-06 17:38:14 +08:00
imacat 495e9a9785 Advanced to version 0.2.1. v0.2.1 2022-12-06 07:59:44 +08:00
imacat cbbd2248f0 Added the pytest test example to README.rst. 2022-12-06 07:54:49 +08:00
imacat 2028cb1362 Revised the User class in the AuthenticationTestCase and FlaskLoginTestCase test classes to accept the clear-text password instead of the password hash, to simplify the code. 2022-12-03 14:30:22 +08:00
imacat 7e71115844 Fixed the test_logout test of the FlaskLoginTestCase test case to skip without Flask-Login. 2022-12-03 11:56:40 +08:00
imacat 491da61a79 Fixed the AuthenticationTestCase and FlaskLoginTestCase test cases to store the user instead of finding the user through flask-login or g, so that the visit tests work without the application context. 2022-12-03 11:55:52 +08:00
imacat bbaebbc80d Fixed the long lines in the AuthenticationTestCase and FlaskLoginTestCase test cases. 2022-11-30 23:35:04 +08:00
imacat 0dfdf70c45 Fixed a minor problem in the get_logged_in_user function. 2022-11-30 08:31:58 +08:00
imacat 0432561b21 Revised the minor problems in README.rst. 2022-11-30 08:31:26 +08:00
imacat 3709cb4d66 Fixed the return type hint of the get_logged_in_user function. 2022-11-30 08:30:42 +08:00
imacat 9d0d0b2686 Revised the login_required method of the DigestAuth class for readability. 2022-11-29 22:24:25 +08:00
imacat 8c98d35934 Revised the calc_response function for readability. 2022-11-29 22:10:18 +08:00
imacat 7db38c7eae Revised the code in the make_authorization method of the test client. 2022-11-29 21:53:16 +08:00
imacat 9616fb3ddc Added the get_opaque inline function in the make_response_header method of the DigestAuth class for readability. 2022-11-29 21:52:19 +08:00
imacat f473db29a8 Revised the order in .gitignore. 2022-11-29 20:32:25 +08:00
imacat b39e9b1321 Added sonar-project.properties to .gitignore. 2022-11-29 20:25:08 +08:00
imacat f3b525d715 Replaced random.random() with secrets.randbits() in the make_response_header method of the DigestAuth class. 2022-11-29 19:13:50 +08:00