コード例 #1
0
ファイル: urls.py プロジェクト: hack-bitdust/devel
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

#------------------------------------------------------------------------------

from web.auth import login_required
import views

#------------------------------------------------------------------------------

admin.autodiscover()

urlpatterns = patterns(
    url(r'^api/(?P<method>stop)', views.call_api_method),
    url(r'^api/(?P<method>restart)', views.call_api_method),
    url(r'^api/(?P<method>[a-zA-Z0-9_.-]+)$',
        login_required(views.call_api_method)),
    url(r'^accounts/login/$', views.LoginPoint),
    url(r'^accounts/logout/$', views.LogoutPoint),
    url(r'^repaintstate$', views.RepaintState),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^chat/', include('web.jqchatapp.urls')),
    url(r'^setup/', include('web.setupapp.urls')),
    url(r'^identity/', include('web.identityapp.urls')),
    url(r'^supplier/', include('web.supplierapp.urls')),
    url(r'^customer/', include('web.customerapp.urls')),
    url(r'^friend/', include('web.friendapp.urls')),
    # url(r'^myfiles/', include('web.myfilesapp.urls')),
    url(r'^filemanager/', include('web.filemanagerapp.urls')),
    # url(r'^$', include('web.filemanagerapp.urls')),
    url(r'^/?$', login_required(views.IndexView.as_view())),
)
コード例 #2
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

#------------------------------------------------------------------------------

from web.auth import login_required
import views

#------------------------------------------------------------------------------

admin.autodiscover()

urlpatterns = patterns('',
                       url(r'^api/(?P<method>stop)', views.call_api_method),
                       url(r'^api/(?P<method>restart)', views.call_api_method),
                       url(r'^api/(?P<method>[a-zA-Z0-9_.-]+)$', login_required(views.call_api_method)),
                       url(r'^accounts/login/$', views.LoginPoint),
                       url(r'^accounts/logout/$', views.LogoutPoint),
                       url(r'^repaintstate$', views.RepaintState),
                       url(r'^admin/', include(admin.site.urls)),
                       url(r'^chat/', include('web.jqchatapp.urls')),
                       url(r'^setup/', include('web.setupapp.urls')),
                       url(r'^identity/', include('web.identityapp.urls')),
                       url(r'^supplier/', include('web.supplierapp.urls')),
                       url(r'^customer/', include('web.customerapp.urls')),
                       url(r'^friend/', include('web.friendapp.urls')),
                       # url(r'^myfiles/', include('web.myfilesapp.urls')),
                       url(r'^filemanager/', include('web.filemanagerapp.urls')),
                       url(r'^$', include('web.filemanagerapp.urls')),
                       # url(r'^$', login_required(views.IndexView.as_view())),
                       )
コード例 #3
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
# This file (urls.py) is part of BitDust Software.
#
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'bridge$', login_required(views.filemanager_api_view)),
                       url(r'$', login_required(views.FileManagerView.as_view())),
                       )
コード例 #4
0
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns(
    '',
    url(r'(?P<pk>\d+)$', login_required(views.FriendView.as_view())),
    url(r'search$', login_required(views.FriendSearchView.as_view())),
    url(r'$', login_required(views.FriendsView.as_view())),
)
コード例 #5
0
#
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns(
    '',
    url(r'bridge$', login_required(views.filemanager_api_view)),
    url(r'$', login_required(views.FileManagerView.as_view())),
)
コード例 #6
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'ping$',
                           login_required(views.ping)),
                       url(r'(?P<id>\d+)$',
                           login_required(views.open_by_id)),
                       url(r'(?P<idurl_id>[a-zA-Z0-9_.-]+)$',
                           login_required(views.open_by_idurl)),
                       url(r'$',
                           login_required(views.IdentitiesView.as_view())),
                       )
コード例 #7
0
ファイル: urls.py プロジェクト: hack-bitdust/devel
# (at your option) any later version.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns(
    '',
    url(r'(?P<pk>\d+)$',
        login_required(views.BackupFSItemView.as_view()),
        name='backupfsitem'),
    url(r'$',
        login_required(views.BackupFSView.as_view()),
        name='backupfsitems'),
)
コード例 #8
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'(?P<pk>\d+)$',
                           login_required(views.BackupFSItemView.as_view()), name='backupfsitem'),
                       url(r'$',
                           login_required(views.BackupFSView.as_view()), name='backupfsitems'),
                       )
コード例 #9
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
# -*- coding: utf-8 -*-

from django.conf.urls import patterns, url

# ------------------------------------------------------------------------------

from web.auth import login_required

import views

# ------------------------------------------------------------------------------

urlpatterns = patterns(
    "",
    url(r"open$", login_required(views.open_room)),
    url(r"room/(?P<id>\d+)/ajax$", views.BasicAjaxHandler, name="jqchat_ajax"),
    url(r"room/(?P<id>\d+)$", login_required(views.room_by_id), name="jqchat_test_window"),
    # url(r"room_with_description/(?P<id>\d+)$", login_required(views.room_with_description), name="jqchat_test_window_with_description"),
    # url(r"room_with_description/(?P<id>\d+)/ajax$", views.WindowWithDescriptionAjaxHandler, name="jqchat_test_window_with_description_ajax"),
    url(r"room/(?P<idurl>[a-zA-Z0-9_.-]+)$", login_required(views.room_by_idurl), name="jqchat_test_window"),
)
コード例 #10
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'(?P<pk>\d+)$',
                           login_required(views.CustomerView.as_view())),
                       url(r'$',
                           login_required(views.CustomersView.as_view())),
                       )
コード例 #11
0
ファイル: urls.py プロジェクト: hack-bitdust/devel
#
# Please contact us if you have any questions at [email protected]
# -*- coding: utf-8 -*-

from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns(
    '',
    url(r'open/?$', login_required(views.open_room)),
    url(r'room/(?P<id>\d+)/ajax/?$',
        views.BasicAjaxHandler,
        name="jqchat_ajax"),
    url(r'room/(?P<id>\d+)/?$',
        login_required(views.room_by_id),
        name="jqchat_test_window"),
    # url(r"room_with_description/(?P<id>\d+)$", login_required(views.room_with_description), name="jqchat_test_window_with_description"),
    # url(r"room_with_description/(?P<id>\d+)/ajax$", views.WindowWithDescriptionAjaxHandler, name="jqchat_test_window_with_description_ajax"),
    url(r'room/(?P<idurl>[a-zA-Z0-9_.-]+)/?$',
        login_required(views.room_by_idurl),
        name="jqchat_test_window"),
    url(r'$', login_required(views.first_page)),
)
コード例 #12
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'(?P<pk>\d+)$',
                           login_required(views.FriendView.as_view())),
                       url(r'search$',
                           login_required(views.FriendSearchView.as_view())),
                       url(r'$',
                           login_required(views.FriendsView.as_view())),
                       )
コード例 #13
0
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'(?P<pk>\d+)$',
                           login_required(views.CustomerView.as_view())),
                       url(r'$',
                           login_required(views.CustomersView.as_view())),
                       )
コード例 #14
0
#
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns(
    '',
    url(r'(?P<pk>[0-9]+)$', login_required(views.SupplierView.as_view())),
    url(r'$', login_required(views.SuppliersView.as_view())),
)
コード例 #15
0
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns(
    '',
    url(r'ping$', login_required(views.ping)),
    url(r'(?P<id>\d+)$', login_required(views.open_by_id)),
    url(r'(?P<idurl_id>[a-zA-Z0-9_.-]+)$',
        login_required(views.open_by_idurl)),
    url(r'$', login_required(views.IdentitiesView.as_view())),
)
コード例 #16
0
ファイル: urls.py プロジェクト: vesellov/bitdust.devel
# BitDust 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.
#
# BitDust Software 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 BitDust Software.  If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at [email protected]
from django.conf.urls import patterns, url

#------------------------------------------------------------------------------

from web.auth import login_required

import views

#------------------------------------------------------------------------------

urlpatterns = patterns('',
                       url(r'(?P<pk>[0-9]+)$',
                           login_required(views.SupplierView.as_view())),
                       url(r'$',
                           login_required(views.SuppliersView.as_view())),
                       )