##// END OF EJS Templates
Moved adding linked posts from view to post manager. Cleaned up tests, added some more tests
Moved adding linked posts from view to post manager. Cleaned up tests, added some more tests

File last commit:

r363:69d0a4bf thread_autoupdate
r381:f21d714a default
Show More
urls.py
58 lines | 2.1 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
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
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 url(r'^$', views.index, name='index'),
# /boards/page/
url(r'^page/(?P<page>\w+)/$', views.index, name='index'),
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
# login page
neko259
Added login functionality.
r144 url(r'^login/$', views.login, 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
Added themes support. Added 'snow white' theme by Mystra_x64.
r35 url(r'^tag/(?P<tag_name>\w+)/$', views.tag, name='tag'),
neko259
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 # /boards/tag/tag_id/page/
url(r'^tag/(?P<tag_name>\w+)/page/(?P<page>\w+)/$', views.tag, 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
Added themes support. Added 'snow white' theme by Mystra_x64.
r35 url(r'^thread/(?P<post_id>\w+)/$', views.thread, name='thread'),
neko259
Added login functionality.
r144 url(r'^settings/$', views.settings, name='settings'),
url(r'^tags/$', views.all_tags, 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'),
url(r'^authors/$', views.authors, 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 IP ban lists. Added migration for bans. Use generic ip address for posting instead of ipv4 only.
r116 url(r'^banned/$', views.you_are_banned, 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
Added translation for javascript. This fixes #36
r122 url(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict),
neko259
Added an API method for retrieving post's JSON.
r221
# API
neko259
Load reflink previews of posts that are not present on the current page
r354 url(r'^api/post/(?P<post_id>\w+)/$', views.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 thread autoupdate. Currently has some bugs, not ready for merge with the main branch
r361 views.api_get_threaddiff, name="get_thread_diff"),
neko259
Merged with default branch
r137 )