| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
- Added EXIF tests
- Removed pdb from image processing "ifmain"
- Fixed comment typo in image processing
- Removed unused import in tools.exif
|
|
|
|
|
|
|
|
|
| |
attachments are an optional part. But it doesn't hurt to
enable them in the test suite at all.
Also (with enabled attachmemtns) the main media view fails,
if one isn't logged in (joar found it!). So add a simple
(currently failing) test for this.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
After changing the password, the login page is now shown.
It contains a message. (we can't test for that easily
currently. There is a bug open on this problem.)
At least for the login page being shown now.
|
|
|
|
|
|
| |
- Fixed broken test_auth test
- Fixed error handling on submission, it now raises the exception
if it is not explicitly relevant to file submission.
|
|\
| |
| |
| |
| | |
* remotes/joar/tests:
Fixed broken confirm_password test
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added ASCII media processing
* Added ASCII media display
* Added ASCII media type
Rebased from Joar Wandborg's ascii art branch (squashed to remove the
commits borrowing code of dubious license)
Fixed a bug in file submission error handling:
- Moved file-extension condition out of loop (what did it do there?)
- Updated file submission tests
- Changed error handling in file submission, should now report more
than absolutely necessary.
|
|
|
|
| |
And change references.
|
|
|
|
|
| |
- Change some reference
- Provide a wrapper db/util.py
|
|
|
|
|
| |
convert tests/test_edit.py over to Dot-Notation. It only
accesses the User object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See http://bugs.foocorp.net/issues/695
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
'remotes/lorochka85/bug852_use_media_slug_instead_of_id'
Conflicts:
mediagoblin/decorators.py
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
|
|\ \
| | |
| | |
| | |
| | | |
* misc/fixture_add_user:
fixture_add_user: Factoring a unit test tool
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some unit tests need a user in the database, especially to
act as that user. Some routines did that on their own. So
factored this whole thing into a new function and use it
around.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* remotes/manolinux/671_spaces_in_tag_list_edit:
* Feature #678: Drop custom delimiters in tags * Eliminate the definition of the tag delimiter for tests. * Remove a test that was related to custom tags delimiter. * Bug #671: Tags list on Edit page is not seperated by spaces and hard to read * Modify a test to include this space.
* Bug #671: Tags list on Edit page is not seperated by spaces and hard to read : Make 'media_tags_as_string' function put a space after each comma. * Feature #678: Drop custom delimiters in tags : I declare a constant in the begining of text.py file.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Eliminate the definition of the tag delimiter for tests.
* Remove a test that was related to custom tags delimiter.
* Bug #671: Tags list on Edit page is not seperated by spaces and hard to read
* Modify a test to include this space.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The simplest way to reproduce Bug #685 is to ask for a non
existent page. This should return a proper 404. It
currently doesn't.
So add a unit test exactly for this.
This unit test fails currently! It will fail until the bug
gets fixed.
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
Our unit tests for auth were expecting a 400.
Well, now we give a 404. So expect that!
I'm not completely sure, if the 404 is the right thing
here, but that's another topic.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Created a BaseMeddleware which all Meddleware should derive
from. This is not strictly needed, but will greatly help.
The base class has the common __init__ of all the other
Meddlwares and fall backs for all hooks. That way a new
Meddlware only needs to override what it actually wants to
implement.
|
| | |
| | |
| | |
| | |
| | |
| | | |
middleware
hehehehehe, "meddleware"
|
|/ /
| |
| |
| |
| |
| | |
- Added handling of InvalidFileType to submit.views
- Updated test_celery_setup and test_submission tests to reflect the changes to the
media procesing infrastructure
|
| | |
|
|/
|
|
| |
is given for /edit/profile/
|
|
|
|
|
|
|
|
|
| |
Note: Migrations can't use "Dot Notation"!
Migrations run on pymongo, not mongokit.
So they can't use the "Dot Notation".
This isn't really a big issue, as migrations are anyway
quite mongo specific.
|
|\
| |
| |
| |
| |
| |
| | |
* idea/check_mgoblin_static:
Move TestingMiddleware to tests/tools.py
Some docs for the TestingMiddleware
591: Let Testing Middleware check for staticdirect() usage
|
| |
| |
| |
| |
| | |
This middleware isn't needed outside of the tests, so let's
just put it there.
|
| |
| |
| |
| |
| | |
To make the TestingMiddleware actually more useful in the
future, start to document it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
All references to static, shipped content should go via
request.staticdirect().
So insert a TestingMiddleware in the chain, which tests for
this on all requests/reponses happening in the test suite.
It's a simple text search for a bogus usage pattern.
|
|/
|
|
|
|
| |
One of the test migrations adds a field. So rewrite it to
use the new add_table_field helper function. This is a
good test for it.
|
|
|
|
|
|
|
|
| |
The name of the cookie was hardcoded in the unit tests and
while renaming the cookie this part was missed.
So now read the cookie_name from the config in the test.
This also tests for the config item existing!
|
|\
| |
| |
| |
| | |
Conflicts:
mediagoblin/util.py
|
| | |
|
| |
| |
| |
| | |
tools/[file].py
|
|/ |
|
|
|
|
|
|
|
|
|
| |
* Removed storage.py
* Created submodules for filestorage, cloudfiles, mountstorage
* Changed test_storage to reflect the changes made in the storage
module structure
* Added mediagoblin.storage.filestorage.BasicFileStorage as a
default for both publicstore and queuestore's `storage_class`
|
|\
| |
| |
| |
| | |
Conflicts:
mediagoblin/auth/routing.py
|
| | |
|
| | |
|