summaryrefslogtreecommitdiffstats
path: root/welco/sources/mail/urls.py
blob: 272c25003b11572cbcbc3e6a4b847c80b88cc8be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# welco - multichannel request processing
# Copyright (C) 2015  Entr'ouvert
#
# 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 django.conf.urls import url

from .views import (viewer, feeder, qualification_save, edit_note, note,
        reject, mail_count, mail_response)

urlpatterns = [
    url('viewer/$', viewer, name='mail-viewer'),
    url('mail/feeder/$', feeder, name='mail-feeder'),
    url(r'^ajax/mail/reject$', reject, name='mail-reject'),
    url(r'^ajax/qualification-mail-save$', qualification_save, name='qualif-mail-save'),
    url(r'^ajax/mail/edit-note/$', edit_note, name='mail-edit-note'),
    url(r'^ajax/mail/note/(?P<pk>\w+)$', note, name='mail-note'),
    url(r'^ajax/count/mail/$', mail_count, name='mail-count'),
    url(r'^api/mail/response/$', mail_response, name='mail-api-response'),
]