Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Bug #685: Add failing unit test | Elrond | 2011-12-03 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | Expect 404 in unit tests, if we now use 404. | Elrond | 2011-12-02 | 1 | -4/+4 | |
| |/ / |/| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Issue 680 Allow decorating views to prevent CSRF protection. | Nathan Yergler | 2011-11-26 | 1 | -1/+20 | |
| | | | ||||||
* | | | Add base class for Meddleware | Elrond | 2011-11-25 | 1 | -7/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Rename MediaGoblin middleware to meddleware to avoid confusion w/ wsgi ↵ | Christopher Allan Webber | 2011-11-25 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | middleware hehehehehe, "meddleware" | |||||
* | | | Fixes after merging video into master - part 2 | Joar Wandborg | 2011-11-21 | 2 | -5/+5 | |
|/ / | | | | | | | | | | | - Added handling of InvalidFileType to submit.views - Updated test_celery_setup and test_submission tests to reflect the changes to the media procesing infrastructure | |||||
* | | Tests for StorageInterface*.copy_local_to_storage() | Christopher Allan Webber | 2011-11-20 | 1 | -0/+27 | |
| | | ||||||
* | | added unittests, now using form errors and fixed bug when no GET parameter ↵ | Jakob Kramer | 2011-11-20 | 1 | -0/+112 | |
|/ | | | | is given for /edit/profile/ | |||||
* | Dot-Notation for "_id" | Elrond | 2011-11-15 | 2 | -9/+9 | |
| | | | | | | | | | 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. | |||||
* | Merge branch 'idea/check_mgoblin_static' | Elrond | 2011-11-12 | 3 | -2/+54 | |
|\ | | | | | | | | | | | | | * idea/check_mgoblin_static: Move TestingMiddleware to tests/tools.py Some docs for the TestingMiddleware 591: Let Testing Middleware check for staticdirect() usage | |||||
| * | Move TestingMiddleware to tests/tools.py | Elrond | 2011-11-12 | 1 | -1/+45 | |
| | | | | | | | | | | This middleware isn't needed outside of the tests, so let's just put it there. | |||||
| * | Some docs for the TestingMiddleware | Elrond | 2011-11-12 | 1 | -0/+2 | |
| | | | | | | | | | | To make the TestingMiddleware actually more useful in the future, start to document it. | |||||
| * | 591: Let Testing Middleware check for staticdirect() usage | Elrond | 2011-10-19 | 3 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Change unit tests to use add_table_field | Elrond | 2011-10-22 | 1 | -4/+2 | |
|/ | | | | | | 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. | |||||
* | Hotfix: Renaming cookie broke unit tests | Elrond | 2011-10-16 | 1 | -1/+3 | |
| | | | | | | | | 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! | |||||
* | Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux' | Christopher Allan Webber | 2011-10-01 | 6 | -114/+112 | |
|\ | | | | | | | | | Conflicts: mediagoblin/util.py | |||||
| * | Finished splitting util.py into separate files. | Aaron Williamson | 2011-10-01 | 4 | -26/+24 | |
| | | ||||||
| * | Moved common, translation, template, and url code out of util.py and into ↵ | Aaron Williamson | 2011-10-01 | 4 | -94/+94 | |
| | | | | | | | | tools/[file].py | |||||
* | | #361 Unit tests for CSRF Middleware | Nathan Yergler | 2011-10-01 | 1 | -0/+69 | |
|/ | ||||||
* | Feature #587 - Split storage.py into submodules | Joar Wandborg | 2011-09-12 | 1 | -3/+3 | |
| | | | | | | | | | * 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` | |||||
* | Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality' | Christopher Allan Webber | 2011-09-08 | 1 | -0/+88 | |
|\ | | | | | | | | | Conflicts: mediagoblin/auth/routing.py | |||||
| * | Updating calls to recall password URLs to respect changed routing | Christopher Allan Webber | 2011-09-07 | 1 | -6/+8 | |
| | | ||||||
| * | for readability, and adds unit test for expired token | Caleb Forbes Davis V | 2011-09-05 | 1 | -0/+10 | |
| | | ||||||
| * | added unit tests for lost password code | Caleb Forbes Davis V | 2011-09-05 | 1 | -0/+76 | |
| | | ||||||
* | | Merge branch 'i507_beaker_cache' | Christopher Allan Webber | 2011-09-05 | 2 | -0/+56 | |
|\ \ | ||||||
| * | | Turning on caching for mediagoblin testing after all? | Christopher Allan Webber | 2011-09-05 | 1 | -1/+2 | |
| | | | | | | | | | | | | Maybe we'll add a way to toggle this. | |||||
| * | | Caching test... pretty basic. | Christopher Allan Webber | 2011-09-05 | 1 | -0/+52 | |
| | | | ||||||
| * | | Basic beaker caching functionality added to the application. | Christopher Allan Webber | 2011-08-23 | 1 | -0/+3 | |
| |/ | ||||||
* | | Fixing the confirm delete unit test | Christopher Allan Webber | 2011-09-05 | 1 | -2/+3 | |
| | | | | | | | | Now it's updated for the new checkbox-for-confirm code. | |||||
* | | 508. Updates copyright/license information | Will Kahn-Greene | 2011-09-01 | 15 | -15/+15 | |
| | | ||||||
* | | Feature #403 - Ability to delete media entries - Fixes according to feedback | Joar Wandborg | 2011-08-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | * Moved `mediagoblin.confirm` stuff to `mediagoblin.user_pages`, templates too. * Removed route extension for `mediagoblin.confirm` * Created `delete_media_files` which deletes all media files on the public_store when the entry is deleted * Created a new decorator to check if a user has the permission to delete an entry. | |||||
* | | Added tests for delete/confirm_delete | Joar Wandborg | 2011-08-30 | 1 | -1/+60 | |
|/ | ||||||
* | Static serving in test_paste.ini wasn't pointing at test_user_dev either | Christopher Allan Webber | 2011-08-23 | 1 | -1/+1 | |
| | | | | | Not that it matters too much, but... should point it to the right place :) | |||||
* | Must switch queuestore_base_dir -> base_dir in test_mgoblin_app.ini | Christopher Allan Webber | 2011-08-23 | 1 | -1/+1 | |
| | ||||||
* | Updating tests for new storage config code | Christopher Allan Webber | 2011-08-21 | 2 | -15/+16 | |
| | ||||||
* | Malicious uploads test with fake but not really image files working! :) | Christopher Allan Webber | 2011-08-14 | 1 | -23/+36 | |
| | ||||||
* | get_test_app() should turn on testing buckets | Christopher Allan Webber | 2011-08-01 | 1 | -0/+3 | |
| | ||||||
* | Updating tests to reflect we redirect to the user's page after verification now. | Christopher Allan Webber | 2011-08-01 | 1 | -4/+8 | |
| | ||||||
* | Updating tests to reflect not having a 'tags_case_sensitive' option. | Christopher Allan Webber | 2011-07-30 | 1 | -7/+0 | |
| | | | | I should probably update the tags of things when I change them. | |||||
* | Removing option to make tags lowercase | Christopher Allan Webber | 2011-07-30 | 1 | -1/+0 | |
| | | | | ...that's basically handled by the slugification | |||||
* | Merge remote branch 'remotes/gullydwarf-cfdv/f360_tagging' into mergetags | Christopher Allan Webber | 2011-07-30 | 3 | -0/+101 | |
|\ | | | | | | | | | Conflicts: mediagoblin/tests/test_submission.py | |||||
| * | Adds tag unit testing | Caleb Forbes Davis V | 2011-07-29 | 8 | -0/+260 | |
| | | | | | | | | | | | | | | | | | | - overrides default tag parsing globals in test_mgoblin_app.ini - piggybacks on existing test_submission code to check correct tag parsing and storage in the database - verifies expected behavior given different delimiters, case sensitivities, tags that are too long, and extra whitespace - verifies list-of-dict database storage and tag slugification | |||||
* | | Log in user after regitration | Christopher Allan Webber | 2011-07-29 | 1 | -0/+5 | |
| | | ||||||
* | | Redirect to the user's profile after registration | Christopher Allan Webber | 2011-07-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | - Updated the view - Updated the tests - Fixed a weirdness in the registration view where the 'user' variable used to be called 'entry' | |||||
* | | Finished the docstring of the creature_add_magical_powers fake migration | Christopher Allan Webber | 2011-07-17 | 1 | -1/+2 | |
| | | ||||||
* | | Merge remote branch 'remotes/cmoylan/test_submission_views_365' | Christopher Allan Webber | 2011-07-16 | 6 | -0/+157 | |
|\ \ | ||||||
| * | | Merge branch 'master' into test_submission_views_365 | Chris Moylan | 2011-07-10 | 1 | -2/+2 | |
| |\| | ||||||
| * | | added suggestions as per http://bugs.foocorp.net/issues/365#note-9 | Chris Moylan | 2011-07-10 | 1 | -47/+41 | |
| | | | ||||||
| * | | finished basic submission testing | Chris Moylan | 2011-07-05 | 6 | -12/+94 | |
| | | | ||||||
| * | | Merge branch 'master' into test_submission_views_365 | Chris Moylan | 2011-07-05 | 4 | -9/+9 | |
| |\ \ |