mediagoblin.git
12 years agoFix thumbnail aspect ratios
Jef van Schendel [Sat, 20 Oct 2012 13:19:11 +0000 (15:19 +0200)]
Fix thumbnail aspect ratios

12 years agoRemoved Routes dependency, added admin routes
Joar Wandborg [Sat, 20 Oct 2012 10:09:23 +0000 (12:09 +0200)]
Removed Routes dependency, added admin routes

12 years agoStyling edits for buttons (Airy only)
Jef van Schendel [Fri, 19 Oct 2012 19:21:53 +0000 (21:21 +0200)]
Styling edits for buttons (Airy only)

12 years agoThumbnail styling edits plus edits to the object_gallery (4 columns instead of 5...
Jef van Schendel [Fri, 19 Oct 2012 19:13:40 +0000 (21:13 +0200)]
Thumbnail styling edits plus edits to the object_gallery (4 columns instead of 5 by default)

12 years agoThumbnail styling edits to base theme and Airy theme
Jef van Schendel [Fri, 19 Oct 2012 19:01:44 +0000 (21:01 +0200)]
Thumbnail styling edits to base theme and Airy theme

12 years agoFixed OAuth access_token duplicate route
Joar Wandborg [Sun, 14 Oct 2012 22:12:58 +0000 (00:12 +0200)]
Fixed OAuth access_token duplicate route

Changed route name to "[...]list_connections"

12 years agoAdded rudimentary route "mounting" w/ werkzeug routes; fixed auth routes
Christopher Allan Webber [Sun, 14 Oct 2012 21:26:23 +0000 (16:26 -0500)]
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

12 years agoFixed 404 page under werkzeug.routing
Joar Wandborg [Sun, 14 Oct 2012 18:05:44 +0000 (20:05 +0200)]
Fixed 404 page under werkzeug.routing

- Removed ?lang=<langcode> feature due to incompatibility with werkzeug
  routes in the current state of the architecture.

12 years agoSwitched most stuff over from Routes
Joar Wandborg [Sun, 14 Oct 2012 11:46:31 +0000 (13:46 +0200)]
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.

12 years agoFixing the airy attribution in the header.
Christopher Allan Webber [Sun, 7 Oct 2012 14:55:27 +0000 (09:55 -0500)]
Fixing the airy attribution in the header.

Not written by me, and not goblincities! :)

12 years agoFixed pylint issues, removed unused import
Joar Wandborg [Tue, 2 Oct 2012 20:29:22 +0000 (22:29 +0200)]
Fixed pylint issues, removed unused import

12 years agoAdded VideoThumbnailerMarkII
Joar Wandborg [Tue, 2 Oct 2012 14:56:29 +0000 (16:56 +0200)]
Added VideoThumbnailerMarkII

- Set video.processing to use VideoThumbnailerMarkII.

12 years agoChanged copy.copy(get_params) to dict(get_params)
Joar Wandborg [Sun, 30 Sep 2012 18:34:39 +0000 (20:34 +0200)]
Changed copy.copy(get_params) to dict(get_params)

in pagination because request.GET/request.args is immutable since the
switch to werkzeug.

12 years agoRemoved debugging stuff from master
Joar Wandborg [Sun, 30 Sep 2012 12:49:50 +0000 (14:49 +0200)]
Removed debugging stuff from master

12 years agoUse RawConfigParser instead of dict.viewitems
Joar Wandborg [Sun, 30 Sep 2012 12:42:12 +0000 (14:42 +0200)]
Use RawConfigParser instead of dict.viewitems

dict.viewitems breaks python 2.6 compatibility.

12 years agoSet up celery logging from paste ini
Joar Wandborg [Sun, 30 Sep 2012 10:43:36 +0000 (12:43 +0200)]
Set up celery logging from paste ini

12 years agoReplaced all request.POST with request.form, ...
Joar Wandborg [Sat, 29 Sep 2012 19:07:15 +0000 (21:07 +0200)]
Replaced all request.POST with request.form, ...

- Fixed error handling in OAuth plugin
- Changed request.POST file fields to request.files

12 years agoAdded OAuth test
Joar Wandborg [Sat, 29 Sep 2012 19:06:14 +0000 (21:06 +0200)]
Added OAuth test

12 years agoFixed pylint/pep8 warnings in test/tools.py
Joar Wandborg [Sat, 29 Sep 2012 19:05:01 +0000 (21:05 +0200)]
Fixed pylint/pep8 warnings in test/tools.py

12 years agoSwitch from webob.Request to werkzeug.wrappers.Request
Joar Wandborg [Thu, 27 Sep 2012 19:41:48 +0000 (21:41 +0200)]
Switch from webob.Request to werkzeug.wrappers.Request

12 years agoGrammar re: libasound2-dev
Joar Wandborg [Sat, 29 Sep 2012 18:39:17 +0000 (20:39 +0200)]
Grammar re: libasound2-dev

12 years agoAdded note about libasound2-dev to docs.
Joar Wandborg [Sat, 29 Sep 2012 18:35:49 +0000 (20:35 +0200)]
Added note about libasound2-dev to docs.

12 years agoAdded cascade all, delete-orphan to ProcessingMetaData
Joar Wandborg [Thu, 27 Sep 2012 09:59:17 +0000 (11:59 +0200)]
Added cascade all, delete-orphan to ProcessingMetaData

12 years agoAdded tests for HTTP callbacks
Joar Wandborg [Wed, 26 Sep 2012 22:45:25 +0000 (00:45 +0200)]
Added tests for HTTP callbacks

12 years agoAdded some OAuth plugin tests
Joar Wandborg [Wed, 26 Sep 2012 21:33:20 +0000 (23:33 +0200)]
Added some OAuth plugin tests

12 years agoHTTP callback fixes
Joar Wandborg [Mon, 24 Sep 2012 23:06:25 +0000 (01:06 +0200)]
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.

12 years agoAdded support for http callbacks on processing
Joar Wandborg [Mon, 24 Sep 2012 21:47:32 +0000 (23:47 +0200)]
Added support for http callbacks on processing

Sends an HTTP POST request back to an URL given on submission to the API
submit view.

12 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Mon, 24 Sep 2012 19:01:53 +0000 (14:01 -0500)]
Committing extracted and compiled translations

12 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 24 Sep 2012 19:01:20 +0000 (14:01 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

12 years agoToo much was marked for translation this gettext message.
Christopher Allan Webber [Mon, 24 Sep 2012 19:00:00 +0000 (14:00 -0500)]
Too much was marked for translation this gettext message.

Thanks for catching AVRS!

12 years agoChanged a <p/> to </p> in user.html. Removed the <p></p> wrappers in profile.html...
LotusEcho [Mon, 24 Sep 2012 16:05:18 +0000 (12:05 -0400)]
Changed a <p/> to </p> in user.html. Removed the <p></p> wrappers in profile.html which was included in user.html.

12 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Mon, 24 Sep 2012 16:42:17 +0000 (11:42 -0500)]
Committing extracted and compiled translations

12 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 24 Sep 2012 16:41:43 +0000 (11:41 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

12 years agoCorrecting a couple of spelling errors. Thanks elesa, for finding them!
Christopher Allan Webber [Mon, 24 Sep 2012 16:38:55 +0000 (11:38 -0500)]
Correcting a couple of spelling errors.  Thanks elesa, for finding them!

12 years agoRemoved logging entry from sniff_handler
Joar Wandborg [Sat, 22 Sep 2012 12:19:51 +0000 (14:19 +0200)]
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.

12 years agoFixed typos visisble, appplication
Joar Wandborg [Sat, 22 Sep 2012 10:03:32 +0000 (12:03 +0200)]
Fixed typos visisble, appplication

12 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Fri, 21 Sep 2012 20:38:14 +0000 (15:38 -0500)]
Committing extracted and compiled translations

12 years agoAdded name kwarg to Column(Enum(...)) in OAuth models
Joar Wandborg [Fri, 21 Sep 2012 11:20:56 +0000 (13:20 +0200)]
Added name kwarg to Column(Enum(...)) in OAuth models

12 years agoAdded flask-wtf html5 fields to extlib
Joar Wandborg [Fri, 21 Sep 2012 11:16:24 +0000 (13:16 +0200)]
Added flask-wtf html5 fields to extlib

12 years agoAdded client registration caps to OAuth plugin
Joar Wandborg [Fri, 21 Sep 2012 11:02:35 +0000 (13:02 +0200)]
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.

12 years agoFixed typo in OAuth README
Joar Wandborg [Wed, 19 Sep 2012 20:13:16 +0000 (22:13 +0200)]
Fixed typo in OAuth README

12 years agoAdded security warning to OAuth README
Joar Wandborg [Wed, 19 Sep 2012 20:12:13 +0000 (22:12 +0200)]
Added security warning to OAuth README

12 years agoFixed a horrible security issue in the OAuth plugin.
Joar Wandborg [Wed, 19 Sep 2012 19:57:59 +0000 (21:57 +0200)]
Fixed a horrible security issue in the OAuth plugin.

Also added some real triggering logic to the OAuthAuth Auth object.

12 years agoAdded some more helpful links to the OAuth docs
Joar Wandborg [Tue, 18 Sep 2012 19:51:22 +0000 (21:51 +0200)]
Added some more helpful links to the OAuth docs

- OAuth v2.25 draft
- IRC channel
- OAuth plugin source code

12 years agoFixed typo in OAuth docs, recieve => receive
Joar Wandborg [Tue, 18 Sep 2012 19:44:02 +0000 (21:44 +0200)]
Fixed typo in OAuth docs, recieve => receive

12 years agoAdded documentation for the OAuth plugin
Joar Wandborg [Tue, 18 Sep 2012 19:42:10 +0000 (21:42 +0200)]
Added documentation for the OAuth plugin

12 years agoStyle fixes
Joar Wandborg [Tue, 18 Sep 2012 16:19:26 +0000 (18:19 +0200)]
Style fixes

12 years agoFixed post-collect redirect to always take user to image collected.
Aaron Williamson [Tue, 18 Sep 2012 15:16:26 +0000 (11:16 -0400)]
Fixed post-collect redirect to always take user to image collected.

12 years agoFixed collection sidebar for media_home to user collection.url_for_self instead of...
Aaron Williamson [Sun, 2 Sep 2012 23:19:41 +0000 (19:19 -0400)]
Fixed collection sidebar for media_home to user collection.url_for_self instead of incorrectly getting the session user

12 years agoReference collection creator through already-existing collection_item's foreign key
Aaron Williamson [Thu, 30 Aug 2012 21:42:04 +0000 (17:42 -0400)]
Reference collection creator through already-existing collection_item's foreign key

12 years agoRemoved unnecessary reference to may_edit_collection in edit views.py
Aaron Williamson [Thu, 30 Aug 2012 21:15:50 +0000 (17:15 -0400)]
Removed unnecessary reference to may_edit_collection in edit views.py

12 years agoAdded default for 'collected' column to migration
Aaron Williamson [Thu, 30 Aug 2012 21:14:08 +0000 (17:14 -0400)]
Added default for 'collected' column to migration

12 years agoFixed migrations for Collection and CollectionItem tables
Aaron Williamson [Thu, 30 Aug 2012 20:55:31 +0000 (16:55 -0400)]
Fixed migrations for Collection and CollectionItem tables

12 years agoAdded migrations for Collection and CollectionItem tables
Aaron Williamson [Thu, 30 Aug 2012 20:48:13 +0000 (16:48 -0400)]
Added migrations for Collection and CollectionItem tables

12 years agoFixed collections migration to add 'collected' column to media_entries instead of...
Aaron Williamson [Thu, 30 Aug 2012 20:07:54 +0000 (16:07 -0400)]
Fixed collections migration to add 'collected' column to media_entries instead of 'collections'

12 years agoAdded new files for collections
Aaron Williamson [Fri, 17 Aug 2012 04:57:18 +0000 (00:57 -0400)]
Added new files for collections

12 years agoAdded basic collection functionality
Aaron Williamson [Fri, 17 Aug 2012 04:54:40 +0000 (00:54 -0400)]
Added basic collection functionality

12 years agoFixed validation in API post_entry.
Joar Wandborg [Mon, 17 Sep 2012 21:54:27 +0000 (23:54 +0200)]
Fixed validation in API post_entry.

Added state to API get_entry_serializable

12 years agoAPI: Fixed media file URLs, limits
Joar Wandborg [Sat, 15 Sep 2012 20:34:34 +0000 (22:34 +0200)]
API: Fixed media file URLs, limits

- Added default limit and limit arg to get_entries
- Fixed URL generation for BasicFileStorage files in API

12 years agoAdded CORS headers to API json_response
Joar Wandborg [Sat, 15 Sep 2012 20:18:49 +0000 (22:18 +0200)]
Added CORS headers to API json_response

12 years agoFixed ?next=<url> argument for require_active_login
Joar Wandborg [Sat, 15 Sep 2012 19:07:24 +0000 (21:07 +0200)]
Fixed ?next=<url> argument for require_active_login

It now includes the full URI, including GET args, not just the path.

12 years agoFixed tests
Joar Wandborg [Sat, 15 Sep 2012 15:54:34 +0000 (17:54 +0200)]
Fixed tests

- Adapt tests to new global_config arg for run_dbupdate
- Account for [plugins] not being set in config

12 years agoFixed typo in API post_entry
Joar Wandborg [Sat, 15 Sep 2012 14:54:14 +0000 (16:54 +0200)]
Fixed typo in API post_entry

12 years agoAdded post_entry at /api/submit
Joar Wandborg [Sat, 15 Sep 2012 14:51:29 +0000 (16:51 +0200)]
Added post_entry at /api/submit

12 years agoAdded fields to /api/entries, wrote docstrings for api.tools
Joar Wandborg [Sat, 15 Sep 2012 13:54:22 +0000 (15:54 +0200)]
Added fields to /api/entries, wrote docstrings for api.tools

12 years agoAdded /api/entries view
Joar Wandborg [Sat, 15 Sep 2012 13:25:26 +0000 (15:25 +0200)]
Added /api/entries view

12 years agoCreated API plugin, moved api_auth to the API plugin
Joar Wandborg [Thu, 13 Sep 2012 18:59:00 +0000 (20:59 +0200)]
Created API plugin, moved api_auth to the API plugin

12 years agoAdd OAuth models, plugin DB migrations, api_auth
Joar Wandborg [Wed, 12 Sep 2012 20:41:04 +0000 (22:41 +0200)]
Add OAuth models, plugin DB migrations, api_auth

12 years agoFix for issue #491, invert latitude when neccesary.
warp [Sun, 26 Aug 2012 20:12:25 +0000 (22:12 +0200)]
Fix for issue #491, invert latitude when neccesary.

12 years agoChange version to 0.3.2.dev
Will Kahn-Greene [Wed, 22 Aug 2012 22:12:18 +0000 (18:12 -0400)]
Change version to 0.3.2.dev

12 years agoUpdate version to 0.3.1 final
Will Kahn-Greene [Wed, 22 Aug 2012 22:06:41 +0000 (18:06 -0400)]
Update version to 0.3.1 final

12 years agoFix docs so they pull version from _version.py
Will Kahn-Greene [Wed, 22 Aug 2012 22:04:50 +0000 (18:04 -0400)]
Fix docs so they pull version from _version.py

12 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Wed, 22 Aug 2012 21:54:53 +0000 (16:54 -0500)]
Committing extracted and compiled translations

12 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Wed, 22 Aug 2012 21:54:27 +0000 (16:54 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

12 years agoFix relnotes for 0.3.1.
Will Kahn-Greene [Wed, 22 Aug 2012 21:47:15 +0000 (17:47 -0400)]
Fix relnotes for 0.3.1.

12 years agoRelease notes for 0.3.1
Christopher Allan Webber [Tue, 21 Aug 2012 20:37:16 +0000 (15:37 -0500)]
Release notes for 0.3.1

12 years agoUsing Aleksejrs' improved text for the theming config description
Christopher Allan Webber [Tue, 21 Aug 2012 14:01:05 +0000 (09:01 -0500)]
Using Aleksejrs' improved text for the theming config description

12 years agoReminding people they need to run gmg assetlink and that there's a default theme
Christopher Allan Webber [Tue, 21 Aug 2012 13:40:47 +0000 (08:40 -0500)]
Reminding people they need to run gmg assetlink and that there's a default theme

12 years agoGive a small amount of info on how to set the theme.
Christopher Allan Webber [Tue, 21 Aug 2012 13:33:44 +0000 (08:33 -0500)]
Give a small amount of info on how to set the theme.

12 years agoDocs tweaks
Will Kahn-Greene [Mon, 20 Aug 2012 16:35:35 +0000 (12:35 -0400)]
Docs tweaks

This fixes some minor issues in the documentation.

12 years agoSetting celery and kombu at very specific versions so that doing a fresh install...
Christopher Allan Webber [Mon, 20 Aug 2012 16:04:13 +0000 (11:04 -0500)]
Setting celery and kombu at very specific versions so that doing a fresh install doesn't break

We really ought to get mediagoblin working with the latest packages.

12 years agoUpdated flatpages example in plugins.rst to reflect reality & point to flatpages...
Christopher Allan Webber [Mon, 20 Aug 2012 13:54:09 +0000 (08:54 -0500)]
Updated flatpages example in plugins.rst to reflect reality & point to flatpages docs

12 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Sun, 19 Aug 2012 19:22:45 +0000 (14:22 -0500)]
Committing extracted and compiled translations

12 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Sun, 19 Aug 2012 19:21:46 +0000 (14:21 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

12 years ago./local/ is yet another stupid local-environment thing to .gitignore
Christopher Allan Webber [Sun, 19 Aug 2012 19:17:53 +0000 (14:17 -0500)]
./local/ is yet another stupid local-environment thing to .gitignore

12 years agoMerge remote-tracking branch 'refs/remotes/merge-requests/42'
Christopher Allan Webber [Sun, 19 Aug 2012 17:18:18 +0000 (12:18 -0500)]
Merge remote-tracking branch 'refs/remotes/merge-requests/42'

12 years agoMerge remote-tracking branch 'refs/remotes/merge-requests/40'
Christopher Allan Webber [Sun, 19 Aug 2012 17:14:39 +0000 (12:14 -0500)]
Merge remote-tracking branch 'refs/remotes/merge-requests/40'

12 years agoUncomment plugins section in mediagoblin.ini
Christopher Allan Webber [Sun, 19 Aug 2012 17:00:47 +0000 (12:00 -0500)]
Uncomment plugins section in mediagoblin.ini

12 years agoadd titles to two pages and fix a typo in docs
Aleksej [Sat, 18 Aug 2012 19:31:27 +0000 (23:31 +0400)]
add titles to two pages and fix a typo in docs

12 years agouse YYYY-MM-DD HH:MM 24-hour format on panels
Aleksej [Mon, 13 Aug 2012 18:19:23 +0000 (22:19 +0400)]
use YYYY-MM-DD HH:MM 24-hour format on panels

12 years agoadded title tags to various pages and marked a string translatable
Aleksej [Mon, 13 Aug 2012 16:28:48 +0000 (20:28 +0400)]
added title tags to various pages and marked a string translatable

12 years agoreplaced os.path.split()[0] with os.path.dirname() and corrected a couple of comments
Aleksej [Mon, 13 Aug 2012 12:07:58 +0000 (16:07 +0400)]
replaced os.path.split()[0] with os.path.dirname() and corrected a couple of comments

12 years agoDuplication of rstrip unnecessary in link_assets function
Christopher Allan Webber [Sun, 12 Aug 2012 16:49:14 +0000 (12:49 -0400)]
Duplication of rstrip unnecessary in link_assets function

Thanks for catching AVRS!

12 years agoAudio support now creates OGG instead of WAV
Joar Wandborg [Sat, 11 Aug 2012 23:57:00 +0000 (01:57 +0200)]
Audio support now creates OGG instead of WAV

While creating the spectrogram, and alternative version of the audio
file has been needed. Before this, it has been a WAV format file, the
issue with WAV is that it takes a lot of space. Starting with this it
will be an OGG file.

Rejoice :)

12 years agoChanged <pre> margin to confirm with <p> margins
Joar Wandborg [Tue, 7 Aug 2012 22:22:52 +0000 (00:22 +0200)]
Changed <pre> margin to confirm with <p> margins

12 years agoallow pre+code tags in rendered HTML
Jakob Kramer [Tue, 24 Apr 2012 15:16:31 +0000 (17:16 +0200)]
allow pre+code tags in rendered HTML

12 years agorenamed MARKDOWN_INSTANCE to UNSAFE_...
Jakob Kramer [Sat, 4 Aug 2012 15:51:26 +0000 (17:51 +0200)]
renamed MARKDOWN_INSTANCE to UNSAFE_...

as proposed by Elrond.

Conflicts:
mediagoblin/tools/text.py

Signed-off-by: Joar Wandborg <git@wandborg.com>
12 years agoAdd python language version classifiers
Will Kahn-Greene [Mon, 6 Aug 2012 15:42:15 +0000 (11:42 -0400)]
Add python language version classifiers

12 years agoNon-performance improvements to cloudfiles
Joar Wandborg [Sun, 5 Aug 2012 20:52:30 +0000 (22:52 +0200)]
Non-performance improvements to cloudfiles

Improved documentation and added logging to cloudfiles

12 years agoFixing grammar on telling users to run dbupdate
Christopher Allan Webber [Sun, 5 Aug 2012 15:14:15 +0000 (10:14 -0500)]
Fixing grammar on telling users to run dbupdate