1. 18 Apr, 2013 3 commits
    • Giorgos Korfiatis's avatar
      387b9cb4
    • 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
            astakos.im.presentation.service_defaults
          - 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
      
          ASTAKOS_SERVICE_META = {
              '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
        html.
      - Updated service-* commands to keep up with model changes
      30713232
    • 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.
      c89c8fca
  2. 08 Apr, 2013 1 commit
  3. 29 Mar, 2013 1 commit
  4. 27 Mar, 2013 2 commits
    • Kostas Papadimitriou's avatar
      Astakos email notification improvements · a78f88cc
      Kostas Papadimitriou authored
      - Use project setting SERVER_EMAIL as sender to all email notifications.
      - Remove astakos specific DEFAULT_CONTAC_EMAIL in favor of snf-common's
        CONTACT_EMAIL setting.
      - Remove DEFAULT_CONTACT_EMAIL and ADMINS astakos specific settings in favor of
        common ADMINS/MANAGERS/HELPDESK email lists which are now provided by the
        snf-common package. The settings are used as follows:
      
          * Project created notification: MANAGERS + HELPDESK
          * Account created (moderation pending): MANAGERS + HELPDESK
          * Account activated: MANAGERS + HELPDESK
          * Feedback: HELPDESK
      a78f88cc
    • Stratos Psomadakis's avatar
      0b01f844
  5. 26 Mar, 2013 1 commit
  6. 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
        settings::
      
        # 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
        AUTH_PROVIDER_SHIBBOLETH_ADD_POLICY = False
      
      - 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
      518bbefd
  7. 11 Mar, 2013 1 commit
    • Georgios D. Tsoukalas's avatar
      Fix+move HTTP quotaholder client in synnefo.lib · 208556af
      Georgios D. Tsoukalas authored
      Allow per-service configuration of the (http) quotaholder client.
      Kamaki is no longer needed in service (or ganeti) nodes,
      because the client has been moved to snf-common.
      
      Also fix the default quotaholder settings for pithos backend to be disabled
      by default, and don't initialize quotaholder client when not needed.
      This fixes crashes of non-user-facing pithos backend uses such as
      pithcat from snf-image.
      
      Refs #3421
      208556af
  8. 05 Mar, 2013 1 commit
  9. 27 Feb, 2013 2 commits
  10. 22 Feb, 2013 1 commit
  11. 19 Feb, 2013 1 commit
  12. 18 Feb, 2013 1 commit
  13. 14 Feb, 2013 4 commits
  14. 24 Jan, 2013 1 commit
  15. 18 Jan, 2013 1 commit
  16. 17 Jan, 2013 1 commit
  17. 11 Jan, 2013 1 commit
  18. 10 Jan, 2013 1 commit
  19. 08 Jan, 2013 2 commits
  20. 07 Jan, 2013 1 commit
  21. 04 Jan, 2013 1 commit
  22. 03 Jan, 2013 1 commit
  23. 17 Dec, 2012 2 commits
  24. 13 Dec, 2012 1 commit
  25. 11 Dec, 2012 1 commit
  26. 06 Dec, 2012 1 commit
  27. 05 Dec, 2012 2 commits
  28. 03 Dec, 2012 3 commits