5251 Commits

Author SHA1 Message Date
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
Caleb Forbes Davis V
37be7b6da6 updates indices to index on the slug component of the tag list
- uses dot notation to reach into the JSON-style MediaEntry tags
  field object to index on the slug property of each tag
2011-07-27 16:04:41 -05:00
Caleb Forbes Davis V
0712a06dc6 changes tags to a list of dicts in the db, adding tag slugs
- adds a function to convert the tag list of dicts to a text string
  properly delimited for loading into forms
- tag string conversion function updated to generate list of dicts
- updates all mentions of the conversion of the string to the tags db
  object
- adds a tags template utility and updates the media template accordingly
2011-07-27 14:51:57 -05:00
Jef van Schendel
996b3bf7c9 Insert links and content for ticket #387: content for verification in user.html, needs-verification link in base.html, highlight class for links in base.css 2011-07-26 23:40:17 +02:00
Caleb Forbes Davis V
97e4498c10 on submission, use inline error messaging instead of message queue
- the function that converts the user's tag string into a list of
  tags now accepts a string, but the media submit view was still
  submitting the request object, like we were going to add any
  errors to the session. Now the submit view passes the tag string
2011-07-26 00:00:50 -05:00
Caleb Forbes Davis V
10d7496da2 use config_spec.ini to store tag parsing directives 2011-07-25 23:46:36 -05:00
Christopher Allan Webber
f36d426134 Merge remote branch 'remotes/elrond/dev/init' 2011-07-25 23:23:58 -05:00
Jef van Schendel
00458460d9 Fix merge conflict in user.html 2011-07-25 22:37:02 +02:00
Christopher Allan Webber
ad74472b59 Now actually apply Velmont's patch instead of just committing it ;) 2011-07-25 15:30:56 -05:00
Jef van Schendel
b1f11df07c Moved a div around 2011-07-25 22:19:22 +02:00
Jef van Schendel
06a5f21eb1 Ok, so here are the actual changes. Woops! 2011-07-25 21:26:58 +02:00
Jef van Schendel
6272920cff Assorted style changes, small base.html changes, added new background image 2011-07-25 21:25:34 +02:00
Christopher Allan Webber
6b9ee0ca13 Store the task id of a processing action in the database. 2011-07-24 23:12:46 -05:00
Christopher Allan Webber
2684f341f5 User profile had the wrong {% else %} nesting.
Thanks for the patch Velmont / Odin Hørthe Omdal!
2011-07-24 15:06:48 -05:00
Christopher Allan Webber
9a5b2da574 Add html doctype
Thanks for the patch Velmont / Odin Hørthe Omdal!
2011-07-24 15:04:49 -05:00
Christopher Allan Webber
73da11e759 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2011-07-24 14:56:39 -05:00
Christopher Allan Webber
5fa3588411 Make charset utf-8.
Thanks for the patch Velmont / Odin Hørthe Omdal!
2011-07-24 14:52:36 -05:00
Will Kahn-Greene
0a80ad41a9 333. Adds text about naming bugfix branches 2011-07-24 15:19:38 -04:00
Caleb Forbes Davis V
909371cdce raises tag length error in form context instead of in message queue 2011-07-21 00:02:57 -05:00
Elrond
dccef26263 Move setting up of storage into init/__init__.py
Factoring out this one should be the last one needed to
rewrite the celery setup. The idea is to not setup the
whole app, but just call a bunch of individual setup_*
functions and be done.
2011-07-18 14:20:58 +02:00
Christopher Allan Webber
e60f8719dd Merge remote branch 'remotes/elrond/dev/init' 2011-07-17 18:58:32 -05:00
Christopher Allan Webber
e83dc091cc docstring for MediaComment's structure 2011-07-17 17:06:06 -05:00
Christopher Allan Webber
080a81ec48 Described the MediaEntry structure in the docstring. 2011-07-17 16:51:36 -05:00
Christopher Allan Webber
16bcd1e714 Docstring for the User model's various schema fields 2011-07-17 15:49:49 -05:00
Christopher Allan Webber
3923174b70 Added instructions on how to run mongod --repair 2011-07-17 12:02:13 -05:00
Christopher Allan Webber
63fd974b4c Docs: fixing an issue with being unable to install with distribute installed already
Basically, use "python bootstrap.py --distribute" if you get DistributionNotFound: distribute
2011-07-17 11:36:56 -05:00
Christopher Allan Webber
dd33ed06fb Finished the docstring of the creature_add_magical_powers fake migration 2011-07-17 11:32:05 -05:00
Elrond
3f4b5e4a4e Move application level setup of database to init/
Setting up the database now involves checking the
migrations status and setting up the globals.
Moved all of that into init/__init__.py:setup_database().
2011-07-17 17:45:50 +02:00
Christopher Allan Webber
fa92d52fa5 Migration for mediafiles main->original 2011-07-17 08:50:09 -05:00
Christopher Allan Webber
5f72a4c331 Merge remote branch 'remotes/jwandborg/feature_400-resize_images_to_fit_page'
Conflicts:
	mediagoblin/db/migrations.py
	mediagoblin/db/models.py
	mediagoblin/process_media/__init__.py
	mediagoblin/templates/mediagoblin/user_pages/media.html
	mediagoblin/util.py
2011-07-16 16:28:12 -05:00
Christopher Allan Webber
8e9331c106 Merge remote branch 'remotes/cmoylan/test_submission_views_365' 2011-07-16 15:05:54 -05:00
Will Kahn-Greene
ef8e47f260 Changes clone url from http url to git url
Cloning over http is always yuckier than cloning over git protocol.
2011-07-15 12:32:21 -04:00
Christopher Allan Webber
0d91af09d2 Use cleaned_markdown_conversion in both cases in edit/views.py 2011-07-14 00:40:16 -05:00
Christopher Allan Webber
90e342f90f app.py and migrate.py must import migrations in order to load said migrations... 2011-07-14 00:32:01 -05:00
Christopher Allan Webber
5ebe69e5a0 First migration: Add markdown bio! 2011-07-14 00:00:24 -05:00
Christopher Allan Webber
3bc3d429fe Indenting section in the autoscape block 2011-07-13 23:20:16 -05:00
Christopher Allan Webber
fb5075e6b2 Merge remote branch 'remotes/aaronw/feature410_markdown_bio' 2011-07-13 23:19:46 -05:00
Christopher Allan Webber
c47c37ed95 Merge branch 'master' into f411_new_migrations
Conflicts:
	mediagoblin/db/open.py
2011-07-13 23:14:42 -05:00
Christopher Allan Webber
59051a23f0 Duplicate migration numbers not allowed, bro 2011-07-13 22:32:51 -05:00
Chris Moylan
9247769a14 Merge branch 'master' into test_submission_views_365 2011-07-13 21:58:25 -05:00
Christopher Allan Webber
ecf518020f Elrond thinks we should use one of print/sys.stdout.write and .flush()
I don't see the harm, so... done.
2011-07-13 21:14:31 -05:00
Christopher Allan Webber
77fb1e1331 A couple of tests related to migrations_to_run()
Includes a test making sure an exception is raised if
current_migration not set in database
2011-07-13 21:09:04 -05:00