aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge remote branch 'refs/remotes/gullydwarf-cfdv/is315'Christopher Allan Webber2011-06-212-2/+21
|\ \
| * | assigns migration steps to User database objectscfdv2011-06-201-0/+2
| | | | | | | | | | | | | | | | | | adds the migration_handler to the User db class, connecting the migration steps in ../db/migrations.py to the migration code in gmg_commands
| * | removes unecessary dependence on existence of username for User migration01, ↵cfdv2011-06-201-6/+5
| | | | | | | | | | | | + fix whitespace issues
| * | adds accommmodations for migration of fields in User: bio and urlcfdv2011-06-201-2/+18
| | |
| * | Merge remote-tracking branch 'origin/master' into is315cfdv2011-06-202-1/+18
| |\ \
| * | | baby step towards enabling profile editscfdv2011-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds * url and bio fields to database * form for editing the user profile * route to the edit profile controller * view for the profile editing page * template for the profile editing page * link to edit profile in the welcome page still needs * thorough inspection to see if it makes sense * tests * ?
| * | | adds user bio and website url fields to the databasecfdv2011-06-181-0/+2
| | |/ | |/|
* | | Only migrate to description_html if description also exists.Christopher Allan Webber2011-06-201-1/+2
| |/ |/|
* | Provide a migration to add description_html to MediaEntries that don't have itChristopher Allan Webber2011-06-191-0/+16
| |
* | Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-06-152-4/+2
|\|
| * mediagoblin.globals->mediagoblin.mg_globalsChristopher Allan Webber2011-06-122-4/+2
| |
* | Added Markdown rendering for `media_entry`Joar Wandborg2011-06-121-1/+2
|/
* No need for a method for generating the verification key as a methodChristopher Allan Webber2011-06-021-8/+0
| | | | on the class, can just do that in the view
* Merge remote branch 'remotes/aleks/aleks'Christopher Allan Webber2011-05-311-0/+8
|\
| * Added the ability to regenerate a verification key.Aleksandar Micovic2011-05-311-0/+8
| |
* | Add an index on MediaEntries making sure slugs + uploader combos are uniqueChristopher Allan Webber2011-05-301-6/+5
|/
* remove all 'username_repr' stuffJakob Kramer2011-05-291-2/+1
|
* this should fix #354Jakob Kramer2011-05-291-1/+2
|
* Update all the views so that they use the uploader reference insteadChristopher Allan Webber2011-05-221-2/+7
| | | | of uploader embedding
* User migration works (but the rest of the system isn't updated for new user ↵Christopher Allan Webber2011-05-222-1/+44
| | | | setup yet)
* Added a url_for_self method for generating mediaentry linksChristopher Allan Webber2011-05-201-0/+18
| | | | This allows for optionally making the url based off of slugs or ids
* Factor out most of the database connection into db/open.pyElrond2011-05-192-13/+37
| | | | | | | | I needed to split the db connection/opening into open.py, due to an import loop: - util.py needs db/util.py:ObjectId - db/util.py would need db/models.py - db/models.py needs util.py:slugify
* Renaming connect_database to connect_database_from_config and using in ↵Christopher Allan Webber2011-05-181-1/+1
| | | | from_celery
* Need to import asint for users who specify ports via config fileChristopher Allan Webber2011-05-181-0/+2
|
* Adding copyright headers and explaining why these unused imports are hereChristopher Allan Webber2011-05-182-0/+33
|
* Move ObjectId, DESCENDING to db.utilElrond2011-05-181-0/+2
| | | | | | We used to import those from pymongo and mongokit directly. We should import them from a single place. So let's try db.util for this.
* Move "connect to database" into db/util.pyElrond2011-05-181-0/+11
|
* Move models into new db/ directoryElrond2011-05-182-0/+128
The database is a central point of interest/discussion. Represent that by its own directory. This will surely become more interesting when we have migrations for example.