1. 16 Oct, 2013 1 commit
  2. 15 Oct, 2013 3 commits
  3. 07 Oct, 2013 3 commits
  4. 04 Oct, 2013 5 commits
  5. 03 Oct, 2013 7 commits
  6. 02 Oct, 2013 4 commits
  7. 30 Sep, 2013 6 commits
  8. 27 Sep, 2013 10 commits
    • Christos Stavrakakis's avatar
      Revert "wheezy: Remove setup_environ" · b481c3ad
      Christos Stavrakakis authored
      This reverts commit a813a25117f3db14d5517f630d6d0e163a58b0f8. This
      commit is reverted because it breaks compatibility with Django 1.2. This
      should be applied for Synnefo 0.15.
      b481c3ad
    • Christos Stavrakakis's avatar
      Revert "wheezy: fix is_safe attribute of template filters" · 0231b41f
      Christos Stavrakakis authored
      This reverts commit 730fb3b0a0607bba95b90db1c6154cb7febb9187. This
      commit is reverted because it breaks compatibility with Django 1.2. This
      should be applied for Synnefo 0.15.
      0231b41f
    • Christos Stavrakakis's avatar
      Revert "wheezy: Rename depricated HttpRequest attribute" · 43b39fbb
      Christos Stavrakakis authored
      This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This
      commit is reverted because it breaks compatibility with Django 1.2. This
      should be applied for Synnefo 0.15.
      43b39fbb
    • Christos Stavrakakis's avatar
      reconciliation: Strip Ganeti IP addresses · 01cefd27
      Christos Stavrakakis authored
      Strip spaces from Ganeti IP addresses, since they are not automatically
      ignored in newer versions of ipaddr.
      01cefd27
    • Christos Stavrakakis's avatar
      wheezy: Remove setup_environ · fa33847d
      Christos Stavrakakis authored
      From Django docs:
      """
      This function temporarily modified sys.path in order to make the parent
      “project” directory importable under the old flat startproject layout.
      This function is now deprecated, as its path workarounds are no longer
      needed with the new manage.py and default project layout.
      
      This function was never documented or part of the public API, but it was
      widely recommended for use in setting up a “Django environment” for a
      user script. These uses should be replaced by setting the
      DJANGO_SETTINGS_MODULE environment variable or using
      django.conf.settings.configure().
      
      """
      fa33847d
    • Christos Stavrakakis's avatar
      wheezy: fix is_safe attribute of template filters · a9499b17
      Christos Stavrakakis authored
      In Django 1.4 'is_safe' and 'needs_autoescape' attributes has been made
      keyword arguments of @register.filter
      a9499b17
    • Christos Stavrakakis's avatar
      wheezy: Rename depricated HttpRequest attribute · 94b743e6
      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.
      """
      94b743e6
    • Ilias Tsitsimpis's avatar
      Fix a python syntax error · 1bea338c
      Ilias Tsitsimpis authored
      In python 2 we cannot have keyword-only arguments (PEP 3102).
      And even if we could, this was not the right way to
      declare a python function.
      1bea338c
    • Christos Stavrakakis's avatar
      astakos: Replace commit_manually decorator · e722ea2e
      Christos Stavrakakis authored
      Replace commit_manually decorator with commit_on_success, since the
      functions that were using this decorator did not really needed it.
      e722ea2e
    • Christos Stavrakakis's avatar
      cyclades: Remove commit_manually decorator · effcf3ab
      Christos Stavrakakis authored
      Replace commit_manually decorator with commit_on_success. Since network
      is no longer created in DB in the API request, the manually decorator is
      no longer needed.
      effcf3ab
  9. 26 Sep, 2013 1 commit
    • Ilias Tsitsimpis's avatar
      astakos: Fix `save() got unexpected argument' · 232b2aa9
      Ilias Tsitsimpis authored
      From Django documentation:
      """
      It’s also important that you pass through the arguments that can be
      passed to the model method – that’s what the *args, **kwargs bit does.
      Django will, from time to time, extend the capabilities of built-in
      model methods, adding new arguments. If you use *args, **kwargs in your
      method definitions, you are guaranteed that your code will automatically
      support those arguments when they are added.
      """
      232b2aa9