Example #1
0
def board():
    auth = session.get("auth", {})
    user = auth.get("user", None)
    if user:
        user_id = user.id
    else:
        user_id = None
    person = Person()
    person.board(request.args(0) or user_id or redirect(login_url))
    return person.render('app/person/board')
Example #2
0
def board():
    auth = session.get("auth", {})
    user = auth.get("user", None)
    if user:
        user_id = user.id
    else:
        user_id = None
    person = Person()
    person.context.leftlogo_enabled = True
    person.board(request.args(0) or user_id or redirect(login_url), request.vars.postid)
    return person.render()
Example #3
0
def show():
    auth = session.get("auth", {})
    user = None
    if auth:
        user = auth.get("user", None)
    if user:
        user_id = user.id
    else:
        user_id = None
    person = Person()
    person.show(request.args(0) or user_id or redirect(login_url))
    return person.render()
Example #4
0
def show():
    auth = session.get("auth", {})
    user = None
    if auth:
        user = auth.get("user", None)
    if user:
        user_id = user.id
    else:
        user_id = None
    person = Person()
    person.show(request.args(0) or user_id or redirect(login_url))
    return person.render()
Example #5
0
def board():
    auth = session.get("auth", {})
    user = None
    if auth:
        user = auth.get("user", None)
    if user:
        user_id = user.id
    else:
        user_id = None
    person = Person()
    person.context.leftlogo_enabled = True
    person.board(
        request.args(0) or user_id or redirect(login_url), request.vars.postid)
    return person.render()
Example #6
0
def show():
    person = Person()
    person.show(request.args(0) or session.auth.user.id)
    return person.render('app/person/show')
Example #7
0
def account():
    person = Person("account")
    person.context.left_sidebar_enabled = True if 'profile' in request.args else False
    person.context.leftlogo_enabled = True
    return person.render('app/person/account')
Example #8
0
def facebook():
    session.state = 'facebook'
    person = Person("facebook")
    return person.render()
Example #9
0
def search():
    person = Person()
    person.context.left_sidebar_enabled = True
    person.search(request.vars.get('q'))
    return person.render('app/person/search')
Example #10
0
def privatetimeline():
    person = Person('privatetimeline')
    person.context.leftlogo_enabled = True
    return person.render("app/person/privatetimeline")
Example #11
0
def loginbare():
    person = Person("loginbare")
    return person.render('app/person/loginbare')
Example #12
0
def account():
    person = Person("account")
    return person.render('app/person/account')
Example #13
0
def delete_account():
    person = Person('delete_account')
    return person.render('app/person/account')
Example #14
0
def usertimeline():
    person = Person('usertimeline')
    person.context.leftlogo_enabled = True
    return person.render("app/person/usertimeline")
Example #15
0
def privatetimeline():
    person = Person('privatetimeline')
    person.context.leftlogo_enabled = True
    return person.render("app/person/privatetimeline")
Example #16
0
def delete_account():
    person = Person('delete_account')
    return person.render('app/person/account')
Example #17
0
def usertimeline():
    person = Person('usertimeline')
    person.context.leftlogo_enabled = True
    return person.render("app/person/usertimeline")
Example #18
0
def usertimeline():
    person = Person('usertimeline')
    return person.render("app/person/usertimeline")
Example #19
0
def google():
    if 'state' in request.vars and request.vars.state == 'google':
        session.state = request.vars.state
    person = Person("google")
    return person.render()
Example #20
0
def board():
    person = Person()
    person.board(request.args(0) or session.auth.user.id)
    return person.render('app/person/board')
Example #21
0
def loginbare():
    person = Person("loginbare")
    return person.render('app/person/loginbare')
Example #22
0
def facebook():
    person = Person("facebook")
    return person.render()
Example #23
0
def following():
    person = Person()
    person.following(request.args(0))
    return person.render()
Example #24
0
def facebook():
    session.state = 'facebook'
    person = Person("facebook")
    return person.render()
Example #25
0
def google():
    if 'state' in request.vars and request.vars.state == 'google':
        session.state = request.vars.state
    person = Person("google")
    return person.render()
Example #26
0
def publictimeline():
    person = Person('publictimeline')
    return person.render("app/person/publictimeline")
Example #27
0
def publictimeline():
    person = Person('publictimeline')
    return person.render("app/person/publictimeline")
Example #28
0
def privatetimeline():
    person = Person('privatetimeline')
    return person.render("app/person/privatetimeline")
Example #29
0
def privatetimeline():
    person = Person('privatetimeline')
    return person.render("app/person/privatetimeline")
Example #30
0
def contacts():
    person = Person()
    person.contacts(request.args(0))
    person.context.left_sidebar_enabled = True
    return person.render('app/person/contacts')
Example #31
0
def following():
    person = Person()
    person.following(request.args(0))
    return person.render()
Example #32
0
def usertimeline():
    person = Person('usertimeline')
    return person.render("app/person/usertimeline")
Example #33
0
def contacts():
    person = Person()
    person.contacts(request.args(0))
    person.context.left_sidebar_enabled = True
    return person.render('app/person/contacts')
Example #34
0
def account():
    person = Person("account")
    person.context.left_sidebar_enabled = True if 'profile' in request.args else False
    return person.render('app/person/account')
Example #35
0
def search():
    person = Person()
    person.context.left_sidebar_enabled = True
    person.search(request.vars.get('q'))
    return person.render('app/person/search')