Classes | |
| class | Globs |
| class | Params |
Functions | |
| def | addcomment |
| def | addLogEntry |
| def | commentform |
| def | commentformsection |
| def | commentNotify |
| def | convertdelimeter |
| def | converttext |
| def | debug |
| def | decodeURI |
| def | deletecomment |
| def | deleteform |
| def | execute |
| def | fetchcomments |
| def | filtercomment |
| def | getAuthorFromCookie |
| def | getescapedsectionname |
| def | getforminput |
| def | getMarkupText |
| def | getparams |
| def | getsmiley |
| def | getsmileymarkuplist |
| def | getsmileymarkupradio |
| def | message |
| def | nicepass |
| def | previewcomment |
| def | sendNotification |
| def | setglobalvalues |
| def | showcomment |
| def | showcommentsection |
| def | url_unquote |
Variables | |
| htmlcommentdel = htmlcommentdel_admin | |
| if Globs.admin or (item['loginuser'] and request.user.valid and request.user.name == item['name']): | |
| string | htmlcommentitem = u'\n' |
| tuple | rating = converttext(item['rating']) |
| tuple | text = converttext(item['text'], item['markup']) |
| def macro::PageComment3::addcomment | ( | macro, | ||
| comicon, | ||||
| comauthor, | ||||
| comtext, | ||||
| compasswd, | ||||
| comrev, | ||||
| comautopass, | ||||
| commarkup, | ||||
| rating | ||||
| ) |
Definition at line 698 of file PageComment3.py.
| def macro::PageComment3::addLogEntry | ( | request, | ||
| action, | ||||
| pagename, | ||||
| msg | ||||
| ) |
Definition at line 1323 of file PageComment3.py.
| def macro::PageComment3::commentform | ( | tmpauthor, | ||
| tmptext, | ||||
| tmppasswd, | ||||
| tmpicon, | ||||
| comrev, | ||||
| tmpautopass, | ||||
| tmpmarkup, | ||||
| rating | ||||
| ) |
Definition at line 545 of file PageComment3.py.
| def macro::PageComment3::commentformsection | ( | comauthor, | ||
| comtext, | ||||
| compasswd, | ||||
| comicon, | ||||
| comrev, | ||||
| autopass, | ||||
| commarkup, | ||||
| rating | ||||
| ) |
Definition at line 347 of file PageComment3.py.
| def macro::PageComment3::commentNotify | ( | comment, | ||
| trivial, | ||||
comtext = '' | ||||
| ) |
Definition at line 1217 of file PageComment3.py.
| def macro::PageComment3::convertdelimeter | ( | targettext, | ||
reverse = 0 | ||||
| ) |
Definition at line 952 of file PageComment3.py.
| def macro::PageComment3::converttext | ( | targettext, | ||
markup = '0' | ||||
| ) |
Definition at line 934 of file PageComment3.py.
| def macro::PageComment3::debug | ( | astring | ) |
Definition at line 541 of file PageComment3.py.
| def macro::PageComment3::decodeURI | ( | quotedstring | ) |
Definition at line 1290 of file PageComment3.py.
| def macro::PageComment3::deletecomment | ( | macro, | ||
| delkey, | ||||
| delpasswd | ||||
| ) |
Definition at line 1136 of file PageComment3.py.
| def macro::PageComment3::deleteform | ( | ) |
Definition at line 966 of file PageComment3.py.
| def macro::PageComment3::execute | ( | macro, | ||
| args | ||||
| ) |
Definition at line 188 of file PageComment3.py.
| def macro::PageComment3::fetchcomments | ( | startindex = 1, |
||
endindex = 9999 | ||||
| ) |
Definition at line 1046 of file PageComment3.py.
| def macro::PageComment3::filtercomment | ( | index = '', |
||
name = '', |
||||
passwd = '' | ||||
| ) |
Definition at line 1017 of file PageComment3.py.
| def macro::PageComment3::getAuthorFromCookie | ( | ) |
Definition at line 1197 of file PageComment3.py.
| def macro::PageComment3::getescapedsectionname | ( | targettext | ) |
Definition at line 922 of file PageComment3.py.
| def macro::PageComment3::getforminput | ( | form, | ||
| inputfields, | ||||
| requiredfields | ||||
| ) |
Definition at line 370 of file PageComment3.py.
| def macro::PageComment3::getMarkupText | ( | lines | ) |
Definition at line 1376 of file PageComment3.py.
| def macro::PageComment3::getparams | ( | args | ) |
Definition at line 382 of file PageComment3.py.
| def macro::PageComment3::getsmiley | ( | markup | ) |
Definition at line 930 of file PageComment3.py.
| def macro::PageComment3::getsmileymarkuplist | ( | defaulticon | ) |
Definition at line 1343 of file PageComment3.py.
| def macro::PageComment3::getsmileymarkupradio | ( | defaulticon | ) |
Definition at line 1360 of file PageComment3.py.
| def macro::PageComment3::message | ( | astring | ) |
Definition at line 538 of file PageComment3.py.
| def macro::PageComment3::nicepass | ( | alpha = 3, |
||
numeric = 1 | ||||
| ) |
returns a human-readble password (say rol86din instead of a difficult to remember K8Yn9muL )
Definition at line 1400 of file PageComment3.py.
| def macro::PageComment3::previewcomment | ( | comicon, | ||
| comauthor, | ||||
| comtext, | ||||
| commarkup, | ||||
| rating | ||||
| ) |
Definition at line 784 of file PageComment3.py.
| def macro::PageComment3::sendNotification | ( | pg, | ||
| comtext, | ||||
| comment, | ||||
| emails, | ||||
| email_lang, | ||||
| trivial | ||||
| ) |
Definition at line 1255 of file PageComment3.py.
| def macro::PageComment3::setglobalvalues | ( | macro | ) |
Definition at line 477 of file PageComment3.py.
| def macro::PageComment3::showcomment | ( | ) |
Definition at line 833 of file PageComment3.py.
| def macro::PageComment3::showcommentsection | ( | ) |
Definition at line 360 of file PageComment3.py.
| def macro::PageComment3::url_unquote | ( | s, | ||
want_unicode = True | ||||
| ) |
From moinmoin 1.5
Wrapper around urllib.unquote doing the encoding/decoding as usually wanted:
@param s: the string to unquote (can be str or unicode, if it is unicode,
config.charset is used to encode it before calling urllib)
@param want_unicode: for the less usual case that you want to get back
str and not unicode, set this to False.
Default is True.
Definition at line 1301 of file PageComment3.py.
| string macro::PageComment3::htmlcommentdel = htmlcommentdel_admin |
if Globs.admin or (item['loginuser'] and request.user.valid and request.user.name == item['name']):
htmlcommentdel = htmlcommentdel_guest
Definition at line 887 of file PageComment3.py.
| string macro::PageComment3::htmlcommentitem = u'\n' |
Definition at line 908 of file PageComment3.py.
| string macro::PageComment3::rating = converttext(item['rating']) |
Definition at line 901 of file PageComment3.py.
| string macro::PageComment3::text = converttext(item['text'], item['markup']) |
Definition at line 902 of file PageComment3.py.