1. 22 Nov, 2013 2 commits
  2. 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
  3. 15 Nov, 2013 1 commit
    • Christos Stavrakakis's avatar
      Rename 'cpu' and 'ram' resources · 726d06dc
      Christos Stavrakakis authored
      Rename CPU and RAM relative resources to avoid data migrations.
      Specifically, the resources that are renamed are the following:
      
      * cpu -> total_cpu
      * ram -> total_ram
      * active_cpu -> cpu
      * active_ram -> ram
      726d06dc
  4. 14 Nov, 2013 1 commit
  5. 11 Nov, 2013 2 commits
  6. 08 Nov, 2013 2 commits
  7. 01 Nov, 2013 2 commits
  8. 29 Oct, 2013 2 commits
  9. 18 Oct, 2013 2 commits
  10. 16 Oct, 2013 1 commit
  11. 15 Oct, 2013 3 commits
  12. 11 Oct, 2013 1 commit
  13. 09 Oct, 2013 5 commits
  14. 08 Oct, 2013 2 commits
  15. 07 Oct, 2013 7 commits
    • Kostas Papadimitriou's avatar
      astakos: Shibboleth EPPN migration functionality · 3a6c7968
      Kostas Papadimitriou authored
      Prior to this commit astakos used the mod_shib2 EPPN header value as the
      unique identifier for associating shibboleth idp users to astakos user entries.
      
      This commit alters this behaviour and from now on astakos resloves unique
      identifier from the REMOTE_USER header. REMOTE_USER is a header mod_shib2 sets
      containing a value of the available shibboleth IdP metadata. The metadata
      key (persistent-id or eppn in most common scenarios) used can be configured
      from within shibboleth2.xml config file.
      
      <ApplicationDefaults id="default" .... .... REMOTE_USER="persistent-id"...>
      
      An additional setting ``ASTAKOS_SHIBBOLETH_MIGRATE_EPPN`` is added in order
      to facilitate migration of existing EPPN entries to persistent-id/targeted-id
      (or whichever metadata the REMOTE_USER maps to). When set to ``True``, after
      each shibboleth login astakos will try to migrate the existing EPPN entry
      by following the below mentioned steps:
      
      * If no REMOTE_USER header exists or is empty, redirect to an error view.
        Otherwise continue to the next step.
      * Resolve EPPN header and check if an account is currently associated with this
        EPPN.
      * If user exists, retrieve user's shibboleth entry (AstakosUserAuthProvider
        instance) and replace stored identifier (EPPN) with the identifier contained
        in REMOTE_USER header.
      * Continue to login or signup process using REMOTE_USER value as the unique
        user identifier that associates astakos user to the shibboleth account.
      3a6c7968
    • Kostas Papadimitriou's avatar
      astakos: Set initial signup values if available · fe3e1a37
      Kostas Papadimitriou authored
      prefill third party signup form with initial values (first name, last name,
      email) if available in the third party provider response.
      fe3e1a37
    • Kostas Papadimitriou's avatar
      f08ee8d8
    • Kostas Papadimitriou's avatar
      astakos: user-modify command enhancements · ea2e6d93
      Kostas Papadimitriou authored
      New option ``--delete`` to permanently delete a user entry.
      New option ``--set-email`` to change user's email address.
      ea2e6d93
    • Kostas Papadimitriou's avatar
      astakos: Separate templates in project creation · 08c67d4a
      Kostas Papadimitriou authored
      instead of including application form summary template in the application form
      view, render it from scratch. This resolves a bug caused when using django>1.2
      since block tags within the included templates are not supported.
      08c67d4a
    • Kostas Papadimitriou's avatar
      astakos: Store arbitrary shibboleth headers · a01f6cdc
      Kostas Papadimitriou authored
      additionally to common shibboleth headers, append any arbitrary shibboleth
      headers (SHIB_*) set from the IdP.
      a01f6cdc
    • Kostas Papadimitriou's avatar
      astakos: Correctly set user password in user-add · 16b9f5a7
      Kostas Papadimitriou authored
      password field contains the user password in hashed format. The proper way
      to populate the field is by using the set_password method of the user object.
      16b9f5a7
  16. 04 Oct, 2013 1 commit
  17. 01 Oct, 2013 4 commits
    • Christos Stavrakakis's avatar
      wheezy: Rename depricated HttpRequest attribute · edf9616d
      Christos Stavrakakis authored
      From django docs:
      """
      HttpRequest.raw_post_data renamed to HttpRequest.body
      
      This attribute was confusingly named HttpRequest.raw_post_data, but it
      actually provided the body of the HTTP request. It’s been renamed to
      HttpRequest.body, and HttpRequest.raw_post_data has been deprecated.
      """
      edf9616d
    • Christos Stavrakakis's avatar
      Request Django=>1.4, <1.5 · f8082d99
      Christos Stavrakakis authored
      Drop support for Django 1.2. Remove compatibility code that were used in
      order to support Django 1.2 and 1.4. Finally update django documentation
      link in the docs.
      f8082d99
    • Giorgos Korfiatis's avatar
      astakos: Avoid spaces in field names · 4447a69f
      Giorgos Korfiatis authored
      Rename fields in component-list management command so that they do not
      contain spaces.
      4447a69f
    • Giorgos Korfiatis's avatar
      astakos: Show component details · b9c39885
      Giorgos Korfiatis authored
      Introduce management command `component-show', which lists component
      attributes, including a list with the related registered services.
      b9c39885