1. 22 Apr, 2013 7 commits
  2. 19 Apr, 2013 3 commits
  3. 18 Apr, 2013 9 commits
    • Giorgos Korfiatis's avatar
      astakos: Remove obsolete fields of AstakosUserQuota · 01b9c358
      Giorgos Korfiatis authored
      Remove quantity, import_limit, export_limit.
      Update user-set-initial-quota management command.
    • Giorgos Korfiatis's avatar
    • Kostas Papadimitriou's avatar
      Services api/presentation logic cleanup · 30713232
      Kostas Papadimitriou authored
      - Remove presentation information from Service model (order, icon)
      - To access the list of services filled with both presentation and api
        data use Service.catalog(). The method fills a dict with service
        identifiers and service metadata through the following steps
          - Initialize a service dict using
          - Extend (merge and overwrite) it with the correspoding entry in
            astakos.im.presentation.SERVICES if exists.
          - Merge once again if user has set service metadata in
            ASTAKOS_SERVICE_META setting. This way user can change only the
            desired service parameters.
      - An example of ASTAKOS_SERVICE_META containing keys which
              'myservice': {
                  'name': 'service_identifier',
                  'url': 'https://service.url/service/ui/',
                  'verbose_name': 'My service name',
                  'order': 1,
                  # cloudbar specific parameters
                  'cloudbar': {
                      'show': True,
                      'title': 'My service name in cloudbar'
                      # defaults to verbose_name
                  # dashboard specific parameters
                  'dashboard': {
                      'show': True,
                      # we use different ordering in dashboard
                      'order': 100,
                      'description': 'My service description'
      - Updated dashboard to use Service.catalog() instead of hardcoded
      - Updated service-* commands to keep up with model changes
    • Giorgos Korfiatis's avatar
    • Giorgos Korfiatis's avatar
    • Kostas Papadimitriou's avatar
      Remove resource/service model dependencies · 9815050d
      Kostas Papadimitriou authored
      - Remove foreign key dependency between Service/Resource model. Replace
        it with a service CharField to keep track of the service identifier
        that the resource was registered from.
      - Remove all references to resource service name in resource lookups
    • Giorgos Korfiatis's avatar
      Sync quotas efficiently when importing resources · 15e08fdf
      Giorgos Korfiatis authored
      When changing the default base quota (uplimit) for a preexisting resource,
      do a bulk update of the related holdings.
      When importing a new resource, create the new related holdings.
      Prompt the admin for the uplimit in the management command, if a config
      file is not given.
    • Giorgos Korfiatis's avatar
      Import resources from definition and config files · a125b747
      Giorgos Korfiatis authored
      Register a service's resources giving option --json <file>.
      The json file is expected to represent a dictionary with keys
      "service" and "resources".
      Currently the default base quota (uplimit) for each resource is read
      from a configuration json file, given with --conf <file>. This file
      represents a dictionary with numeric values for each resource name.
      Upon importing the resources, the quotaholder has to be updated due to
      the modified resource limits.
    • Giorgos Korfiatis's avatar
      Move resource data away from astakos settings · c89c8fca
      Giorgos Korfiatis authored
      UI-related presentation data go to presentation.py.
      Remove load_service_resources call and related astakos-init
      management command.
  4. 17 Apr, 2013 1 commit
  5. 08 Apr, 2013 1 commit
  6. 05 Apr, 2013 7 commits
  7. 27 Mar, 2013 1 commit
  8. 26 Mar, 2013 3 commits
  9. 22 Mar, 2013 1 commit
  10. 15 Mar, 2013 1 commit
    • Kostas Papadimitriou's avatar
      Authentication providers improvements · 518bbefd
      Kostas Papadimitriou authored
      Major authentication provider refactoring to support
      - Modular and easily configurable messages with common context
      - Fine grained provider policies to support appling specific policies to
        users and/or groups
      Key points:
      - Use auth_providers.AuthProvider instances where auth provider logic is
        needed. Instances get properly initialized with the available context
        (with no user/signup view, with user/login view, with user and
        identifier/profile view).
      - All authentication provider messages are now accessed using the
        get_*_msg AuthProvider attributes.
      - Provider policies logic is handled from  get_*_policy attributes.
      - All provider messages may be overridden globally or per provider level from
        # global change
        ASTAKOS_AUTH_PROVIDER_NOT_ACTIVE = 'Provider not active'
        # change only applies to shibboleth provider
        ASTAKOS_AUTH_PROVIDER_SHIBBOLETH_NOT_ACTIVE = 'Shibboleth is not  active'
      - Provider policies may be overridden in settings::
        # ALL users wont be able to add shibboleth login method from their
        # profile
      - New provider policies profile model added. Profiles can be assigned to
        a group or/and a specific user.
      - All tests updated to match the auth providers changes.
      - New management commands included
        * user-auth-policy-{add, list, remove, set, show}
          Manage authentication provider policy profiles.
        * user-group-{add, list}
          User group management commands
      - Updated user-list to optionally display auth provider information
  11. 08 Mar, 2013 1 commit
  12. 07 Mar, 2013 3 commits
  13. 06 Mar, 2013 2 commits