Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Audio thumbnailing & spectrograms, media plugins use sniffing | Joar Wandborg | 2012-02-28 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added extlib/freesound/audioprocessing.py * config_spec * Added create_spectrogram setting * Added media:medium and media:thumb max_{width,height} settings * Added sniffing logic to - audio.processing:sniff_handler - video.processing:sniff_handler * Changed audio.processing:sniff_handler logic * Added audio thumbnailing functionality to audio.processing (works only with create_spectrogram enabled) * Refractored contexts in audio.processing * Added audio.transcoders:AudioThumbnailer Used for creating spectrograms and spectrogram thumbnails - Wadsworth's Constant, we meet again :) * audio.transcoders:AudioTranscoder - Added mux_string kwarg - Delete self.pipeline on self.halt() * Changed str.format formatting in image.processing:sniff_handler Had {1} without an {0}, changed to {0} * Refractored VideoTranscoder to use transcode() for transcoding instead of __init__() * Added discover() method to video.transcoders:VideoTranscoder * Added spectrogram display to media_displays/audio.html * Updated test_submission to reflect changes in media plugin delegation | |||||
* | | | | | Merge remote branch 'origin/master' into bug261-resized-filenames | Brett Smith | 2012-03-26 | 2 | -1/+15 | |
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | This merge involved moving the new FilenameBuilder class to processing/__init__.py, and putting the comment deletion tests back into test_submission.py using the refactored functions. | |||||
| * | | | | And fix the in-celeryd import. | Elrond | 2012-03-21 | 1 | -1/+1 | |
| | |_|/ | |/| | | | | | | | | | | So that celeryd also loads the task. | |||||
| * | | | When media is deleted, delete associated comments too. | Brett Smith | 2012-03-17 | 1 | -0/+15 | |
| | |/ | |/| | | | | | | | | | | | | | The actual code is just a simple for loop; there might be a better implementation but this is a fine start. I also extended test_delete to check this too. | |||||
* | | | Rename to FilenameBuilder, with a main method named fill. | Brett Smith | 2012-03-26 | 1 | -8/+8 | |
| | | | | | | | | | | | | | | | I think these names better convey what's actually going on. I updated the documentation a bit while I was at it. | |||||
* | | | Add FilenameMunger class to processing, with tests. | Brett Smith | 2012-03-25 | 1 | -0/+20 | |
| | | | | | | | | | | | | | | | Munging filenames is something all media type processors want to be able to do, so I'm refactoring it out into a nice bite-sized class. | |||||
* | | | Add tests for image processing. Check filenames and image sizes. | Brett Smith | 2012-03-20 | 2 | -0/+24 | |
| | | | | | | | | | | | | | | | | | | | | | This test helps verify that bug #261 is actually fixed. In order to test that all the processed images are smaller, I needed to add an image that's bigger than processing.MEDIUM_SIZE, hence bigblue.png. | |||||
* | | | Make a function to generate test image filenames. | Brett Smith | 2012-03-20 | 1 | -11/+9 | |
| | | | ||||||
* | | | Prefer nose assert_* methods to the assert built-in. | Brett Smith | 2012-03-20 | 1 | -7/+10 | |
| | | | ||||||
* | | | Refactor false image tests. | Brett Smith | 2012-03-20 | 1 | -28/+13 | |
| | | | ||||||
* | | | Refactor normal upload tests. | Brett Smith | 2012-03-20 | 1 | -27/+17 | |
| | | | | | | | | | | | | | | | This is nice because it means we do *all* the normal sanity tests for *all* the normal uploads. check_url() can be used in other tests too. | |||||
* | | | Refactor MediaEntry fetches/checks into check_media(). | Brett Smith | 2012-03-20 | 1 | -14/+13 | |
| | | | ||||||
* | | | Refactor data posts into one do_post function. | Brett Smith | 2012-03-20 | 1 | -112/+52 | |
|/ / | | | | | | | | | | | All the data posts in these tests had a lot of common code. Putting all that into a function makes it easier to write more tests (which I'll be doing in a bit) and see what's really being tested. | |||||
* | | Fix tests given recent celery "case" change | Christopher Allan Webber | 2012-02-28 | 7 | -16/+16 | |
| | | ||||||
* | | Merge remote-tracking branch 'cwebber/celerysql' | Elrond | 2012-02-27 | 2 | -48/+9 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cwebber/celerysql: Adjust unit tests to match new celery/kombu sqlalchemy setup "database" is not the sqlalchemy kombu transport... should be "sqlalchemy" Celery and kombu databases should also be .gitignore'd kombu-sqlalchemy a requirement in order for kombu sqlalchemy transport to work Move mediagoblin dbs out of user_dev for race condition directory-creation reasons. Give kombu its own db. Responding to Elrond "sqlite will lock all the time!" :) Apparently an absolute path is three slashes after sqlite:. Thx elrond. Should be all that's needed to switch celery/kombu settings to sqlalchemy | |||||
| * | | Adjust unit tests to match new celery/kombu sqlalchemy setup | Christopher Allan Webber | 2012-02-26 | 2 | -48/+9 | |
| | | | ||||||
* | | | Dot-Notation: MediaComment and some random places | Elrond | 2012-02-26 | 1 | -3/+3 | |
|/ / | ||||||
* | | Commenting out the migrations that don't exist yet | Christopher Allan Webber | 2012-02-18 | 1 | -4/+4 | |
| | | ||||||
* | | Merge branch 'master' into sqlmigrate | Christopher Allan Webber | 2012-02-18 | 20 | -23/+33 | |
|\| | | | | | | | | | Conflicts: mediagoblin/db/sql/models.py | |||||
| * | Fix copyright statements; add LICENSE for EXIF.py | Will Kahn-Greene | 2012-02-08 | 2 | -2/+1 | |
| | | ||||||
| * | Fix EXIF based image rotation test | Elrond | 2012-02-04 | 1 | -2/+13 | |
| | | | | | | | | | | | | | | | | The test checks for a pixel value after rotation (good idea!). But the value seems to be a bit different on some platforms, so use a list of seen values. Not the perfect solution, but it works. | |||||
| * | It's 2012 all up in here | Christopher Allan Webber | 2012-02-02 | 19 | -19/+19 | |
| | | ||||||
* | | Explained why migration #1 commented out. | Christopher Allan Webber | 2012-01-29 | 1 | -0/+3 | |
| | | ||||||
* | | Excepting that migration 1 doesn't work(!), sqlalchemy migration branch working | Christopher Allan Webber | 2012-01-29 | 1 | -36/+72 | |
| | | | | | | | | | | | | | | The reason migration 1 doesn't work, and is commented out, is because of sqlalchemy-migrate not handling certain constraints while dropping binary sqlite columns right. See also: http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=143&thanks=143&ts=1327882242 | |||||
* | | db_conn.engine -> db_conn.bind | Christopher Allan Webber | 2012-01-29 | 1 | -21/+21 | |
| | | ||||||
* | | Migration manager's current migration should be 3, not 7, after running all ↵ | Christopher Allan Webber | 2012-01-29 | 1 | -3/+3 | |
| | | | | | | | | migrations! | |||||
* | | Fixed the descriptions for the necroplex! | Christopher Allan Webber | 2012-01-29 | 1 | -2/+2 | |
| | | ||||||
* | | assert column type from Unicode -> VARCHAR. SQLAlchemy reflection only so ↵ | Christopher Allan Webber | 2012-01-29 | 1 | -29/+29 | |
| | | | | | | | | smart ;) | |||||
* | | printer = CollectingPrinter -> printer = CollectingPrinter() | Christopher Allan Webber | 2012-01-29 | 1 | -2/+2 | |
| | | ||||||
* | | CollectingPrinter is a class, not a function! | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | magical_powers relationship set on wrong table, fixed | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Migration records are dicts, not lists. Fix SET1_MIGATIONS! | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | test_set1_to_set3() now has appropriate amount of code, even if it doesn't ↵ | Christopher Allan Webber | 2012-01-29 | 1 | -8/+37 | |
| | | | | | | | | run :) | |||||
* | | Fixing some obvious errors caught by pyflakes | Christopher Allan Webber | 2012-01-29 | 1 | -21/+25 | |
| | | ||||||
* | | More stuff even yet per sql migration stuff! And still not ready! | Christopher Allan Webber | 2012-01-29 | 1 | -4/+4 | |
| | | ||||||
* | | Closer to the end of this migration test... | Christopher Allan Webber | 2012-01-29 | 1 | -2/+70 | |
| | | ||||||
* | | unicode stuff and more bits on the actual migration method | Christopher Allan Webber | 2012-01-29 | 1 | -89/+214 | |
| | | ||||||
* | | A ton more work on the SQL migration unit tests... | Christopher Allan Webber | 2012-01-29 | 1 | -5/+85 | |
| | | ||||||
* | | Wrote up some scaffolding for the actual tests | Christopher Allan Webber | 2012-01-29 | 1 | -3/+53 | |
| | | ||||||
* | | Insert migration objects round 3 | Christopher Allan Webber | 2012-01-29 | 1 | -0/+87 | |
| | | ||||||
* | | Wrote some (semi-silly) descriptions of each migration | Christopher Allan Webber | 2012-01-29 | 1 | -0/+18 | |
| | | ||||||
* | | Docstrings for stage 2 migrations | Christopher Allan Webber | 2012-01-29 | 1 | -0/+19 | |
| | | ||||||
* | | Theoretical full set of migration2 objects to insert for testing | Christopher Allan Webber | 2012-01-29 | 1 | -1/+76 | |
| | | ||||||
* | | Insert migration1 objects. Also, Level1 id from Integer->Unicode | Christopher Allan Webber | 2012-01-29 | 1 | -7/+43 | |
| | | ||||||
* | | All theoretical migrations written! | Christopher Allan Webber | 2012-01-29 | 1 | -5/+25 | |
| | | ||||||
* | | binding migration metadata to engine, and level_exits_new_table should now work | Christopher Allan Webber | 2012-01-29 | 1 | -6/+6 | |
| | | ||||||
* | | More test migration work. Closing to working migrations for set 2... | Christopher Allan Webber | 2012-01-29 | 1 | -5/+62 | |
| | | | | | | | | Also, this file is written in 2012, correct that ;) | |||||
* | | Might as well call it "set2 migrations" | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | A theoretical set of models to migrate about with, plus one migration ;) | Christopher Allan Webber | 2012-01-29 | 1 | -0/+177 | |
|/ | ||||||
* | Resized a test_exif test image. 1.9M is unnecessarily large. | Joar Wandborg | 2012-01-28 | 1 | -0/+0 | |
| |