23 Commits

Author SHA1 Message Date
Elrond
48cf435d71 Refactor routing in app.py.
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.
2012-12-23 12:26:34 +01:00
Joar Wandborg
5b60ec41ee Removed Routes dependency, added admin routes 2012-10-20 12:35:03 +02:00
Joar Wandborg
d56e82635f Fixed OAuth access_token duplicate route
Changed route name to "[...]list_connections"
2012-10-15 22:59:53 +02:00
Christopher Allan Webber
0d857844b1 Added rudimentary route "mounting" w/ werkzeug routes; fixed auth routes
auth routes fixes:
 - mounted the auth routes at /auth/
 - removed crufty old verification email route
2012-10-14 16:26:23 -05:00
Joar Wandborg
7742dcc1fb Switched most stuff over from Routes
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.
2012-10-14 13:46:31 +02:00
Will Kahn-Greene
4bd65f69c7 Finish flatpagesplugin; add plugin docs 2012-07-16 09:26:28 -04:00
Joar Wandborg
808eac008b Processing panel improvements
- Added admin processing panel
- Minor fixes on the user processing panel template
2012-07-11 01:43:21 +02:00
Christopher Allan Webber
cf29e8a824 It's 2012 all up in here 2012-02-02 09:44:13 -06:00
Joar Wandborg
9c1c6c2a61 Added *very preliminary* support for webfinger 2011-12-15 00:46:10 +01:00
Will Kahn-Greene
12a100e4d8 508. Updates copyright/license information 2011-09-01 20:50:19 -04:00
Joar Wandborg
41a695c418 Get this confirm_routing import out of here.. it doesn't exist! :) 2011-09-01 19:49:50 -05:00
Joar Wandborg
502073f2bf Feature #403 - Ability to delete media entries - Fixes according to feedback
*   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.
2011-08-30 23:16:46 +02:00
Mark Holmquist
08750772ea + 'confirm' section for confirmation dialogues
+ implemented delete functionality
* fixed several instances of 'must be an instance of unicode, not str'
2011-08-22 02:57:40 -07:00
Christopher Allan Webber
71454fd351 Added tag listing views.
Also added routing, added templates, etc.
2011-07-31 20:45:49 -05:00
Elrond
aba81c9f20 Starting "edit" functionality.
This adds a link to the "edit" form, the form, the view for
displaying the form and that's about it.
2011-05-26 23:09:33 +02:00
Sebastian Spaeth
9a16e16ffa Implement simple media detail page
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>
2011-05-10 16:01:43 -05:00
Christopher Allan Webber
e323a06851 Start of the submit view, but not much there quite yet. 2011-04-19 19:05:46 -05:00
Will Kahn-Greene
8e1e744d27 Changes Mediagoblin -> MediaGoblin. 2011-04-13 10:04:30 -04:00
Christopher Allan Webber
146ad23e9b Herp derp GPL notice blocks should even be on routing. 2011-04-03 18:58:23 -05:00
Christopher Allan Webber
2418182016 Registering almost works right :) 2011-04-03 13:35:18 -05:00
Matt Lee
e5572c6077 Added copyright notices 2011-03-27 18:47:23 -04:00
Christopher Allan Webber
0f63a9440d A few adustments to the routing and etc 2010-07-18 11:20:18 -05:00
Christopher Allan Webber
31a8ff4288 Initial mediagoblin structure 2010-07-17 11:33:08 -05:00