Christopher Allan Webber
e698dedad5
*GNU* MediaGoblin home ;)
2011-05-26 10:14:46 -05:00
Jef van Schendel
04d7c55fc6
Changed logout/account text
2011-05-26 01:24:13 +02:00
Jef van Schendel
3f139dd259
Changed header size
2011-05-26 00:45:17 +02:00
Jef van Schendel
4fdd102175
We now have only one button style
2011-05-26 00:41:13 +02:00
Jef van Schendel
38aa4a4026
Put log in / log out in its place!
2011-05-26 00:15:26 +02:00
Jef van Schendel
207219b561
Changed mediagoblin_content name to mediagoblin_container
2011-05-26 00:12:23 +02:00
Jef van Schendel
d89d1bb945
Added actual image
2011-05-26 00:05:08 +02:00
Jef van Schendel
2f4d0584d1
Added header icon link
2011-05-26 00:04:40 +02:00
Jef van Schendel
e83f8b3c19
Removed clever subtitle
2011-05-25 23:57:51 +02:00
Jef van Schendel
7e199c9c87
Changed link color and underline
2011-05-23 17:39:58 -05:00
Jef van Schendel
265c19ae33
Changed background colors to plain colors
2011-05-23 17:39:52 -05:00
Christopher Allan Webber
a7b9c65ed5
Expanded page width to 960px
...
Conflicts:
mediagoblin/static/css/base.css
2011-05-23 17:39:44 -05:00
Jef van Schendel
76c8e34d5c
Removed background images and logo, won't need those for a while
2011-05-23 17:38:37 -05:00
Bernhard Keller
00c3925614
modified atomfeed feature, corrected spacing, url generation, routing id
2011-05-23 19:00:46 +02:00
Christopher Allan Webber
f4cfb4e9c8
Encourage users to run migrations every time they buildout.
2011-05-22 17:11:59 -05:00
Christopher Allan Webber
50c880ac0f
A more explicit version of get_page_url that doesn't use the request
...
is still an option now ;)
2011-05-22 17:06:11 -05:00
Christopher Allan Webber
57c6da19cc
Merge remote branch 'refs/remotes/elrond/idea/new_get_page_url'
2011-05-22 16:55:01 -05:00
Christopher Allan Webber
cf0cc3358b
Slightly better spacing in media.html
2011-05-22 16:40:31 -05:00
Christopher Allan Webber
4194b05d98
Forgot switch to media.uploader() in the same way on two lines :P
2011-05-22 16:37:58 -05:00
Christopher Allan Webber
16509be160
Update all the views so that they use the uploader reference instead
...
of uploader embedding
2011-05-22 16:06:45 -05:00
Christopher Allan Webber
757f37a52d
User migration works (but the rest of the system isn't updated for new user setup yet)
2011-05-22 10:52:53 -05:00
Christopher Allan Webber
8820121ad1
Move the general applicaiton setup commands to a utility module
2011-05-22 09:56:33 -05:00
Christopher Allan Webber
dbb92c6020
Move the ./bin/gmg shell command into its own module.
2011-05-22 09:25:51 -05:00
Elrond
538a06e986
Fix doc string of get_page_url()
2011-05-21 17:02:49 +02:00
Elrond
0e84c707cb
Give Pagination.get_page_url() a request instead of path and GET
...
Makes calling Pagination.get_page_url() much simpler.
2011-05-21 16:38:34 +02:00
Christopher Allan Webber
c0bf3c807b
Clarified: don't do this in production!
2011-05-20 19:35:11 -05:00
Christopher Allan Webber
693b674ce0
Added some stuff on how to run CELERY_ALWAYS_EAGER
2011-05-20 19:34:28 -05:00
Will Kahn-Greene
2aa3bb1154
Moves virtualenv instructions to a place far far away
...
But seriously, moved them to the stop-gap wiki:
https://gitorious.org/mediagoblin/pages/HackingWithVirtualenv
2011-05-20 20:21:18 -04:00
Christopher Allan Webber
5487efc401
This check is redundant now that it's handled by the decorator.
2011-05-20 19:12:44 -05:00
Christopher Allan Webber
01674e105c
Make sure that a MediaEntry does belong to this appropriate user in
...
the decorator. (Thanks Elrond)
2011-05-20 19:12:32 -05:00
Christopher Allan Webber
571198c938
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 ;)
2011-05-20 18:49:04 -05:00
Christopher Allan Webber
6926b23d43
Added a url_for_self method for generating mediaentry links
...
This allows for optionally making the url based off of slugs or ids
2011-05-20 18:16:10 -05:00
Christopher Allan Webber
439e37f732
Cosmetic changes: removed an unused import, stripped some trailing whitespace.
2011-05-20 17:48:43 -05:00
Christopher Allan Webber
724933b154
MediaEntry slugs usable in URLs, & decorator that grabs media from the request
2011-05-20 17:47:36 -05:00
Christopher Allan Webber
3c2567ac76
Adjusting spacing a little bit
2011-05-20 17:37:50 -05:00
Christopher Allan Webber
90bdf3428f
pass in page number in uses_pagination view via keyword argument so ordering doesn't matter.
2011-05-20 17:36:29 -05:00
Christopher Allan Webber
b9e9610bfe
I think 30 is a good default number of items per page.
2011-05-19 22:46:18 -05:00
Christopher Allan Webber
dffa0b0983
Another minor formatting change.
2011-05-19 22:44:57 -05:00
Christopher Allan Webber
434b322147
One more mild styling tweak
2011-05-19 22:42:38 -05:00
Christopher Allan Webber
140e21028b
We don't really need to use a \ here so let's not do so.
2011-05-19 22:41:27 -05:00
Christopher Allan Webber
a98d5254cb
Adjusting docstrings a bit to my taste.
2011-05-19 22:40:49 -05:00
Christopher Allan Webber
1301a8ad57
Reorganizing the uses_pagination decorator a little and having it pass
...
in the page number to the view
2011-05-19 22:39:15 -05:00
Christopher Allan Webber
af4d0b5cb0
Merge remote branch 'remotes/hanaku/pagination'
...
Conflicts:
mediagoblin/user_pages/views.py
2011-05-19 22:34:57 -05:00
Bernhard Keller
3eb6fc4f2f
moved check for correct page values into decorator for view function
2011-05-19 22:52:18 +02:00
Bernhard Keller
44e3e917fb
removed request arg from Pagination class
...
added get_page_url() in Pagination class, to generate proper urls without losing
other get arguments
2011-05-19 20:37:04 +02:00
Bernhard Keller
ca3ca51c5a
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
2011-05-19 17:24:31 +02:00
Elrond
a67fec8177
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
2011-05-19 01:35:02 +02:00
Elrond
86f9b47387
Clean unused imports (found by pyflakes).
2011-05-18 22:03:52 +02:00
Bernhard Keller
ae85ed0f97
added Pagination class, usage description in Pagination,__call__
...
added pagination.html, object_gallery.html as templates
2011-05-18 17:32:49 +02:00
Christopher Allan Webber
3262ad1dbb
Renaming connect_database to connect_database_from_config and using in from_celery
2011-05-18 08:44:57 -05:00