63 Commits

Author SHA1 Message Date
Aaron Williamson
ae3bc7fabf Moved common, translation, template, and url code out of util.py and into tools/[file].py 2011-10-01 09:31:42 -04:00
Christopher Allan Webber
9a64272e48 Fixing the confirm delete unit test
Now it's updated for the new checkbox-for-confirm code.
2011-09-05 23:20:50 -05:00
Will Kahn-Greene
12a100e4d8 508. Updates copyright/license information 2011-09-01 20:50:19 -04:00
Joar Wandborg
502073f2bf Feature #403 - Ability to delete media entries - Fixes according to feedback
*   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.
2011-08-30 23:16:46 +02:00
Joar Wandborg
afe4e513f7 Added tests for delete/confirm_delete 2011-08-30 21:46:47 +02:00
Christopher Allan Webber
68f3ffbe82 Malicious uploads test with fake but not really image files working! :) 2011-08-14 09:12:43 -05:00
Christopher Allan Webber
ae31c36439 Merge remote branch 'remotes/gullydwarf-cfdv/f360_tagging' into mergetags
Conflicts:
	mediagoblin/tests/test_submission.py
2011-07-30 13:37:33 -05:00
Caleb Forbes Davis V
8ff4dec742 Adds tag unit testing
- 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
2011-07-29 14:04:49 -05:00
Chris Moylan
9df37e8a4a added suggestions as per http://bugs.foocorp.net/issues/365#note-9 2011-07-10 22:45:27 -05:00
Chris Moylan
ad35dd490c finished basic submission testing 2011-07-05 21:42:41 -05:00
Chris Moylan
75ce65cf59 mocked out submission spec 2011-06-30 00:13:47 -05:00
Chris Moylan
0a78be3e08 removed the @setup_fresh_app decorator because it was messing \
with my fixtures.
2011-06-23 23:02:36 -05:00
Chris Moylan
1975b5dd1f began work on submission test. nothing to see here 2011-06-21 00:11:54 -05:00