1. 28 Feb, 2014 1 commit
  2. 26 Feb, 2014 1 commit
  3. 20 Feb, 2014 1 commit
  4. 13 Feb, 2014 9 commits
  5. 12 Feb, 2014 2 commits
    • Giorgos Korfiatis's avatar
      astakos: Add project default in resources · dea83d05
      Giorgos Korfiatis authored
      Add field `project_default' in resources. This will serve as a skeleton to
      fill project quota (both project-level and member-level limits) for
      resources not specified by the application.
      
      The field is initialized by consulting the default base quota (field
      `uplimit'): It is set to inf if uplimit is inf, otherwise it is set to
      zero.
      dea83d05
    • Giorgos Korfiatis's avatar
      astakos: Identify projects with a uuid · 37220498
      Giorgos Korfiatis authored
      Introduce field `uuid'; use it to refer to projects in the API and the
      management commands.
      37220498
  6. 22 Jan, 2014 1 commit
  7. 17 Jan, 2014 2 commits
  8. 08 Jan, 2014 2 commits
  9. 25 Nov, 2013 4 commits
    • Giorgos Korfiatis's avatar
      astakos: Associate only accepted users with projects · 4c67da95
      Giorgos Korfiatis authored
      Allow project enrollment and ownership only for users that are accepted,
      not just email_verified.
      
      Also change base quota only for accepted users.
      4c67da95
    • Giorgos Korfiatis's avatar
      astakos: Refactor user creation · 5f307667
      Giorgos Korfiatis authored
      Provide auth.make_user() as the single way to create a new user. This
      function is responsible to set all automatically generated fields, such as
      username, uuid, and token. Clean up AstakosUser.save(), that used to
      update these fields, and remove AstakosUser.__init__(). Remove trigger
      that renewed token on every AstakosUser update. In order to set a user's
      email, use AstakosUser.set_email(); this takes care to update the
      username, too.
      
      Provide function create_user() in user creation forms, which calls
      auth.make_user() with the form-provided data.
      
      Use the wrapper auth.make_local_user() in management command `user-add'.
      
      Use the same infrastructure to extend a django superuser to an AstakosUser
      (in management command `fix-superusers').
      5f307667
    • Giorgos Korfiatis's avatar
      astakos: Reset user sign flags when adding new terms · 361ec44d
      Giorgos Korfiatis authored
      When new terms are added, set has_signed_terms=False for all users, forcing
      them to accept the new terms. If there are no terms, a new user is created
      with has_signed_terms=True.
      
      With this change we can skip querying the terms when authenticating a user,
      speeding up POST /tokens.
      361ec44d
    • Sofia Papagiannaki's avatar
      astakos: Remove stack traceback · 8d7ee240
      Sofia Papagiannaki authored
      8d7ee240
  10. 22 Nov, 2013 11 commits
  11. 21 Nov, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Export Astakos detailed stats from API · 0d4a0672
      Christos Stavrakakis authored
      Add new 'astakos_admin' service to export basic statistics about Astakos
      service. The stats are exported via the '/admin/stats/detail' API endpoint.
      Access to this view is only allowed to the users that belong to specific
      Astakos groups, as specified in the new setting
      'ASTAKOS_ADMIN_STATS_PERMITTED_GROUPS.'
      0d4a0672
    • Christos Stavrakakis's avatar
      astakos: Command to export Astakos statistics · a1335e74
      Christos Stavrakakis authored
      Add new 'snf-manage stats-astakos' management command to export basic
      statistics about Astakos, like number of total, active and verified users per
      authentication mechanism, together with resource usage for each resource. The
      command can either export the statistics either in JSON- format or pretty-print
      in the standard output.
      a1335e74
  12. 15 Oct, 2013 1 commit
  13. 11 Oct, 2013 1 commit
  14. 09 Oct, 2013 2 commits