--- a/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -2,7 +2,7 @@
relations between entitites.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: Library General Public License version 2 - http://www.gnu.org/licenses
"""
--- a/__pkginfo__.py Thu May 28 08:06:12 2009 +0200
+++ b/__pkginfo__.py Thu May 28 09:20:07 2009 +0200
@@ -1,6 +1,7 @@
# pylint: disable-msg=W0622,C0103
"""cubicweb global packaging information for the cubicweb knowledge management
software
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
distname = "cubicweb"
--- a/_exceptions.py Thu May 28 08:06:12 2009 +0200
+++ b/_exceptions.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/appobject.py Thu May 28 08:06:12 2009 +0200
+++ b/appobject.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Base class for dynamically loaded objects manipulated in the web interface
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/common/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
hg stserver side and on the client side
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.common.adbh import FunctionDescr
--- a/common/appobject.py Thu May 28 08:06:12 2009 +0200
+++ b/common/appobject.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""pre 3.2 bw compat"""
+"""pre 3.2 bw compat
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.appobject', DeprecationWarning, stacklevel=2)
--- a/common/entity.py Thu May 28 08:06:12 2009 +0200
+++ b/common/entity.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""pre 3.2 bw compat"""
+"""pre 3.2 bw compat
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.entity', DeprecationWarning, stacklevel=2)
--- a/common/i18n.py Thu May 28 08:06:12 2009 +0200
+++ b/common/i18n.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Some i18n/gettext utilities.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/mail.py Thu May 28 08:06:12 2009 +0200
+++ b/common/mail.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Common utilies to format / semd emails.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/migration.py Thu May 28 08:06:12 2009 +0200
+++ b/common/migration.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
version
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/mixins.py Thu May 28 08:06:12 2009 +0200
+++ b/common/mixins.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/mttransforms.py Thu May 28 08:06:12 2009 +0200
+++ b/common/mttransforms.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""mime type transformation engine for cubicweb, based on mtconverter
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/common/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""pre 3.0 bw compat"""
+"""pre 3.0 bw compat
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.schema', DeprecationWarning, stacklevel=2)
--- a/common/selectors.py Thu May 28 08:06:12 2009 +0200
+++ b/common/selectors.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""pre 3.2 bw compat"""
+"""pre 3.2 bw compat
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.selectors', DeprecationWarning, stacklevel=2)
--- a/common/tags.py Thu May 28 08:06:12 2009 +0200
+++ b/common/tags.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""helper classes to generate simple (X)HTML tags
:organization: Logilab
-:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/test/data/migration/0.0.3_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.0.3_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
coucou
--- a/common/test/data/migration/0.0.4_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.0.4_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
coucou
--- a/common/test/data/migration/0.1.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.1.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
coucou
--- a/common/test/data/migration/0.1.0_common.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.1.0_common.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""common to all configuration"""
+"""common to all configuration
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/common/test/data/migration/0.1.0_repository.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.1.0_repository.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""repository specific"""
+"""repository specific
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/common/test/data/migration/0.1.0_web.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.1.0_web.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""web only"""
+"""web only
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/common/test/data/migration/0.1.2_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/migration/0.1.2_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
coucou
--- a/common/test/data/server_migration/bootstrapmigration_repository.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/data/server_migration/bootstrapmigration_repository.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""allways executed before all others in server migration"""
+"""allways executed before all others in server migration
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/common/test/unittest_mail.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/unittest_mail.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""unit tests for module cubicweb.common.mail"""
+"""unit tests for module cubicweb.common.mail
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os
import pwd
--- a/common/test/unittest_migration.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/unittest_migration.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb.common.migration unit tests"""
+"""cubicweb.common.migration unit tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from os.path import abspath
from logilab.common.testlib import TestCase, unittest_main
--- a/common/test/unittest_mixins.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/unittest_mixins.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from cubicweb.devtools.apptest import EnvBasedTC
--- a/common/test/unittest_uilib.py Thu May 28 08:06:12 2009 +0200
+++ b/common/test/unittest_uilib.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""unittests for cubicweb.common.uilib"""
+"""unittests for cubicweb.common.uilib
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
__docformat__ = "restructuredtext en"
--- a/common/uilib.py Thu May 28 08:06:12 2009 +0200
+++ b/common/uilib.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
contains some functions designed to help implementation of cubicweb user interface
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/common/utils.py Thu May 28 08:06:12 2009 +0200
+++ b/common/utils.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""pre 3.2 bw compat"""
+"""pre 3.2 bw compat
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.utils', DeprecationWarning, stacklevel=2)
--- a/common/view.py Thu May 28 08:06:12 2009 +0200
+++ b/common/view.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""pre 3.2 bw compat"""
+"""pre 3.2 bw compat
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.view', DeprecationWarning, stacklevel=2)
--- a/cwconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/cwconfig.py Thu May 28 09:20:07 2009 +0200
@@ -2,13 +2,14 @@
"""common configuration utilities for cubicweb
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
.. envvar:: CW_CUBES_PATH
Augments the default search path for cubes
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/cwctl.py Thu May 28 08:06:12 2009 +0200
+++ b/cwctl.py Thu May 28 09:20:07 2009 +0200
@@ -1,6 +1,7 @@
"""%%prog %s [options] %s
CubicWeb main applications controller.
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
%s"""
import sys
--- a/cwvreg.py Thu May 28 08:06:12 2009 +0200
+++ b/cwvreg.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""extend the generic VRegistry with some cubicweb specific stuff
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/dbapi.py Thu May 28 08:06:12 2009 +0200
+++ b/dbapi.py Thu May 28 09:20:07 2009 +0200
@@ -5,8 +5,9 @@
(most parts of this document are reported here in docstrings)
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Test tools for cubicweb
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/_apptest.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/_apptest.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Hidden internals for the devtools.apptest module
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/apptest.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/apptest.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""This module provides misc utilities to test applications
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/cwtwill.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/cwtwill.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""cubicweb extensions for twill
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import re
--- a/devtools/devctl.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/devctl.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
cubes development
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/fake.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/fake.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Fake objects to ease testing of cubicweb without a fully working environment
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/fill.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/fill.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
"""This modules defines func / methods for creating test repositories
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/htmlparser.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/htmlparser.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""defines a validating HTML parser used in web application tests"""
+"""defines a validating HTML parser used in web application tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import re
--- a/devtools/livetest.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/livetest.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""provide utilies for web (live) unit testing
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import socket
--- a/devtools/migrtest.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/migrtest.py Thu May 28 09:20:07 2009 +0200
@@ -27,11 +27,12 @@
The permissions on .pgpass must disallow any access to world or group;
achieve this by the command chmod 0600 ~/.pgpass. If the permissions
-are less strict than this, the file will be ignored.
+are less strict than this, the file will be ignored.
:organization: Logilab
-:copyright: 2001-2006 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/pkginfo.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/pkginfo.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""distutils / __pkginfo__ helpers for cubicweb applications"""
+"""distutils / __pkginfo__ helpers for cubicweb applications
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os
from os.path import isdir, join
--- a/devtools/repotest.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/repotest.py Thu May 28 09:20:07 2009 +0200
@@ -3,8 +3,9 @@
This module contains functions to initialize a new repository.
:organization: Logilab
-:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/devtools/stresstester.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/stresstester.py Thu May 28 09:20:07 2009 +0200
@@ -21,8 +21,9 @@
-o / --report-output <filename>
Write profiler report into <filename> rather than on stdout
-Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__revision__ = "$Id: stresstester.py,v 1.3 2006-03-05 14:35:27 syt Exp $"
--- a/devtools/test/data/schema/custom.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/test/data/schema/custom.py Thu May 28 09:20:07 2009 +0200
@@ -1,2 +1,9 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
Person = import_erschema('Person')
Person.add_relation(Date(), 'birthday')
--- a/devtools/test/data/views/bug.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/test/data/views/bug.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""only for unit tests !"""
+"""only for unit tests !
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.view import EntityView
from cubicweb.selectors import implements
--- a/devtools/test/unittest_dbfill.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/test/unittest_dbfill.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: iso-8859-1 -*-
-"""unit tests for database value generator"""
+"""unit tests for database value generator
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os.path as osp
import re
--- a/devtools/test/unittest_fill.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/test/unittest_fill.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""unit tests for cubicweb.devtools.fill module"""
+"""unit tests for cubicweb.devtools.fill module
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
--- a/devtools/test/unittest_testlib.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/test/unittest_testlib.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""unittests for gct.apptest module"""
+"""unittests for gct.apptest module
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cStringIO import StringIO
from unittest import TestSuite
--- a/devtools/testlib.py Thu May 28 08:06:12 2009 +0200
+++ b/devtools/testlib.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""this module contains base classes for web tests
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/doc/book/en/conf.py Thu May 28 08:06:12 2009 +0200
+++ b/doc/book/en/conf.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
#
# Cubicweb documentation build configuration file, created by
# sphinx-quickstart on Fri Oct 31 09:10:36 2008.
--- a/doc/book/fr/conf.py Thu May 28 08:06:12 2009 +0200
+++ b/doc/book/fr/conf.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
#
# Cubicweb documentation build configuration file, created by
# sphinx-quickstart on Fri Oct 31 09:10:36 2008.
--- a/doc/book/mode_plan.py Thu May 28 08:06:12 2009 +0200
+++ b/doc/book/mode_plan.py Thu May 28 09:20:07 2009 +0200
@@ -5,6 +5,7 @@
>>> ren('A01','A03')
rename A010-joe.en.txt to A030-joe.en.txt
accept [y/N]?
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
def ren(a,b):
--- a/doc/tools/generate_modules.py Thu May 28 08:06:12 2009 +0200
+++ b/doc/tools/generate_modules.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""generate list of modules for sphinx doc"""
+"""generate list of modules for sphinx doc
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
--- a/entities/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""base application's entities class implementation: `AnyEntity`
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/entities/authobjs.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/authobjs.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""entity classes user and group entities
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/entities/lib.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/lib.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""entity classes for optional library entities
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/entities/schemaobjs.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/schemaobjs.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""schema definition related entities
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/entities/test/data/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/test/data/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Company(EntityType):
name = String()
--- a/entities/test/unittest_base.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/test/unittest_base.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""unit tests for cubicweb.entities.base module"""
+"""unit tests for cubicweb.entities.base module
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from logilab.common.decorators import clear_cache
--- a/entities/wfobjs.py Thu May 28 08:06:12 2009 +0200
+++ b/entities/wfobjs.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""workflow definition and history related entities
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/entity.py Thu May 28 08:06:12 2009 +0200
+++ b/entity.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Base class for entity objects manipulated in clients
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/etwist/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/etwist/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,2 +1,8 @@
-""" CW - nevow/twisted client """
+""" CW - nevow/twisted client
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
+
--- a/etwist/request.py Thu May 28 08:06:12 2009 +0200
+++ b/etwist/request.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Twisted request handler for CubicWeb
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/etwist/server.py Thu May 28 08:06:12 2009 +0200
+++ b/etwist/server.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""twisted server for CubicWeb web applications
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/etwist/test/unittest_server.py Thu May 28 08:06:12 2009 +0200
+++ b/etwist/test/unittest_server.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools.apptest import EnvBasedTC
from cubicweb.etwist.server import host_prefixed_baseurl
--- a/etwist/twconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/etwist/twconfig.py Thu May 28 09:20:07 2009 +0200
@@ -8,8 +8,9 @@
if the repository part of the software is installed
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/etwist/twctl.py Thu May 28 08:06:12 2009 +0200
+++ b/etwist/twctl.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""cubicweb-clt handlers for twisted
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import sys
--- a/ext/html4zope.py Thu May 28 08:06:12 2009 +0200
+++ b/ext/html4zope.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# Author: David Goodger
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# Contact: goodger@users.sourceforge.net
# Revision: $Revision: 1.2 $
# Date: $Date: 2005-07-04 16:36:50 $
--- a/ext/rest.py Thu May 28 08:06:12 2009 +0200
+++ b/ext/rest.py Thu May 28 09:20:07 2009 +0200
@@ -13,8 +13,9 @@
* `sourcecode` (if pygments is installed), source code colorization
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/ext/tal.py Thu May 28 08:06:12 2009 +0200
+++ b/ext/tal.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""provides simpleTAL extensions for CubicWeb
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/ext/test/unittest_rest.py Thu May 28 08:06:12 2009 +0200
+++ b/ext/test/unittest_rest.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from cubicweb.devtools.apptest import EnvBasedTC
--- a/gettext.py Thu May 28 08:06:12 2009 +0200
+++ b/gettext.py Thu May 28 09:20:07 2009 +0200
@@ -8,6 +8,7 @@
languages. L10N refers to the adaptation of your program, once
internationalized, to the local language and cultural habits.
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
# This module represents the integration of work, contributions, feedback, and
--- a/goa/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""cubicweb on google appengine
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/appobjects/components.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/appobjects/components.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""overrides some base views for cubicweb on google appengine
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/appobjects/dbmgmt.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/appobjects/dbmgmt.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
restoration).
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/appobjects/gauthservice.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/appobjects/gauthservice.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""authentication using google authentication service
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/appobjects/sessions.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/appobjects/sessions.py Thu May 28 09:20:07 2009 +0200
@@ -1,12 +1,13 @@
"""persistent sessions stored in big table
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
XXX TODO:
* cleanup persistent session
* use user as ancestor?
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/db.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/db.py Thu May 28 09:20:07 2009 +0200
@@ -25,8 +25,9 @@
* XXX ListProperty
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/dbinit.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/dbinit.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""some utility functions for datastore initialization.
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/dbmyams.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/dbmyams.py Thu May 28 09:20:07 2009 +0200
@@ -6,8 +6,9 @@
XXX proprify this knowing we'll use goa.db
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from os.path import join
--- a/goa/gaesource.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/gaesource.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Adapter for google appengine source.
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/goaconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/goaconfig.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""google appengine configuration
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/goactl.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/goactl.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""cubicweb on appengine plugins for cubicweb-ctl
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/goavreg.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/goavreg.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""goa specific registry
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/overrides/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/overrides/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
# server.__init__
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/goa/overrides/mttransforms.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/overrides/mttransforms.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""mime type transformation engine for cubicweb, based on mtconverter
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/overrides/rqlannotation.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/overrides/rqlannotation.py Thu May 28 09:20:07 2009 +0200
@@ -1,7 +1,8 @@
"""
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/overrides/server__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/overrides/server__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# server debugging flag
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
DEBUG = False
# sqlite'stored procedures have to be registered at connexion opening time
--- a/goa/overrides/server_utils.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/overrides/server_utils.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class RepoThread(object):
def __init__(self, *args):
--- a/goa/overrides/toolsutils.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/overrides/toolsutils.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
from cubicweb import warning
--- a/goa/rqlinterpreter.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/rqlinterpreter.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""provide a minimal RQL support for google appengine dbmodel
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/skel/custom.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/skel/custom.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
def postinit(vreg):
"""this callback is called at the end of initialization process
and can be used to load explicit modules (views or entities).
--- a/goa/skel/loader.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/skel/loader.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
if __name__ == '__main__':
from os.path import dirname, abspath
--- a/goa/skel/main.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/skel/main.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
to change anything here.
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/skel/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/skel/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.schema import format_constraint
class Blog(EntityType):
--- a/goa/skel/views.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/skel/views.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# custom application views
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from datetime import date
from cubicweb.utils import last_day
--- a/goa/test/data/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/data/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""zou"""
+"""zou
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/goa/test/data/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/data/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class YamsEntity(EntityType):
--- a/goa/test/data/settings.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/data/settings.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
TEMPLATE_DEBUG = False
--- a/goa/test/data/views.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/data/views.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os
os.environ["DJANGO_SETTINGS_MODULE"] = 'data.settings'
--- a/goa/test/pytestconf.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/pytestconf.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,5 @@
"""this pytestconf automatically adds the mx's python version in the PYTHONPATH
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import sys
import os.path as osp
--- a/goa/test/unittest_db.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/unittest_db.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.goa.testlib import *
from cubicweb import Binary
--- a/goa/test/unittest_editcontroller.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/unittest_editcontroller.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.goa.testlib import *
from urllib import unquote
--- a/goa/test/unittest_metadata.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/unittest_metadata.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.goa.testlib import *
import time
--- a/goa/test/unittest_rql.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/unittest_rql.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.goa.testlib import *
from cubicweb import Binary
--- a/goa/test/unittest_schema.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/unittest_schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.goa.testlib import *
class Article(db.Model):
--- a/goa/test/unittest_views.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/test/unittest_views.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.goa.testlib import *
from cubicweb.interfaces import ICalendarable
--- a/goa/testlib.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/testlib.py Thu May 28 09:20:07 2009 +0200
@@ -1,7 +1,8 @@
"""
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/goa/tools/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/tools/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""lax tools cube"""
+"""lax tools cube
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/goa/tools/generate_schema_img.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/tools/generate_schema_img.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
from os.path import dirname, abspath, join
from yams import schema2dot
--- a/goa/tools/laxctl.py Thu May 28 08:06:12 2009 +0200
+++ b/goa/tools/laxctl.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""provides all lax instances management commands into a single utility script
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/hercule.py Thu May 28 08:06:12 2009 +0200
+++ b/hercule.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""RQL client for cubicweb, connecting to application using pyro
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/interfaces.py Thu May 28 08:06:12 2009 +0200
+++ b/interfaces.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for entities implementing IDownloadable
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/md5crypt.py Thu May 28 08:06:12 2009 +0200
+++ b/md5crypt.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
#########################################################
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# md5crypt.py
#
# 0423.2000 by michal wallace http://www.sabren.com/
--- a/misc/cwdesklets/rqlsensor/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/cwdesklets/rqlsensor/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import webbrowser
reload(webbrowser)
--- a/misc/cwfs/cwfs.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/cwfs/cwfs.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Schema :
def __init__(self, schema) :
--- a/misc/cwfs/cwfs_test.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/cwfs/cwfs_test.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
import cubicwebfs
--- a/misc/cwzope/cwzope.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/cwzope/cwzope.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from AccessControl import getSecurityManager
from cubicweb.dbapi import connect, Connection, Cursor
--- a/misc/migration/2.42.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.42.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,2 +1,9 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
synchronize_rschema('created_by')
synchronize_rschema('owned_by')
--- a/misc/migration/2.42.1_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.42.1_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
if confirm('remove deprecated database constraints?'):
execute = session.system_sql
session.set_pool()
--- a/misc/migration/2.43.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.43.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
synchronize_permissions('EmailAddress')
--- a/misc/migration/2.44.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.44.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
change_relation_props('CWAttribute', 'cardinality', 'String', internationalizable=True)
change_relation_props('CWRelation', 'cardinality', 'String', internationalizable=True)
--- a/misc/migration/2.45.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.45.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# following functions have been renamed, but keep old definition for bw compat
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
sql('''CREATE AGGREGATE group_concat (
basetype = anyelement,
sfunc = array_append,
--- a/misc/migration/2.46.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.46.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
rql('SET X value "navtop" WHERE X pkey ~= "contentnavigation.%.context", X value "header"')
--- a/misc/migration/2.47.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.47.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
synchronize_permissions('primary_email')
synchronize_rschema('wf_info_for')
synchronize_rschema('use_email')
--- a/misc/migration/2.48.8_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.48.8_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,2 +1,9 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
for etype in ('CWRType', 'CWAttribute', 'CWRelation', 'CWConstraint', 'CWConstraintType'):
synchronize_permissions(etype)
--- a/misc/migration/2.49.3_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.49.3_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
add_entity_type('Decimal')
--- a/misc/migration/2.50.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.50.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
add_relation_type('specializes')
--- a/misc/migration/2.99.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/2.99.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb import CW_MIGRATION_MAP
for pk, in rql('Any K WHERE X is CWProperty, X pkey IN (%s), X pkey K'
--- a/misc/migration/3.1.5_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/3.1.5_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
synchronize_permissions('condition')
--- a/misc/migration/3.2.0_Any.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/3.2.0_Any.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
rql('SET X value "main-template" WHERE X is CWProperty, '
'X pkey "ui.main-template", X value "main"')
checkpoint()
--- a/misc/migration/bootstrapmigration_repository.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/bootstrapmigration_repository.py Thu May 28 09:20:07 2009 +0200
@@ -3,8 +3,9 @@
it should only include low level schema changes
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
if applcubicwebversion < (3, 2, 2) and cubicwebversion >= (3, 2, 1):
--- a/misc/migration/postcreate.py Thu May 28 08:06:12 2009 +0200
+++ b/misc/migration/postcreate.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb post creation script, set user's workflow"""
+"""cubicweb post creation script, set user's workflow
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
activatedeid = add_state(_('activated'), 'CWUser', initial=True)
deactivatedeid = add_state(_('deactivated'), 'CWUser')
--- a/rset.py Thu May 28 08:06:12 2009 +0200
+++ b/rset.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""The `ResultSet` class which is returned as result of a rql query
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/rtags.py Thu May 28 08:06:12 2009 +0200
+++ b/rtags.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""relation tags store
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""classes to define schemas for CubicWeb
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/schemas/Bookmark.py Thu May 28 08:06:12 2009 +0200
+++ b/schemas/Bookmark.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Bookmark(MetaUserEntityType):
"""define an entity type, used to build the application schema"""
--- a/schemas/base.py Thu May 28 08:06:12 2009 +0200
+++ b/schemas/base.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""core CubicWeb schema, but not necessary at bootstrap time
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/schemas/bootstrap.py Thu May 28 08:06:12 2009 +0200
+++ b/schemas/bootstrap.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""core CubicWeb schema necessary for bootstrapping the actual application's schema
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from cubicweb.schema import format_constraint
--- a/schemas/workflow.py Thu May 28 08:06:12 2009 +0200
+++ b/schemas/workflow.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""workflow related schemas
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
class State(MetaEntityType):
--- a/schemaviewer.py Thu May 28 08:06:12 2009 +0200
+++ b/schemaviewer.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""an helper class to display CubicWeb schema using ureports
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/selectors.py Thu May 28 08:06:12 2009 +0200
+++ b/selectors.py Thu May 28 09:20:07 2009 +0200
@@ -36,8 +36,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/server/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
This module contains functions to initialize a new repository.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/checkintegrity.py Thu May 28 08:06:12 2009 +0200
+++ b/server/checkintegrity.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
is checked.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/hookhelper.py Thu May 28 08:06:12 2009 +0200
+++ b/server/hookhelper.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""helper functions for application hooks
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/hooks.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
entities...
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/hooksmanager.py Thu May 28 08:06:12 2009 +0200
+++ b/server/hooksmanager.py Thu May 28 09:20:07 2009 +0200
@@ -23,8 +23,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/migractions.py Thu May 28 08:06:12 2009 +0200
+++ b/server/migractions.py Thu May 28 09:20:07 2009 +0200
@@ -11,8 +11,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/msplanner.py Thu May 28 08:06:12 2009 +0200
+++ b/server/msplanner.py Thu May 28 09:20:07 2009 +0200
@@ -70,8 +70,9 @@
:organization: Logilab
-:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/mssteps.py Thu May 28 08:06:12 2009 +0200
+++ b/server/mssteps.py Thu May 28 09:20:07 2009 +0200
@@ -6,8 +6,9 @@
for now)
:organization: Logilab
-:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/pool.py Thu May 28 08:06:12 2009 +0200
+++ b/server/pool.py Thu May 28 09:20:07 2009 +0200
@@ -11,8 +11,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/querier.py Thu May 28 08:06:12 2009 +0200
+++ b/server/querier.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
security checking and data aggregation.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/repository.py Thu May 28 08:06:12 2009 +0200
+++ b/server/repository.py Thu May 28 09:20:07 2009 +0200
@@ -11,8 +11,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/rqlannotation.py Thu May 28 08:06:12 2009 +0200
+++ b/server/rqlannotation.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
code generation.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/rqlrewrite.py Thu May 28 08:06:12 2009 +0200
+++ b/server/rqlrewrite.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""RQL rewriting utilities, used for read security checking
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from rql import nodes, stmts, TypeResolverException
--- a/server/schemahooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/schemahooks.py Thu May 28 09:20:07 2009 +0200
@@ -6,8 +6,9 @@
checking for schema consistency is done in hooks.py
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/schemaserial.py Thu May 28 08:06:12 2009 +0200
+++ b/server/schemaserial.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""functions for schema / permissions (de)serialization using RQL
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/securityhooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/securityhooks.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
the user connected to a session
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/server.py Thu May 28 08:06:12 2009 +0200
+++ b/server/server.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Pyro RQL server
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/serverconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/server/serverconfig.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""server.serverconfig definition
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/serverctl.py Thu May 28 08:06:12 2009 +0200
+++ b/server/serverctl.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""cubicweb-ctl commands and command handlers specific to the server.serverconfig
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/session.py Thu May 28 08:06:12 2009 +0200
+++ b/server/session.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Repository users' and internal' sessions.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/sources/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sources/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""cubicweb server sources support
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/sources/extlite.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sources/extlite.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""provide an abstract class for external sources using a sqlite database helper
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/sources/ldapuser.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sources/ldapuser.py Thu May 28 09:20:07 2009 +0200
@@ -3,7 +3,7 @@
this source is for now limited to a read-only CWUser source
:organization: Logilab
-:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
@@ -18,6 +18,7 @@
WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
FOR A PARTICULAR PURPOSE.
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from base64 import b64decode
--- a/server/sources/native.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sources/native.py Thu May 28 09:20:07 2009 +0200
@@ -7,8 +7,9 @@
it for fast querying.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/sources/pyrorql.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sources/pyrorql.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Source to query another RQL repository using pyro
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/sources/rql2sql.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sources/rql2sql.py Thu May 28 09:20:07 2009 +0200
@@ -25,8 +25,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/sqlutils.py Thu May 28 08:06:12 2009 +0200
+++ b/server/sqlutils.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""SQL utilities functions and classes.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/ssplanner.py Thu May 28 08:06:12 2009 +0200
+++ b/server/ssplanner.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""plan execution of rql queries on a single source
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/server/test/data/config1/application_hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/config1/application_hooks.py Thu May 28 09:20:07 2009 +0200
@@ -2,6 +2,7 @@
Copyright (c) 2003-2007 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
HOOKS = {"after_add_relation" : {"concerned_by" : [lambda: None]}}
--- a/server/test/data/config2/application_hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/config2/application_hooks.py Thu May 28 09:20:07 2009 +0200
@@ -2,6 +2,7 @@
Copyright (c) 2003-2007 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
HOOKS = {"after_delete_relation" : {"todo_by" : [lambda: 1]}}
--- a/server/test/data/extern_mapping.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/extern_mapping.py Thu May 28 09:20:07 2009 +0200
@@ -1,2 +1,9 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
support_entities = {'Card': True, 'Affaire': True, 'State': True}
support_relations = {'in_state': True, 'documented_by': True, 'multisource_inlined_rel': True}
--- a/server/test/data/hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/hooks.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.server.hooksmanager import SystemHook
CALLED_EVENTS = {}
--- a/server/test/data/migration/postcreate.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/migration/postcreate.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb post creation script, set note's workflow"""
+"""cubicweb post creation script, set note's workflow
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
todoeid = add_state(u'todo', 'Note', initial=True)
doneeid = add_state(u'done', 'Note')
--- a/server/test/data/migrschema/Affaire.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/migrschema/Affaire.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Affaire(EntityType):
permissions = {
--- a/server/test/data/migrschema/Folder2.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/migrschema/Folder2.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.schema import format_constraint
class Folder2(MetaUserEntityType):
--- a/server/test/data/migrschema/Note.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/migrschema/Note.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Note(EntityType):
permissions = {'read': ('managers', 'users', 'guests',),
--- a/server/test/data/schema/Affaire.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/schema/Affaire.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.schema import format_constraint
class Affaire(WorkflowableEntityType):
--- a/server/test/data/schema/Societe.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/schema/Societe.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Societe(EntityType):
permissions = {
'read': ('managers', 'users', 'guests'),
--- a/server/test/data/schema/custom.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/schema/custom.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class test(AttributeRelationType):
--- a/server/test/data/schema/note.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/schema/note.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class para(AttributeRelationType):
permissions = {
--- a/server/test/data/site_erudi.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/data/site_erudi.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.adbh import FunctionDescr
from rql.utils import register_function
--- a/server/test/unittest_checkintegrity.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_checkintegrity.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
from StringIO import StringIO
from logilab.common.testlib import TestCase, unittest_main
--- a/server/test/unittest_config.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_config.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""tests for server config"""
+"""tests for server config
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from os.path import join, dirname
--- a/server/test/unittest_hookhelper.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_hookhelper.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""unit/functional tests for cubicweb.server.hookhelper"""
+"""unit/functional tests for cubicweb.server.hookhelper
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from cubicweb.devtools.apptest import RepositoryBasedTC
--- a/server/test/unittest_hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_hooks.py Thu May 28 09:20:07 2009 +0200
@@ -2,6 +2,7 @@
"""functional tests for core hooks
note: most schemahooks.py hooks are actually tested in unittest_migrations.py
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.common.testlib import TestCase, unittest_main
--- a/server/test/unittest_hooksmanager.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_hooksmanager.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,5 @@
"""unit tests for the hooks manager
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.common.testlib import TestCase, unittest_main
--- a/server/test/unittest_ldapuser.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_ldapuser.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb.server.sources.ldapusers unit and functional tests"""
+"""cubicweb.server.sources.ldapusers unit and functional tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main, mock_object
from cubicweb.devtools import init_test_database, TestServerConfiguration
--- a/server/test/unittest_migractions.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_migractions.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,5 @@
"""unit tests for module cubicweb.server.migractions
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from datetime import date
--- a/server/test/unittest_msplanner.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_msplanner.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.decorators import clear_cache
from cubicweb.devtools import init_test_database
from cubicweb.devtools.repotest import BasePlannerTC, do_monkey_patch, undo_monkey_patch, test_plan
--- a/server/test/unittest_multisources.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_multisources.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from os.path import dirname, join, abspath
from datetime import datetime, timedelta
--- a/server/test/unittest_querier.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_querier.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,6 @@
# -*- coding: iso-8859-1 -*-
"""unit tests for modules cubicweb.server.querier and cubicweb.server.querier_steps
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from datetime import date, datetime
--- a/server/test/unittest_repository.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_repository.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: iso-8859-1 -*-
-"""unit tests for module cubicweb.server.repository"""
+"""unit tests for module cubicweb.server.repository
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os
import sys
--- a/server/test/unittest_rql2sql.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_rql2sql.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
"""unit tests for module cubicweb.server.sources.rql2sql"""
--- a/server/test/unittest_rqlannotation.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_rqlannotation.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,6 @@
# -*- coding: iso-8859-1 -*-
"""unit tests for modules cubicweb.server.rqlannotation
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from cubicweb.devtools import init_test_database
--- a/server/test/unittest_rqlrewrite.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_rqlrewrite.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main, TestCase
from logilab.common.testlib import mock_object
--- a/server/test/unittest_schemaserial.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_schemaserial.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,5 @@
"""unit tests for schema rql (de)serialization
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import sys
--- a/server/test/unittest_security.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_security.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,5 @@
"""functional tests for server'security
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import sys
--- a/server/test/unittest_session.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_session.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main, mock_object
from cubicweb.server.session import _make_description
--- a/server/test/unittest_sqlutils.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_sqlutils.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,5 @@
"""unit tests for module cubicweb.server.sqlutils
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import sys
--- a/server/test/unittest_ssplanner.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_ssplanner.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools import init_test_database
from cubicweb.devtools.repotest import BasePlannerTC, test_plan
from cubicweb.server.ssplanner import SSPlanner
--- a/server/test/unittest_tools.py Thu May 28 08:06:12 2009 +0200
+++ b/server/test/unittest_tools.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
class ImportTC(TestCase):
--- a/server/utils.py Thu May 28 08:06:12 2009 +0200
+++ b/server/utils.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Some utilities for the CubicWeb server.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/setup.py Thu May 28 08:06:12 2009 +0200
+++ b/setup.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
#!/usr/bin/env python
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0142,W0403,W0404,W0613,W0622,W0622,W0704,R0904,C0103,E0611
#
# Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE).
--- a/skeleton/entities.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/entities.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""this contains the cube-specific entities' classes"""
+"""this contains the cube-specific entities' classes
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/skeleton/migration/postcreate.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/migration/postcreate.py Thu May 28 09:20:07 2009 +0200
@@ -1,2 +1,9 @@
# postcreate script. You could setup a workflow here for example
+"""
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
+
--- a/skeleton/migration/precreate.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/migration/precreate.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
# Instructions here will be read before reading the schema
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# You could create your own groups here, like in :
# add_entity('CWGroup', name=u'mygroup')
--- a/skeleton/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
# cube's specific schema
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/skeleton/setup.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/setup.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
#!/usr/bin/env python
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
# pylint: disable-msg=W0404,W0622,W0704,W0613,W0152
# Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
--- a/skeleton/test/pytestconf.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/test/pytestconf.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os
import pwd
--- a/skeleton/test/realdb_test_CUBENAME.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/test/realdb_test_CUBENAME.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools import buildconfig, loadconfig
from cubicweb.devtools.testlib import RealDBTest
--- a/skeleton/test/test_CUBENAME.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/test/test_CUBENAME.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""template automatic tests"""
+"""template automatic tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
--- a/skeleton/views.py Thu May 28 08:06:12 2009 +0200
+++ b/skeleton/views.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""cube-specific forms/views/actions/components"""
+"""cube-specific forms/views/actions/components
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/sobjects/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""server side objects"""
+"""server side objects
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/sobjects/email.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/email.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""hooks to ensure use_email / primary_email relations consistency
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/sobjects/hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/hooks.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""various library content hooks
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/sobjects/notification.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/notification.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""some hooks and views to handle notification on entity's changes
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/sobjects/supervising.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/supervising.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/sobjects/test/data/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/test/data/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class comments(RelationDefinition):
subject = 'Comment'
object = 'Card'
--- a/sobjects/test/data/sobjects/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/test/data/sobjects/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.selectors import implements
from cubicweb.sobjects.notification import StatusChangeMixIn, NotificationView
--- a/sobjects/test/unittest_email.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/test/unittest_email.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools.apptest import EnvBasedTC
class EmailAddressHooksTC(EnvBasedTC):
--- a/sobjects/test/unittest_hooks.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/test/unittest_hooks.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from cubicweb.devtools.apptest import EnvBasedTC
--- a/sobjects/test/unittest_notification.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/test/unittest_notification.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# -*- coding: iso-8859-1 -*-
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from socket import gethostname
from logilab.common.testlib import unittest_main, TestCase
--- a/sobjects/test/unittest_supervising.py Thu May 28 08:06:12 2009 +0200
+++ b/sobjects/test/unittest_supervising.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,11 @@
# -*- coding: iso-8859-1 -*-
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import re
from logilab.common.testlib import unittest_main
--- a/test/data/cubes/file/__pkginfo__.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/cubes/file/__pkginfo__.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# pylint: disable-msg=W0622
-"""cubicweb-file packaging information"""
+"""cubicweb-file packaging information
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
distname = "cubicweb-file"
modname = distname.split('-', 1)[1]
--- a/test/data/cubes/mycube/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/cubes/mycube/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,7 @@
-"""mycube's __init__"""
+"""mycube's __init__
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
--- a/test/data/cubes/mycube/__pkginfo__.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/cubes/mycube/__pkginfo__.py Thu May 28 09:20:07 2009 +0200
@@ -1,1 +1,8 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
distname = 'cubicweb-mycube'
--- a/test/data/entities.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/entities.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.entities import AnyEntity, fetch_config
class Societe(AnyEntity):
--- a/test/data/erqlexpr_on_ertype.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/erqlexpr_on_ertype.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class ToTo(EntityType):
permissions = {
'read': ('managers',),
--- a/test/data/rqlexpr_on_ertype_read.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/rqlexpr_on_ertype_read.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class ToTo(EntityType):
permissions = {
'read': ('managers',),
--- a/test/data/rrqlexpr_on_attr.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/rrqlexpr_on_attr.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class ToTo(EntityType):
permissions = {
'read': ('managers',),
--- a/test/data/rrqlexpr_on_eetype.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/rrqlexpr_on_eetype.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class ToTo(EntityType):
permissions = {
'read': ('managers', RRQLExpression('S bla Y'),),
--- a/test/data/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/test/data/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Personne(EntityType):
nom = String(required=True)
prenom = String()
--- a/test/unittest_cwconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_cwconfig.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
import os
from os.path import dirname, join, abspath
--- a/test/unittest_cwctl.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_cwctl.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
import os
from cStringIO import StringIO
--- a/test/unittest_dbapi.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_dbapi.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb import ConnectionError
from cubicweb.dbapi import ProgrammingError
from cubicweb.devtools.apptest import EnvBasedTC
--- a/test/unittest_entity.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_entity.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""unit tests for cubicweb.web.views.entities module"""
+"""unit tests for cubicweb.web.views.entities module
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from datetime import datetime
--- a/test/unittest_rset.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_rset.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# coding: utf-8
-"""unit tests for module cubicweb.common.utils"""
+"""unit tests for module cubicweb.common.utils
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from __future__ import with_statement
from logilab.common.testlib import TestCase, unittest_main
--- a/test/unittest_rtags.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_rtags.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
from cubicweb.rtags import RelationTags, RelationTagsSet
--- a/test/unittest_schema.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""unit tests for module cubicweb.schema"""
+"""unit tests for module cubicweb.schema
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
from os.path import join, isabs, basename, dirname
--- a/test/unittest_selectors.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_selectors.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""unit tests for selectors mechanism
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.common.testlib import TestCase, unittest_main
--- a/test/unittest_utils.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_utils.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""unit tests for module cubicweb.common.utils"""
+"""unit tests for module cubicweb.common.utils
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
--- a/test/unittest_vregistry.py Thu May 28 08:06:12 2009 +0200
+++ b/test/unittest_vregistry.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main, TestCase
from os.path import join
--- a/toolsutils.py Thu May 28 08:06:12 2009 +0200
+++ b/toolsutils.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""some utilities for cubicweb tools
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/utils.py Thu May 28 08:06:12 2009 +0200
+++ b/utils.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Some utilities for CubicWeb server/clients.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/view.py Thu May 28 08:06:12 2009 +0200
+++ b/view.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/vregistry.py Thu May 28 08:06:12 2009 +0200
+++ b/vregistry.py Thu May 28 09:20:07 2009 +0200
@@ -15,8 +15,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/web/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -3,8 +3,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/_exceptions.py Thu May 28 08:06:12 2009 +0200
+++ b/web/_exceptions.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
"""exceptions used in the core of the CubicWeb web application
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/action.py Thu May 28 08:06:12 2009 +0200
+++ b/web/action.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""abstract action classes for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/application.py Thu May 28 08:06:12 2009 +0200
+++ b/web/application.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""CubicWeb web client application object
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/box.py Thu May 28 08:06:12 2009 +0200
+++ b/web/box.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""abstract box classes for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/component.py Thu May 28 08:06:12 2009 +0200
+++ b/web/component.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""abstract component class and base components definition for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/controller.py Thu May 28 08:06:12 2009 +0200
+++ b/web/controller.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/facet.py Thu May 28 08:06:12 2009 +0200
+++ b/web/facet.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
a search
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
@@ -549,7 +550,7 @@
cssclass += ' overflowed'
self.w(u'<div class="facetBody%s">\n' % cssclass)
for item in self.items:
- item.render(self.w)
+ item.render(w=self.w)
self.w(u'</div>\n')
self.w(u'</div>\n')
--- a/web/form.py Thu May 28 08:06:12 2009 +0200
+++ b/web/form.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""abstract form classes for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/formfields.py Thu May 28 08:06:12 2009 +0200
+++ b/web/formfields.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""field classes for form construction
:organization: Logilab
-:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/formrenderers.py Thu May 28 08:06:12 2009 +0200
+++ b/web/formrenderers.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""form renderers, responsible to layout a form to html
:organization: Logilab
-:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/formwidgets.py Thu May 28 08:06:12 2009 +0200
+++ b/web/formwidgets.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""widget classes for form construction
:organization: Logilab
-:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/htmlwidgets.py Thu May 28 08:06:12 2009 +0200
+++ b/web/htmlwidgets.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
serialization time
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.mtconverter import html_escape
--- a/web/httpcache.py Thu May 28 08:06:12 2009 +0200
+++ b/web/httpcache.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/request.py Thu May 28 08:06:12 2009 +0200
+++ b/web/request.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""abstract class for http request
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/test/data/schema/testschema.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/data/schema/testschema.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
class Salesterm(EntityType):
described_by_test = SubjectRelation('File', cardinality='1*', composite='subject')
amount = Int(constraints=[IntervalBoundConstraint(0, 100)])
--- a/web/test/data/views.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/data/views.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.web import Redirect
from cubicweb.web.application import CubicWebPublisher
--- a/web/test/test_views.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/test_views.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""automatic tests"""
+"""automatic tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools.testlib import WebTest, AutomaticWebTest
from cubicweb.view import AnyRsetView
--- a/web/test/unittest_application.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_application.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: iso-8859-1 -*-
-"""unit tests for cubicweb.web.application"""
+"""unit tests for cubicweb.web.application
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
import base64, Cookie
--- a/web/test/unittest_controller.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_controller.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,6 @@
"""cubicweb.web.controller unit tests
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from datetime import datetime, date, time
--- a/web/test/unittest_form.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_form.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main, mock_object
from cubicweb import Binary
from cubicweb.devtools.testlib import WebTest
--- a/web/test/unittest_formfields.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_formfields.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""unittests for cw.web.formfields"""
+"""unittests for cw.web.formfields
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
--- a/web/test/unittest_magicsearch.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_magicsearch.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""Unit tests for magic_search service"""
+"""Unit tests for magic_search service
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import sys
--- a/web/test/unittest_urlpublisher.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_urlpublisher.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
-"""Unit tests for url publishing service"""
+"""Unit tests for url publishing service
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import re
--- a/web/test/unittest_urlrewrite.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_urlrewrite.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
from cubicweb.devtools._apptest import FakeRequest
--- a/web/test/unittest_views_actions.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_actions.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from cubicweb.devtools.apptest import EnvBasedTC
--- a/web/test/unittest_views_apacherewrite.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_apacherewrite.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
from cubicweb.web.views.apacherewrite import *
--- a/web/test/unittest_views_basecontrollers.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_basecontrollers.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb.web.views.basecontrollers unit tests"""
+"""cubicweb.web.views.basecontrollers unit tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import simplejson
from logilab.common.testlib import unittest_main, mock_object
--- a/web/test/unittest_views_baseforms.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_baseforms.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb.web.views.baseforms unit tests"""
+"""cubicweb.web.views.baseforms unit tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from StringIO import StringIO
from datetime import date
--- a/web/test/unittest_views_basetemplates.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_basetemplates.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools.testlib import WebTest
from cubicweb.devtools.htmlparser import DTDValidator
--- a/web/test/unittest_views_baseviews.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_baseviews.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from simplejson import loads
from logilab.common.testlib import unittest_main
--- a/web/test/unittest_views_editforms.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_editforms.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main
from cubicweb.devtools.apptest import EnvBasedTC
from cubicweb.devtools.testlib import WebTest
--- a/web/test/unittest_views_embeding.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_embeding.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
--- a/web/test/unittest_views_navigation.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_navigation.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb.web.views.navigation unit tests"""
+"""cubicweb.web.views.navigation unit tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import unittest_main, mock_object
from cubicweb.devtools.apptest import EnvBasedTC
--- a/web/test/unittest_views_searchrestriction.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_views_searchrestriction.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from cubicweb.devtools.apptest import EnvBasedTC
from cubicweb.web.facet import insert_attr_select_relation, prepare_facets_rqlst
--- a/web/test/unittest_viewselector.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_viewselector.py Thu May 28 09:20:07 2009 +0200
@@ -1,5 +1,6 @@
# -*- coding: iso-8859-1 -*-
"""XXX rename, split, reorganize this
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.common.testlib import unittest_main
--- a/web/test/unittest_web.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_web.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from logilab.common.testlib import TestCase, unittest_main
from cubicweb.web import ajax_replace_url as arurl
class AjaxReplaceUrlTC(TestCase):
--- a/web/test/unittest_webconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_webconfig.py Thu May 28 09:20:07 2009 +0200
@@ -1,3 +1,10 @@
+"""
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
import os
from logilab.common.testlib import TestCase, unittest_main
--- a/web/test/unittest_widgets.py Thu May 28 08:06:12 2009 +0200
+++ b/web/test/unittest_widgets.py Thu May 28 09:20:07 2009 +0200
@@ -1,4 +1,10 @@
-"""cubicweb.common.widget unit tests"""
+"""cubicweb.common.widget unit tests
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
+"""
from datetime import datetime
NOW = datetime.now()
--- a/web/uicfg.py Thu May 28 08:06:12 2009 +0200
+++ b/web/uicfg.py Thu May 28 09:20:07 2009 +0200
@@ -1,6 +1,3 @@
-# :organization: Logilab
-# :copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
-# :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""This module regroups a set of structures that may be used to configure
various places of the generated web interface.
@@ -63,6 +60,10 @@
Automatic form configuration
````````````````````````````
+:organization: Logilab
+:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Views, forms, actions... for the CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/actions.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/actions.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Set of HTML base actions
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/ajaxedit.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/ajaxedit.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Set of views allowing edition of entities/relations using ajax
:organization: Logilab
-:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/apacherewrite.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/apacherewrite.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
are much more limited for the moment)
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/authentication.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/authentication.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""user authentication component
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/autoform.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/autoform.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""The automatic entity form.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/basecomponents.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/basecomponents.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
* the logged user link
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/basecontrollers.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/basecontrollers.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/baseforms.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/baseforms.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
or a list of entities of the same type
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/basetemplates.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/basetemplates.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
"""default templates for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/baseviews.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/baseviews.py Thu May 28 09:20:07 2009 +0200
@@ -7,8 +7,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
#from __future__ import with_statement
__docformat__ = "restructuredtext en"
--- a/web/views/bookmark.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/bookmark.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Primary view for bookmarks + user's bookmarks box
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/boxes.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/boxes.py Thu May 28 09:20:07 2009 +0200
@@ -9,8 +9,9 @@
* startup views box
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/calendar.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/calendar.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""html calendar views
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
@@ -527,4 +528,3 @@
year=nextdate.year,
week=nextdate.isocalendar()[1])
return prevlink, nextlink
-
--- a/web/views/csvexport.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/csvexport.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""csv export views
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/cwproperties.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/cwproperties.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for CWProperty
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/cwuser.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/cwuser.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for users
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/debug.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/debug.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/editcontroller.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/editcontroller.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""The edit controller, handling form submitting.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/editforms.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/editforms.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
or a list of entities of the same type
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/editviews.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/editviews.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Some views used to help to the edition process
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/emailaddress.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/emailaddress.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for email addresses entities
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/embedding.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/embedding.py Thu May 28 09:20:07 2009 +0200
@@ -3,8 +3,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/error.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/error.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
as startup views and are used for standard error pages (404, 500, etc.)
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/facets.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/facets.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""the facets box and some basic facets
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/ibreadcrumbs.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/ibreadcrumbs.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""navigation components definition for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/idownloadable.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/idownloadable.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for entities implementing IDownloadable
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/igeocodable.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/igeocodable.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for entities implementing IGeocodable
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/iprogress.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/iprogress.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for entities implementing IProgress
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/isioc.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/isioc.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for SIOC interfaces
:organization: Logilab
-:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/magicsearch.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/magicsearch.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/management.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/management.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/massmailing.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/massmailing.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Mass mailing form views
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/navigation.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/navigation.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""navigation components definition for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/old_calendar.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/old_calendar.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""html calendar views
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from datetime import date, time, timedelta
--- a/web/views/owl.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/owl.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""produces some Ontology Web Language schema and views
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/plots.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/plots.py Thu May 28 09:20:07 2009 +0200
@@ -3,6 +3,7 @@
:organization: Logilab
:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/primary.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/primary.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""The default primary view
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/schema.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/schema.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Specific views for schema related entities
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/searchrestriction.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/searchrestriction.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
a search
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/sessions.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/sessions.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
object :/
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/startup.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/startup.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
apply to a result set.
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/tableview.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/tableview.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/tabs.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/tabs.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""base classes to handle tabbed views
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/timeline.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/timeline.py Thu May 28 09:20:07 2009 +0200
@@ -3,8 +3,9 @@
cf. http://code.google.com/p/simile-widgets/
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/timetable.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/timetable.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""html calendar views
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from logilab.mtconverter import html_escape
--- a/web/views/treeview.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/treeview.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Set of tree-building widgets, based on jQuery treeview plugin
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/urlpublishing.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/urlpublishing.py Thu May 28 09:20:07 2009 +0200
@@ -18,8 +18,9 @@
because of redirecting instead of direct traversal
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/urlrewrite.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/urlrewrite.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""Rules based url rewriter component, to get configurable RESTful urls
:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
import re
--- a/web/views/vcard.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/vcard.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""vcard import / export
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/wdoc.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/wdoc.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""inline help system, using ReST file in products `wdoc` directory
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/views/workflow.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/workflow.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
* workflow entities views (State, Transition, TrInfo)
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/xbel.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/xbel.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""xbel views
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/views/xmlrss.py Thu May 28 08:06:12 2009 +0200
+++ b/web/views/xmlrss.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""base xml and rss views
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
_ = unicode
--- a/web/webconfig.py Thu May 28 08:06:12 2009 +0200
+++ b/web/webconfig.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""common web configuration for twisted/modpython applications
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/webctl.py Thu May 28 08:06:12 2009 +0200
+++ b/web/webctl.py Thu May 28 09:20:07 2009 +0200
@@ -2,8 +2,9 @@
web configuration
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/web/widgets.py Thu May 28 08:06:12 2009 +0200
+++ b/web/widgets.py Thu May 28 09:20:07 2009 +0200
@@ -4,8 +4,9 @@
serialization time
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/wsgi/__init__.py Thu May 28 08:06:12 2009 +0200
+++ b/wsgi/__init__.py Thu May 28 09:20:07 2009 +0200
@@ -7,8 +7,9 @@
WSGI corresponding PEP: http://www.python.org/dev/peps/pep-0333/
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/wsgi/handler.py Thu May 28 08:06:12 2009 +0200
+++ b/wsgi/handler.py Thu May 28 09:20:07 2009 +0200
@@ -1,8 +1,9 @@
"""WSGI request handler for cubicweb
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"
--- a/wsgi/request.py Thu May 28 08:06:12 2009 +0200
+++ b/wsgi/request.py Thu May 28 09:20:07 2009 +0200
@@ -5,8 +5,9 @@
http://www.djangoproject.com/
:organization: Logilab
-:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
__docformat__ = "restructuredtext en"