##// END OF EJS Templates
Refactored post post-save triggers
Refactored post post-save triggers

File last commit:

r1429:5967a527 default
r1440:2337e9d6 default
Show More
urls.py
87 lines | 3.4 KiB | text/x-python | PythonLexer
neko259
Refactored views
r1090 from django.conf.urls import patterns, url
neko259
Cache javascript translations
r1393 #from django.views.i18n import javascript_catalog
neko259
Refactored views
r1090
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
Removed archive as a separate entity. Archived threads are saved in the same...
r652 from boards.views import api, tag_threads, all_threads, \
neko259
Added all posts feed
r1165 settings, all_tags, feed
neko259
Added missing all_tags module. Moved authors view to class-based
r551 from boards.views.authors import AuthorsView
neko259
User notifications (BB-59)
r990 from boards.views.notifications import NotificationView
neko259
Use own search form and view
r718 from boards.views.search import BoardSearchView
neko259
Moved static page view to the class-based. Removed old methods from the view...
r565 from boards.views.static import StaticPageView
neko259
Added post preview page
r825 from boards.views.preview import PostPreviewView
neko259
Add random images list view
r1246 from boards.views.random import RandomImageView
neko259
Added tag gallery
r1419 from boards.views.tag_gallery import TagGalleryView
neko259
Cache javascript translations
r1393 from boards.views.translation import cached_javascript_catalog
neko259
Initial commit. One test doesn't work, missing posting form.
r0
neko259
Refactored views
r1090
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('',
# /boards/
neko259
Rewriting views to class-based
r542 url(r'^$', all_threads.AllThreadsView.as_view(), name='index'),
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
Added subscription to tags.
r145
neko259
Compiling regexes for gets. #17 Added pagination. #28 Visually differing the dead (not bumpable) threads.
r46 # /boards/thread/
neko259
Added tree mode for the thread
r1180 url(r'^thread/(?P<post_id>\d+)/$', views.thread.NormalThreadView.as_view(),
neko259
Rewriting views to class-based
r542 name='thread'),
neko259
Added tree mode for the thread
r1180 url(r'^thread/(?P<post_id>\d+)/mode/gallery/$', views.thread.GalleryThreadView.as_view(),
neko259
Split thread view into separate views for each mode
r951 name='thread_gallery'),
neko259
Added tree mode for the thread
r1180 url(r'^thread/(?P<post_id>\d+)/mode/tree/$', views.thread.TreeThreadView.as_view(),
name='thread_tree'),
neko259
Added all posts feed
r1165 # /feed/
url(r'^feed/$', views.feed.FeedView.as_view(), name='feed'),
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
Show only required tags in all tags list by default
r1069 url(r'^tags/(?P<query>\w+)?/?$', all_tags.AllTagsView.as_view(), name='tags'),
neko259
Added missing all_tags module. Moved authors view to class-based
r551 url(r'^authors/$', AuthorsView.as_view(), name='authors'),
neko259
Added 'ban' button to the moderator panel.
r156
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
Moved static page view to the class-based. Removed old methods from the view...
r565 url(r'^staticpage/(?P<name>\w+)/$', StaticPageView.as_view(),
neko259
Staticpage view fix
r577 name='staticpage'),
neko259
Implemented RSS support. This fixes #11
r89
neko259
Add random images list view
r1246 url(r'^random/$', RandomImageView.as_view(), name='random'),
neko259
Added tag gallery
r1419 url(r'^tag/(?P<tag_name>\w+)/gallery/$', TagGalleryView.as_view(), name='tag_gallery'),
neko259
Add random images list view
r1246
neko259
Implemented RSS support. This fixes #11
r89 # RSS feeds
url(r'^rss/$', AllThreadsFeed()),
neko259
Updated API to use a new timestamp format for getting updated posts and get...
r1086 url(r'^page/(?P<page>\d+)/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
Updated API to use a new timestamp format for getting updated posts and get...
r1086 url(r'^thread/(?P<post_id>\d+)/rss/$', ThreadPostsFeed()),
neko259
Added translation for javascript. This fixes #36
r122
neko259
Added an API method for retrieving post's JSON.
r221 # i18n
neko259
Cache javascript translations
r1393 url(r'^jsi18n/$', cached_javascript_catalog, js_info_dict,
neko259
Added post admin page with tags edit capability
r566 name='js_info_dict'),
neko259
Added an API method for retrieving post's JSON.
r221
# API
neko259
Updated API to use a new timestamp format for getting updated posts and get...
r1086 url(r'^api/post/(?P<post_id>\d+)/$', api.get_post, name="get_post"),
neko259
Put thread id parameter into POST body instead of GET param when getting a...
r1191 url(r'^api/diff_thread/$', api.api_get_threaddiff, name="get_thread_diff"),
neko259
Added api for the tags list
r500 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
Added post admin page with tags edit capability
r566 url(r'^api/add_post/(?P<opening_post_id>\w+)/$', api.api_add_post,
name='add_post'),
neko259
Added notification API
r994 url(r'^api/notifications/(?P<username>\w+)/$', api.api_get_notifications,
name='api_notifications'),
neko259
Added AJAX text preview to the form.
r1217 url(r'^api/preview/$', api.api_get_preview, name='preview'),
neko259
Added favorite thread popup
r1340 url(r'^api/new_posts/$', api.api_get_new_posts, name='new_posts'),
neko259
Added api for the tags list
r500
neko259
Implemented search over posts. Moved get_user and get_theme to utils module. Use context processors instead of creating context in the base view. Removed unused imports in some modules
r690 # Search
neko259
Use own search form and view
r718 url(r'^search/$', BoardSearchView.as_view(), name='search'),
neko259
Implemented search over posts. Moved get_user and get_theme to utils module. Use context processors instead of creating context in the base view. Removed unused imports in some modules
r690
neko259
User notifications (BB-59)
r990 # Notifications
neko259
Subscribe to a multiple of users for notifications
r1429 url(r'^notifications/(?P<username>\w+)/$', NotificationView.as_view(), name='notifications'),
url(r'^notifications/$', NotificationView.as_view(), name='notifications'),
neko259
User notifications (BB-59)
r990
neko259
Added post preview page
r825 # Post preview
url(r'^preview/$', PostPreviewView.as_view(), name='preview')
neko259
Merged with default branch
r137 )