# -*- coding: utf-8 -*-

# Copyright (c) 2015 CoNWeT Lab., Universidad Politécnica de Madrid

# This file is part of CKAN Data Requests Extension.

# CKAN Data Requests Extension 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.

# CKAN Data Requests Extension 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 CKAN Data Requests Extension. If not, see <http://www.gnu.org/licenses/>.

DATAREQUESTS_MAIN_PATH = 'datarequest'
DATAREQUEST_CREATE = 'datarequest_create'
DATAREQUEST_SHOW = 'datarequest_show'
DATAREQUEST_UPDATE = 'datarequest_update'
DATAREQUEST_INDEX = 'datarequest_index'
DATAREQUEST_DELETE = 'datarequest_delete'
DATAREQUEST_CLOSE = 'datarequest_close'
DATAREQUEST_COMMENT = 'datarequest_comment'
DATAREQUEST_COMMENT_LIST = 'datarequest_comment_list'
DATAREQUEST_COMMENT_SHOW = 'datarequest_comment_show'
DATAREQUEST_COMMENT_UPDATE = 'datarequest_comment_update'
DATAREQUEST_COMMENT_DELETE = 'datarequest_comment_delete'
DATAREQUEST_FOLLOW = 'datarequest_follow'
DATAREQUEST_UNFOLLOW = 'datarequest_unfollow'
NAME_MAX_LENGTH = 100
DESCRIPTION_MAX_LENGTH = 1000
COMMENT_MAX_LENGTH = DESCRIPTION_MAX_LENGTH
DATAREQUESTS_PER_PAGE = 10

@@ -1407,32 +1407,39 @@
 QUEST_FOLLOW = '
+follow_
 datarequest_foll
@@ -1437,15 +1437,8 @@
 uest
-_follow
 '%0ADA
@@ -1455,24 +1455,33 @@
 UNFOLLOW = '
+unfollow_
 datarequest_
@@ -1483,17 +1483,8 @@
 uest
-_unfollow
 '%0ANA

Rename action