1273 Commits

Author SHA1 Message Date
Christopher Allan Webber
f645bde8fd Just a bit of spacing to make things easier to read by a little bit. 2011-08-20 09:00:30 -05:00
Christopher Allan Webber
29beee8ceb Removing this commented out </div><div> from the media template 2011-08-20 08:56:21 -05:00
Jef van Schendel
7baaea38a6 First ugly push with Lato typeface 2011-08-20 02:47:55 +02:00
Christopher Allan Webber
583351109e Merge branch 'processing' 2011-08-19 12:34:40 -05:00
Christopher Allan Webber
0cbab848b9 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2011-08-19 12:31:31 -05:00
Christopher Allan Webber
b5017dbac8 Switch the grid over to using a... erk... table! :)
Also changes the gridification routine a bit.
2011-08-18 22:00:55 -05:00
Christopher Allan Webber
5b21ecf9db Feed link, as an includable template! 2011-08-18 21:28:00 -05:00
Christopher Allan Webber
0ddea95ea6 More useful messages about when stuff isn't there on a user's homepage. 2011-08-18 21:23:06 -05:00
Christopher Allan Webber
293a7fe411 Give a message if the user hasn't filled in their profile yet. 2011-08-18 21:16:50 -05:00
Christopher Allan Webber
6890822cce Added an alt tag to the feed icons. Accessibility! Woo! 2011-08-18 19:57:49 -05:00
Christopher Allan Webber
66a65c9c4c Switch "atom feed" to "Atom feed" and made the icons and text separate links
Before doing the latter there was an ugly underline spanning the icon
and the text.
2011-08-18 19:57:24 -05:00
Christopher Allan Webber
3617ff4acf From Jef van Schendel: "here's a spot to tell others about yourself"
This should display if the user is logged in and they don't have anything in their profile yet.
2011-08-18 19:17:14 -05:00
Jef van Schendel
1d03221d04 Added empty_space class for user profile placeholders 2011-08-18 18:17:53 +02:00
Jef van Schendel
a97e5bb22c Fix text sizes (use relative values), remove some unnecessary text sizes, add some spaces here and there 2011-08-18 17:29:38 +02:00
Jef van Schendel
1f5a55f667 Replace the Feed icon with a transparent one, put it next to the [atom feed] links 2011-08-18 15:53:52 +02:00
Jef van Schendel
0146307b88 No longer center small images 2011-08-18 15:26:00 +02:00
Jef van Schendel
02bef4ec62 Remove space at end of MediaGoblin logo link 2011-08-18 15:22:40 +02:00
Jef van Schendel
9ecf7cd17c Whole bunch of changes to base.css 2011-08-18 15:18:54 +02:00
Jef van Schendel
6ef35d47df Removed temporary logo image, replaced it with text for now 2011-08-16 23:32:38 +02:00
Jef van Schendel
745961104a Small changes to media.html: changed order of uploader/date and description, added css classes 2011-08-16 23:24:07 +02:00
Christopher Allan Webber
908b20f51c Pulled down latest translations 2011-08-16 08:38:36 -05:00
Christopher Allan Webber
0445100b30 Pulled down latest translations 2011-08-16 08:18:38 -05:00
Christopher Allan Webber
68f3ffbe82 Malicious uploads test with fake but not really image files working! :) 2011-08-14 09:12:43 -05:00
Christopher Allan Webber
01c75c7eba Processing panel view
Now you can view your failed and in-process media items!
2011-08-14 07:56:10 -05:00
Christopher Allan Webber
6ee9c71902 Method to get the failure exception object for a MediaEntry, if appropriate. 2011-08-14 07:55:08 -05:00
Christopher Allan Webber
e3e9b8fcc9 Switch BaseProcessingFail.exception_path's separator from period to colon
Also removing .generator_error_message() which doesn't make sense
really... we need to get the message when we don't have an instance of
the exception, and this method requires an instance.
2011-08-14 07:53:24 -05:00
Christopher Allan Webber
58d7170644 Updated extracted translations 2011-08-13 19:48:31 -05:00
Christopher Allan Webber
ff520ff53b Converting multi-line-string-comment to a real comment. 2011-08-13 12:52:56 -05:00
Christopher Allan Webber
2e5ea6b9b7 @task decorator no longer used! Removing that import. 2011-08-13 12:52:22 -05:00
Christopher Allan Webber
6788b4123e Capture and properly handle errors.
Handled in several places:

 - In the run() of the ProcessMedia itself for
   handled (BaseProcessingFail derived) errors (best to do these not
   in on_failure because the errors are highlighted in celeryd in a
   way that looks inappropriate for when the errors are well handled)
 - In ProcessMedia.on_failure() for all other errors
 - In the submit view where all exceptions are caught, media is marked
   at having failed, then the error is re-raised.  (The reason for
   this is that users running in "lazy" mode will get errors
   propagated by celery and so on_failure won't run for them.)
2011-08-13 12:21:06 -05:00
Christopher Allan Webber
4a477e246d Proper handling of processor failures, working as hoped!
BaseProcessingFail based exceptions recorded and marked appropriately
in the database.  Other exceptions also caught and marked (or rather
not marked) appropriately in the database as well.
2011-08-13 10:59:34 -05:00
Christopher Allan Webber
6c50c21068 Add fail_error and fail_metadata fields to MediaEntry and relevant migration 2011-08-13 07:48:34 -05:00
Christopher Allan Webber
4b860cb823 Create processing errors and raise BadMediaFail on failure to load the image 2011-08-12 19:59:19 -05:00
Christopher Allan Webber
fabdccd011 Missing multi=True closing this migration, oops :) 2011-08-12 13:14:35 -05:00
Joar Wandborg
8f12c9b24c Feature #298 - Create environment tarball
*   Reviewed the code and fixed some bugs
2011-08-12 17:04:34 +02:00
Christopher Allan Webber
38bf03c6aa Converting object_gallery() from a block to a macro and updating usages of it
The main motivation here is that this lets us pass in a specific number of col_number
2011-08-12 09:55:50 -05:00
Karen Rustad
035c976fb2 adds feature #458 -- given a column number, limits the number of items in a row (and adds divs saying so). No CSS styling to make these demarcations visible, though 2011-08-12 09:10:09 -05:00
Elrond
758eb74654 Document changes to storage_system_from_config
Chris suggested changing the docs for
storage_system_from_config:
- The only param is a config section.
- The format of that section is much simpler, no prefix.
2011-08-12 13:01:41 +02:00
Christopher Allan Webber
ba4858c5b4 Merge branch 'master' into processing
Conflicts:
	mediagoblin/db/migrations.py
2011-08-11 22:54:11 -05:00
Christopher Allan Webber
788272f300 PEP-8ing the keyword argument passing here 2011-08-11 22:44:47 -05:00
Christopher Allan Webber
e7f518cc94 Merge remote branch 'remotes/gullydwarf-cfdv/b488_email_validation_assumes_active_login' 2011-08-11 22:44:21 -05:00
Christopher Allan Webber
01360fbd98 Merge remote branch 'remotes/gullydwarf-cfdv/b372_rmdbfield_thumbnail_file' 2011-08-11 21:31:48 -05:00
Christopher Allan Webber
9f6ea47586 If both the username and the email checks fail, warn about both at the same time 2011-08-11 20:37:21 -05:00
Christopher Allan Webber
873e4e9d2d Also normalize user's emails to .lower() when we accept the user. 2011-08-11 20:34:12 -05:00
Alejandro Villanueva
0bf099d753 Checks if the email(lowercase) have been used before to register a user 2011-08-11 20:32:55 -05:00
Christopher Allan Webber
dc49cf600a Making the users_with_username function call in the register view slightly cleaner 2011-08-11 20:15:55 -05:00
Christopher Allan Webber
3ec6fe225c Merge remote branch 'remotes/gullydwarf-cfdv/f446_use_render_divs_once_per_form' 2011-08-11 20:06:39 -05:00
Caleb Forbes Davis V
d9204d3a3d uses render_divs for the comments form in media.html for completeness 2011-08-11 19:17:56 -05:00
Joar Wandborg
7219983f8e Feature #298 - Create environment tarball
*   It's now possible to import/export your environment from/to a tarball.

    ./bin/gmg env_export [ -c mediagoblin_local.ini ] test.tar
    and
    ./bin/gmg env_import [ -c mediagoblin_local.ini ] test.tar
2011-08-12 02:13:58 +02:00
Christopher Allan Webber
07934b442f Moving things around a bit/commenting in the submit view to make the workflow clearer 2011-08-11 11:30:26 -05:00