aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
...
| * EXIF extraction, geolocation map, image rotationJoar Wandborg2012-01-252-19/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Images are now rotated based on EXIF image orientation (in case the image isn't flipped on X or Y axis or correctly oriented, then we do nothing) - *Always* create a medium.jpg in image.processing, for the sake of rotation of display image - Extract EXIF and GPS tags from images and insert them into media_data - Geolocation map display added to media.html - EXIF display added, then removed. It is not in this revision, although some of it is (the "EXIF" h4 header). Need to make it presentable, filtering out purely robotical tags, perhaps.
| * Added code for leaflet geolocation mapJoar Wandborg2012-01-252-0/+30
| |
| * Installed EXIF.py in extlibs/Joar Wandborg2012-01-251-0/+1
| |
| * Installed leaflet in extlibJoar Wandborg2012-01-251-0/+1
| |
* | Add develover sql switchElrond2012-01-282-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you want to play with the current state of sql, you need a switch to turn it on. So here is the super secret developer switch. So you want to know where it is? Here it is: Create a file mediagoblin/db/sql_switch.py and put one line in it: "use_sql = True" (or False to disable again). Right, that's it. If you want to delete it, remember to delete the *.pyc too. Be careful not to "git add" it by accident!
* | We were using translitcodec and I didn't understand how it worked ;)Christopher Allan Webber2012-01-281-0/+1
| | | | | | | | My bad!
* | We aren't using translitcodec anymore. Kill it!Christopher Allan Webber2012-01-281-1/+0
| |
* | Let some code support "media without slug"Elrond2012-01-283-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.pyElrond2012-01-262-5/+5
| | | | | | | | The base class of all models "Base" should be in base.py.
* | Drop all buildout thingsElrond2012-01-261-50/+0
|/ | | | | virtualenv is working for everyone. No need for the buildout stuff any more.
* Proper url_to_{prev,next} for SQLElrond2012-01-221-0/+21
| | | | Uses complete sqlalchemy syntax now.
* Create a fully functional get_comments for SQLElrond2012-01-221-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 Webber2012-01-211-5/+5
|
* Show the license list in sorted formChristopher Allan Webber2012-01-211-1/+1
|
* Oops, I broke teh all rights reserved ;)Christopher Allan Webber2012-01-211-1/+1
|
* Provided a SORTED_SUPPORTED_LICENSES (but keep the old unsorted dict!)Christopher Allan Webber2012-01-211-38/+31
|
* Convert over the license field, too!Christopher Allan Webber2012-01-211-1/+1
|
* License "all rights reserved" default should be None/NULL, not empty stringChristopher Allan Webber2012-01-215-5/+5
|
* Fix unit tests with new license supportElrond2012-01-214-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.pyAaron Williamson2012-01-197-9/+138
|\
| * Add copyright header and a bit of pep8ificationElrond2012-01-206-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 classElrond2012-01-201-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 Williamson2012-01-183-2/+4
| |
* | Moved get_license_data to mixin.py, added license to sql media model, added ↵Aaron Williamson2012-01-184-10/+11
| | | | | | | | translation tags to license template.
* | Merge branch 'mediagoblin-upstream' into feature544_basic_license_dataAaron Williamson2012-01-184-6/+73
|\|
| * sql/fake.py: Some fake objects/methods to calm the codeElrond2012-01-181-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 codeMichele Azzolari2012-01-171-2/+4
| |
| * We handle exceptions if PuSH failsMichele Azzolari2012-01-171-4/+14
| |
| * Merge remote branch 'remotes/macno/pushatom'Elrond2012-01-173-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 hubMichele Azzolari2012-01-123-10/+13
| | |
| | * As suggested by Elrond, we use only one settingMichele Azzolari2012-01-123-3/+2
| | |
| | * Default is now PuSH disabledMichele Azzolari2012-01-111-2/+2
| | |
| | * Added PuSH capabilityMichele Azzolari2012-01-113-6/+31
| | |
* | | Changed license.html to fit new layout betterAaron Williamson2012-01-171-1/+1
| | |
* | | Fixed a syntax error in edit/views and added back in some missing license ↵Aaron Williamson2012-01-172-3/+10
| | | | | | | | | | | | stuff from models
* | | Added new filesAaron Williamson2012-01-172-0/+88
| | |
* | | Fixed merge with upstreamAaron Williamson2012-01-171-106/+47
| | |
* | | Merged changes with upstreamAaron Williamson2012-01-17188-5013/+12707
|\| |
| * | Small fix to simplify font styleJef van Schendel2012-01-151-2/+1
| | |
| * | Another small text style fixJef van Schendel2012-01-151-3/+8
| | |
| * | Small margin/font-weight fixJef van Schendel2012-01-151-0/+2
| | |
| * | Drop sessions with invalid ObjectIdsElrond2012-01-141-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.
| * | Fix request.user==None errorElrond2012-01-131-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 Schendel2012-01-132-5/+4
| | | | | | | | | | | | indentation so they are the same.
| * | Add MediaFile table and related infrastructure.Elrond2012-01-113-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 placesElrond2012-01-112-6/+6
| |
| * Fix url_for_self mixupElrond2012-01-112-24/+5
| | | | | | | | | | Move changes from mongo/models:url_for_self back into mixin:url_for_self.
| * Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2012-01-108-49/+123
| |\ | | | | | | | | | | | | Conflicts: mediagoblin/db/mongo/models.py
| | * Added check for request.user to media.html attachment-related conditionalJoar Wandborg2012-01-101-0/+1
| | |
| | * Test Suite: Enable attachments, add failing testElrond2012-01-102-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.