749 Commits

Author SHA1 Message Date
Joar Wandborg
aa797ca130 Feature #477 - Cloud Files public storage
*   mediagoblin.storage is now fully PEP-8 compliant.
*   mediagoblin.storage:BaseFileStorage precedes CloudFilesStorage
*   Removed all the cloudfiles-specific options from mediagoblin.ini, now it's in the wiki, http://wiki.mediagoblin.org/ConfigureMediaGoblin#Setting_up_Cloud_Files_public_storage
2011-08-04 14:49:12 +02:00
Joar Wandborg
851c51a354 Feature 477 - Support Cloud Files public storage
*   Added configuration options to mediagoblin.ini
*   process_media supports the python-cloudfiles
    almost-file-like objects by wrapping them in a
    contextlib.contextmanager-decorated func.
*   storage now has the CloudFilesStorage
*   New dependency added to setup.py; `python-cloudfiles`
2011-08-04 01:32:34 +02:00
Christopher Allan Webber
2542aa30c0 Make index page paginated 2011-08-01 10:49:05 -05:00
Christopher Allan Webber
db2b07eeb7 Make sure there's a break between the object gallery and its pagination. 2011-08-01 10:46:44 -05:00
Christopher Allan Webber
0419d0da24 get_test_app() should turn on testing buckets 2011-08-01 09:11:14 -05:00
Christopher Allan Webber
a656ccd561 Updating tests to reflect we redirect to the user's page after verification now. 2011-08-01 08:34:50 -05:00
Christopher Allan Webber
f9372f6c8b "needs verification"->"verify your email"
willkg says "needs verification" isn't a verb, so it's a weird link.
Good point.
2011-07-31 21:33:01 -05:00
Christopher Allan Webber
b855b010d0 user pages atom feed not enclosed properly in div, fixing. 2011-07-31 21:24:54 -05:00
Christopher Allan Webber
1a89706872 Added tags atom feed and linked it in the appropriate places 2011-07-31 21:24:33 -05:00
Christopher Allan Webber
a5303e4791 For no good reason, I feel like 15 is a good number of default feed items. 2011-07-31 21:05:35 -05:00
Christopher Allan Webber
92ed289261 Align image in media detail to center 2011-07-31 20:54:21 -05:00
Christopher Allan Webber
5d90064790 Updated media detail view to linkify the tags. Adjusted tag link styling. 2011-07-31 20:48:13 -05:00
Christopher Allan Webber
71454fd351 Added tag listing views.
Also added routing, added templates, etc.
2011-07-31 20:45:49 -05:00
Will Kahn-Greene
82b15ad93f 270. Adds symlinks for 960.gs stuff 2011-07-31 17:09:09 -04:00
Christopher Allan Webber
5efcb05f49 Merge remote branch 'remotes/willkg/459_lgpl' 2011-07-31 15:50:25 -05:00
Christopher Allan Webber
77bc1c2867 Show the message about nothing exiting either if media_entries object not there or empty 2011-07-31 15:22:54 -05:00
Christopher Allan Webber
269943a645 We should redirect after verify_email to the user's homepage 2011-07-31 15:09:52 -05:00
Christopher Allan Webber
7b32ba9a05 Give a more usful message if no media is available. 2011-07-31 15:07:43 -05:00
Christopher Allan Webber
4a74d54ef5 Add a clear div between the object gallery and the "user's media" / atom feed 2011-07-31 15:00:42 -05:00
Christopher Allan Webber
bc0b10d177 Updating tests to reflect not having a 'tags_case_sensitive' option.
I should probably update the tags of things when I change them.
2011-07-30 22:15:54 -05:00
Christopher Allan Webber
1b89b817e5 Removing option to make tags lowercase
...that's basically handled by the slugification
2011-07-30 21:54:18 -05:00
Christopher Allan Webber
34e4be6fb1 tags field should be last on the submission form 2011-07-30 21:45:11 -05:00
Christopher Allan Webber
3539dc8fb6 TOO_LONG_TAG_WARNING isn't needed in this module 2011-07-30 21:44:36 -05:00
Will Kahn-Greene
2faec36723 270. Moves 960.gs stuff to extlib/ per policy
This adds the README.txt from the tarball for 960.gs and also moves the
files and fixes the symlinks.
2011-07-30 22:27:46 -04:00
Christopher Allan Webber
ae31c36439 Merge remote branch 'remotes/gullydwarf-cfdv/f360_tagging' into mergetags
Conflicts:
	mediagoblin/tests/test_submission.py
2011-07-30 13:37:33 -05:00
Christopher Allan Webber
3cdf366acf Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetags
Conflicts:
	mediagoblin/config_spec.ini
	mediagoblin/edit/views.py
	mediagoblin/util.py
2011-07-30 13:09:01 -05:00
Christopher Allan Webber
482d53cd30 Let users know when their migrations are from the future :O 2011-07-30 12:33:57 -05:00
Will Kahn-Greene
50854db05d Tweaks import lines switching \ for ( ). 2011-07-30 08:40:06 -04:00
Will Kahn-Greene
fc3dc25541 Adds license header 2011-07-30 08:39:07 -04:00
Will Kahn-Greene
763cf83f64 Moves destroy_environment to wipealldata command 2011-07-30 08:39:07 -04:00
Caleb Forbes Davis V
8ff4dec742 Adds tag unit testing
- overrides default tag parsing globals in test_mgoblin_app.ini
- piggybacks on existing test_submission code to check correct tag
  parsing and storage in the database
- verifies expected behavior given different delimiters, case
  sensitivities, tags that are too long, and extra whitespace
- verifies list-of-dict database storage and tag slugification
2011-07-29 14:04:49 -05:00
Christopher Allan Webber
dce5c9cb9b Remove this superfluous "registration successful" message 2011-07-29 08:44:47 -05:00
Christopher Allan Webber
f73f4c4b84 Log in user after regitration 2011-07-29 08:43:59 -05:00
Christopher Allan Webber
7c9d1a2bca Adding spaces after the colon in our CSS file.
Discussed this style change with Jef van Schendel and got his buy-in ;)
2011-07-29 08:36:35 -05:00
Christopher Allan Webber
ebcd29d4f8 Don't need the register success template anymore 2011-07-29 08:27:32 -05:00
Christopher Allan Webber
97a553091d Fixing an indentation issue on the login button 2011-07-29 08:25:32 -05:00
Christopher Allan Webber
7b6836a362 "Needs verification!" button should go to the left of username
Looks cleaner is all..
2011-07-29 08:25:22 -05:00
Christopher Allan Webber
dc9cbb3888 Only show submit button if user is active 2011-07-29 08:23:56 -05:00
Christopher Allan Webber
0bc036209d Redirect to the user's profile after registration
- Updated the view
 - Updated the tests
 - Fixed a weirdness in the registration view where the 'user'
   variable used to be called 'entry'
2011-07-29 08:22:26 -05:00
Christopher Allan Webber
7074304c91 Remove the verification needed page 2011-07-29 08:14:02 -05:00
Christopher Allan Webber
8adc3841a3 Make the button CSS not underline its link text 2011-07-29 08:11:50 -05:00
Christopher Allan Webber
3880c8f31b "Resend verification email" button should actually resend the verification email 2011-07-29 08:10:45 -05:00
Christopher Allan Webber
61927e6e80 resend_activation should give the user a message and redirect them to their user_home 2011-07-29 08:09:13 -05:00
Christopher Allan Webber
d43b472a08 require_active_login now redirect's to user's homepage if not email verified 2011-07-29 08:05:57 -05:00
Christopher Allan Webber
a435bcb313 I think the "'s account" is a waste of space 2011-07-28 22:19:05 -05:00
Christopher Allan Webber
391861ac9f I prefer it when "needs verification" looks like a button :) 2011-07-28 22:15:18 -05:00
Christopher Allan Webber
f22339d229 A small amount of indenting in base.html 2011-07-28 22:14:20 -05:00
Christopher Allan Webber
990d3b6985 Give useful verification information on users that need to verify their email 2011-07-28 22:12:24 -05:00
Christopher Allan Webber
4476adcdb0 Make "needs verification" link only appear if you need verification really. 2011-07-28 21:20:32 -05:00
Caleb Forbes Davis V
f99b5caeb6 modifies duplicate tag check for list of dict tag type change 2011-07-28 00:01:50 -05:00