| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Move most of the "init routing" code inside get_url_map().
Maybe not the best solution, but better than running the
init code directly at module load time.
|
|
|
|
|
|
|
| |
This stops a cyclic import.
Move add_route, mount and endpoint_to_controller into
tools/routing.py and change all callers.
|
|
|
|
|
|
| |
Move some things out of app.py into functions in
routing.py. This makes app.py a bit more readable and
allows us to rewrite routing.
|
| |
|
|
|
|
| |
Changed route name to "[...]list_connections"
|
|
|
|
|
|
| |
auth routes fixes:
- mounted the auth routes at /auth/
- removed crufty old verification email route
|
|
|
|
|
|
|
|
|
|
| |
Removed the Routes routing functionality and replaced it with
werkzeug.routes. Most views are functional.
Known issues:
- Translation integration with the request object is not yet figured
out. This breaks 404 pages.
|
| |
|
|
|
|
|
| |
- Added admin processing panel
- Minor fixes on the user processing panel template
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Moved `mediagoblin.confirm` stuff to `mediagoblin.user_pages`,
templates too.
* Removed route extension for `mediagoblin.confirm`
* Created `delete_media_files` which deletes all media files
on the public_store when the entry is deleted
* Created a new decorator to check if a user has the permission
to delete an entry.
|
|
|
|
|
| |
+ implemented delete functionality
* fixed several instances of 'must be an instance of unicode, not str'
|
|
|
|
| |
Also added routing, added templates, etc.
|
|
|
|
|
| |
This adds a link to the "edit" form, the form, the view for
displaying the form and that's about it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch creates a "homepage" for each media. The URL is
/u/<username>/m/<objID>.
On it we display the media and some details. It is ugly and lacking some
stuff but it works. The only thing left to do is to throw an 404 error
if the <username> and the media uploader don't correspond.
- Also create a user "home page" while at it. It is merely a place
holder for now though.
- Link from the entries on the homepage, to the media pages, so we
actually find them.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|