Commits (16)
-
amirouche authored7e2bcb49
-
amirouche authored57b30c27
-
amirouche authored5b777d43
-
amirouche authored26160b05
-
amirouche authored
- add %argon-type-argon2-d, %argon-type-argon2-i, %argon-type-argon2-id private variables - encoded-length: add argon-type parameter - hash-secret: change urandom parameter to be the relevant variable - hash-secret: pass %argon-type-argon2-i as argon-type argument to encoded-length
54d99366 -
amirouche authored394b91d8
-
amirouche authoredd3b37dd0
-
amirouche authored3dc9b3ef
-
amirouche authoredd543c835
-
amirouche authored4032aadd
-
amirouche authoredd0117e8d
-
amirouche authored7600ba94
-
amirouche authored3153de2b
-
amirouche authored0fdb05b8
-
amirouche authored
- Add a #:cookies key parameter to 'redirect' that allows to set cookies. This is done in 'redirect' because it seems to me that settings cookies is only useful after a form a successful POST request and POST requests must always be followed by a redirect to avoid buggy request replay (via page refresh). - Add 'request-cookies' public procedure.
cbe0db05 -
amirouche authored
- app: Add module with a 'app' record, to store application wide variables. It has only a pepper (aka. 'secret' in some other frameworks) field right. - web: import 'make-hash', 'string-sign' and 'string-verify' which allow to sign strings. It's used to validated cookie values. - web: add 'log-debug' and 'log-info' procedures - web: add 'rm', 'set', 'ref', 'set*' and 'ref*' procedures to help with association lists that have strings as keys. - web: replace render-html with sxml->response - web: index: display a welcome message if an user is logged in - web: create 'form/input' and 'form/submit' for consistent forms with label, value and error handling. - web: add query-user-by-username, query-user-by-uid and request-user - web: signin and signup: refactor to make use for 'form/input' and 'form/submit', shallow and deep input validation (in particular add 'strong?' password predicate), set 'token' cookie when the user sign in.
a2599b01
Showing
src/app.scm
0 → 100644
This diff is collapsed.