aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Dot-Notation: MediaComment and some random placesElrond2012-02-262-7/+7
|
* Let Main Server emit startup notice including versionElrond2012-02-261-1/+6
| | | | | | | There was no place in the software telling the user the version in use. So start by having the main server emit a startup notice including the version string. Uses python logging, so should be easy to reconfigure, etc.
* Allow .id instead of ._id for the Mongo backendElrond2012-02-252-1/+16
| | | | | | | | | | To allow easier migration to the SQLAlchemy style .id give the User and MediaEntry mongo classes an alias attribute of .id that maps to ['_id']. Use it in the upload process, because this was one of the last positions with a ['_id'] instead of ._id (due to a bug in mongokit).
* Create "gmg convert_mongo_to_sql" commandElrond2012-02-233-3/+32
| | | | | | | | | Finally, to make testing of sql a bit easier, create a bin/gmg command to do the conversion from mongo to sql. It's currently named "convert_mongo_to_sql". The most important option is the gmg -cf option to give a configfile with the appropiate sql_engine definition.
* mongo to sql convert: Better OrderingElrond2012-02-231-4/+4
| | | | | | | | Order the conversion by the "created" attribute. That way the sql ids are mostly in the order they would have been, if sql was used earlier. Makes things nicer to look at in a db dump.
* Use task_id in generating the queue file pathElrond2012-02-211-9/+9
| | | | | | | | | | | | The task_id is created anyway as a UUID. So it is very unique per definition. The only thing needed for the queue file path is a unique part. Before the objectid of the MediaEntry was used instead. But in the sql world the objectid is only available after an "insert" on the db. And creating the queue_file_path afterwards would require an "update" on the db. We can save that. ... for now.
* We now require sqlalchemy and sqlalchemy-migrateChristopher Allan Webber2012-02-191-0/+2
|
* Commenting out the migrations that don't exist yetChristopher Allan Webber2012-02-181-4/+4
|
* Updates so that dbupdate command worksChristopher Allan Webber2012-02-189-10/+124
| | | | | | - Various fixes to dbupdate itself - Switching db/sql/migrations.py to use a dict instead of a list - Registering the function
* Merge branch 'master' into sqlmigrateChristopher Allan Webber2012-02-186-9/+42
|\
| * Start having useful defaults for SQLElrond2012-02-184-2/+7
| | | | | | | | | | | | | | | | | | | | Mostly this means: Havintg a config_spec.ini that has a local (relative to mediagoblin.ini) sqlite db with the name "mediagoblin.db". Also: - Add to .gitignore - Add a notice to mediagoblin.ini about the db
| * Fix MediaTag __init__ to handle no argsElrond2012-02-181-3/+5
| | | | | | | | | | Let the init code also handle createing a fresh clean instance without any attrs set.
| * SQL: fail_metadata as JSON encoded fieldElrond2012-02-183-4/+30
| | | | | | | | | | | | | | | | fail_metadata used to be a dict in mongo. So a json encoded field should be okay too. We could use a pickled field instead, which would be more flexible.
* | Merge branch 'master' into sqlmigrateChristopher Allan Webber2012-02-18181-372/+656
|\| | | | | | | | | Conflicts: mediagoblin/db/sql/models.py
| * Drop pre-rendered html: MediaComment.content_htmlElrond2012-02-186-12/+22
| | | | | | | | | | | | | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the MediaComment.content_html part.
| * Drop pre-rendered html: MediaEntry.description_htmlElrond2012-02-189-21/+27
| | | | | | | | | | | | | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the MediaEntry.description_html part.
| * Drop pre-rendered html: User.bio_htmlElrond2012-02-186-6/+17
| | | | | | | | | | | | | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the User.bio_html part.
| * Revert "Layout overhaul time!"Christopher Allan Webber2012-02-138-173/+146
| | | | | | | | | | | | | | | | This reverts a whole bunch of commits, fb1dc4f5 thru 92e8ca79, where an experimental new layout was played with. Unfortunately, this layout broke the look and feel of master, even though it was going in the right direction for mobile stuff. Jef said he'll do things in a branch!
| * 47: Only lowercase host part of emailElrond2012-02-131-1/+3
| | | | | | | | | | | | | | | | | | According to most documentation it seems that the local part of an email adress is/can be case sensitive. While the host part is not. So we lowercase only the host part of the given adress. See: http://issues.mediagoblin.org/ticket/47
| * Our javascript is actually AGPLv3+, not LGPL*. Correcting.Christopher Allan Webber2012-02-121-1/+1
| |
| * Wait, scratch that. This commit uses a better way.Jef van Schendel2012-02-121-0/+2
| |
| * Add navigation button styles for mobileJef van Schendel2012-02-121-0/+12
| |
| * Fix comment input field width/padding; change some text; remove weird ↵Jef van Schendel2012-02-122-32/+20
| | | | | | | | #form_comment duplicate rules; move Edit/Delete buttons next to title
| * Make media thumbnail gallery a list instead of a tableJef van Schendel2012-02-122-21/+16
| |
| * Corrections for mobile layoutJef van Schendel2012-02-121-3/+9
| |
| * Move "Added on" date to sidebarJef van Schendel2012-02-121-3/+5
| |
| * Style sidedata h3; revert sidebar margin changeJef van Schendel2012-02-121-1/+10
| |
| * Fix sidebar marginsJef van Schendel2012-02-121-2/+1
| |
| * Move Attachments from sidebar to default paneJef van Schendel2012-02-121-23/+23
| |
| * Consistencify sidebar bits (same headers and such)Jef van Schendel2012-02-124-7/+8
| |
| * Restore sidebarJef van Schendel2012-02-122-30/+30
| |
| * Layout overhaul time!Jef van Schendel2012-02-113-37/+50
| |
| * sql db design suggestions by Svavar KjarrvalElrond2012-02-111-3/+26
| | | | | | | | | | | | | | | | Many thanks go to Svavar Kjarrval who has taken a deeper look at our current sql db design and made a bunch of suggestions. The suggestions are currently put as TODO items in the docstrings. This way we can keep track of them directly where we need it.
| * Fix for ticket #386Jef van Schendel2012-02-091-0/+16
| |
| * Fix docs versionWill Kahn-Greene2012-02-091-1/+1
| |
| * Update version to 0.3.0-devWill Kahn-Greene2012-02-092-3/+3
| |
| * Update version numbersWill Kahn-Greene2012-02-092-4/+4
| |
| * Committing extracted and compiled translationsChristopher Allan Webber2012-02-091-1/+1
| |
| * Removing youcanhelp stuffWill Kahn-Greene2012-02-094-47/+1
| | | | | | | | | | This was never used. It doesn't support Texinfo files. It was only half completed. Best to remove it.
| * Update copyright headers for shell scriptsWill Kahn-Greene2012-02-092-2/+2
| |
| * Added info on how to enable ascii artChristopher Allan Webber2012-02-091-0/+19
| |
| * Updating codebase.rst to reflect the modern mediagoblin worldChristopher Allan Webber2012-02-091-11/+42
| | | | | | | | | | | | - adding/removing libraries listed as appropriate - buildout->virtualenv references - Updating directory structure description to reflect current reality
| * Minor rewordingWill Kahn-Greene2012-02-081-6/+13
| | | | | | | | | | Tried to address confusion I had when I read the document and tweaked some formatting.
| * Fix copyright statements; add LICENSE for EXIF.pyWill Kahn-Greene2012-02-0815-14/+14
| |
| * Fully qualify the import of asciitoimageChristopher Allan Webber2012-02-081-1/+1
| |
| * Added CC0 header to all MediaGoblin docs in docs/source/Christopher Allan Webber2012-02-0710-0/+130
| |
| * Committing extracted and compiled translationsChristopher Allan Webber2012-02-055-1/+1
| |
| * Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-02-051-2/+2
| |
| * Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2012-02-054-71/+114
| |
| * Fix EXIF based image rotation testElrond2012-02-041-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.