Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
9a996a74
Commit
9a996a74
authored
Aug 22, 2012
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating todo and comments
parent
1e5bb80d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
TODO.md
+3
-4
wiki/decorators.py
+4
-0
No files found.
TODO.md
View file @
9a996a74
...
@@ -3,17 +3,15 @@ Not implemented - will be ASAP
...
@@ -3,17 +3,15 @@ Not implemented - will be ASAP
*
Notification system
**Almost done**
(email notifications)
*
Notification system
**Almost done**
(email notifications)
*
Circuit Editor plugin
*
Circuit Editor plugin
*
Implement notifications, revision log messages and user messages thoroughly
*
Example plugin
*
Example plugin
*
Spam protection / Bot editing detection. Don't let anyone edit more than once every other minute.
*
Spam protection / Bot editing detection. Don't let anyone edit more than once every other minute.
*
Key-value meta data
*
Key-value meta data
*
Searching
*
Searching
*
"Are you sure you want to leave this page" confirmation for Edit page.
*
"Are you sure you want to leave this page" confirmation for Edit page.
*
Finish all class-based views
*
Finish all class-based views
*
Are you sure you wanna leave this page?
*
Customize bootstrap to look a bit less like a default installation and add styles for the wiki articles
*
Embeddable article template tag
*
Embeddable article template tag
*
"Fix Wiki URL bug in the footnotes plugin for python-markdown" ?
*
"Fix Wiki URL bug in the footnotes plugin for python-markdown" ?
*
Implement notifications, revision log messages and user messages thoroughly
**Pretty much done**
*
View source for read-only articles + locked status
**Done**
*
View source for read-only articles + locked status
**Done**
*
Index views for urlpaths
**Done**
*
Index views for urlpaths
**Done**
*
Permission system in settings tab
**Done**
*
Permission system in settings tab
**Done**
...
@@ -29,9 +27,10 @@ Not implemented - will be ASAP
...
@@ -29,9 +27,10 @@ Not implemented - will be ASAP
Ideas
Ideas
=====
=====
*
Build
TOCs and use bootstrap scrollspy
*
Build
menus of hierarchies and use bootstrap scrollspy. Add through plugin.
*
Notification system should be it's own separate app
*
Notification system should be it's own separate app
*
Statistics page for wiki owners
*
Statistics page for wiki owners
*
Table plugin: Quickly add a row of data to an existing table and sort data.
*
Auto-merge for conflicting concurrent revisions
**DONE**
*
Auto-merge for conflicting concurrent revisions
**DONE**
*
Add revision conflict detection for concurrent editing
**DONE**
*
Add revision conflict detection for concurrent editing
**DONE**
*
Make a comments plugin for commenting inline
*
Make a comments plugin for commenting inline
...
...
wiki/decorators.py
View file @
9a996a74
...
@@ -45,8 +45,12 @@ def get_article(func=None, can_read=True, can_write=False,
...
@@ -45,8 +45,12 @@ def get_article(func=None, can_read=True, can_write=False,
can_read=True and/or can_write=True: Check that the current request.user
can_read=True and/or can_write=True: Check that the current request.user
has correct permissions.
has correct permissions.
can_delete and can_moderate: Verifies with wiki.core.permissions
deleted_contents=True: Do not redirect if the article has been deleted.
deleted_contents=True: Do not redirect if the article has been deleted.
not_locked=True: Return permission denied if the article is locked
Also see: wiki.views.mixins.ArticleMixin
Also see: wiki.views.mixins.ArticleMixin
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment