Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migration to move gps data around | Elrond | 2012-03-14 | 1 | -0/+18 |
| | | | | | Move media_data["gps"]["*"] to media_data["gps_*"]. In preparation for media_data.gps_* | ||||
* | Merge branch 'elrond-sql-convert_video_data' | Christopher Allan Webber | 2012-03-14 | 1 | -0/+15 |
|\ | |||||
| * | Fix VideoData insertion | Christopher Allan Webber | 2012-03-14 | 1 | -1/+1 |
| | | |||||
| * | Convert media_data for video | Elrond | 2012-03-13 | 1 | -0/+15 |
| | | | | | | | | | | This creates fresh VideoData rows for all the videos in the mongodb. | ||||
* | | Preserve existing translation | Christopher Allan Webber | 2012-03-14 | 1 | -1/+4 |
| | | |||||
* | | Provide a source link so we can comply with the AGPL | Christopher Allan Webber | 2012-03-14 | 2 | -2/+6 |
|/ | |||||
* | Merge remote-tracking branch ↵ | Christopher Allan Webber | 2012-03-13 | 9 | -0/+4224 |
|\ | | | | | | | | | | | | | 'refs/remotes/chemhacker/bug402_nicer_skin_for_video' Conflicts: mediagoblin/templates/mediagoblin/media_displays/video.html | ||||
| * | adding the video.js wrapper | Sacha De'Angeli | 2012-03-12 | 9 | -2/+4225 |
| | | |||||
* | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2012-03-12 | 1 | -2/+6 |
|\ \ | |||||
| * | | Another .one -> .find_one | Elrond | 2012-03-13 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Same idea as in the previous commit. Joar caught this one. To reproduce 1. Create a user with an all-decimal ObjectId in mongo 2. Login using that user, while mongodb is enabled. 3. Switch instance to sql. 4. Restart. 5. Refresh any page. This will error, because no user with that object id exists any more. While around, improved logging. | ||||
* | | | Merge remote-tracking branch 'derek-moore/bug293_non_ascii_password' | Christopher Allan Webber | 2012-03-12 | 1 | -2/+3 |
|\ \ \ | |/ / |/| | | |||||
| * | | Changes for 293. Tests pass, encode UTF8 on password on registration (and ↵ | Derek Moore | 2012-03-12 | 1 | -2/+3 |
| | | | | | | | | | | | | also for subsequent logins once the user is created) is working. | ||||
* | | | Change user search from .one to .fine_one. | Elrond | 2012-03-12 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When searching for a user by username, there can either be no result or one result. There is a unique constraint on the db. .one in mongokit raises an error for more than one result. But that can't happen anyway. So no problem. .one in sqlalchemy raises an error for more than one, but that's not a problem anyway. It also raises an error for no result. But no result is handled by the code anyway, so no need to raise an exception. .find_one doesn't raise an exception for more than one result (no problem anyway) and just returns None for no result. The later is handled by the code. | ||||
* | | Better media_data sql table for images. | Elrond | 2012-03-12 | 1 | -5/+6 |
| | | | | | | | | | | | | 1. Change to the current primary key = media_entry id layout 2. Add gps_{latitude,longitude} to the table. | ||||
* | | adds video preload bug 375 | Sacha De'Angeli | 2012-03-12 | 1 | -1/+1 |
|/ | |||||
* | Added m4v to list of media types and a comment stating we should | Christopher Allan Webber | 2012-03-12 | 1 | -1/+3 |
| | | | | autogenerate extension list | ||||
* | Slight change to thumbnail gallery style | Jef van Schendel | 2012-03-11 | 1 | -3/+5 |
| | |||||
* | Improve logging of sql queries a bit. | Elrond | 2012-03-10 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | Docs: http://docs.sqlalchemy.org/en/latest/core/engines.html#configuring-logging So for an application utilizing python logging for real (and MediaGoblin should) the rule is: - Don't use echo=True, - but reconfigure the appropiate loggers' level. So replaced the echo=True by a line to reconfigure the appropiate logger to achieve the same effect. This still dumps whole bloats of SQL queries into the main log, but at least they're not duped any more. | ||||
* | Forgot to add FileKeynames to MODELS | Elrond | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Normalize MediaFile.name (make it a foreignkey) | Elrond | 2012-03-08 | 1 | -3/+32 |
| | | | | | | | | | | The name part of a MediaFile is only using a very limited number of items. Currently things like "original" or "thumb". So instead of storing the string on each entry, just store a short integer referencing the FileKeynames table and have the appropiate string there. | ||||
* | Changed from key-notation to dot-notation in edit_profile | Joar Wandborg | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | SQL: Added MediaFile and MediaAttachmentFile to MODELS | Joar Wandborg | 2012-03-08 | 1 | -1/+2 |
| | |||||
* | Generic generate_slug for mongo and sql. | Elrond | 2012-03-07 | 2 | -11/+18 |
| | | | | | | | | | | Using the new check_media_slug_used it is possible to have one generic generate_slug in the mixin class instead of in each db class. In the sql variant self.id is not always set: If the slug alone would create a dupe the current code decides for "no slug at all". | ||||
* | Push another half-fix for portrait thumbnails. Man, this thing is breaking ↵ | Jef van Schendel | 2012-03-07 | 1 | -1/+3 |
| | | | | all over the place. | ||||
* | Sort-of fixes so the header does not collapse anymore. Header needs redesigning. | Jef van Schendel | 2012-03-07 | 1 | -1/+11 |
| | |||||
* | Header doesn't need a height | Jef van Schendel | 2012-03-07 | 1 | -1/+0 |
| | |||||
* | Actually decrease thumbnail size instead of just their containers | Jef van Schendel | 2012-03-07 | 1 | -0/+4 |
| | |||||
* | Translate less html. | Elrond | 2012-03-06 | 1 | -4/+6 |
| | | | | | | Instead of translating <p ...>TEXT</p> just mark TEXT for translation. That way formatting changes can be done without affecting the translations. | ||||
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Jef van Schendel | 2012-03-06 | 4 | -7/+46 |
|\ | |||||
| * | Generic check_media_slug_used db utility. | Elrond | 2012-03-05 | 4 | -8/+25 |
| | | | | | | | | | | | | | | | | In two cases (generating a new slug and editing the slug) it is nice to know in advance (before the db gets angry) that the slug is used/free. So created a db utility function to check for this on mongo and sql: check_media_slug_used() | ||||
| * | SQL: Tool to cleanup unused tag slugs. | Elrond | 2012-03-05 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | The current SQL layout/sqlalchemy strucuture can't detect whether a slug isn't needed any more and delete it. So provide a tool function to cleanup unused slugs. It's currently not hooked to any gmg function! | ||||
* | | Revert thumbnail gallery change: switch back to tables | Jef van Schendel | 2012-03-06 | 2 | -18/+23 |
| | | |||||
* | | Fix merge conflict in prev_next.html | Jef van Schendel | 2012-03-06 | 13 | -163/+194 |
|\ \ | |/ |/| | |||||
| * | Edit css rule to allow users to zoom | Jef van Schendel | 2012-03-05 | 1 | -1/+1 |
| | | |||||
| * | Add sidebar again | Jef van Schendel | 2012-03-04 | 2 | -27/+23 |
| | | |||||
| * | Merge branch 'newlayout' into newlayout-stage | Jef van Schendel | 2012-03-04 | 12 | -183/+218 |
| |\ | |||||
| | * | Forgot to add these layout changes. Everything should work now. | Jef van Schendel | 2012-02-21 | 8 | -149/+168 |
| | | | |||||
| | * | Resolve merge conflicts | Jef van Schendel | 2012-02-21 | 35 | -198/+1683 |
| | |\ | |||||
| | * | | Responsive thumbnail gallery time | Jef van Schendel | 2012-02-18 | 1 | -1/+17 |
| | | | | |||||
| | * | | Enlarge navigation buttons when mobile | Jef van Schendel | 2012-02-15 | 1 | -0/+1 |
| | | | | |||||
| | * | | Change button style in edit.html | Jef van Schendel | 2012-02-15 | 1 | -1/+1 |
| | | | | |||||
| | * | | Simplify and fix button styles; add larger button styles for mobile | Jef van Schendel | 2012-02-15 | 1 | -13/+6 |
| | | | | |||||
| | * | | Removed cancel_link class; slight changes to button_form style | Jef van Schendel | 2012-02-15 | 2 | -23/+8 |
| | | | | |||||
| | * | | Center small images by default | Jef van Schendel | 2012-02-14 | 1 | -1/+4 |
| | | | | |||||
| | * | | Add clear div to correct floating divs | Jef van Schendel | 2012-02-14 | 1 | -0/+1 |
| | | | | |||||
| | * | | Remove form background images; replace them with regular border styles | Jef van Schendel | 2012-02-14 | 3 | -4/+3 |
| | | | | |||||
* | | | | Stop failing if there is no previous/next to go to | Jef van Schendel | 2012-03-05 | 1 | -2/+6 |
| | | | | |||||
* | | | | Merge branch 'keyboard_nav' | Jef van Schendel | 2012-03-05 | 3 | -2/+33 |
|\ \ \ \ | |||||
| * | | | | Add left and right arrow keys navigation (add new JS file, link it from ↵ | Jef van Schendel | 2012-02-14 | 3 | -2/+33 |
| | | | | | | | | | | | | | | | | | | | | media.html; add new navigation_right class to right button) | ||||
* | | | | | Added the sql_switch.py script to .gitignore | Joar Wandborg | 2012-03-05 | 1 | -1/+5 |
| | | | | |