Hello community, here is the log from the commit of package python-django-dajaxice for openSUSE:Factory checked in at 2013-03-08 09:39:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-dajaxice (Old) and /work/SRC/openSUSE:Factory/.python-django-dajaxice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-dajaxice", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-dajaxice/python-django-dajaxice.changes 2012-12-28 22:47:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-dajaxice.new/python-django-dajaxice.changes 2013-03-08 09:39:52.000000000 +0100 @@ -1,0 +2,12 @@ +Fri Jan 25 01:20:16 UTC 2013 - alexan...@exatati.com.br + +- Update to 0.5.5: + * Return XMLHttpRequest from concreate functions as well as from + function call. + * Fixed django 1.5 compatibility: Content-Type have to be + application/x-www-form-urlencoded otherwise Django discards + POST data. + * Fix JS generation errors + * Fix @dajaxice_register legacy decorator + +------------------------------------------------------------------- Old: ---- django-dajaxice-0.5.4.1.tar.bz2 New: ---- django-dajaxice-0.5.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-dajaxice.spec ++++++ --- /var/tmp/diff_new_pack.RqN0F9/_old 2013-03-08 09:39:53.000000000 +0100 +++ /var/tmp/diff_new_pack.RqN0F9/_new 2013-03-08 09:39:53.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-dajaxice # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ Name: python-django-dajaxice -Version: 0.5.4.1 +Version: 0.5.5 Release: 0 Url: http://dajaxproject.com Summary: Agnostic and easy to use ajax library for django -License: BSD-3-Clause and LGPL-2.1+ and SUSE-Public-Domain +License: BSD-3-Clause Group: Development/Languages/Python Source: django-dajaxice-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ django-dajaxice-0.5.4.1.tar.bz2 -> django-dajaxice-0.5.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/AUTHORS new/django-dajaxice-0.5.5/AUTHORS --- old/django-dajaxice-0.5.4.1/AUTHORS 2012-12-19 22:15:57.000000000 +0100 +++ new/django-dajaxice-0.5.5/AUTHORS 2013-01-24 23:58:54.000000000 +0100 @@ -10,6 +10,8 @@ Paweł Krawczyk <@kravietz> Michael Fladischer <mich...@fladi.at> Anton Agestam <m...@antonagestam.se> +Michal Hořejšek <horejsekmic...@gmail.com> +Ken <@kkansky> And the authors of: XmlHttpRequest.js project (License inside COPYING) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/PKG-INFO new/django-dajaxice-0.5.5/PKG-INFO --- old/django-dajaxice-0.5.4.1/PKG-INFO 2012-12-19 22:16:50.000000000 +0100 +++ new/django-dajaxice-0.5.5/PKG-INFO 2013-01-25 00:45:38.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: django-dajaxice -Version: 0.5.4.1 +Version: 0.5.5 Summary: Agnostic and easy to use ajax library for django Home-page: http://dajaxproject.com Author: Jorge Bastida diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/dajaxice/__init__.py new/django-dajaxice-0.5.5/dajaxice/__init__.py --- old/django-dajaxice-0.5.4.1/dajaxice/__init__.py 2012-12-19 22:15:08.000000000 +0100 +++ new/django-dajaxice-0.5.5/dajaxice/__init__.py 2013-01-24 23:58:54.000000000 +0100 @@ -1 +1 @@ -__version__ = (0, 5, 4, 1, 'beta') +__version__ = (0, 5, 5, 'beta') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/dajaxice/decorators.py new/django-dajaxice-0.5.5/dajaxice/decorators.py --- old/django-dajaxice-0.5.4.1/dajaxice/decorators.py 2012-09-30 23:23:38.000000000 +0200 +++ new/django-dajaxice-0.5.5/dajaxice/decorators.py 2013-01-24 23:58:54.000000000 +0100 @@ -35,8 +35,9 @@ """ if len(dargs) and not dkwargs: - dajaxice_functions.register(*dargs) - return dargs + function = dargs[0] + dajaxice_functions.register(function) + return function def decorator(function): @functools.wraps(function) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/dajaxice/templates/dajaxice/dajaxice.core.js new/django-dajaxice-0.5.5/dajaxice/templates/dajaxice/dajaxice.core.js --- old/django-dajaxice-0.5.4.1/dajaxice/templates/dajaxice/dajaxice.core.js 2012-11-25 23:21:59.000000000 +0100 +++ new/django-dajaxice-0.5.5/dajaxice/templates/dajaxice/dajaxice.core.js 2013-01-24 23:58:54.000000000 +0100 @@ -6,7 +6,8 @@ {% endwith %} {% for name, module in dajaxice_config.modules.submodules.items %} - {% include "dajaxice/dajaxice_module_loop.js" %}{% endfor %}{% if dajaxice_config.modules.submodules %},{% endif %} + {% include "dajaxice/dajaxice_module_loop.js" %}, + {% endfor %} get_cookie: function(name) { @@ -42,6 +43,7 @@ endpoint = endpoint + '?' + send_data; } oXMLHttpRequest.open(method, endpoint); + oXMLHttpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); oXMLHttpRequest.setRequestHeader("X-Requested-With", "XMLHttpRequest"); oXMLHttpRequest.setRequestHeader("X-CSRFToken", Dajaxice.get_cookie('{{ dajaxice_config.django_settings.CSRF_COOKIE_NAME }}')); oXMLHttpRequest.onreadystatechange = function() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/dajaxice/templates/dajaxice/dajaxice_function_loop.js new/django-dajaxice-0.5.5/dajaxice/templates/dajaxice/dajaxice_function_loop.js --- old/django-dajaxice-0.5.4.1/dajaxice/templates/dajaxice/dajaxice_function_loop.js 2012-11-25 15:37:27.000000000 +0100 +++ new/django-dajaxice-0.5.5/dajaxice/templates/dajaxice/dajaxice_function_loop.js 2013-01-24 21:32:46.000000000 +0100 @@ -1,5 +1,5 @@ {% for function_name, function in module.functions.items %} {{ function_name }}: function(callback_function, argv, custom_settings){ - Dajaxice.call('{{ function.name }}', '{{ function.method }}', callback_function, argv, custom_settings); + return Dajaxice.call('{{ function.name }}', '{{ function.method }}', callback_function, argv, custom_settings); }{% if not forloop.last or top or module.submodules %},{% endif %} {% endfor %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/docs/changelog.rst new/django-dajaxice-0.5.5/docs/changelog.rst --- old/django-dajaxice-0.5.4.1/docs/changelog.rst 2012-12-19 22:15:44.000000000 +0100 +++ new/django-dajaxice-0.5.5/docs/changelog.rst 2013-01-24 23:58:54.000000000 +0100 @@ -1,6 +1,13 @@ Changelog ========= +0.5.5 +^^^^^ +* Return XMLHttpRequest from concreate functions as well as from function call. +* Fixed django 1.5 compatibility: Content-Type have to be application/x-www-form-urlencoded otherwise Django discards POST data. +* Fix JS generation errors +* Fix @dajaxice_register legacy decorator + 0.5.4.1 ^^^^^^^ * Fix JS generation errors. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-dajaxice-0.5.4.1/setup.py new/django-dajaxice-0.5.5/setup.py --- old/django-dajaxice-0.5.4.1/setup.py 2012-12-19 22:15:02.000000000 +0100 +++ new/django-dajaxice-0.5.5/setup.py 2013-01-24 23:58:54.000000000 +0100 @@ -2,7 +2,7 @@ setup( name='django-dajaxice', - version='0.5.4.1', + version='0.5.5', author='Jorge Bastida', author_email='m...@jorgebastida.com', description='Agnostic and easy to use ajax library for django', -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org