| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Changed route name to "[...]list_connections"
|
|
|
|
|
| |
- Removed ?lang=<langcode> feature due to incompatibility with werkzeug
routes in the current state of the architecture.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
in pagination because request.GET/request.args is immutable since the
switch to werkzeug.
|
|
|
|
|
| |
- Fixed error handling in OAuth plugin
- Changed request.POST file fields to request.files
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
Sends an HTTP POST request back to an URL given on submission to the API
submit view.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
comments
|
| |
|
|
|
|
|
|
|
|
|
| |
as proposed by Elrond.
Conflicts:
mediagoblin/tools/text.py
Signed-off-by: Joar Wandborg <git@wandborg.com>
|
|\ |
|
| |
| |
| |
| |
| | |
I added mg_globals.thread_scope (an instance of threading.local)
and made `translations' an attribute of it.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This reworks the plugin infrastructure so as to remove module-loading
side-effects which were making things a pain in the ass to test.
With the new system, there's no auto-registering meta class. Instead
plugins do whatever they want and then specify a hooks dict that maps
hook names to callables for the things they're tying into. The most
common one (and the only one we've implemented so far) is "setup".
This also simplifies the sampleplugin a little by moving the code
to __init__.py.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes the template loader so that it can load plugin templates.
This adds code for registering template paths so that plugins can add
their own templates.
This adds the base code for the flatpagesfile plugin. It doesn't serve
pages, yet, but it's pretty close.
|
|
|
|
|
| |
If we can't find the theme section, we should use a dictionary instead
of None in this section of code.
|
| |
|
| |
|
|
|
|
|
| |
This will reduce the amount of work reproducing this behavior when
pulling together the theme registry elsewhere.
|
| |
|
|
|
|
|
| |
Since we're adding the new "domain" staticdirect system we should
clean this up.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
method.
|
| |
| |
| |
| |
| |
| |
| | |
It's nicer to raise exceptions like
raise Exception("foo")
than
raise Exception, "foo"
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
app_config will be None in this case, so all of these subscripts will
fail.
|
|/
|
|
|
| |
- Negative or 'W' longitudes were not accounted for.
- pyflakes fixes.
|
| |
|
|
|
|
|
|
|
|
| |
* implements installing, loading and setup for plugins
* codifies configuration
* has a sample plugin
* docs
* tests
|
|\
| |
| |
| |
| | |
Conflicts:
mediagoblin/media_types/image/processing.py
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Same idea as in the previous commit.
Joar caught this one.
To reproduce
1. Create a user with an all-decimal ObjectId in mongo
2. Login using that user, while mongodb is enabled.
3. Switch instance to sql.
4. Restart.
5. Refresh any page.
This will error, because no user with that object id exists
any more.
While around, improved logging.
|
|
|
|
|
|
|
|
|
| |
attachments working with the sql backend.
- SQL Schema for attachment files, ordering attachments by
their name, not by the submission order (as earlier).
- Dot-Notation for attachments, where missing.
- convert existing attachments over from mongo -> sql
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Added EXIF tests
- Removed pdb from image processing "ifmain"
- Fixed comment typo in image processing
- Removed unused import in tools.exif
|
|
|
|
|
|
|
| |
- Moved exif functions from mediagoblin.media_types.image.processing
to mediagoblin.tools.exif
- Moved EXIF.py link from mediagoblin.media_types to mediagoblin.tools.extlib
- Refractored and updated EXIF exctraction and presentation
|