From 406bb6e8cc7a87cf415c077e96e3dd7a8de17809 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 26 Apr 2013 01:28:03 +0200 Subject: [PATCH] Update copyright years --- bin/radicale | 2 +- radicale.fcgi | 2 +- radicale.py | 2 +- radicale.wsgi | 2 +- radicale/__init__.py | 2 +- radicale/__main__.py | 2 +- radicale/auth/IMAP.py | 2 ++ radicale/auth/LDAP.py | 2 +- radicale/auth/__init__.py | 2 +- radicale/auth/htpasswd.py | 2 +- radicale/auth/http.py | 4 ++-- radicale/config.py | 2 +- radicale/ical.py | 2 +- radicale/log.py | 2 +- radicale/rights/__init__.py | 2 +- radicale/rights/from_file.py | 9 ++++++--- radicale/rights/owner_only.py | 2 +- radicale/rights/owner_write.py | 2 +- radicale/storage/__init__.py | 2 +- radicale/storage/filesystem.py | 2 +- radicale/xmlutils.py | 2 +- setup.py | 2 +- tests/__init__.py | 2 +- tests/test_base.py | 2 +- 24 files changed, 31 insertions(+), 26 deletions(-) diff --git a/bin/radicale b/bin/radicale index 3fd6ad0..619aca5 100755 --- a/bin/radicale +++ b/bin/radicale @@ -2,9 +2,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale.fcgi b/radicale.fcgi index 90b52ef..6f493da 100755 --- a/radicale.fcgi +++ b/radicale.fcgi @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2011-2012 Guillaume Ayoub +# Copyright © 2011-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale.py b/radicale.py index 3fd6ad0..619aca5 100755 --- a/radicale.py +++ b/radicale.py @@ -2,9 +2,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale.wsgi b/radicale.wsgi index ef93053..0520dc6 100755 --- a/radicale.wsgi +++ b/radicale.wsgi @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2011-2012 Guillaume Ayoub +# Copyright © 2011-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/__init__.py b/radicale/__init__.py index 64895e4..64f526e 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/__main__.py b/radicale/__main__.py index 3aaa176..a94178c 100644 --- a/radicale/__main__.py +++ b/radicale/__main__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2011-2012 Guillaume Ayoub +# Copyright © 2011-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/auth/IMAP.py b/radicale/auth/IMAP.py index 64a7029..24c0d06 100644 --- a/radicale/auth/IMAP.py +++ b/radicale/auth/IMAP.py @@ -2,6 +2,8 @@ # # This file is part of Radicale Server - Calendar Server # Copyright © 2012 Daniel Aleksandersen +# Copyright © 2013 Nikita Koshikov +# Copyright © 2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/auth/LDAP.py b/radicale/auth/LDAP.py index bf77237..9247387 100644 --- a/radicale/auth/LDAP.py +++ b/radicale/auth/LDAP.py @@ -2,7 +2,7 @@ # # This file is part of Radicale Server - Calendar Server # Copyright © 2011 Corentin Le Bail -# Copyright © 2011-2012 Guillaume Ayoub +# Copyright © 2011-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/auth/__init__.py b/radicale/auth/__init__.py index 4805cc9..5e7c01b 100644 --- a/radicale/auth/__init__.py +++ b/radicale/auth/__init__.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/auth/htpasswd.py b/radicale/auth/htpasswd.py index 79a4b52..f3ef89d 100644 --- a/radicale/auth/htpasswd.py +++ b/radicale/auth/htpasswd.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/auth/http.py b/radicale/auth/http.py index 8b07cf7..76adf56 100644 --- a/radicale/auth/http.py +++ b/radicale/auth/http.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2011 Corentin Le Bail -# Copyright © 2011-2012 Guillaume Ayoub +# Copyright © 2012 Ehsanul Hoque +# Copyright © 2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/config.py b/radicale/config.py index e20aeb1..943f88e 100644 --- a/radicale/config.py +++ b/radicale/config.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub +# Copyright © 2008-2013 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter # diff --git a/radicale/ical.py b/radicale/ical.py index 62b61cb..27fd5c6 100644 --- a/radicale/ical.py +++ b/radicale/ical.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/log.py b/radicale/log.py index 4951c3d..b81853a 100644 --- a/radicale/log.py +++ b/radicale/log.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2011-2012 Guillaume Ayoub +# Copyright © 2011-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/rights/__init__.py b/radicale/rights/__init__.py index c2c1e22..78ee026 100644 --- a/radicale/rights/__init__.py +++ b/radicale/rights/__init__.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/rights/from_file.py b/radicale/rights/from_file.py index ffe9e0c..02c3821 100644 --- a/radicale/rights/from_file.py +++ b/radicale/rights/from_file.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,9 +50,11 @@ from radicale.rights import owner_only # Manage Python2/3 different modules # pylint: disable=F0401 try: - from configparser import RawConfigParser as ConfigParser, NoSectionError, NoOptionError + from configparser import ( + RawConfigParser as ConfigParser, NoSectionError, NoOptionError) except ImportError: - from ConfigParser import RawConfigParser as ConfigParser, NoSectionError, NoOptionError + from ConfigParser import ( + RawConfigParser as ConfigParser, NoSectionError, NoOptionError) # pylint: enable=F0401 @@ -78,6 +80,7 @@ def read_authorized(user, collection): except (NoSectionError, NoOptionError): return False + def write_authorized(user, collection): """Check if the user is allowed to write the collection.""" if user is None: diff --git a/radicale/rights/owner_only.py b/radicale/rights/owner_only.py index 0878220..ec4fb5a 100644 --- a/radicale/rights/owner_only.py +++ b/radicale/rights/owner_only.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/rights/owner_write.py b/radicale/rights/owner_write.py index ff65648..6031ad4 100644 --- a/radicale/rights/owner_write.py +++ b/radicale/rights/owner_write.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/storage/__init__.py b/radicale/storage/__init__.py index b28b69e..ca9dad3 100644 --- a/radicale/storage/__init__.py +++ b/radicale/storage/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/storage/filesystem.py b/radicale/storage/filesystem.py index 4ef53a6..aa97c23 100644 --- a/radicale/storage/filesystem.py +++ b/radicale/storage/filesystem.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 9abed83..a2141a4 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2008-2012 Guillaume Ayoub # Copyright © 2008 Nicolas Kandel # Copyright © 2008 Pascal Halter +# Copyright © 2008-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/setup.py b/setup.py index a8d1894..efe7b75 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2009-2012 Guillaume Ayoub +# Copyright © 2009-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/tests/__init__.py b/tests/__init__.py index 88f62cd..6ef1413 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/tests/test_base.py b/tests/test_base.py index 10adbd5..dfc375a 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Radicale Server - Calendar Server -# Copyright © 2012 Guillaume Ayoub +# Copyright © 2012-2013 Guillaume Ayoub # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by