| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This help a Guix package to locate the basic static assets.
|
|
|
|
|
|
| |
flup is not supported on Python3, so MediaGoblin doesn't have a supported way to enable FastCGI support.
This change removes all references to flup and FastCGI and updates deployment instructions to use simple HTTP forwarding with nginx to access mediagoblin's non-static resources.
|
|
|
|
|
| |
Incredibly, it looks like none of our documentation has to change taking
this route...!
|
|
|
|
| |
This does a "friendly" fallback where it skips the middleware on python 3.
|
| |
|
|
|
|
|
|
|
|
| |
Tries to simplify a lot of the configure code. This is mostly because I
found what I expected the previous configure setup to do wasn't quite
what it was doing.
Also supports a --with-python3 option.
|
|
|
|
| |
We don't have paste (core) in py3, so....
|
| |
|
|
|
|
|
|
|
| |
Changes:
* Paste#http -> Gunicorn
* Paste#urlmap and Paste#static -> werkzeug.wsgi.SharedDataMiddleware
|
| |
|
|
|
|
|
|
|
|
|
| |
- add link_plugin_assets. For now, incorrectly running from
./bin/gmg theme assetlink... uh, will fix ;)
- Update paste and config_spec.ini configs to handle the locations
and serving of the plugins' static resources
This commit sponsored by Marko Dimjašević. Thank you!
|
|
|
|
|
|
|
|
| |
There were still some traces of beaker around:
- docs: replaced by reference to itsdangerous.
- paste configs: Wiped away.
- config_spec.ini: wiped.
- test_mgoblin_app.ini: also wiped.
|
|
|
|
| |
This is all obsoleted by It's Dangerous.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
paste uses paste.ini to configure python's logging module.
Until now, there was NO config, not even a useful default
one. This means: any messages went away unseen.
Not good.
The new default logs everything to stderr at level INFO and
higher. Maybe not the best, but a good starting point.
|
|
|
|
|
| |
Thanks go to Aleksej Serdjukov for bringing this up and
providing the patch in the bug!
|
|
|
|
| |
safe!
|
| |
|
| |
|
|
|
|
|
| |
This way we can copy paste.ini into paste_local.ini but not have to
update it to find mediagoblin_local.ini.
|
| |
|
|
|
|
| |
easier.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entries and other files the client should have some idea on
how long it can cache those files locally before asking
again for them.
The old setting was: Don't allow the client to cache.
New setting:
1 week for the media entries (they don't change, ever)
1 day for css/logos, etc. They change on an update, so
people might want to see the new design soon.
|
|
|
|
| |
Now we can show a nice "borked goblin" error :)
|
|
Updating the file, updating lazyserver.sh, updating docs.
|