1. 04 Feb, 2018 16 commits
    • amirouche's avatar
      complete sign up and sign in paths · a2599b01
      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
    • amirouche's avatar
      helpers: add cookies helpers. · cbe0db05
      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's avatar
      helpers: rename render-html to sxml->response · 0fdb05b8
      amirouche authored
      0fdb05b8
    • amirouche's avatar
      css: rename form-item to form-field · 3153de2b
      amirouche authored
      3153de2b
    • amirouche's avatar
      cosmit · 7600ba94
      amirouche authored
      7600ba94
    • amirouche's avatar
      cosmit · d0117e8d
      amirouche authored
      d0117e8d
    • amirouche's avatar
      doc++ · 4032aadd
      amirouche authored
      4032aadd
    • amirouche's avatar
      style: move make-class · d543c835
      amirouche authored
      d543c835
    • amirouche's avatar
      .gitignore: add src/wt/ · 3dc9b3ef
      amirouche authored
      3dc9b3ef
    • amirouche's avatar
      html: add sxml/maybe · d3b37dd0
      amirouche authored
      d3b37dd0
    • amirouche's avatar
      .dir-locals.el: add template · 394b91d8
      amirouche authored
      394b91d8
    • amirouche's avatar
      argon2: update to 0~20161029-1 (ubuntu 17.10) · 54d99366
      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's avatar
      26160b05
    • amirouche's avatar
      typofix · 5b777d43
      amirouche authored
      5b777d43
    • amirouche's avatar
      typofix · 57b30c27
      amirouche authored
      57b30c27
    • amirouche's avatar
      cosmit · 7e2bcb49
      amirouche authored
      7e2bcb49
  2. 03 Feb, 2018 6 commits
  3. 01 Feb, 2018 8 commits
  4. 31 Jan, 2018 1 commit
  5. 28 Jan, 2018 4 commits
  6. 27 Jan, 2018 3 commits
  7. 23 Jan, 2018 2 commits