Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move db_name default into config_spec.ini | Elrond | 2011-07-11 | 1 | -1/+1 |
| | | | | | | | The default name of the database ("mediagoblin") was coded in db/open.py and init/celery/__init__.py. Instead use the new config system to have this as the default for the "db_name" config option. | ||||
* | Adjusting documentation in indexes.py also re: more info in deprecation | Christopher Allan Webber | 2011-07-09 | 1 | -4/+6 |
| | |||||
* | Changing things back so that we keep information about deprecated | Christopher Allan Webber | 2011-07-09 | 1 | -3/+10 |
| | | | | indexes around. | ||||
* | This should actually fix the next and previous buttons now. Sorry I borked ↵ | Christopher Allan Webber | 2011-07-07 | 1 | -2/+2 |
| | | | | the merge! | ||||
* | Merge remote branch ↵ | Christopher Allan Webber | 2011-07-06 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | 'remotes/gullydwarf-cfdv/f423_match_image_ordering_between_scroll_and_gallery' Conflicts: mediagoblin/db/models.py | ||||
| * | Feature #423 - gallery and scroll image ordering match | Caleb Forbes Davis V | 2011-07-04 | 1 | -4/+4 |
| | | |||||
* | | Merge remote branch 'remotes/gullydwarf-cfdv/f435_limit_prev_next_by_processed' | Christopher Allan Webber | 2011-07-06 | 1 | -2/+4 |
|\ \ | |||||
| * | | f#435 - avoids linking to unprocessed media in prev and next | Caleb Forbes Davis V | 2011-07-05 | 1 | -2/+4 |
| |/ | |||||
* / | slug-style urls in previous and next urls look much better | Caleb Forbes Davis V | 2011-07-05 | 1 | -2/+2 |
|/ | | | | Bug #434 - identifies media by slug instead of _id in prev/next | ||||
* | Merge remote branch 'remotes/gullydwarf-cfdv/f401_prev_next_media_nav' | Christopher Allan Webber | 2011-07-02 | 2 | -2/+28 |
|\ | | | | | | | | | | | Conflicts: mediagoblin/db/models.py mediagoblin/templates/mediagoblin/user_pages/media.html | ||||
| * | adds previous and next links in the sidebar | Caleb Forbes Davis V | 2011-07-02 | 2 | -2/+28 |
| | | | | | | | | | | | | | | | | Feature #401 - previous/next navigation on media pages * media.html includes a new prev_next.html template containing the links * prev_next.html calls functions added to the media model to retrieve the appropriate objects from the database, formatted with urlgen * a small change to util.py brings ASCENDING into the mix | ||||
* | | Note from Chris Webber prefacing Elrond's DB abstraction idea. | Christopher Allan Webber | 2011-07-02 | 1 | -0/+12 |
| | | |||||
* | | Merge remote branch 'remotes/elrond/idea/db_doc' | Christopher Allan Webber | 2011-07-02 | 1 | -0/+34 |
|\ \ | |||||
| * | | Document the db submodule a bit | Elrond | 2011-06-30 | 1 | -0/+34 |
| |/ | | | | | | | | | Document the ideas behind the db submodule. And document what that actually means. | ||||
* | | Merge remote branch ↵ | Christopher Allan Webber | 2011-07-02 | 1 | -17/+5 |
|\ \ | |/ |/| | | | | | | | | | 'remotes/jwandborg/feature_362-simple_comments-acts_on_feedback' Conflicts: mediagoblin/templates/mediagoblin/user_pages/media.html | ||||
| * | Issue #362 - Simple comments - Changes based on feedback recieved from ↵ | Joar Wandborg | 2011-07-01 | 1 | -17/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | #mediagoblin * `db.models` - Removed `MediaEntry.get_comments()` and replaced it with a helper which just returns a cursor for the comments query * `media.html` - Added `{% set comment_author = comment.author() %}` * `user_pages.views` - media_home() now passes `MediaEntry.get_comments()` directly to `Pagination`, handles pagination for comments. * Added `MEDIA_COMMENTS_PER_PAGE` to define the number of comments per page in the `media_home()` view. | ||||
| * | Merge branch 'feature_362-simple_comments' | Joar Wandborg | 2011-06-29 | 1 | -3/+43 |
| |\ | |||||
* | | | Comment indexes | Christopher Allan Webber | 2011-06-30 | 1 | -0/+10 |
| | | | |||||
* | | | Merge remote branch 'remotes/jwandborg/feature_362-simple_comments' | Christopher Allan Webber | 2011-06-29 | 1 | -3/+43 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | Issue #362 - Updated the MediaComment model | Joar Wandborg | 2011-06-29 | 1 | -4/+20 |
| | | | | | | | | | | | | | | * `MediaComment.get_comments()` now uses pagination * `MediaComment.get_comments()` now sorts by `created` DESC * `MediaComment.media_entry` is now **required** * `MediaComment.media_entry()` now returns parent `MediaEntry` | ||||
| * | Issue 362 - Add simple comments | Joar Wandborg | 2011-06-27 | 1 | -1/+25 |
| | | | | | | | | | | * Added MediaComment database model Holds `media_entry` (`ObjectId`), `author` (`ObjectId`), `created`, `content` and `content_html`. | ||||
* | | Documenging index utils and adjusting how remove_deprecated_indexes gets ↵ | Christopher Allan Webber | 2011-06-27 | 1 | -2/+17 |
| | | | | | | | | | | | | | | | | | | | | arguments More specifically, we now just take a dictionary of lists, like: {'collection': ['index_identifier1', 'index_identifier2']} Previously we took something with more info like in add_new_indexes, but that extra info isn't really necessary. | ||||
* | | Documentation updates to indexes.py's docstring | Christopher Allan Webber | 2011-06-27 | 1 | -5/+19 |
| | | | | | | | | Includes information on how to deprecate indexes. | ||||
* | | Adding our current indexes and removing the index that was in models.py | Christopher Allan Webber | 2011-06-27 | 2 | -11/+12 |
| | | |||||
* | | Tools to add / remove indexes from collections | Christopher Allan Webber | 2011-06-27 | 1 | -0/+65 |
| | | |||||
* | | Store the collection information in the ACTIVE_INDEXES keys | Christopher Allan Webber | 2011-06-26 | 1 | -14/+9 |
| | | |||||
* | | A base set of indexes for us to use with our new indexing tool. | Christopher Allan Webber | 2011-06-26 | 1 | -0/+103 |
|/ | |||||
* | Merge remote branch 'remotes/elrond/idea/invalidid' | Christopher Allan Webber | 2011-06-22 | 1 | -0/+1 |
|\ | |||||
| * | Move InvalidId to db.util | Elrond | 2011-06-20 | 1 | -0/+1 |
| | | | | | | | | | | | | Instead of import InvalidId from the low level bson module, first import it in our db.util wrapper and second import it from pymongo.errors. | ||||
* | | Merge remote branch 'refs/remotes/gullydwarf-cfdv/is315' | Christopher Allan Webber | 2011-06-21 | 2 | -2/+21 |
|\ \ | |||||
| * | | assigns migration steps to User database objects | cfdv | 2011-06-20 | 1 | -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, ↵ | cfdv | 2011-06-20 | 1 | -6/+5 |
| | | | | | | | | | | | | + fix whitespace issues | ||||
| * | | adds accommmodations for migration of fields in User: bio and url | cfdv | 2011-06-20 | 1 | -2/+18 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into is315 | cfdv | 2011-06-20 | 2 | -1/+18 |
| |\ \ | |||||
| * | | | baby step towards enabling profile edits | cfdv | 2011-06-18 | 1 | -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 database | cfdv | 2011-06-18 | 1 | -0/+2 |
| | |/ | |/| | |||||
* | | | Only migrate to description_html if description also exists. | Christopher Allan Webber | 2011-06-20 | 1 | -1/+2 |
| |/ |/| | |||||
* | | Provide a migration to add description_html to MediaEntries that don't have it | Christopher Allan Webber | 2011-06-19 | 1 | -0/+16 |
| | | |||||
* | | Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin | Joar Wandborg | 2011-06-15 | 2 | -4/+2 |
|\| | |||||
| * | mediagoblin.globals->mediagoblin.mg_globals | Christopher Allan Webber | 2011-06-12 | 2 | -4/+2 |
| | | |||||
* | | Added Markdown rendering for `media_entry` | Joar Wandborg | 2011-06-12 | 1 | -1/+2 |
|/ | |||||
* | No need for a method for generating the verification key as a method | Christopher Allan Webber | 2011-06-02 | 1 | -8/+0 |
| | | | | on the class, can just do that in the view | ||||
* | Merge remote branch 'remotes/aleks/aleks' | Christopher Allan Webber | 2011-05-31 | 1 | -0/+8 |
|\ | |||||
| * | Added the ability to regenerate a verification key. | Aleksandar Micovic | 2011-05-31 | 1 | -0/+8 |
| | | |||||
* | | Add an index on MediaEntries making sure slugs + uploader combos are unique | Christopher Allan Webber | 2011-05-30 | 1 | -6/+5 |
|/ | |||||
* | remove all 'username_repr' stuff | Jakob Kramer | 2011-05-29 | 1 | -2/+1 |
| | |||||
* | this should fix #354 | Jakob Kramer | 2011-05-29 | 1 | -1/+2 |
| | |||||
* | Update all the views so that they use the uploader reference instead | Christopher Allan Webber | 2011-05-22 | 1 | -2/+7 |
| | | | | of uploader embedding | ||||
* | User migration works (but the rest of the system isn't updated for new user ↵ | Christopher Allan Webber | 2011-05-22 | 2 | -1/+44 |
| | | | | setup yet) | ||||
* | Added a url_for_self method for generating mediaentry links | Christopher Allan Webber | 2011-05-20 | 1 | -0/+18 |
| | | | | This allows for optionally making the url based off of slugs or ids |