mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-02 04:20:55 +01:00
Most of licence headers + LICENCE.md
This commit is contained in:
parent
2c7e0f6703
commit
ec1e531aa2
174 changed files with 3982 additions and 72 deletions
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
plugins_PYTHON=__init__.py
|
||||
|
||||
pluginsdir=$(pkgpythondir)/plugins
|
||||
|
|
|
|||
|
|
@ -1,2 +1,22 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
##@defgroup lodel2_plugins_list Plugins lodel
|
||||
#@brief Regroup all implemented plugin documentation
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy Basic plugin used as a template for developping new plugins
|
||||
|
||||
from lodel.context import LodelContext
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy.confspec The module that defines the plugin's configuration options
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy.main Plugin's loader module
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy_datasource Example of a datasource type plugin
|
||||
|
||||
# Here we use the Lodel Context Manager to expose the modules which are specific to the application
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy_datasource.datasource This module contains the main class of the datasource, implementing the basic operations one can perform.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy_datasource.main The main module of the plugin.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.dummy_datasource.migration_handler Migration handler of the datasource plugin.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package plugins.filesystem_session This package is a plugin for filesystem based session management
|
||||
|
||||
from lodel.context import LodelContext
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.filesystem_session.confspec A module that defines the configuration options available for that plugin
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.filesystem_session.filesystem_session Session objects management module
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package lodel.plugins.filesystem_session.main Main entry point of the plugin
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
__plugin_type__ = 'datasource'
|
||||
__plugin_name__ = 'mongodb_datasource'
|
||||
__version__ = '0.0.1'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
## @package plugins.mongodb_datasource.datasource Main datasource module
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.exceptions': ['LodelException', 'LodelExceptions',
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.plugin': ['LodelHook']})
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import datetime
|
||||
|
||||
from lodel.context import LodelContext
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import pymongo
|
||||
from pymongo import MongoClient
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext, ContextError
|
||||
try:
|
||||
LodelContext.expose_modules(globals(), {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.validator.validator': ['Validator']})
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
[lodel2.logging.templog]
|
||||
level = INFO
|
||||
filename = /tmp/log
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
import shlex
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import warnings
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.validator.validator': ['Validator']})
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import os
|
||||
import copy
|
||||
import binascii
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
__plugin_name__ = 'webui'
|
||||
__version__ = '0.0.1'
|
||||
__plugin_type__ = 'ui'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {'lodel.auth.client': ['Client']})
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.validator.validator': ['Validator']})
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from werkzeug.wrappers import Response
|
||||
from lodel.context import LodelContext
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from .base import *
|
||||
from .admin import *
|
||||
from .document import *
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from ...exceptions import *
|
||||
from .base import get_response
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from werkzeug.wrappers import Response
|
||||
from ..template.loader import TemplateLoader
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from .base import get_response
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {'lodel.logger': 'logger'})
|
||||
LodelContext.expose_dyncode(globals(), 'dyncode')
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from .base import get_response
|
||||
from ...exceptions import *
|
||||
from ...client import WebUiClient as WebUiClient
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from werkzeug.wrappers import Request
|
||||
from werkzeug.urls import url_decode
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import re
|
||||
|
||||
from .controllers import *
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
|
@ -1,8 +1,27 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
# Lodel 2 templates API : loaded by default
|
||||
|
||||
class Test(object):
|
||||
|
||||
def ok(self):
|
||||
return 'ok'
|
||||
return 'ok'
|
||||
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
|
@ -1,4 +1,21 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
class NotAllowedCustomAPIKeyError(Exception):
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import jinja2
|
||||
import os
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from .controllers import *
|
||||
|
||||
urls = (
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
import os, os.path
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
from lodel.context import LodelContext
|
||||
|
||||
if not LodelContext.is_initialized():
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}- Index{% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% import "admin/editable_component.html" as edit %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
|
||||
{% block title %}- Suppression in {{target.__name__}}{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% import "admin/editable_component.html" as edit %}
|
||||
{% set uidfield = target.uid_fieldname()[0] %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
|
||||
{% block title %}- Search{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% macro input(fieldname, field, value='') -%}
|
||||
<label for="field_input_{{fieldname}}" class="col-sm-2 control-label">{{fieldname}}</label>
|
||||
<div class="col-xs-6">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}Lodel 2 - Admin - List of Classes{% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}Lodel 2 - Admin - List of Classes{% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}Lodel 2 - Admin - List of Classes{% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}Lodel 2 - Admin - Class {{ target.__name__ }} {% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}Lodel 2 - Admin - Class {{ target.__name__ }} {% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
<!doctype html>
|
||||
{% set not_connected = false %} <!-- client.is_anonymous() %} -->
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% macro input(name, value='', type='text') -%}
|
||||
<input type="{{ type }}" value="{{ value }}" name="{{ name }}" id= "{{ name }}"/>
|
||||
{%- endmacro %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
/**
|
||||
* This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
*
|
||||
* Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License, version 3,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
body {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
/**
|
||||
* This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
*
|
||||
* Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License, version 3,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
body {
|
||||
min-height: 2000px;
|
||||
padding-top: 70px;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base_backend.html" %}
|
||||
{% block title %}Lodel 2 - Document {{ id }}{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published
|
||||
by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published
|
||||
by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Error 404{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - DASHBOARD{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - Collections {% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% macro display(obj) -%}
|
||||
<!-- To get a component HTML code, it is necessary to call : components.<macro_name>(args) -->
|
||||
{% for fieldn, fieldv in obj.fields(include_ro = True).items() %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - Issue {{ lodel_id }} {% endblock %}
|
||||
{% set uidfield = my_classes.Issue.uid_fieldname()[0] %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - List of Classes{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - Class {{ classname }} {% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% import 'macros/show_object.html' as show_object %}
|
||||
{% import 'components/components.html' as components %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% import 'macros/show_object.html' as show_object %}
|
||||
{% import 'components/components.html' as components %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
<!-- Produce a <li></li> with objects informations -->
|
||||
{% macro object_ul(leo, max_depth = 0, exclude = []) -%}
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% import "components/components.html" as components %}
|
||||
|
||||
<html>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - Sign In{% endblock %}
|
||||
<!-- Custom styles for this template -->
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
<!--
|
||||
This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
|
||||
Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License, version 3,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Lodel 2 - Welcome{% endblock %}
|
||||
<!-- Custom styles for this template -->
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
#
|
||||
# This file is part of Lodel 2 (https://github.com/OpenEdition)
|
||||
#
|
||||
# Copyright (C) 2015-2017 Cléo UMS-3287
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
|
||||
[uwsgi]
|
||||
model = run:application
|
||||
plugin = python3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue