1. 23 Mar, 2014 2 commits
  2. 22 Mar, 2014 3 commits
  3. 21 Mar, 2014 7 commits
  4. 20 Mar, 2014 2 commits
  5. 19 Mar, 2014 7 commits
  6. 18 Mar, 2014 6 commits
  7. 17 Mar, 2014 3 commits
  8. 14 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Split MAIN_SERVICES · 1b56c42b
      Stephane Glondu authored
      The signature is split into:
       - SITE_SERVICES: site-wide services, with single instances
       - ELECTION_SERVICES: per-unarchived-election services
       - VOTING_SERVICES: per-open-election services
      
      For the moment, per-election services are still site-wide with single
      instances.
      
      Other changes:
       - the "global continuation" getter is renamed to "cont", so that its
         container module can be directly cast into CONT_SERVICE
       - move remaining service declarations out of Services
       - move service registration code close to service declarations,
         following the same Services/Register pattern as in Auth_common
       - various simplifications in Registration
      1b56c42b
  9. 11 Mar, 2014 4 commits
  10. 10 Mar, 2014 4 commits
  11. 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