Beispiel #1
0
 url(r'^discovery.config$', ConfigDiscoveryView.as_view(), name='tribune-config'),
 
 # Remote backend for specific targeted clocks
 url(r'^clock/(?P<clock>[:\d]{5,9})/$', ClockJsonView.as_view(), name='tribune-clock-remote'),
 
 # Message posting views
 url(r'^post/$', PostRemotePlainView.as_view(), name='tribune-post-plain'),
 url(r'^post/json/$', PostRemoteJsonView.as_view(), name='tribune-post-json'),
 url(r'^post/xml/$', PostRemoteXmlView.as_view(), name='tribune-post-xml'),
 url(r'^crap/post.xml$', PostRemoteCrapXmlView.as_view(), name='tribune-post-xml-crap'),
 
 # Remote backend views for message list
 url(r'^remote/$', RemotePlainView.as_view(), name='tribune-remote-plain'),
 url(r'^remote/json/$', RemoteJsonView.as_view(), name='tribune-remote-json'),
 url(r'^remote/xml/$', RemoteXmlView.as_view(), name='tribune-remote-xml'),
 url(r'^crap/remote.xml$', RemoteCrapXmlView.as_view(), name='tribune-remote-xml-crap'),
 
 # Message posting views
 url(r'^urls/$', UrlArchivesView.as_view(), name='tribune-url-archives'),
 
 # Duplicated previous urls for channel tribunes
 url(r'^(?P<channel_slug>[-\w]+)/$', PostBoardView.as_view(), name='tribune-channel-board'),
 url(r'^(?P<channel_slug>[-\w]+)/noscript/$', PostBoardNoScriptView.as_view(), name='tribune-channel-board-noscript'),
 
 url(r'^(?P<channel_slug>[-\w]+)/discovery.config', ConfigDiscoveryView.as_view(), name='tribune-channel-config'),
 #url(r'^(?P<channel_slug>[-\w]+)/crap/discovery.config', ConfigDiscoveryView.as_view(crap_mode=True), name='tribune-channel-config-crap'),
 
 url(r'^(?P<channel_slug>[-\w]+)/clock/(?P<clock>[:\d]{5,9})/$', ClockJsonView.as_view(), name='tribune-channel-clock-remote'),
 
 url(r'^(?P<channel_slug>[-\w]+)/post/$', PostRemotePlainView.as_view(), name='tribune-channel-post-plain'),
 url(r'^(?P<channel_slug>[-\w]+)/post/json/$', PostRemoteJsonView.as_view(), name='tribune-channel-post-json'),
Beispiel #2
0
 url(r"^noscript/$", PostBoardNoScriptView.as_view(), name="tribune-board-noscript"),
 url(r"^readme/$", ReadmePage.as_view(), name="tribune-readme"),
 # For default tribune
 url(r"^discovery.config$", ConfigDiscoveryView.as_view(), name="tribune-config"),
 # Remote backend for specific targeted clocks
 url(r"^clock/(?P<clock>\d+)/$", ClockJsonView.as_view(), name="tribune-clock-remote"),
 # Message posting views
 url(r"^post/$", PostRemotePlainView.as_view(), name="tribune-post-plain"),
 url(r"^post/json/$", PostRemoteJsonView.as_view(), name="tribune-post-json"),
 url(r"^post/xml/$", PostRemoteXmlView.as_view(), name="tribune-post-xml"),
 url(r"^post/xml/crap/$", PostRemoteCrapXmlView.as_view(), name="tribune-post-xml-crap"),
 # Remote backend views for message list
 url(r"^remote/$", RemotePlainView.as_view(), name="tribune-remote-plain"),
 url(r"^remote/json/$", RemoteJsonView.as_view(), name="tribune-remote-json"),
 url(r"^remote/xml/$", RemoteXmlView.as_view(), name="tribune-remote-xml"),
 url(r"^remote/xml/crap/$", RemoteCrapXmlView.as_view(), name="tribune-remote-xml-crap"),
 # Duplicated previous urls for channel tribunes
 url(r"^(?P<channel_slug>[-\w]+)/$", PostBoardView.as_view(), name="tribune-channel-board"),
 url(
     r"^(?P<channel_slug>[-\w]+)/noscript/$", PostBoardNoScriptView.as_view(), name="tribune-channel-board-noscript"
 ),
 url(r"^(?P<channel_slug>[-\w]+)/discovery.config", ConfigDiscoveryView.as_view(), name="tribune-channel-config"),
 url(
     r"^(?P<channel_slug>[-\w]+)/clock/(?P<clock>\d+)/$",
     ClockJsonView.as_view(),
     name="tribune-channel-clock-remote",
 ),
 url(r"^(?P<channel_slug>[-\w]+)/post/$", PostRemotePlainView.as_view(), name="tribune-channel-post-plain"),
 url(r"^(?P<channel_slug>[-\w]+)/post/json/$", PostRemoteJsonView.as_view(), name="tribune-channel-post-json"),
 url(r"^(?P<channel_slug>[-\w]+)/post/xml/$", PostRemoteXmlView.as_view(), name="tribune-channel-post-xml"),
 url(
Beispiel #3
0
    url(r'^post/json/$',
        PostRemoteJsonView.as_view(),
        name='tribune-post-json'),
    url(r'^post/xml/$', PostRemoteXmlView.as_view(), name='tribune-post-xml'),
    url(r'^post/xml/crap/$',
        PostRemoteCrapXmlView.as_view(),
        name='tribune-post-xml-crap'),

    # Remote backend views for message list
    url(r'^remote/$', RemotePlainView.as_view(), name='tribune-remote-plain'),
    url(r'^remote/json/$',
        RemoteJsonView.as_view(),
        name='tribune-remote-json'),
    url(r'^remote/xml/$', RemoteXmlView.as_view(), name='tribune-remote-xml'),
    url(r'^remote/xml/crap/$',
        RemoteCrapXmlView.as_view(),
        name='tribune-remote-xml-crap'),

    # Duplicated previous urls for channel tribunes
    url(r'^(?P<channel_slug>[-\w]+)/$',
        PostBoardView.as_view(),
        name='tribune-channel-board'),
    url(r'^(?P<channel_slug>[-\w]+)/noscript/$',
        PostBoardNoScriptView.as_view(),
        name='tribune-channel-board-noscript'),
    url(r'^(?P<channel_slug>[-\w]+)/discovery.config',
        ConfigDiscoveryView.as_view(),
        name='tribune-channel-config'),
    url(r'^(?P<channel_slug>[-\w]+)/clock/(?P<clock>\d+)/$',
        ClockJsonView.as_view(),
        name='tribune-channel-clock-remote'),
Beispiel #4
0
 url(r'^discovery.config$', ConfigDiscoveryView.as_view(), name='tribune-config'),
 
 # Remote backend for specific targeted clocks
 url(r'^clock/(?P<clock>[:\d]{5,9})/$', ClockJsonView.as_view(), name='tribune-clock-remote'),
 
 # Message posting views
 url(r'^post/$', PostRemotePlainView.as_view(), name='tribune-post-plain'),
 url(r'^post/json/$', PostRemoteJsonView.as_view(), name='tribune-post-json'),
 url(r'^post/xml/$', PostRemoteXmlView.as_view(), name='tribune-post-xml'),
 url(r'^crap/post.xml$', PostRemoteCrapXmlView.as_view(), name='tribune-post-xml-crap'),
 
 # Remote backend views for message list
 url(r'^remote/$', RemotePlainView.as_view(), name='tribune-remote-plain'),
 url(r'^remote/json/$', RemoteJsonView.as_view(), name='tribune-remote-json'),
 url(r'^remote/xml/$', RemoteXmlView.as_view(), name='tribune-remote-xml'),
 url(r'^crap/remote.xml$', RemoteCrapXmlView.as_view(), name='tribune-remote-xml-crap'),
 
 # Message posting views
 url(r'^urls/$', UrlArchivesView.as_view(), name='tribune-url-archives'),
 
 # Duplicated previous urls for channel tribunes
 url(r'^(?P<channel_slug>[-\w]+)/$', PostBoardView.as_view(), name='tribune-channel-board'),
 url(r'^(?P<channel_slug>[-\w]+)/noscript/$', PostBoardNoScriptView.as_view(), name='tribune-channel-board-noscript'),
 
 url(r'^(?P<channel_slug>[-\w]+)/discovery.config', ConfigDiscoveryView.as_view(), name='tribune-channel-config'),
 #url(r'^(?P<channel_slug>[-\w]+)/crap/discovery.config', ConfigDiscoveryView.as_view(crap_mode=True), name='tribune-channel-config-crap'),
 
 url(r'^(?P<channel_slug>[-\w]+)/clock/(?P<clock>[:\d]{5,9})/$', ClockJsonView.as_view(), name='tribune-channel-clock-remote'),
 
 url(r'^(?P<channel_slug>[-\w]+)/post/$', PostRemotePlainView.as_view(), name='tribune-channel-post-plain'),
 url(r'^(?P<channel_slug>[-\w]+)/post/json/$', PostRemoteJsonView.as_view(), name='tribune-channel-post-json'),