1. 16 May, 2018 1 commit
  2. 08 Dec, 2017 1 commit
  3. 29 Aug, 2017 1 commit
  4. 25 Aug, 2017 1 commit
  5. 28 Jul, 2017 2 commits
  6. 28 Jun, 2017 1 commit
  7. 12 Apr, 2017 1 commit
  8. 31 Aug, 2016 1 commit
  9. 10 Aug, 2016 1 commit
  10. 11 Jul, 2016 1 commit
  11. 27 Jun, 2016 1 commit
  12. 25 Mar, 2016 1 commit
  13. 24 Mar, 2016 1 commit
  14. 02 Mar, 2016 1 commit
  15. 25 Feb, 2016 1 commit
  16. 08 Feb, 2016 1 commit
  17. 27 Jan, 2016 1 commit
  18. 20 Jan, 2016 1 commit
  19. 13 Jan, 2016 1 commit
  20. 19 Nov, 2015 2 commits
  21. 17 Jul, 2015 1 commit
  22. 03 Jul, 2015 3 commits
  23. 17 Jun, 2015 1 commit
  24. 16 Apr, 2015 1 commit
  25. 10 Apr, 2015 1 commit
  26. 09 Apr, 2015 1 commit
  27. 19 Mar, 2015 1 commit
  28. 05 Aug, 2014 1 commit
  29. 16 Apr, 2014 1 commit
    • Stephane Glondu's avatar
      Move some platform-specific functions to a new module · 5d4fc819
      Stephane Glondu authored
      Add module Platform: single interface to functions that depend on the
      runtime. For now, the native (existing one), and a dummy one that
      constitutes a skeleton for the js one.
      
      All calls to Cryptokit, Z, Calendar (which depends on Unix) in the
      command-line tool now go through this module.
      5d4fc819
  30. 24 Mar, 2014 1 commit
  31. 21 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Big overhaul of election management · 66e7b8ca
      Stephane Glondu authored
      Summary:
       - WEB_ELECTION gets a new submodule of type ELECTION_SERVICES
       - per-election services do no longer take UUID as a param, but are
         registered at a path containing it
       - no more ESIndex, election home service is back
       - inline some submodules of SITE_SERVICES, drop ALL_SERVICES
       - rename old SITE_SERVICES into CORE_SERVICES
       - move election-specific templates to a new ELECTION_TEMPLATES; the
         templates in the new signature do not longer take an "election"
         argument but TEMPLATES.Election is a functor that takes a
         WEB_ELECTION and returns an ELECTION_TEMPLATES
       - adapt the booth to the new path layout
      
      Additional changes:
       - merge VOTING_SERVICES into ELECTION_SERVICES
       - inline {SITE,AUTH}_TEMPLATES into TEMPLATES
       - all templates take a final () argument to emphasize their impurity
      66e7b8ca
  32. 19 Mar, 2014 2 commits
  33. 18 Mar, 2014 2 commits
    • Stephane Glondu's avatar
      Simplification of the web_election type · 261865eb
      Stephane Glondu authored
      Now, everything needed by the web server to handle an election is
      bundled into a module of type WEB_ELECTION which is passed around
      everywhere.
      261865eb
    • Stephane Glondu's avatar
      Changes in metadata handling · 789b20c1
      Stephane Glondu authored
       - metadata is specific to web, move it there
       - create Web_serializable, and also move randomness there
       - metadata is not optional (but its components can be)
       - rename user_type into user_domain
       - serializable version of ACLs
      789b20c1
  34. 07 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Handle configuration locally in each auth system · 05bc228a
      Stephane Glondu authored
      Summary:
       - move rewrite_prefix to Web_common
       - each auth system now has an $init function that registers its
         configuration spec and an $exec function to Auth_common
       - an auth system may support multiple instances via configuration;
         user_type is specific to each instance
       - when parsing is done, each $exec is called with an $instantiate
         callback; $exec is supposed to call $instantiate for each instance
      
      TODO:
       - default fallback when there are several instances
       - generic login should do security_log
       - auth system instances should not set user_type themselves
       - it should not be possible to login twice
       - admin login
       - update doc
      05bc228a