-
v0.7.2: user authentication
发布于
2023-07-10 21:47:26 +00:00 | 2594 次提交 在此版本后已推送到 main-
New authentication component to handle user authentication, and password checking
-
New redirect component to stop rendering the current page and redirect the user to another page.
-
The debug component is now documented
-
Added properties to the shell component:
cssto add custom CSS to the pagejavascriptto add custom Javascript to the page. An example of how to use it to integrate a react component is available.footerto set a message in the footer of the page
-
New
sqlpage.basic_auth_usernamefunction to get the name of the user logged in with HTTP basic authentication -
New
sqlpage.basic_auth_passwordfunction to get the password of the user logged in with HTTP basic authentication. -
New
sqlpage.hash_passwordfunction to hash a password with the same algorithm as the authentication component uses. -
New
sqlpage.headerfunction to read an HTTP header from the request. -
New
sqlpage.random_stringfunction to generate a random string. Useful to generate session ids. -
Fix a bug where the page style would not load in pages that were not in the root directory: https://github.com/lovasoa/SQLpage/issues/19
-
Fix resources being served with the wrong content type
-
Fix compilation of SQLPage as an AWS lambda function
-
Fixed logging and display of errors, to make them more useful
下载附件
-