Commit 7e52cabf authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[test] Replace symlinks in legacy_cubes by real copies

This solves a "python setup.py build" issue on my machine.
Copying these files should not be a big deal because they
have been dropped in the "default" branch and we would not
touch them in 3.26 branch.

--HG--
branch : 3.26
parent e5e4b6de1800
../libpython/cubicweb_i18ntestcube/
\ No newline at end of file
# pylint: disable=W0622
"""cubicweb i18n test cube application packaging information"""
modname = 'i18ntestcube'
distname = 'cubicweb-i18ntestcube'
numversion = (0, 1, 0)
version = '.'.join(str(num) for num in numversion)
license = 'LGPL'
author = 'LOGILAB S.A. (Paris, FRANCE)'
author_email = 'contact@logilab.fr'
description = 'forum'
web = 'http://www.cubicweb.org/project/%s' % distname
__depends__ = {'cubicweb': '>= 3.16.4',
}
__recommends__ = {}
msgid ""
msgstr ""
"Project-Id-Version: cubicweb 3.16.5\n"
"PO-Revision-Date: 2008-03-28 18:14+0100\n"
"Last-Translator: Logilab Team <contact@logilab.fr>\n"
"Language-Team: fr <contact@logilab.fr>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: cubicweb-devtools\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
# schema pot file, generated on 2013-07-12 16:18:12
#
# singular and plural forms for each entity type
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "Forum"
msgstr ""
msgid "Forum_plural"
msgstr ""
msgid "This Forum"
msgstr ""
msgid "This Forum:"
msgstr ""
msgid "New Forum"
msgstr ""
msgctxt "inlined:Forum.in_forum.object"
msgid "add a ForumThread"
msgstr ""
msgctxt "inlined:Forum.in_forum.object"
msgid "ForumThread"
msgstr ""
msgid "add ForumThread in_forum Forum object"
msgstr ""
msgid "add a Forum"
msgstr ""
msgid "add a ForumThread"
msgstr ""
msgid "creating ForumThread (ForumThread in_forum Forum %(linkto)s)"
msgstr ""
msgid "ForumThread"
msgstr ""
msgid "ForumThread_plural"
msgstr ""
msgid "This ForumThread"
msgstr ""
msgid "This ForumThread:"
msgstr ""
msgid "New ForumThread"
msgstr ""
msgid "content"
msgstr ""
msgctxt "ForumThread"
msgid "content"
msgstr ""
msgid "content_format"
msgstr ""
msgctxt "ForumThread"
msgid "content_format"
msgstr ""
msgctxt "Forum"
msgid "description"
msgstr ""
msgctxt "Forum"
msgid "description_format"
msgstr ""
msgid "ignore-me"
msgstr ""
msgid "in_forum"
msgstr ""
msgctxt "ForumThread"
msgid "in_forum"
msgstr ""
msgctxt "Forum"
msgid "in_forum_object"
msgstr ""
msgid "in_forum_object"
msgstr ""
msgid "interested_in"
msgstr ""
msgctxt "CWUser"
msgid "interested_in"
msgstr ""
msgctxt "ForumThread"
msgid "interested_in_object"
msgstr ""
msgctxt "Forum"
msgid "interested_in_object"
msgstr ""
msgid "interested_in_object"
msgstr ""
msgid "nosy_list"
msgstr ""
msgctxt "ForumThread"
msgid "nosy_list"
msgstr ""
msgctxt "Forum"
msgid "nosy_list"
msgstr ""
msgctxt "CWUser"
msgid "nosy_list_object"
msgstr ""
msgid "nosy_list_object"
msgstr ""
msgctxt "ForumThread"
msgid "title"
msgstr ""
msgid "topic"
msgstr ""
msgctxt "Forum"
msgid "topic"
msgstr ""
msgid "Topic"
msgstr ""
msgid "Description"
msgstr ""
msgid "Number of threads"
msgstr ""
msgid "Last activity"
msgstr ""
msgid ""
"a long\n"
"tranlated line\n"
"hop."
msgstr ""
msgid "Subject"
msgstr ""
msgid "Created"
msgstr ""
msgid "Answers"
msgstr ""
msgid "Last answered"
msgstr ""
msgid "This forum does not have any thread yet."
msgstr ""
# -*- coding: utf-8 -*-
# copyright 2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr -- mailto:contact@logilab.fr
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb-forum schema"""
from yams.buildobjs import (String, RichString, EntityType,
RelationDefinition, SubjectRelation)
from yams.reader import context
class Forum(EntityType):
topic = String(maxsize=50, required=True, unique=True)
description = RichString()
class ForumThread(EntityType):
__permissions__ = {
'read': ('managers', 'users'),
'add': ('managers', 'users'),
'update': ('managers', 'owners'),
'delete': ('managers', 'owners')
}
title = String(required=True, fulltextindexed=True, maxsize=256)
content = RichString(required=True, fulltextindexed=True)
in_forum = SubjectRelation('Forum', cardinality='1*', inlined=True,
composite='object')
class interested_in(RelationDefinition):
subject = 'CWUser'
object = ('ForumThread', 'Forum')
class nosy_list(RelationDefinition):
subject = ('Forum', 'ForumThread')
object = 'CWUser'
# copyright 2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr -- mailto:contact@logilab.fr
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb-forum views/forms/actions/components for web ui"""
from cubicweb import view
from cubicweb.predicates import is_instance
from cubicweb.web.views import primary, baseviews, uicfg
from cubicweb.web.views.uicfg import autoform_section as afs
class MyAFS(uicfg.AutoformSectionRelationTags):
__select__ = is_instance('ForumThread')
_myafs = MyAFS(__module__=__name__)
_myafs.tag_object_of(('*', 'in_forum', 'Forum'), 'main', 'inlined')
afs.tag_object_of(('*', 'in_forum', 'Forum'), 'main', 'inlined')
class ForumSameETypeListView(baseviews.SameETypeListView):
__select__ = baseviews.SameETypeListView.__select__ & is_instance('Forum')
def call(self, **kwargs):
_ = self._cw._
_('Topic'), _('Description')
_('Number of threads'), _('Last activity')
_('''a long
tranlated line
hop.''')
class ForumLastActivity(view.EntityView):
__regid__ = 'forum_last_activity'
__select__ = view.EntityView.__select__ & is_instance('Forum')
class ForumPrimaryView(primary.PrimaryView):
__select__ = primary.PrimaryView.__select__ & is_instance('Forum')
def render_entity_attributes(self, entity):
_ = self._cw._
_('Subject'), _('Created'), _('Answers'),
_('Last answered')
_('This forum does not have any thread yet.')
class ForumThreadPrimaryView(primary.PrimaryView):
__select__ = primary.PrimaryView.__select__ & is_instance('ForumThread')
../libpython/cubicweb_comment
\ No newline at end of file
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
# pylint: disable=W0622
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb-comment packaging information"""
distname = "cubicweb-comment"
modname = distname.split('-', 1)[1]
numversion = (1, 4, 3)
version = '.'.join(str(num) for num in numversion)
../libpython/cubicweb_email/
\ No newline at end of file
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
# pylint: disable=W0622
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb-email packaging information"""
distname = "cubicweb-email"
modname = distname.split('-', 1)[1]
numversion = (1, 4, 3)
version = '.'.join(str(num) for num in numversion)
__depends__ = {'cubicweb': None,
'cubicweb-file': None}
__recommends__ = {'cubicweb-comment': None}
../libpython/cubicweb_file
\ No newline at end of file
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
# pylint: disable=W0622
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
#
# CubicWeb is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""cubicweb-file packaging information"""
distname = "cubicweb-file"
modname = distname.split('-', 1)[1]
numversion = (1, 4, 3)
version = '.'.join(str(num) for num in numversion)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment