Commit Graph

  • 38aa4a4026 Put log in / log out in its place! Jef van Schendel 2011-05-26 00:15:26 +02:00
  • 207219b561 Changed mediagoblin_content name to mediagoblin_container Jef van Schendel 2011-05-26 00:12:23 +02:00
  • d89d1bb945 Added actual image Jef van Schendel 2011-05-26 00:05:08 +02:00
  • 2f4d0584d1 Added header icon link Jef van Schendel 2011-05-26 00:04:40 +02:00
  • e83f8b3c19 Removed clever subtitle Jef van Schendel 2011-05-25 23:57:51 +02:00
  • 7e199c9c87 Changed link color and underline Jef van Schendel 2011-05-20 01:33:28 +02:00
  • 265c19ae33 Changed background colors to plain colors Jef van Schendel 2011-05-20 01:31:45 +02:00
  • a7b9c65ed5 Expanded page width to 960px Christopher Allan Webber 2011-05-23 17:39:44 -05:00
  • 76c8e34d5c Removed background images and logo, won't need those for a while Jef van Schendel 2011-05-20 01:26:52 +02:00
  • 00c3925614 modified atomfeed feature, corrected spacing, url generation, routing id Bernhard Keller 2011-05-23 19:00:46 +02:00
  • f4cfb4e9c8 Encourage users to run migrations every time they buildout. Christopher Allan Webber 2011-05-22 17:11:59 -05:00
  • 50c880ac0f A 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
  • 57c6da19cc Merge remote branch 'refs/remotes/elrond/idea/new_get_page_url' Christopher Allan Webber 2011-05-22 16:55:01 -05:00
  • cf0cc3358b Slightly better spacing in media.html Christopher Allan Webber 2011-05-22 16:40:31 -05:00
  • 4194b05d98 Forgot switch to media.uploader() in the same way on two lines :P Christopher Allan Webber 2011-05-22 16:37:58 -05:00
  • 16509be160 Update 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
  • 757f37a52d User 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
  • 8820121ad1 Move the general applicaiton setup commands to a utility module Christopher Allan Webber 2011-05-22 09:56:33 -05:00
  • dbb92c6020 Move the ./bin/gmg shell command into its own module. Christopher Allan Webber 2011-05-22 09:25:51 -05:00
  • 538a06e986 Fix doc string of get_page_url() Elrond 2011-05-21 17:02:49 +02:00
  • 0e84c707cb Give Pagination.get_page_url() a request instead of path and GET Elrond 2011-05-21 16:38:34 +02:00
  • c0bf3c807b Clarified: don't do this in production! Christopher Allan Webber 2011-05-20 19:35:11 -05:00
  • 693b674ce0 Added some stuff on how to run CELERY_ALWAYS_EAGER Christopher Allan Webber 2011-05-20 19:34:28 -05:00
  • 2aa3bb1154 Moves virtualenv instructions to a place far far away Will Kahn-Greene 2011-05-20 20:20:33 -04:00
  • 5487efc401 This check is redundant now that it's handled by the decorator. Christopher Allan Webber 2011-05-20 19:12:44 -05:00
  • 01674e105c Make 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
  • 571198c938 Now 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
  • 6926b23d43 Added a url_for_self method for generating mediaentry links Christopher Allan Webber 2011-05-20 18:16:10 -05:00
  • 439e37f732 Cosmetic changes: removed an unused import, stripped some trailing whitespace. Christopher Allan Webber 2011-05-20 17:48:43 -05:00
  • 724933b154 MediaEntry slugs usable in URLs, & decorator that grabs media from the request Christopher Allan Webber 2011-05-20 17:47:36 -05:00
  • 3c2567ac76 Adjusting spacing a little bit Christopher Allan Webber 2011-05-20 17:37:50 -05:00
  • 90bdf3428f pass 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
  • b9e9610bfe I think 30 is a good default number of items per page. Christopher Allan Webber 2011-05-19 22:46:18 -05:00
  • dffa0b0983 Another minor formatting change. Christopher Allan Webber 2011-05-19 22:44:57 -05:00
  • 434b322147 One more mild styling tweak Christopher Allan Webber 2011-05-19 22:42:38 -05:00
  • 140e21028b We 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
  • a98d5254cb Adjusting docstrings a bit to my taste. Christopher Allan Webber 2011-05-19 22:40:49 -05:00
  • 1301a8ad57 Reorganizing 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
  • af4d0b5cb0 Merge remote branch 'remotes/hanaku/pagination' Christopher Allan Webber 2011-05-19 22:34:57 -05:00
  • 3eb6fc4f2f moved check for correct page values into decorator for view function Bernhard Keller 2011-05-19 22:52:18 +02:00
  • 44e3e917fb removed 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
  • 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 Bernhard Keller 2011-05-19 17:24:31 +02:00
  • a67fec8177 Factor out most of the database connection into db/open.py Elrond 2011-05-19 01:35:02 +02:00
  • 86f9b47387 Clean unused imports (found by pyflakes). Elrond 2011-05-18 22:03:52 +02:00
  • ae85ed0f97 added 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
  • 3262ad1dbb Renaming connect_database to connect_database_from_config and using in from_celery Christopher Allan Webber 2011-05-18 08:44:57 -05:00
  • 468bc8afce Need to import asint for users who specify ports via config file Christopher Allan Webber 2011-05-18 08:39:09 -05:00
  • 1815f5ce2e Adding copyright headers and explaining why these unused imports are here Christopher Allan Webber 2011-05-18 08:37:48 -05:00
  • 254bc43174 Move ObjectId, DESCENDING to db.util Elrond 2011-05-18 11:32:29 +02:00
  • a4bae8700e Move "connect to database" into db/util.py Elrond 2011-05-18 01:03:40 +02:00
  • 0f18ed8f5e Move models into new db/ directory Elrond 2011-05-18 00:44:10 +02:00
  • 931f318cbc Actually we only need unique slugs per uploader. Christopher Allan Webber 2011-05-16 18:28:49 -05:00
  • f0545ddebd My 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
  • 37af09a2e5 Require that the slug field have only unique values. Christopher Allan Webber 2011-05-16 18:22:13 -05:00
  • 18cf34d470 Adding 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
  • 1ab8467320 Show images in reverse submit order Sebastian Spaeth 2011-05-16 14:55:05 +02:00
  • 400125148f Properly 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
  • e2decbcf1e Removing the raw string-ness Christopher Allan Webber 2011-05-13 16:07:37 -05:00
  • 9d4b435a72 Removing backup files and preventing them from showing up via .gitignore Jef van Schendel 2011-05-13 15:38:04 -05:00
  • 983aa712ad labels changed to font-weight normal instead of bold, css structure improved Jef van Schendel 2011-05-13 15:34:44 -05:00
  • cb1e4a3d1f Added @font-face to css Jef van Schendel 2011-05-13 15:34:35 -05:00
  • 4a0f823e51 Added header to base.html Jef van Schendel 2011-05-13 15:34:26 -05:00
  • 8d2a42d435 Changed all headers to <h1> Jef van Schendel 2011-05-13 15:34:10 -05:00
  • 223b410dce Styled buttons for real this time Jef van Schendel 2011-05-13 15:33:58 -05:00
  • 8c01ae42e9 Styled input buttons Jef van Schendel 2011-05-13 15:33:46 -05:00
  • 20aaec5f68 Changed base.html back to old version Jef van Schendel 2011-05-13 15:33:27 -05:00
  • 881b6e2c32 Fixing changes Jef van Schendel 2011-05-13 15:33:19 -05:00
  • 1013bdaff2 Minor fomatting fix. Aaron Williamson 2011-05-13 14:16:35 -04:00
  • 0546833c6e Generate unique slugs for newly submitted images. Aaron Williamson 2011-05-13 12:18:52 -04:00
  • a8e2812b05 min=0 makes more sense than min=-1 Christopher Allan Webber 2011-05-12 23:40:47 -05:00
  • bb49e56f8c On image submission, do not require title. If none entered, default to filename. Aaron Williamson 2011-05-09 00:06:38 -04:00
  • 9a22d0a023 Merge remote branch 'refs/remotes/dneelyeps/master' Christopher Allan Webber 2011-05-12 23:34:19 -05:00
  • 376e6ef296 locale rather than target_lang in the get parameters Christopher Allan Webber 2011-05-12 23:17:53 -05:00
  • 7acdbfd364 Improve user homepage Sebastian Spaeth 2011-05-11 08:39:57 +02:00
  • b77eec653d Load gettext, and load it into the template environment Christopher Allan Webber 2011-05-12 22:33:30 -05:00
  • e461b77713 moving mediagoblin.po to a filename that makes sense Christopher Allan Webber 2011-05-12 15:26:15 -05:00
  • 0e0e3d9aad Separation 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
  • f62ccaac15 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin Christopher Allan Webber 2011-05-12 14:59:08 -05:00
  • 8b28bee4c1 Added some locale determination tools Christopher Allan Webber 2011-05-12 14:57:58 -05:00
  • 21919313df Fix the email debug inbox Christopher Allan Webber 2011-05-12 14:49:37 -05:00
  • 2de317f2f3 I 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
  • bdcd615c3c Update to previous commit Daniel Neel 2011-05-12 14:54:59 -04:00
  • 84440a68f7 Edits to "What's where" diagram in docs/codebase.rst Daniel Neel 2011-05-12 14:52:51 -04:00
  • 434fb405e3 Updated table of contents Daniel Neel 2011-05-12 14:48:50 -04:00
  • c6d266f651 Fixed previous broken commit Daniel Neel 2011-05-12 14:46:59 -04:00
  • 016617a6c9 Changed "Foreward" to "Foreword" Daniel Neel 2011-05-12 14:46:02 -04:00
  • c19eed5283 Fixed a typo in docs/contributinghowto.rst Daniel Neel 2011-05-12 14:35:39 -04:00
  • 49fa1a0073 Fixed another typo in docs/mediagoblin.rst Daniel Neel 2011-05-12 14:29:54 -04:00
  • 5e593201a6 Fixed a typo in docs/mediagoblin.rst Daniel Neel 2011-05-12 14:23:52 -04:00
  • 23d23dcf6b Moving translations to mediagoblin/translations Christopher Allan Webber 2011-05-12 10:22:56 -05:00
  • 1fc336e7e5 adding master.po translations file Christopher Allan Webber 2011-05-12 10:20:03 -05:00
  • 95aa6b56b2 buildout instructions come first since it's easier if it does work Christopher Allan Webber 2011-05-12 10:05:35 -05:00
  • 36bb98fbba Translate the welcome message (extracts successfully!) Christopher Allan Webber 2011-05-12 09:48:54 -05:00
  • 84d4f04edc Added extraction stuff that's not used but appears to work :) Christopher Allan Webber 2011-05-12 09:44:04 -05:00
  • 20c834ffe4 Add the jinja2 extension to the jinja loader Christopher Allan Webber 2011-05-12 09:18:53 -05:00
  • 829d50f350 Fixing tyop in README... thanks Daniel Neel! Christopher Allan Webber 2011-05-12 07:17:02 -05:00
  • 1504acfddf Right, we don't need the exported HTML either. Christopher Allan Webber 2011-05-12 07:15:11 -05:00
  • 6557056bca I don't believe we need READMEish.org anymore. Christopher Allan Webber 2011-05-12 07:14:15 -05:00