Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (91 - 93 of 1174)

Ticket Resolution Summary Owner Reporter
#32 FIXED Need a way to do schema migration on the database Juan José González Christopher Allan Webber
Description

Over time our database format will change, and it'll be important to be able to update peoples' existing databases. We need both a way to specify migrations and to be able to run them.

http://namlook.github.com/mongokit/migration.html contains some info on this.

As far as where the revision info is stored, maybe that could be kept in something like

settings_document = db['app_settings']['mediagoblin']
settings_document['db_revision'] = 'some_identifier'

but I'm not sure. I've been thinking that maybe we'll need to store some user settings in the database eventually once we get some sort of admin interface around. Maybe this is the first thing to start storing.

#166 FIXED Custom grid generator Karen Rustad Jef van Schendel
Description

We'll need to build a custom grid generator to get some decent thumbnail grids.

Here's what we have in mind now:

  • It should be able to create grids of different sizes, so we can choose different amounts of columns and rows.
  • Each thumbnail will be in a div element.
  • Every row of thumbnails will also be in a div. This will allow the rows to resize according to their contents (say a row only contains very wide images, in that case the height will be lower to avoid awkward spacing).
  • Each of these elements will have a class. For correct margins, the first and last thumbnail element in every row will have a second class that removes the margin at the left or right side, respectively.
  • The same should probably be true for the first and last row, to avoid extra space at the bottom or top of the grid.

(As I understand it, correct me if I'm wrong.)

So, basically like cwebber said:

<div class="thumb_gallery">
   <div class="thumb_row">
     <div class="thumb_entry">
       <div class="thumb_image">
         <img src="blabla" />
       </div>
       <div class="thumb_label">Bla bla</div>
     [...]

And then for instance a thumbnail element will looks like:

<div class="thumb_entry">

While a thumbnail element on the far right would have an extra class:

<div class="thumb_entry thumb_last">

Probably not important, but for reference: we're using thumbnails that are 180px wide, with 10px of space in between.

#336 FIXED Inform people they need a better browser if missing <video>, webm Karen Rustad Christopher Allan Webber
Description

We should add some messaging for people to know that they should get a better browser if or webm is not enabled.

We could use http://www.modernizr.com/ to detect this.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.