mediagoblin.git
14 years agoFirst changes to media gallery view
Jef van Schendel [Sun, 29 May 2011 00:02:26 +0000 (02:02 +0200)]
First changes to media gallery view

14 years agoSlightly modified text on media page
Jef van Schendel [Sat, 28 May 2011 23:53:41 +0000 (01:53 +0200)]
Slightly modified text on media page

14 years agoCentered image on media page
Jef van Schendel [Sat, 28 May 2011 23:47:12 +0000 (01:47 +0200)]
Centered image on media page

14 years agoModified logo to change on :hover
Jef van Schendel [Sat, 28 May 2011 23:43:12 +0000 (01:43 +0200)]
Modified logo to change on :hover

14 years agoChanged submit form to divs
Jef van Schendel [Sat, 28 May 2011 23:14:48 +0000 (01:14 +0200)]
Changed submit form to divs

14 years agoChanged <p> font from 'sans' to 'sans-serif'
Joar Wandborg [Sat, 28 May 2011 21:56:29 +0000 (23:56 +0200)]
Changed <p> font from 'sans' to 'sans-serif'

14 years agoChanged <body> font from 'sans' to 'sans-serif'
Joar Wandborg [Sat, 28 May 2011 21:54:15 +0000 (23:54 +0200)]
Changed <body> font from 'sans' to 'sans-serif'

14 years agoMerge branch 'master' of git://gitorious.org/~schendje/mediagoblin/schendjes-mediagoblin
Joar Wandborg [Sat, 28 May 2011 21:52:00 +0000 (23:52 +0200)]
Merge branch 'master' of git://gitorious.org/~schendje/mediagoblin/schendjes-mediagoblin

14 years ago*GNU* MediaGoblin on <title>
Joar Wandborg [Sat, 28 May 2011 21:19:44 +0000 (23:19 +0200)]
*GNU* MediaGoblin on <title>

14 years agoFixed submit button style, added create-account notice to log in page
Jef van Schendel [Sat, 28 May 2011 19:32:12 +0000 (21:32 +0200)]
Fixed submit button style, added create-account notice to log in page

14 years agoForgot a bottom-margin for the error div
Jef van Schendel [Sat, 28 May 2011 19:15:15 +0000 (21:15 +0200)]
Forgot a bottom-margin for the error div

14 years agoChanged login forms to use divs instead of tables
Jef van Schendel [Sat, 28 May 2011 19:10:54 +0000 (21:10 +0200)]
Changed login forms to use divs instead of tables

14 years agoStyled error messages
Jef van Schendel [Sat, 28 May 2011 19:02:34 +0000 (21:02 +0200)]
Styled error messages

14 years agoFixed form header
Jef van Schendel [Sat, 28 May 2011 18:43:57 +0000 (20:43 +0200)]
Fixed form header

14 years agoStyled forms
Jef van Schendel [Sat, 28 May 2011 16:32:43 +0000 (18:32 +0200)]
Styled forms

14 years agoMerge remote-tracking branch 'gitorious/master'
Jef van Schendel [Sat, 28 May 2011 15:44:15 +0000 (17:44 +0200)]
Merge remote-tracking branch 'gitorious/master'

14 years agoAdded a new form rendering system, render_divs, and using it for registration
Christopher Allan Webber [Sat, 28 May 2011 14:54:09 +0000 (09:54 -0500)]
Added a new form rendering system, render_divs, and using it for registration

14 years agoMerge remote-tracking branch 'gitorious/master'
Jef van Schendel [Thu, 26 May 2011 17:27:58 +0000 (19:27 +0200)]
Merge remote-tracking branch 'gitorious/master'

14 years ago*GNU* MediaGoblin home ;)
Christopher Allan Webber [Thu, 26 May 2011 15:14:46 +0000 (10:14 -0500)]
*GNU* MediaGoblin home ;)

14 years agoChanged logout/account text
Jef van Schendel [Wed, 25 May 2011 23:24:13 +0000 (01:24 +0200)]
Changed logout/account text

14 years agoChanged header size
Jef van Schendel [Wed, 25 May 2011 22:45:17 +0000 (00:45 +0200)]
Changed header size

14 years agoWe now have only one button style
Jef van Schendel [Wed, 25 May 2011 22:41:13 +0000 (00:41 +0200)]
We now have only one button style

14 years agoPut log in / log out in its place!
Jef van Schendel [Wed, 25 May 2011 22:15:26 +0000 (00:15 +0200)]
Put log in / log out in its place!

14 years agoChanged mediagoblin_content name to mediagoblin_container
Jef van Schendel [Wed, 25 May 2011 22:12:23 +0000 (00:12 +0200)]
Changed mediagoblin_content name to mediagoblin_container

14 years agoAdded actual image
Jef van Schendel [Wed, 25 May 2011 22:05:08 +0000 (00:05 +0200)]
Added actual image

14 years agoAdded header icon link
Jef van Schendel [Wed, 25 May 2011 22:04:40 +0000 (00:04 +0200)]
Added header icon link

14 years agoRemoved clever subtitle
Jef van Schendel [Wed, 25 May 2011 21:57:51 +0000 (23:57 +0200)]
Removed clever subtitle

14 years agoChanged link color and underline
Jef van Schendel [Thu, 19 May 2011 23:33:28 +0000 (01:33 +0200)]
Changed link color and underline

14 years agoChanged background colors to plain colors
Jef van Schendel [Thu, 19 May 2011 23:31:45 +0000 (01:31 +0200)]
Changed background colors to plain colors

14 years agoExpanded page width to 960px
Christopher Allan Webber [Mon, 23 May 2011 22:39:44 +0000 (17:39 -0500)]
Expanded page width to 960px

Conflicts:

mediagoblin/static/css/base.css

14 years agoRemoved background images and logo, won't need those for a while
Jef van Schendel [Thu, 19 May 2011 23:26:52 +0000 (01:26 +0200)]
Removed background images and logo, won't need those for a while

14 years agomodified atomfeed feature, corrected spacing, url generation, routing id
Bernhard Keller [Mon, 23 May 2011 17:00:46 +0000 (19:00 +0200)]
modified atomfeed feature, corrected spacing, url generation, routing id

14 years agoEncourage users to run migrations every time they buildout.
Christopher Allan Webber [Sun, 22 May 2011 22:11:59 +0000 (17:11 -0500)]
Encourage users to run migrations every time they buildout.

14 years agoA more explicit version of get_page_url that doesn't use the request
Christopher Allan Webber [Sun, 22 May 2011 22:06:11 +0000 (17:06 -0500)]
A more explicit version of get_page_url that doesn't use the request
is still an option now ;)

14 years agoMerge remote branch 'refs/remotes/elrond/idea/new_get_page_url'
Christopher Allan Webber [Sun, 22 May 2011 21:55:01 +0000 (16:55 -0500)]
Merge remote branch 'refs/remotes/elrond/idea/new_get_page_url'

14 years agoSlightly better spacing in media.html
Christopher Allan Webber [Sun, 22 May 2011 21:40:31 +0000 (16:40 -0500)]
Slightly better spacing in media.html

14 years agoForgot switch to media.uploader() in the same way on two lines :P
Christopher Allan Webber [Sun, 22 May 2011 21:37:58 +0000 (16:37 -0500)]
Forgot switch to media.uploader() in the same way on two lines :P

14 years agoUpdate all the views so that they use the uploader reference instead
Christopher Allan Webber [Sun, 22 May 2011 21:06:45 +0000 (16:06 -0500)]
Update all the views so that they use the uploader reference instead
of uploader embedding

14 years agoUser migration works (but the rest of the system isn't updated for new user setup...
Christopher Allan Webber [Sun, 22 May 2011 15:52:53 +0000 (10:52 -0500)]
User migration works (but the rest of the system isn't updated for new user setup yet)

14 years agoMove the general applicaiton setup commands to a utility module
Christopher Allan Webber [Sun, 22 May 2011 14:56:33 +0000 (09:56 -0500)]
Move the general applicaiton setup commands to a utility module

14 years agoMove the ./bin/gmg shell command into its own module.
Christopher Allan Webber [Sun, 22 May 2011 14:25:51 +0000 (09:25 -0500)]
Move the ./bin/gmg shell command into its own module.

14 years agoFix doc string of get_page_url()
Elrond [Sat, 21 May 2011 15:02:49 +0000 (17:02 +0200)]
Fix doc string of get_page_url()

14 years agoGive Pagination.get_page_url() a request instead of path and GET
Elrond [Sat, 21 May 2011 14:38:34 +0000 (16:38 +0200)]
Give Pagination.get_page_url() a request instead of path and GET

Makes calling Pagination.get_page_url() much simpler.

14 years agoClarified: don't do this in production!
Christopher Allan Webber [Sat, 21 May 2011 00:35:11 +0000 (19:35 -0500)]
Clarified: don't do this in production!

14 years agoAdded some stuff on how to run CELERY_ALWAYS_EAGER
Christopher Allan Webber [Sat, 21 May 2011 00:34:28 +0000 (19:34 -0500)]
Added some stuff on how to run CELERY_ALWAYS_EAGER

14 years agoMoves virtualenv instructions to a place far far away
Will Kahn-Greene [Sat, 21 May 2011 00:20:33 +0000 (20:20 -0400)]
Moves virtualenv instructions to a place far far away

But seriously, moved them to the stop-gap wiki:
https://gitorious.org/mediagoblin/pages/HackingWithVirtualenv

14 years agoThis check is redundant now that it's handled by the decorator.
Christopher Allan Webber [Sat, 21 May 2011 00:12:44 +0000 (19:12 -0500)]
This check is redundant now that it's handled by the decorator.

14 years agoMake sure that a MediaEntry does belong to this appropriate user in
Christopher Allan Webber [Sat, 21 May 2011 00:12:32 +0000 (19:12 -0500)]
Make sure that a MediaEntry does belong to this appropriate user in
the decorator.  (Thanks Elrond)

14 years agoNow you can set CELERY_ALWAYS_EAGER environment variable so that you
Christopher Allan Webber [Fri, 20 May 2011 23:49:04 +0000 (18:49 -0500)]
Now you can set CELERY_ALWAYS_EAGER environment variable so that you
don't have to run celeryd at the same time.

This should make Elrond happy ;)

14 years agoAdded a url_for_self method for generating mediaentry links
Christopher Allan Webber [Fri, 20 May 2011 23:16:10 +0000 (18:16 -0500)]
Added a url_for_self method for generating mediaentry links

This allows for optionally making the url based off of slugs or ids

14 years agoCosmetic changes: removed an unused import, stripped some trailing whitespace.
Christopher Allan Webber [Fri, 20 May 2011 22:48:43 +0000 (17:48 -0500)]
Cosmetic changes: removed an unused import, stripped some trailing whitespace.

14 years agoMediaEntry slugs usable in URLs, & decorator that grabs media from the request
Christopher Allan Webber [Fri, 20 May 2011 22:47:36 +0000 (17:47 -0500)]
MediaEntry slugs usable in URLs, & decorator that grabs media from the request

14 years agoAdjusting spacing a little bit
Christopher Allan Webber [Fri, 20 May 2011 22:37:50 +0000 (17:37 -0500)]
Adjusting spacing a little bit

14 years agopass in page number in uses_pagination view via keyword argument so ordering doesn...
Christopher Allan Webber [Fri, 20 May 2011 22:36:29 +0000 (17:36 -0500)]
pass in page number in uses_pagination view via keyword argument so ordering doesn't matter.

14 years agoI think 30 is a good default number of items per page.
Christopher Allan Webber [Fri, 20 May 2011 03:46:18 +0000 (22:46 -0500)]
I think 30 is a good default number of items per page.

14 years agoAnother minor formatting change.
Christopher Allan Webber [Fri, 20 May 2011 03:44:57 +0000 (22:44 -0500)]
Another minor formatting change.

14 years agoOne more mild styling tweak
Christopher Allan Webber [Fri, 20 May 2011 03:42:38 +0000 (22:42 -0500)]
One more mild styling tweak

14 years agoWe don't really need to use a \ here so let's not do so.
Christopher Allan Webber [Fri, 20 May 2011 03:41:27 +0000 (22:41 -0500)]
We don't really need to use a \ here so let's not do so.

14 years agoAdjusting docstrings a bit to my taste.
Christopher Allan Webber [Fri, 20 May 2011 03:40:49 +0000 (22:40 -0500)]
Adjusting docstrings a bit to my taste.

14 years agoReorganizing the uses_pagination decorator a little and having it pass
Christopher Allan Webber [Fri, 20 May 2011 03:39:15 +0000 (22:39 -0500)]
Reorganizing the uses_pagination decorator a little and having it pass
in the page number to the view

14 years agoMerge remote branch 'remotes/hanaku/pagination'
Christopher Allan Webber [Fri, 20 May 2011 03:34:57 +0000 (22:34 -0500)]
Merge remote branch 'remotes/hanaku/pagination'

Conflicts:
mediagoblin/user_pages/views.py

14 years agomoved check for correct page values into decorator for view function
Bernhard Keller [Thu, 19 May 2011 20:52:18 +0000 (22:52 +0200)]
moved check for correct page values into decorator for view function

14 years agoremoved request arg from Pagination class
Bernhard Keller [Thu, 19 May 2011 18:37:04 +0000 (20:37 +0200)]
removed request arg from Pagination class
added get_page_url() in Pagination class, to generate proper urls without losing
other get arguments

14 years agochanged some coding styles and changed the interface for pagination from __call__...
Bernhard Keller [Thu, 19 May 2011 15:24:31 +0000 (17:24 +0200)]
changed some coding styles and changed the interface for pagination from __call__ to the
__init__, also getting a cursor as input, instead of the query details

14 years agoFactor out most of the database connection into db/open.py
Elrond [Wed, 18 May 2011 23:35:02 +0000 (01:35 +0200)]
Factor out most of the database connection into db/open.py

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

14 years agoClean unused imports (found by pyflakes).
Elrond [Wed, 18 May 2011 20:03:52 +0000 (22:03 +0200)]
Clean unused imports (found by pyflakes).

14 years agoadded Pagination class, usage description in Pagination,__call__
Bernhard Keller [Wed, 18 May 2011 15:32:49 +0000 (17:32 +0200)]
added Pagination class, usage description in Pagination,__call__
added pagination.html, object_gallery.html as templates

14 years agoRenaming connect_database to connect_database_from_config and using in from_celery
Christopher Allan Webber [Wed, 18 May 2011 13:44:57 +0000 (08:44 -0500)]
Renaming connect_database to connect_database_from_config and using in from_celery

14 years agoNeed to import asint for users who specify ports via config file
Christopher Allan Webber [Wed, 18 May 2011 13:39:09 +0000 (08:39 -0500)]
Need to import asint for users who specify ports via config file

14 years agoAdding copyright headers and explaining why these unused imports are here
Christopher Allan Webber [Wed, 18 May 2011 13:37:48 +0000 (08:37 -0500)]
Adding copyright headers and explaining why these unused imports are here

14 years agoMove ObjectId, DESCENDING to db.util
Elrond [Wed, 18 May 2011 09:32:29 +0000 (11:32 +0200)]
Move ObjectId, DESCENDING to db.util

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.

14 years agoMove "connect to database" into db/util.py
Elrond [Tue, 17 May 2011 23:03:40 +0000 (01:03 +0200)]
Move "connect to database" into db/util.py

14 years agoMove models into new db/ directory
Elrond [Tue, 17 May 2011 22:44:10 +0000 (00:44 +0200)]
Move models into new db/ directory

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.

14 years agoActually we only need unique slugs per uploader.
Christopher Allan Webber [Mon, 16 May 2011 23:28:49 +0000 (18:28 -0500)]
Actually we only need unique slugs per uploader.

But I want to fix http://bugs.foocorp.net/issues/340 first.

14 years agoMy name's Chris Webber and I'm pedantic about lines not going over 80 characters.
Christopher Allan Webber [Mon, 16 May 2011 23:23:27 +0000 (18:23 -0500)]
My name's Chris Webber and I'm pedantic about lines not going over 80 characters.

14 years agoRequire that the slug field have only unique values.
Christopher Allan Webber [Mon, 16 May 2011 23:22:13 +0000 (18:22 -0500)]
Require that the slug field have only unique values.

14 years agoAdding the is_admin field now per Elrond's sane request / advice. ;)
Christopher Allan Webber [Mon, 16 May 2011 23:20:50 +0000 (18:20 -0500)]
Adding the is_admin field now per Elrond's sane request / advice. ;)

14 years ago./bin/gmg shell documented in the hackinghowto
Christopher Allan Webber [Mon, 16 May 2011 22:35:56 +0000 (17:35 -0500)]
./bin/gmg shell documented in the hackinghowto

14 years agoShow images in reverse submit order
Sebastian Spaeth [Mon, 16 May 2011 12:55:05 +0000 (14:55 +0200)]
Show images in reverse submit order

Fixes bug #327. Just do a .sort('created', DESCENDING) on Media when
showing them to show the latest first.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
14 years agoProperly linking to the background image
Christopher Allan Webber [Mon, 16 May 2011 12:46:26 +0000 (07:46 -0500)]
Properly linking to the background image

14 years ago./bin/gmg shell! Should make a lot of peoples' hacking lives easier I suspect :)
Christopher Allan Webber [Mon, 16 May 2011 00:02:11 +0000 (19:02 -0500)]
./bin/gmg shell!  Should make a lot of peoples' hacking lives easier I suspect :)

14 years agoRemoving the raw string-ness
Christopher Allan Webber [Fri, 13 May 2011 21:07:37 +0000 (16:07 -0500)]
Removing the raw string-ness

14 years agoRemoving backup files and preventing them from showing up via .gitignore
Jef van Schendel [Fri, 13 May 2011 20:38:04 +0000 (15:38 -0500)]
Removing backup files and preventing them from showing up via .gitignore

14 years agolabels changed to font-weight normal instead of bold, css structure improved
Jef van Schendel [Fri, 13 May 2011 20:34:44 +0000 (15:34 -0500)]
labels changed to font-weight normal instead of bold, css structure improved

14 years agoAdded @font-face to css
Jef van Schendel [Fri, 13 May 2011 20:34:35 +0000 (15:34 -0500)]
Added @font-face to css

14 years agoAdded header to base.html
Jef van Schendel [Fri, 13 May 2011 20:34:26 +0000 (15:34 -0500)]
Added header to base.html

14 years agoChanged all headers to <h1>
Jef van Schendel [Fri, 13 May 2011 20:34:10 +0000 (15:34 -0500)]
Changed all headers to <h1>

14 years agoStyled buttons for real this time
Jef van Schendel [Fri, 13 May 2011 20:33:58 +0000 (15:33 -0500)]
Styled buttons for real this time

14 years agoStyled input buttons
Jef van Schendel [Fri, 13 May 2011 20:33:46 +0000 (15:33 -0500)]
Styled input buttons

14 years agoChanged base.html back to old version
Jef van Schendel [Fri, 13 May 2011 20:33:27 +0000 (15:33 -0500)]
Changed base.html back to old version

14 years agoFixing changes
Jef van Schendel [Fri, 13 May 2011 20:33:19 +0000 (15:33 -0500)]
Fixing changes

14 years agoMinor fomatting fix.
Aaron Williamson [Fri, 13 May 2011 18:16:35 +0000 (14:16 -0400)]
Minor fomatting fix.

14 years agoGenerate unique slugs for newly submitted images.
Aaron Williamson [Fri, 13 May 2011 16:18:52 +0000 (12:18 -0400)]
Generate unique slugs for newly submitted images.

14 years agomin=0 makes more sense than min=-1
Christopher Allan Webber [Fri, 13 May 2011 04:40:47 +0000 (23:40 -0500)]
min=0 makes more sense than min=-1

14 years agoOn image submission, do not require title. If none entered, default to filename.
Aaron Williamson [Mon, 9 May 2011 04:06:38 +0000 (00:06 -0400)]
On image submission, do not require title. If none entered, default to filename.

14 years agoMerge remote branch 'refs/remotes/dneelyeps/master'
Christopher Allan Webber [Fri, 13 May 2011 04:34:19 +0000 (23:34 -0500)]
Merge remote branch 'refs/remotes/dneelyeps/master'

14 years agolocale rather than target_lang in the get parameters
Christopher Allan Webber [Fri, 13 May 2011 04:17:53 +0000 (23:17 -0500)]
locale rather than target_lang in the get parameters

14 years agoImprove user homepage
Sebastian Spaeth [Wed, 11 May 2011 06:39:57 +0000 (08:39 +0200)]
Improve user homepage

1) Only consider user's with 'status': 'active'. We don't want to
   display unconfirmed/blocked users, right?
2) Actually query user's media in the view and display on their home
   page.
3) Throw an error 404 if we don't find a valid user, rather than saying,
   "User not found" (from within the template).
4) Pass in medias as media_entries to remain compatible with the 'root'
   page.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
14 years agoLoad gettext, and load it into the template environment
Christopher Allan Webber [Fri, 13 May 2011 03:33:30 +0000 (22:33 -0500)]
Load gettext, and load it into the template environment

14 years agomoving mediagoblin.po to a filename that makes sense
Christopher Allan Webber [Thu, 12 May 2011 20:26:15 +0000 (15:26 -0500)]
moving mediagoblin.po to a filename that makes sense