2255 Commits

Author SHA1 Message Date
Joar Wandborg
5b60ec41ee Removed Routes dependency, added admin routes 2012-10-20 12:35:03 +02:00
Jef van Schendel
54397b9063 Styling edits for buttons (Airy only) 2012-10-19 21:21:53 +02:00
Jef van Schendel
1c66750a4a Thumbnail styling edits plus edits to the object_gallery (4 columns instead of 5 by default) 2012-10-19 21:13:40 +02:00
Jef van Schendel
42d4763c7a Thumbnail styling edits to base theme and Airy theme 2012-10-19 21:01:44 +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
1ec7ff2adb Fixed 404 page under werkzeug.routing
- Removed ?lang=<langcode> feature due to incompatibility with werkzeug
  routes in the current state of the architecture.
2012-10-14 20:05:44 +02: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
Christopher Allan Webber
a817fb76b1 Fixing the airy attribution in the header.
Not written by me, and not goblincities! :)
2012-10-07 09:55:27 -05:00
Joar Wandborg
e2890c729f Fixed pylint issues, removed unused import 2012-10-02 22:29:22 +02:00
Joar Wandborg
e4a1b6d22a Added VideoThumbnailerMarkII
- Set video.processing to use VideoThumbnailerMarkII.
2012-10-02 16:56:29 +02:00
Joar Wandborg
3d7fa496ee Changed copy.copy(get_params) to dict(get_params)
in pagination because request.GET/request.args is immutable since the
switch to werkzeug.
2012-09-30 20:34:39 +02:00
Joar Wandborg
2806a857dd Removed debugging stuff from master 2012-09-30 14:49:50 +02:00
Joar Wandborg
b4ab702f10 Use RawConfigParser instead of dict.viewitems
dict.viewitems breaks python 2.6 compatibility.
2012-09-30 14:42:12 +02:00
Joar Wandborg
b1bb15d1f9 Set up celery logging from paste ini 2012-09-30 12:43:36 +02:00
Joar Wandborg
111a609df5 Replaced all request.POST with request.form, ...
- Fixed error handling in OAuth plugin
- Changed request.POST file fields to request.files
2012-09-29 21:08:20 +02:00
Joar Wandborg
a6ec38c3c1 Added OAuth test 2012-09-29 21:08:20 +02:00
Joar Wandborg
bee079f36f Fixed pylint/pep8 warnings in test/tools.py 2012-09-29 21:08:20 +02:00
Joar Wandborg
f1d06e1d6c Switch from webob.Request to werkzeug.wrappers.Request 2012-09-29 21:08:20 +02:00
Joar Wandborg
8518e95eb6 Grammar re: libasound2-dev 2012-09-29 20:39:17 +02:00
Joar Wandborg
34a853133f Added note about libasound2-dev to docs. 2012-09-29 20:35:49 +02:00
Joar Wandborg
942084fbfd Added cascade all, delete-orphan to ProcessingMetaData 2012-09-27 11:59:17 +02:00
Joar Wandborg
0df00eb68f Added tests for HTTP callbacks 2012-09-27 00:45:25 +02:00
Joar Wandborg
a11aa2d17a Added some OAuth plugin tests 2012-09-26 23:53:51 +02:00
Joar Wandborg
939d57a022 HTTP callback fixes
- Added HTTPError catching around the callback request, to not mark the
  entry as failed, just log the exception.
- Fixed bug where I forgot to actually fetch the entry before passing it
  to json_processing_callback.
- Changed __main__ migration #6 to create the ProcessingMetaData table
  as it is currently, to prevent possible breakage if a siteadmin
  is lagging behind with his db migrations and more than one migration
  wants to fix stuff with the ProcessingMetaData table.
2012-09-26 23:53:51 +02:00
Joar Wandborg
5354f954dc Added support for http callbacks on processing
Sends an HTTP POST request back to an URL given on submission to the API
submit view.
2012-09-26 23:53:51 +02:00
Christopher Allan Webber
20d01daed7 Committing extracted and compiled translations 2012-09-24 14:01:53 -05:00
Christopher Allan Webber
21fee42b84 Committing present MediaGoblin translations before pushing extracted messages 2012-09-24 14:01:20 -05:00
Christopher Allan Webber
a648102890 Too much was marked for translation this gettext message.
Thanks for catching AVRS!
2012-09-24 14:00:34 -05:00
LotusEcho
2b28f95b31 Changed a <p/> to </p> in user.html. Removed the <p></p> wrappers in profile.html which was included in user.html. 2012-09-24 20:31:20 +02:00
Christopher Allan Webber
f2bcd91d20 Committing extracted and compiled translations 2012-09-24 11:42:17 -05:00
Christopher Allan Webber
e49a17c097 Committing present MediaGoblin translations before pushing extracted messages 2012-09-24 11:41:43 -05:00
Christopher Allan Webber
315ac0a2d3 Correcting a couple of spelling errors. Thanks elesa, for finding them! 2012-09-24 11:40:47 -05:00
Joar Wandborg
4f8508f664 Removed logging entry from sniff_handler
The logging entry caused the submit page to crash if you tried to upload
an SVG with a non-ascii filename.
2012-09-22 14:19:51 +02:00
Joar Wandborg
5ee1ab2abb Fixed typos visisble, appplication 2012-09-22 12:03:32 +02:00
Christopher Allan Webber
d2eb7440d2 Committing extracted and compiled translations 2012-09-21 15:38:14 -05:00
Joar Wandborg
6b8c66d44c Added name kwarg to Column(Enum(...)) in OAuth models 2012-09-21 13:20:56 +02:00
Joar Wandborg
0e21b2342f Added flask-wtf html5 fields to extlib 2012-09-21 13:16:24 +02:00
Joar Wandborg
88a9662be4 Added client registration caps to OAuth plugin
THE MIGRATIONS SUPPLIED WITH THIS COMMIT WILL DROP AND RE-CREATE YOUR
oauth__tokens AND oauth__codes TABLES. ALL YOUR OAUTH CODES AND TOKENS
WILL BE LOST.

- Fixed pylint issues in db/sql/migrations.
- Added __repr__ to the User model.
- Added _disable_cors option to json_response.
- Added crude error handling to the api.tools.api_auth decorator
- Updated the OAuth README.
- Added client registration, client overview, connection overview,
  client authorization views and templates.
- Added error handling to the OAuthAuth Auth object.
- Added AuthorizationForm, ClientRegistrationForm in oauth/forms.
- Added migrations for OAuth, added client registration migration.
- Added OAuthClient, OAuthUserClient models.
- Added oauth/tools with require_client_auth decorator method.
2012-09-21 13:09:42 +02:00
Joar Wandborg
d4c066abf0 Fixed typo in OAuth README 2012-09-19 22:13:16 +02:00
Joar Wandborg
6ed236d5b5 Added security warning to OAuth README 2012-09-19 22:12:13 +02:00
Joar Wandborg
f26224d433 Fixed a horrible security issue in the OAuth plugin.
Also added some real triggering logic to the OAuthAuth Auth object.
2012-09-19 21:57:59 +02:00
Joar Wandborg
a7b8c214e9 Added some more helpful links to the OAuth docs
- OAuth v2.25 draft
- IRC channel
- OAuth plugin source code
2012-09-18 21:51:22 +02:00
Joar Wandborg
4427b1bea4 Fixed typo in OAuth docs, recieve => receive 2012-09-18 21:44:02 +02:00
Joar Wandborg
df3147b986 Added documentation for the OAuth plugin 2012-09-18 21:42:10 +02:00
Joar Wandborg
6d1e55b262 Style fixes 2012-09-18 18:19:26 +02:00
Aaron Williamson
c9ac6841c4 Fixed post-collect redirect to always take user to image collected. 2012-09-18 18:10:36 +02:00
Aaron Williamson
256f816f50 Fixed collection sidebar for media_home to user collection.url_for_self instead of incorrectly getting the session user 2012-09-18 18:10:36 +02:00
Aaron Williamson
cdb35b9717 Reference collection creator through already-existing collection_item's foreign key 2012-09-18 18:10:36 +02:00
Aaron Williamson
b5a64f7884 Removed unnecessary reference to may_edit_collection in edit views.py 2012-09-18 18:10:36 +02:00