Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Let some code support "media without slug" | Elrond | 2012-01-28 | 3 | -14/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upcoming SQL database will allow having media without a slug again. This might especially be useful for API support, where the uploaded image (media) does not have *any* information to generate a slug from. This code change mostly allows the sql backend to have no slug in its model and improves some parts to properly handle that. It specifically does not have any web frontend support to edit/create MediaEntries with no slug. | |||||
* | | Move declarative_base Base into base.py | Elrond | 2012-01-26 | 2 | -5/+5 | |
| | | | | | | | | The base class of all models "Base" should be in base.py. | |||||
* | | Add "mediagoblin/templates *.txt" to packaging | Elrond | 2012-01-26 | 1 | -1/+1 | |
| | | | | | | | | Again thanks to Clint Byrum! | |||||
* | | Drop all buildout things | Elrond | 2012-01-26 | 3 | -329/+0 | |
| | | | | | | | | | | virtualenv is working for everyone. No need for the buildout stuff any more. | |||||
* | | Packaging improvement by Clint Byrum from Debian/Ubuntu | Elrond | 2012-01-26 | 2 | -2/+3 | |
|/ | | | | | | | | | | 1) MANIFEST.in missed a bunch of things, especially config_spec.ini. 2) You need to specify include_package_data=True in setup.py to actually activate MANIFEST.in it seems. Thanks go to Clint Byrum! | |||||
* | Proper url_to_{prev,next} for SQL | Elrond | 2012-01-22 | 1 | -0/+21 | |
| | | | | Uses complete sqlalchemy syntax now. | |||||
* | Create a fully functional get_comments for SQL | Elrond | 2012-01-22 | 1 | -0/+7 | |
| | | | | | Using proper sqlalchemy syntax instead of the emulated mongo one. | |||||
* | Canonical license URIS for CC stuff should have a trailing slash. | Christopher Allan Webber | 2012-01-21 | 1 | -5/+5 | |
| | ||||||
* | Show the license list in sorted form | Christopher Allan Webber | 2012-01-21 | 1 | -1/+1 | |
| | ||||||
* | Oops, I broke teh all rights reserved ;) | Christopher Allan Webber | 2012-01-21 | 1 | -1/+1 | |
| | ||||||
* | Provided a SORTED_SUPPORTED_LICENSES (but keep the old unsorted dict!) | Christopher Allan Webber | 2012-01-21 | 1 | -38/+31 | |
| | ||||||
* | Convert over the license field, too! | Christopher Allan Webber | 2012-01-21 | 1 | -1/+1 | |
| | ||||||
* | License "all rights reserved" default should be None/NULL, not empty string | Christopher Allan Webber | 2012-01-21 | 5 | -5/+5 | |
| | ||||||
* | Fix unit tests with new license support | Elrond | 2012-01-21 | 4 | -6/+4 | |
| | | | | | Make the license field in the forms optional and let them properly be defaulted to "". | |||||
* | Added migration for license field, resolved conflict in db/sql/models.py | Aaron Williamson | 2012-01-19 | 7 | -9/+138 | |
|\ | ||||||
| * | Add copyright header and a bit of pep8ification | Elrond | 2012-01-20 | 6 | -11/+113 | |
| | | | | | | | | | | | | Nearly all the sql files missed a copyright header. So added it! And while there fixed a few pep8 things. | |||||
| * | Use custom query class | Elrond | 2012-01-20 | 1 | -1/+21 | |
| | | | | | | | | | | | | | | | | | | A custom query class allows to add more methods on queries (read: "cursors"). This custom query class especially adds a .sort with a calling convention exactly like the mongo one. Makes a lot of existing code happy! | |||||
* | | Minor formatting and syntax fix. | Aaron Williamson | 2012-01-18 | 3 | -2/+4 | |
| | | ||||||
* | | Moved get_license_data to mixin.py, added license to sql media model, added ↵ | Aaron Williamson | 2012-01-18 | 4 | -10/+11 | |
| | | | | | | | | translation tags to license template. | |||||
* | | Merge branch 'mediagoblin-upstream' into feature544_basic_license_data | Aaron Williamson | 2012-01-18 | 4 | -6/+73 | |
|\| | ||||||
| * | sql/fake.py: Some fake objects/methods to calm the code | Elrond | 2012-01-18 | 1 | -0/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | sql/fake.py contains some fake classes and functions to calm the rest of the code base. Or provide super minimal implementations. Currently: - ObjectId "class": It's a function mostly doing int(first_arg) to convert string primary keys into integer primary keys. - InvalidId exception - DESCENING "constant" | |||||
| * | Cleaned the code | Michele Azzolari | 2012-01-17 | 1 | -2/+4 | |
| | | ||||||
| * | We handle exceptions if PuSH fails | Michele Azzolari | 2012-01-17 | 1 | -4/+14 | |
| | | ||||||
| * | Merge remote branch 'remotes/macno/pushatom' | Elrond | 2012-01-17 | 3 | -6/+33 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | * remotes/macno/pushatom: As per spec, we permit to have more then 1 hub As suggested by Elrond, we use only one setting Default is now PuSH disabled Added PuSH capability | |||||
| | * | As per spec, we permit to have more then 1 hub | Michele Azzolari | 2012-01-12 | 3 | -10/+13 | |
| | | | ||||||
| | * | As suggested by Elrond, we use only one setting | Michele Azzolari | 2012-01-12 | 3 | -3/+2 | |
| | | | ||||||
| | * | Default is now PuSH disabled | Michele Azzolari | 2012-01-11 | 1 | -2/+2 | |
| | | | ||||||
| | * | Added PuSH capability | Michele Azzolari | 2012-01-11 | 3 | -6/+31 | |
| | | | ||||||
* | | | Changed license.html to fit new layout better | Aaron Williamson | 2012-01-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fixed a syntax error in edit/views and added back in some missing license ↵ | Aaron Williamson | 2012-01-17 | 2 | -3/+10 | |
| | | | | | | | | | | | | stuff from models | |||||
* | | | Added new files | Aaron Williamson | 2012-01-17 | 2 | -0/+88 | |
| | | | ||||||
* | | | Fixed merge with upstream | Aaron Williamson | 2012-01-17 | 1 | -106/+47 | |
| | | | ||||||
* | | | Merged changes with upstream | Aaron Williamson | 2012-01-17 | 233 | -6322/+20363 | |
|\| | | ||||||
| * | | Small fix to simplify font style | Jef van Schendel | 2012-01-15 | 1 | -2/+1 | |
| | | | ||||||
| * | | Another small text style fix | Jef van Schendel | 2012-01-15 | 1 | -3/+8 | |
| | | | ||||||
| * | | Small margin/font-weight fix | Jef van Schendel | 2012-01-15 | 1 | -0/+2 | |
| | | | ||||||
| * | | Drop sessions with invalid ObjectIds | Elrond | 2012-01-14 | 1 | -4/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The session can contain invalid objectids when switching a more or less live instance (with logged in users) from mongo to sql or vice versa. So drop the complete session and force the user to login again. | |||||
| * | | Move maketarball.sh into devtools/ | Elrond | 2012-01-14 | 1 | -0/+0 | |
| | | | | | | | | | | | | Now that there is a devtools directory, use it! | |||||
| * | | make this script executable | Christopher Allan Webber | 2012-01-13 | 1 | -0/+0 | |
| | | | ||||||
| * | | Simple translation update script | Christopher Allan Webber | 2012-01-13 | 1 | -0/+48 | |
| | | | ||||||
| * | | Fix request.user==None error | Elrond | 2012-01-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | If one isn't logged in and views the profile of a user without media, one gets a problem, because request.user is None and has no _id attribute. Fix this. | |||||
| * | | Remove unnecessary piece of text in media.html. Fix "Markdown text" ↵ | Jef van Schendel | 2012-01-13 | 2 | -5/+4 | |
| | | | | | | | | | | | | indentation so they are the same. | |||||
| * | | Add CC0 license header to Sphinx MediaGoblin theme (mg.css) | Jef van Schendel | 2012-01-13 | 1 | -0/+12 | |
| | | | ||||||
| * | | Add MediaFile table and related infrastructure. | Elrond | 2012-01-11 | 3 | -3/+49 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | - This adds a new SQL table field type for path tuples. They're stored as '/' separated unicode strings. - Uses it to implement a MediaFile table. - Add relationship and proxy fields on MediaEntry to give a nice media_files "view" there. - Let the converter fill the MediaFile. | |||||
| * | Dot-Notation: Some random places | Elrond | 2012-01-11 | 2 | -6/+6 | |
| | | ||||||
| * | Fix url_for_self mixup | Elrond | 2012-01-11 | 2 | -24/+5 | |
| | | | | | | | | | | Move changes from mongo/models:url_for_self back into mixin:url_for_self. | |||||
| * | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2012-01-10 | 9 | -49/+145 | |
| |\ | | | | | | | | | | | | | Conflicts: mediagoblin/db/mongo/models.py | |||||
| | * | Added check for request.user to media.html attachment-related conditional | Joar Wandborg | 2012-01-10 | 1 | -0/+1 | |
| | | | ||||||
| | * | Test Suite: Enable attachments, add failing test | Elrond | 2012-01-10 | 2 | -0/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | Fix reset.css reference and drop link to video-js.css | Elrond | 2012-01-09 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | 1. reset.css was moved to /css/extlib/ some time ago. So update the staticdirect link to it. 2. We don't have video-js.css (any more?). Drop link to it. |