38aa4a4026Put log in / log out in its place!
Jef van Schendel
2011-05-26 00:15:26 +02:00
207219b561Changed mediagoblin_content name to mediagoblin_container
Jef van Schendel
2011-05-26 00:12:23 +02:00
d89d1bb945Added actual image
Jef van Schendel
2011-05-26 00:05:08 +02:00
2f4d0584d1Added header icon link
Jef van Schendel
2011-05-26 00:04:40 +02:00
e83f8b3c19Removed clever subtitle
Jef van Schendel
2011-05-25 23:57:51 +02:00
7e199c9c87Changed link color and underline
Jef van Schendel
2011-05-20 01:33:28 +02:00
265c19ae33Changed background colors to plain colors
Jef van Schendel
2011-05-20 01:31:45 +02:00
a7b9c65ed5Expanded page width to 960px
Christopher Allan Webber
2011-05-23 17:39:44 -05:00
76c8e34d5cRemoved background images and logo, won't need those for a while
Jef van Schendel
2011-05-20 01:26:52 +02:00
00c3925614modified atomfeed feature, corrected spacing, url generation, routing id
Bernhard Keller
2011-05-23 19:00:46 +02:00
f4cfb4e9c8Encourage users to run migrations every time they buildout.
Christopher Allan Webber
2011-05-22 17:11:59 -05:00
50c880ac0fA more explicit version of get_page_url that doesn't use the request is still an option now ;)
Christopher Allan Webber
2011-05-22 17:06:11 -05:00
57c6da19ccMerge remote branch 'refs/remotes/elrond/idea/new_get_page_url'
Christopher Allan Webber
2011-05-22 16:55:01 -05:00
cf0cc3358bSlightly better spacing in media.html
Christopher Allan Webber
2011-05-22 16:40:31 -05:00
4194b05d98Forgot switch to media.uploader() in the same way on two lines :P
Christopher Allan Webber
2011-05-22 16:37:58 -05:00
16509be160Update all the views so that they use the uploader reference instead of uploader embedding
Christopher Allan Webber
2011-05-22 16:06:45 -05:00
757f37a52dUser migration works (but the rest of the system isn't updated for new user setup yet)
Christopher Allan Webber
2011-05-22 10:52:53 -05:00
8820121ad1Move the general applicaiton setup commands to a utility module
Christopher Allan Webber
2011-05-22 09:56:33 -05:00
dbb92c6020Move the ./bin/gmg shell command into its own module.
Christopher Allan Webber
2011-05-22 09:25:51 -05:00
538a06e986Fix doc string of get_page_url()
Elrond
2011-05-21 17:02:49 +02:00
0e84c707cbGive Pagination.get_page_url() a request instead of path and GET
Elrond
2011-05-21 16:38:34 +02:00
c0bf3c807bClarified: don't do this in production!
Christopher Allan Webber
2011-05-20 19:35:11 -05:00
693b674ce0Added some stuff on how to run CELERY_ALWAYS_EAGER
Christopher Allan Webber
2011-05-20 19:34:28 -05:00
2aa3bb1154Moves virtualenv instructions to a place far far away
Will Kahn-Greene
2011-05-20 20:20:33 -04:00
5487efc401This check is redundant now that it's handled by the decorator.
Christopher Allan Webber
2011-05-20 19:12:44 -05:00
01674e105cMake sure that a MediaEntry does belong to this appropriate user in the decorator. (Thanks Elrond)
Christopher Allan Webber
2011-05-20 19:12:32 -05:00
571198c938Now you can set CELERY_ALWAYS_EAGER environment variable so that you don't have to run celeryd at the same time.
Christopher Allan Webber
2011-05-20 18:49:04 -05:00
6926b23d43Added a url_for_self method for generating mediaentry links
Christopher Allan Webber
2011-05-20 18:16:10 -05:00
439e37f732Cosmetic changes: removed an unused import, stripped some trailing whitespace.
Christopher Allan Webber
2011-05-20 17:48:43 -05:00
724933b154MediaEntry slugs usable in URLs, & decorator that grabs media from the request
Christopher Allan Webber
2011-05-20 17:47:36 -05:00
3c2567ac76Adjusting spacing a little bit
Christopher Allan Webber
2011-05-20 17:37:50 -05:00
90bdf3428fpass in page number in uses_pagination view via keyword argument so ordering doesn't matter.
Christopher Allan Webber
2011-05-20 17:36:29 -05:00
b9e9610bfeI think 30 is a good default number of items per page.
Christopher Allan Webber
2011-05-19 22:46:18 -05:00
dffa0b0983Another minor formatting change.
Christopher Allan Webber
2011-05-19 22:44:57 -05:00
434b322147One more mild styling tweak
Christopher Allan Webber
2011-05-19 22:42:38 -05:00
140e21028bWe don't really need to use a \ here so let's not do so.
Christopher Allan Webber
2011-05-19 22:41:27 -05:00
a98d5254cbAdjusting docstrings a bit to my taste.
Christopher Allan Webber
2011-05-19 22:40:49 -05:00
1301a8ad57Reorganizing the uses_pagination decorator a little and having it pass in the page number to the view
Christopher Allan Webber
2011-05-19 22:39:15 -05:00
af4d0b5cb0Merge remote branch 'remotes/hanaku/pagination'
Christopher Allan Webber
2011-05-19 22:34:57 -05:00
3eb6fc4f2fmoved check for correct page values into decorator for view function
Bernhard Keller
2011-05-19 22:52:18 +02:00
44e3e917fbremoved request arg from Pagination class added get_page_url() in Pagination class, to generate proper urls without losing other get arguments
Bernhard Keller
2011-05-19 20:37:04 +02:00
ca3ca51c5achanged 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
Bernhard Keller
2011-05-19 17:24:31 +02:00
a67fec8177Factor out most of the database connection into db/open.py
Elrond
2011-05-19 01:35:02 +02:00
86f9b47387Clean unused imports (found by pyflakes).
Elrond
2011-05-18 22:03:52 +02:00
ae85ed0f97added Pagination class, usage description in Pagination,__call__ added pagination.html, object_gallery.html as templates
Bernhard Keller
2011-05-18 17:32:49 +02:00
3262ad1dbbRenaming connect_database to connect_database_from_config and using in from_celery
Christopher Allan Webber
2011-05-18 08:44:57 -05:00
468bc8afceNeed to import asint for users who specify ports via config file
Christopher Allan Webber
2011-05-18 08:39:09 -05:00
1815f5ce2eAdding copyright headers and explaining why these unused imports are here
Christopher Allan Webber
2011-05-18 08:37:48 -05:00
254bc43174Move ObjectId, DESCENDING to db.util
Elrond
2011-05-18 11:32:29 +02:00
a4bae8700eMove "connect to database" into db/util.py
Elrond
2011-05-18 01:03:40 +02:00
0f18ed8f5eMove models into new db/ directory
Elrond
2011-05-18 00:44:10 +02:00
931f318cbcActually we only need unique slugs per uploader.
Christopher Allan Webber
2011-05-16 18:28:49 -05:00
f0545ddebdMy name's Chris Webber and I'm pedantic about lines not going over 80 characters.
Christopher Allan Webber
2011-05-16 18:23:27 -05:00
37af09a2e5Require that the slug field have only unique values.
Christopher Allan Webber
2011-05-16 18:22:13 -05:00
18cf34d470Adding the is_admin field now per Elrond's sane request / advice. ;)
Christopher Allan Webber
2011-05-16 18:20:50 -05:00
3e4a2f2be7./bin/gmg shell documented in the hackinghowto
Christopher Allan Webber
2011-05-16 17:35:56 -05:00
1ab8467320Show images in reverse submit order
Sebastian Spaeth
2011-05-16 14:55:05 +02:00
400125148fProperly linking to the background image
Christopher Allan Webber
2011-05-16 07:46:26 -05:00
029cad45c6./bin/gmg shell! Should make a lot of peoples' hacking lives easier I suspect :)
Christopher Allan Webber
2011-05-15 19:02:11 -05:00
e2decbcf1eRemoving the raw string-ness
Christopher Allan Webber
2011-05-13 16:07:37 -05:00
9d4b435a72Removing backup files and preventing them from showing up via .gitignore
Jef van Schendel
2011-05-13 15:38:04 -05:00
983aa712adlabels changed to font-weight normal instead of bold, css structure improved
Jef van Schendel
2011-05-13 15:34:44 -05:00
cb1e4a3d1fAdded @font-face to css
Jef van Schendel
2011-05-13 15:34:35 -05:00
4a0f823e51Added header to base.html
Jef van Schendel
2011-05-13 15:34:26 -05:00
8d2a42d435Changed all headers to <h1>
Jef van Schendel
2011-05-13 15:34:10 -05:00
223b410dceStyled buttons for real this time
Jef van Schendel
2011-05-13 15:33:58 -05:00
8c01ae42e9Styled input buttons
Jef van Schendel
2011-05-13 15:33:46 -05:00
20aaec5f68Changed base.html back to old version
Jef van Schendel
2011-05-13 15:33:27 -05:00
881b6e2c32Fixing changes
Jef van Schendel
2011-05-13 15:33:19 -05:00
a8e2812b05min=0 makes more sense than min=-1
Christopher Allan Webber
2011-05-12 23:40:47 -05:00
bb49e56f8cOn image submission, do not require title. If none entered, default to filename.
Aaron Williamson
2011-05-09 00:06:38 -04:00
9a22d0a023Merge remote branch 'refs/remotes/dneelyeps/master'
Christopher Allan Webber
2011-05-12 23:34:19 -05:00
376e6ef296locale rather than target_lang in the get parameters
Christopher Allan Webber
2011-05-12 23:17:53 -05:00
7acdbfd364Improve user homepage
Sebastian Spaeth
2011-05-11 08:39:57 +02:00
b77eec653dLoad gettext, and load it into the template environment
Christopher Allan Webber
2011-05-12 22:33:30 -05:00
e461b77713moving mediagoblin.po to a filename that makes sense
Christopher Allan Webber
2011-05-12 15:26:15 -05:00
0e0e3d9aadSeparation between setting up the template env and the template loader for a glorious future where we have gettext in template context
Christopher Allan Webber
2011-05-12 15:17:07 -05:00
f62ccaac15Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber
2011-05-12 14:59:08 -05:00
8b28bee4c1Added some locale determination tools
Christopher Allan Webber
2011-05-12 14:57:58 -05:00
21919313dfFix the email debug inbox
Christopher Allan Webber
2011-05-12 14:49:37 -05:00
2de317f2f3I probably shouldn't break the main page since we don't have the gettext thing in place yet.
Christopher Allan Webber
2011-05-12 14:25:28 -05:00
bdcd615c3cUpdate to previous commit
Daniel Neel
2011-05-12 14:54:59 -04:00
84440a68f7Edits to "What's where" diagram in docs/codebase.rst
Daniel Neel
2011-05-12 14:52:51 -04:00
434fb405e3Updated table of contents
Daniel Neel
2011-05-12 14:48:50 -04:00
c6d266f651Fixed previous broken commit
Daniel Neel
2011-05-12 14:46:59 -04:00
016617a6c9Changed "Foreward" to "Foreword"
Daniel Neel
2011-05-12 14:46:02 -04:00
c19eed5283Fixed a typo in docs/contributinghowto.rst
Daniel Neel
2011-05-12 14:35:39 -04:00
49fa1a0073Fixed another typo in docs/mediagoblin.rst
Daniel Neel
2011-05-12 14:29:54 -04:00
5e593201a6Fixed a typo in docs/mediagoblin.rst
Daniel Neel
2011-05-12 14:23:52 -04:00
23d23dcf6bMoving translations to mediagoblin/translations
Christopher Allan Webber
2011-05-12 10:22:56 -05:00
1fc336e7e5adding master.po translations file
Christopher Allan Webber
2011-05-12 10:20:03 -05:00
95aa6b56b2buildout instructions come first since it's easier if it does work
Christopher Allan Webber
2011-05-12 10:05:35 -05:00
36bb98fbbaTranslate the welcome message (extracts successfully!)
Christopher Allan Webber
2011-05-12 09:48:54 -05:00
84d4f04edcAdded extraction stuff that's not used but appears to work :)
Christopher Allan Webber
2011-05-12 09:44:04 -05:00
20c834ffe4Add the jinja2 extension to the jinja loader
Christopher Allan Webber
2011-05-12 09:18:53 -05:00
829d50f350Fixing tyop in README... thanks Daniel Neel!
Christopher Allan Webber
2011-05-12 07:17:02 -05:00
1504acfddfRight, we don't need the exported HTML either.
Christopher Allan Webber
2011-05-12 07:15:11 -05:00
6557056bcaI don't believe we need READMEish.org anymore.
Christopher Allan Webber
2011-05-12 07:14:15 -05:00