| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Added link to Apache deployment instructions
|
| | |
| | |
| | |
| | | |
This commit sponsored by Guido Günther. Thanks!
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is possibly the cleaner approach to the problem solved
in the previous commit.
The previous commit makes sure, that testing is enabled at
import time. While this one enables it just before the
individual test is run. So this one takes a bit more CPU.
Maybe revert the previous commit?
References: 0536306048daa0970d2e43411ba2a9bf073e570e
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Revert "Always activate testing in every test module ever."
This reverts commit 0536306048daa0970d2e43411ba2a9bf073e570e.
|
| | |
| | |
| | |
| | | |
Kind of a dorky way to implement this, but...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
MODELS or MIGRATIONS
The reason it blew up was because in the latter caught exception, it
wouldn't set models/migrations to an empty set, so it would actually
use the previous run's models/migrations! That's what we get for
"leaky" variables on python for loops :)
This commit sponsored by Pascal Diogo Antunes. Thank you!
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows for modifying any context *right before render*, including
access to the variables that are passed in. This test takes advantage
of that and takes one of the variables, "doubleme", and modifies
it (doubles it!)
In our case it turns "happy" and "joy" into "happyhappy" and "joyjoy".
This commit sponsored by Mark Holmquist. Thank you!
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"template_context_prerender" :)
This commit sponsored by William Goudie. Thanks Bill! :)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This commit sponsored by Sheila Miguez. Thanks Sheila!
|
| | | |
| | | |
| | | |
| | | | |
This commit sponsored by Matthew Woodward. Thank you!
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Needs documentation though... that's coming next :)
This commit sponsored by Luca Tius. Thanks Luca!
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This commit sponsored by David Collins. Thank you!
|
| | |\ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tests :)
This commit sponsored by Xavier Gulliot. Thanks Xavier!
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Not the working solution, but getting there conceptually. Basically
we'll have a key with the view and the template as a tuple which is
the context hook that anyone can attach to.
However, some changes have still to be made:
- The unit test doesn't work yet and contains a set_trace ;)
- We'll probably switch the "view" component from being the callable
to the "urlgen"'able name per Elrond's suggestion
- Found a bug in unit tests related to running custom apps for
different configs... hm. I need to fix this!
Nonetheless, making progress.
This commit sponsored by... wait a minute... Christopher Webber?!
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit sponsored by Christian Frank. Thank you!
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This first test checks the session logic of the piwigo
plugin. login, logout, getStatus.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | | |
wtforms.validators.Optional doesn't take an argument.
I don't know, why I gave it one.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This commit sponsored by Kevin McCarthy. Thank you!
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
in app instead
This should remove a bunch of confusing cruft. I hate using that
environment variable! Also that old code was fragile.
This commit sponsored by Stephen Milton. Thanks!
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
docs
This commit sponsored by Denise Merkel. Thanks, Mom! Happy Mother's Day!
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes a bug so that it doesn't explode if the media_data doesn't
exist.
This commit sponsored by Ole-Morten Duesund. Thank you!
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
mediagoblin/config_spec.ini
mediagoblin/templates/mediagoblin/user_pages/media.html
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
function)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
as a configurable option 'original_date_visible' (default false). Since the EXIF tag is a string with the date formatted as 'YYYY:MM:DD HH:MM:SS' the fix slices the string to give only the date and then replaces : by - to conform with the 'Added on' date.
|
| |\ \ \ \ \
| | |_|_|/ /
| |/| | | | |
|
| | | | | | |
|
| |\ \ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \ |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If there is a user logged in, show his name.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Using the brand new itsdangerous sessions to power the
sessions for piwigo.
The real point is: Clients want to have the session in a
"pwg_id" cookie and don't accept any other cookie name.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
To make things a bit easier, switch to WTForms
for validating the received data.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This one was a fake thing to make clients happy.
Real sessions coming sonn.
|