| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
fixes usage of objects. still need to display the data on user page
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
adds
* url and bio fields to database
* form for editing the user profile
* route to the edit profile controller
* view for the profile editing page
* template for the profile editing page
* link to edit profile in the welcome page
still needs
* thorough inspection to see if it makes sense
* tests
* ?
|
| |
|
|
|
|
|
| |
This is just replacing exc.HTTPFound(location=request.urlgen(...))
by redirect(request, ...). No magic.
|
|
|
|
|
| |
Just a simple indentation and ordering change, no
functional change.
|
|
|
|
| |
Just a shortcut for Response(render_template(...))
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Turn .save() excpetions into a HTTPConflict. Not nice, but
at least the user gets the error. Until there is a proper
way to validate things and get nice errors.
Move may_edit_media() to lib.py, as it's not a view.
|
|
|
|
|
| |
To make moving the whole thing under /u/ easier, prepare to
pass in the {user} needed for that.
|
|
|
|
|
| |
You need to own the media, or be an admin to use the edit form.
As simple as that, for now.
|
|
|
|
|
|
| |
Currently no checks. Probably not so good.
And especially, every logged in user currently can edit the
data for any other user's media.
|
|
This adds a link to the "edit" form, the form, the view for
displaying the form and that's about it.
|