Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Better docs for GenerateSlugMixin. | Elrond | 2013-04-06 | 1 | -1/+9 | |
| | | | | ||||||
* | | | | Use GenerateSlugMixin for collections. | Elrond | 2013-04-06 | 3 | -14/+5 | |
| | | | | | | | | | | | | | | | | | | | | Use the new way of generating slugs also for collections. Also drop the dummy_db arg to check_collection_slug_used. | |||||
* | | | | Refactor generate_slug into a mixin. | Elrond | 2013-04-06 | 1 | -9/+13 | |
| |_|/ |/| | | | | | | | | | | | Refactor the new generate_slug into a mixin to allow it to be used for collections also. | |||||
* | | | Merge branch '614_multi_test_config' | Christopher Allan Webber | 2013-04-04 | 18 | -229/+252 | |
|\ \ \ | ||||||
| * | | | Switch test_app generation over to use py.test fixtures. | Christopher Allan Webber | 2013-04-04 | 18 | -251/+248 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By doing this, we can take advantage of py.test's ability to create temporary directories that are then cleaned up later during testing. This helps for sandboxing things. This also involves a ton of changes: - Changing the get_app stuff appropriately, getting rid of the setup_fresh_app decorator - Making said fixture - Switching over a billion tests to use it | |||||
| * | | | Oops, forgot to assign dump_old_app to self, heh. | Christopher Allan Webber | 2013-04-04 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Turning setup_fresh_app into SetupFreshApp, a decorator with options! | Christopher Allan Webber | 2013-04-04 | 1 | -8/+18 | |
| | | | | | | | | | | | | | | | | This way people can pass in particular paste/mediagoblin configs that they want to use. | |||||
| * | | | Updating get_app to allow for passing in particular app configs | Christopher Allan Webber | 2013-04-04 | 1 | -2/+17 | |
| | | | | ||||||
* | | | | Also require pytest-xdist! | Christopher Allan Webber | 2013-04-03 | 1 | -0/+1 | |
|/ / / | ||||||
* | | | Use py.test --boxed for unit tests from now on! | Christopher Allan Webber | 2013-04-03 | 2 | -11/+11 | |
| | | | ||||||
* | | | These tests need to have a MediaGoblin app setup so they can connect to the db! | Christopher Allan Webber | 2013-04-03 | 2 | -0/+3 | |
| | | | | | | | | | | | | Thanks to py.test --boxed for helping discover that ;) | |||||
* | | | All mediagoblin tests now pass with py.test (switched setUp to setup) | Christopher Allan Webber | 2013-04-03 | 8 | -10/+10 | |
| | | | ||||||
* | | | Create ProcessingState.store_public. | Elrond | 2013-04-03 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | The ideas is by Alon Levy. Use it in ProcessingState.copy_original for now. | |||||
* | | | Little refactoring for images: media_files. | Elrond | 2013-04-03 | 1 | -8/+2 | |
| | | | | | | | | | | | | Set the media_files directly at the relvant places. | |||||
* | | | A bit of pep8: Remove useless whitespace. | Elrond | 2013-03-30 | 1 | -5/+5 | |
| | | | ||||||
* | | | Merge remote-tracking branch 'JDShu/649_use_form_data_field' | Elrond | 2013-03-30 | 5 | -36/+36 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * JDShu/649_use_form_data_field: Use WTForms data field in user_pages/views.py Use WTForms data field in auth/views.py auth: whitespace cleanup in views.py Use WTForms data field in plugins/oauth/views.py Use WTForms data field in submit/views.py Use WTForms data field in edit/views.py | |||||
| * | | | Use WTForms data field in user_pages/views.py | Hans Lo | 2013-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Missed case in a previous commit. | |||||
| * | | | Use WTForms data field in auth/views.py | Hans Lo | 2013-03-28 | 1 | -6/+6 | |
| | | | | ||||||
| * | | | auth: whitespace cleanup in views.py | Hans Lo | 2013-03-28 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | Use WTForms data field in plugins/oauth/views.py | Hans Lo | 2013-03-28 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Use WTForms data field in submit/views.py | Hans Lo | 2013-03-27 | 1 | -6/+6 | |
| | | | | ||||||
| * | | | Use WTForms data field in edit/views.py | Hans Lo | 2013-03-27 | 1 | -16/+16 | |
| | | | | ||||||
* | | | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2013-03-29 | 5 | -11/+61 | |
|\ \ \ \ | ||||||
| * | | | | Refactor file field checking. | Elrond | 2013-03-29 | 3 | -10/+17 | |
| |/ / / | | | | | | | | | | | | | | | | | When uploading, the file field needs some checks, it seems. So refactor them into check_file_field and use around. | |||||
| * | | | piwigo: Fix pwg_getversion | Elrond | 2013-03-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | This one needs to return just "2.5.0 (Mediagoblin)" instead of "Piwigo 2...". | |||||
| * | | | piwigo: Start at pwg.images.addSimple. | Elrond | 2013-03-26 | 2 | -0/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without a session and a logged in user, this can't go much further. Misses check for the file upload field. Need refactored test tool for this. | |||||
* | | | | Warning that raven plugin is somewhat experimental! | Christopher Allan Webber | 2013-03-29 | 1 | -0/+2 | |
|/ / / | ||||||
* | | | Merge remote-tracking branch 'aeva/671_fix_stl' | Christopher Allan Webber | 2013-03-25 | 1 | -0/+3 | |
|\ \ \ | ||||||
| * | | | Ascii stl files now should have their whitespace stripped when parsing. | Aeva Ntsc | 2013-03-25 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Fixed a bug that had binary stls be handled by the ascii stl parser. | Aeva Ntsc | 2013-03-24 | 1 | -0/+2 | |
| | |/ | |/| | ||||||
* | | | Merge remote-tracking branch 'jdshu/649_use_form_data_field' | Christopher Allan Webber | 2013-03-24 | 1 | -4/+4 | |
|\ \ \ | ||||||
| * | | | Use WTForms data field in user_pages/views.py | Hans Lo | 2013-03-24 | 1 | -4/+4 | |
| |/ / | ||||||
* | | | Webtest2 breaks response.cookies stuff for some reason. | Christopher Allan Webber | 2013-03-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | I don't understand why but other people do! This is a terrible commit message and I am sorry for it. | |||||
* | | | Updated VideoThumbnailerMarkII, removed old | Joar Wandborg | 2013-03-24 | 1 | -307/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the old VideoThumbnailer since it's not used anymore. VideoThumbnailerMarkII: Changed the state switching in on_thumbnail_message to only set the state to "processing thumbnail" if the seek was succesful. I'm not sure what I'm doing here, but I know at least some of it is good, and as a whole, it seems to work, so far :) | |||||
* | | | Adding documentation on what the $need_arg code in runtests.sh does | Christopher Allan Webber | 2013-03-24 | 1 | -4/+10 | |
| | | | ||||||
* | | | Move description of software stack below description of "What's where" | Christopher Allan Webber | 2013-03-24 | 1 | -70/+70 | |
|/ / | ||||||
* | | piwigo start at pwg.images.addChunk. | Elrond | 2013-03-21 | 1 | -1/+43 | |
| | | | | | | | | | | | | | | | | This function receives part of an upload. Does most parameter validation, but does not safe the data anywhere for now. Also fake pwg.images.exist | |||||
* | | piwigo: Add session.getStatus, improve categories.getList | Elrond | 2013-03-21 | 2 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | - pwg.session.getStatus returns the current user as "fake_user". When we have a session, we'll return something better. - pwg.categories.getList add a name and the parent id for its one and only "collection". - Improve logging a bit. | |||||
* | | piwigo: Sent a fake cookie. | Elrond | 2013-03-21 | 1 | -1/+18 | |
| | | | | | | | | | | | | | | shotwell needs a pwg_id cookie to continue. And really, it's the only cookie it supports, so in the long run, we need to send a proper session cookie as pwg_id. | |||||
* | | Add warning README.rst and fix pep8. | Elrond | 2013-03-19 | 2 | -1/+24 | |
| | | ||||||
* | | piwigo: Move tool functions into tools.py | Elrond | 2013-03-19 | 2 | -83/+108 | |
| | | ||||||
* | | Start at pwg.categories.getList and improve xml output. | Elrond | 2013-03-19 | 1 | -13/+51 | |
| | | | | | | | | | | | | - The xml formatting is now in the main function. - Add PwgNamedArray to have named lists in xml output. - Remove gmg.test method | |||||
* | | piwigo: start xml response encoding, more (fake) methods. | Elrond | 2013-03-19 | 1 | -2/+55 | |
| | | ||||||
* | | Starting a piwigo api plugin. | Elrond | 2013-03-19 | 2 | -0/+116 | |
| | | | | | | | | | | | | | | This one just puts up the basic endpoint, some infrastructure and a fake login method. Lots more needed. | |||||
* | | Improve release notes formatting. | Elrond | 2013-03-19 | 1 | -3/+5 | |
| | | | | | | | | | | The geolocation ini sample needed more indenting and got a nice "code-block:: ini". | |||||
* | | Point to the Hacking HOWTO | Christopher Allan Webber | 2013-03-18 | 1 | -1/+5 | |
| | | ||||||
* | | Better description of the structure of the application | Christopher Allan Webber | 2013-03-17 | 1 | -10/+31 | |
| | | ||||||
* | | Clarification on some original design decisions things. | Christopher Allan Webber | 2013-03-17 | 1 | -0/+7 | |
| | | ||||||
* | | A more realistic "con" explaination in the docstring of ↵ | Christopher Allan Webber | 2013-03-15 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | exif_fix_image_orientation Thanks to dnet for catching this. This commit sponsored by Chester Zeller. Thanks! | |||||
* | | Remove .pyc files from tarball when running maketarball.sh | Christopher Allan Webber | 2013-03-12 | 1 | -0/+3 | |
| | |