##// END OF EJS Templates
Added missing all_tags module. Moved authors view to class-based
Added missing all_tags module. Moved authors view to class-based

File last commit:

r551:37f54a4a 1.7-dev
r551:37f54a4a 1.7-dev
Show More
urls.py
79 lines | 3.2 KiB | text/x-python | PythonLexer
Ilyas
Added django-simple-capthca support...
r78 from django.conf.urls import patterns, url, include
neko259
Initial commit. One test doesn't work, missing posting form.
r0 from boards import views
neko259
Implemented RSS support. This fixes #11
r89 from boards.rss import AllThreadsFeed, TagThreadsFeed, ThreadPostsFeed
neko259
Made settings view class-based
r547 from boards.views import api, tag_threads, all_threads, archived_threads, \
neko259
Moved all tags view to class-based view
r550 login, settings, all_tags
neko259
Added missing all_tags module. Moved authors view to class-based
r551 from boards.views.authors import AuthorsView
neko259
Initial commit. One test doesn't work, missing posting form.
r0
neko259
Added translation for javascript. This fixes #36
r122 js_info_dict = {
'packages': ('boards',),
}
neko259
Initial commit. One test doesn't work, missing posting form.
r0 urlpatterns = patterns('',
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
neko259
Initial commit. One test doesn't work, missing posting form.
r0 # /boards/
neko259
Rewriting views to class-based
r542 url(r'^$', all_threads.AllThreadsView.as_view(), name='index'),
neko259
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 # /boards/page/
neko259
Rewriting views to class-based
r542 url(r'^page/(?P<page>\w+)/$', all_threads.AllThreadsView.as_view(),
name='index'),
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
neko259
Rewriting views to class-based
r542 url(r'^archive/$', archived_threads.ArchiveView.as_view(), name='archive'),
url(r'^archive/page/(?P<page>\w+)/$',
archived_threads.ArchiveView.as_view(), name='archive'),
neko259
Fixed threads title in the browser title bar. Moving old threads to archive instead of deleting them.
r484
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9 # login page
neko259
Moved login view to a separate class. Refactored thread and all threads views
r544 url(r'^login/$', login.LoginView.as_view(), name='login'),
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
neko259
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 # /boards/tag/tag_name/
neko259
Rewriting views to class-based
r542 url(r'^tag/(?P<tag_name>\w+)/$', tag_threads.TagView.as_view(),
name='tag'),
neko259
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 # /boards/tag/tag_id/page/
neko259
Rewriting views to class-based
r542 url(r'^tag/(?P<tag_name>\w+)/page/(?P<page>\w+)/$',
tag_threads.TagView.as_view(), name='tag'),
neko259
Added subscription to tags.
r145
# /boards/tag/tag_name/unsubscribe/
url(r'^tag/(?P<tag_name>\w+)/subscribe/$', views.tag_subscribe,
name='tag_subscribe'),
# /boards/tag/tag_name/unsubscribe/
url(r'^tag/(?P<tag_name>\w+)/unsubscribe/$', views.tag_unsubscribe,
name='tag_unsubscribe'),
neko259
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 # /boards/thread/
neko259
Rewriting views to class-based
r542 url(r'^thread/(?P<post_id>\w+)/$', views.thread.ThreadView.as_view(),
name='thread'),
url(r'^thread/(?P<post_id>\w+)/(?P<mode>\w+)/$', views.thread.ThreadView
.as_view(), name='thread_mode'),
neko259
Moved all tags view to class-based view
r550
neko259
Made settings view class-based
r547 url(r'^settings/$', settings.SettingsView.as_view(), name='settings'),
neko259
Moved all tags view to class-based view
r550 url(r'^tags/$', all_tags.AllTagsView.as_view(), name='tags'),
Ilyas
Added django-simple-capthca support...
r78 url(r'^captcha/', include('captcha.urls')),
neko259
Added authors page. This fixes #22
r103 url(r'^jump/(?P<post_id>\w+)/$', views.jump_to_post, name='jumper'),
neko259
Added missing all_tags module. Moved authors view to class-based
r551 url(r'^authors/$', AuthorsView.as_view(), name='authors'),
neko259
Added admin actions (showing IP, post removal). Added user ranks. This refs #61, #12
r112 url(r'^delete/(?P<post_id>\w+)/$', views.delete, name='delete'),
neko259
Added 'ban' button to the moderator panel.
r156 url(r'^ban/(?P<post_id>\w+)/$', views.ban, name='ban'),
neko259
Added test for all views get requests. Fixed banned view failing this test
r545 url(r'^banned/$', views.banned.BannedView.as_view(), name='banned'),
neko259
Added a help page.
r152 url(r'^staticpage/(?P<name>\w+)/$', views.static_page, name='staticpage'),
neko259
Implemented RSS support. This fixes #11
r89
# RSS feeds
url(r'^rss/$', AllThreadsFeed()),
neko259
Fixed RSS in thread list pages. Changes to markdown parser. This refs #11
r91 url(r'^page/(?P<page>\w+)/rss/$', AllThreadsFeed()),
neko259
Implemented RSS support. This fixes #11
r89 url(r'^tag/(?P<tag_name>\w+)/rss/$', TagThreadsFeed()),
neko259
Fixed RSS in thread list pages. Changes to markdown parser. This refs #11
r91 url(r'^tag/(?P<tag_name>\w+)/page/(?P<page>\w+)/rss/$', TagThreadsFeed()),
neko259
Implemented RSS support. This fixes #11
r89 url(r'^thread/(?P<post_id>\w+)/rss/$', ThreadPostsFeed()),
neko259
Added translation for javascript. This fixes #36
r122
neko259
Added an API method for retrieving post's JSON.
r221 # i18n
neko259
Speed up page loading by caching JS translation catalog
r423 url(r'^jsi18n/$', 'boards.views.cached_js_catalog', js_info_dict, name='js_info_dict'),
neko259
Added an API method for retrieving post's JSON.
r221
# API
neko259
Added api for the tags list
r500 url(r'^api/post/(?P<post_id>\w+)/$', api.get_post, name="get_post"),
neko259
Update thread by time, not post id. This will help with getting updated posts
r363 url(r'^api/diff_thread/(?P<thread_id>\w+)/(?P<last_update_time>\w+)/$',
neko259
Added api for the tags list
r500 api.api_get_threaddiff, name="get_thread_diff"),
url(r'^api/threads/(?P<count>\w+)/$', api.api_get_threads,
name='get_threads'),
neko259
Rewriting views to class-based
r542 url(r'^api/tags/$', api.api_get_tags, name='get_tags'),
url(r'^api/thread/(?P<opening_post_id>\w+)/$', api.api_get_thread_posts,
neko259
Added api for getting thread posts
r502 name='get_thread'),
neko259
Rewriting views to class-based
r542 url(r'^api/add_post/(?P<opening_post_id>\w+)/$', api.api_add_post, name='add_post'),
neko259
Added api for the tags list
r500
neko259
Merged with default branch
r137 )