1. 06 Feb, 2018 8 commits
  2. 05 Feb, 2018 1 commit
  3. 04 Feb, 2018 4 commits
    • amirouche's avatar
      web: wip publish message · f09df9cd
      amirouche authored
      f09df9cd
    • amirouche's avatar
      3ad9c689
    • 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
      cosmit · 7e2bcb49
      amirouche authored
      7e2bcb49
  4. 03 Feb, 2018 4 commits
  5. 01 Feb, 2018 6 commits
  6. 31 Jan, 2018 1 commit
  7. 28 Jan, 2018 1 commit
  8. 27 Jan, 2018 2 commits
  9. 23 Jan, 2018 3 commits
  10. 21 Jan, 2018 1 commit
  11. 11 Nov, 2017 2 commits
    • amirouche's avatar
      web: dispatch based on method too · 3a919e24
      amirouche authored
      3a919e24
    • amirouche's avatar
      web: split web.scm into multiple files · f1457812
      amirouche authored
      The goal is to make the main file (web.scm) which will land
      the application much smaller.
      
      - web/decode.scm contains the `decode` procedure to parse
        POST forms and querystrings.
      
      - web/helpers.scm contains shortcuts to create common http response
        code
      
      - web/mime-types.scm contains the mime type guess function used in
        static.scm
      
      - web/static.scm contains the procedure for serving static assets in
        development mode.
      f1457812
  12. 10 Nov, 2017 1 commit
  13. 24 Sep, 2017 1 commit
  14. 16 Jul, 2017 2 commits