Christopher Allan Webber [Mon, 1 Aug 2011 01:53:29 +0000 (20:53 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Mon, 1 Aug 2011 01:48:13 +0000 (20:48 -0500)]
Updated media detail view to linkify the tags. Adjusted tag link styling.
Christopher Allan Webber [Mon, 1 Aug 2011 01:45:49 +0000 (20:45 -0500)]
Added tag listing views.
Also added routing, added templates, etc.
Will Kahn-Greene [Mon, 1 Aug 2011 01:03:01 +0000 (21:03 -0400)]
Adds release-related bits; fixes arg handling
* fixes arg handling
* adds -h support
* builds html and texinfo docs and puts them in the right place
* puts the resulting tarball and any work done in a tmp/ directory
* fixes messages so it tells you what it's doing
Will Kahn-Greene [Sun, 31 Jul 2011 21:54:54 +0000 (17:54 -0400)]
Moves docs files around so we build from source/ directory
Will Kahn-Greene [Sun, 31 Jul 2011 21:09:09 +0000 (17:09 -0400)]
270. Adds symlinks for 960.gs stuff
Christopher Allan Webber [Sun, 31 Jul 2011 20:51:55 +0000 (15:51 -0500)]
Renaming "StatusNet" -> MediaGoblin in the extlib policy
Christopher Allan Webber [Sun, 31 Jul 2011 20:50:25 +0000 (15:50 -0500)]
Merge remote branch 'remotes/willkg/459_lgpl'
Christopher Allan Webber [Sun, 31 Jul 2011 20:22:54 +0000 (15:22 -0500)]
Show the message about nothing exiting either if media_entries object not there or empty
Christopher Allan Webber [Sun, 31 Jul 2011 20:09:52 +0000 (15:09 -0500)]
We should redirect after verify_email to the user's homepage
Christopher Allan Webber [Sun, 31 Jul 2011 20:07:43 +0000 (15:07 -0500)]
Give a more usful message if no media is available.
Christopher Allan Webber [Sun, 31 Jul 2011 20:00:42 +0000 (15:00 -0500)]
Add a clear div between the object gallery and the "user's media" / atom feed
Christopher Allan Webber [Sun, 31 Jul 2011 03:15:54 +0000 (22:15 -0500)]
Updating tests to reflect not having a 'tags_case_sensitive' option.
I should probably update the tags of things when I change them.
Christopher Allan Webber [Sun, 31 Jul 2011 02:54:18 +0000 (21:54 -0500)]
Removing option to make tags lowercase
...that's basically handled by the slugification
Christopher Allan Webber [Sun, 31 Jul 2011 02:51:15 +0000 (21:51 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Sun, 31 Jul 2011 02:45:11 +0000 (21:45 -0500)]
tags field should be last on the submission form
Christopher Allan Webber [Sun, 31 Jul 2011 02:44:36 +0000 (21:44 -0500)]
TOO_LONG_TAG_WARNING isn't needed in this module
Will Kahn-Greene [Sun, 31 Jul 2011 02:27:46 +0000 (22:27 -0400)]
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.
Will Kahn-Greene [Sat, 30 Jul 2011 23:52:19 +0000 (19:52 -0400)]
270, 459. extlib policy, JS -> lgpl, ...
* adds README to extlib/
* changes javascript to lgpl
* also fixes the agplv3 text so that it says "agplv3 or later"
* moves license files into licenses/
* adds lgplv3 license
Will Kahn-Greene [Sat, 30 Jul 2011 20:25:44 +0000 (16:25 -0400)]
460. Adds texinfo output bits
Building texinfo version of the manual only works with Sphinx from hg
tip at present.
Also, there are some minor issues and someone should go through the
manual and read it to make sure there aren't issues.
Christopher Allan Webber [Sat, 30 Jul 2011 18:37:33 +0000 (13:37 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f360_tagging' into mergetags
Conflicts:
mediagoblin/tests/test_submission.py
Christopher Allan Webber [Sat, 30 Jul 2011 18:09:01 +0000 (13:09 -0500)]
Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetags
Conflicts:
mediagoblin/config_spec.ini
mediagoblin/edit/views.py
mediagoblin/util.py
Christopher Allan Webber [Sat, 30 Jul 2011 17:33:57 +0000 (12:33 -0500)]
Let users know when their migrations are from the future :O
Will Kahn-Greene [Wed, 27 Jul 2011 23:21:21 +0000 (16:21 -0700)]
Tweaks import lines switching \ for ( ).
Will Kahn-Greene [Wed, 27 Jul 2011 23:16:05 +0000 (16:16 -0700)]
Adds license header
Will Kahn-Greene [Wed, 27 Jul 2011 22:38:47 +0000 (15:38 -0700)]
Moves destroy_environment to wipealldata command
Will Kahn-Greene [Wed, 27 Jul 2011 22:20:07 +0000 (15:20 -0700)]
Adds license/copyright header to maketarball.sh
Will Kahn-Greene [Wed, 27 Jul 2011 22:19:51 +0000 (15:19 -0700)]
Cosmetic. Tweaks spacing.
Will Kahn-Greene [Wed, 27 Jul 2011 22:16:42 +0000 (15:16 -0700)]
Tweaks maketarball.sh
This tweaks maketarball.sh so that it takes a -d argument which adds
the date to the filename and parent directory.
Also, this changes maketarball.sh so it requires a rev-ish--no more
"by default, grabs master".
Will Kahn-Greene [Wed, 27 Jul 2011 22:02:30 +0000 (15:02 -0700)]
Minor tweaks to README.
Caleb Forbes Davis V [Fri, 29 Jul 2011 18:56:40 +0000 (13:56 -0500)]
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
Christopher Allan Webber [Fri, 29 Jul 2011 13:44:47 +0000 (08:44 -0500)]
Remove this superfluous "registration successful" message
Christopher Allan Webber [Fri, 29 Jul 2011 13:43:59 +0000 (08:43 -0500)]
Log in user after regitration
Christopher Allan Webber [Fri, 29 Jul 2011 13:36:35 +0000 (08:36 -0500)]
Adding spaces after the colon in our CSS file.
Discussed this style change with Jef van Schendel and got his buy-in ;)
Christopher Allan Webber [Fri, 29 Jul 2011 13:27:32 +0000 (08:27 -0500)]
Don't need the register success template anymore
Christopher Allan Webber [Fri, 29 Jul 2011 13:25:32 +0000 (08:25 -0500)]
Fixing an indentation issue on the login button
Christopher Allan Webber [Fri, 29 Jul 2011 13:25:22 +0000 (08:25 -0500)]
"Needs verification!" button should go to the left of username
Looks cleaner is all..
Christopher Allan Webber [Fri, 29 Jul 2011 13:23:56 +0000 (08:23 -0500)]
Only show submit button if user is active
Christopher Allan Webber [Fri, 29 Jul 2011 13:22:26 +0000 (08:22 -0500)]
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'
Christopher Allan Webber [Fri, 29 Jul 2011 13:14:02 +0000 (08:14 -0500)]
Remove the verification needed page
Christopher Allan Webber [Fri, 29 Jul 2011 13:11:50 +0000 (08:11 -0500)]
Make the button CSS not underline its link text
Christopher Allan Webber [Fri, 29 Jul 2011 13:10:45 +0000 (08:10 -0500)]
"Resend verification email" button should actually resend the verification email
Christopher Allan Webber [Fri, 29 Jul 2011 13:09:13 +0000 (08:09 -0500)]
resend_activation should give the user a message and redirect them to their user_home
Christopher Allan Webber [Fri, 29 Jul 2011 13:05:57 +0000 (08:05 -0500)]
require_active_login now redirect's to user's homepage if not email verified
Christopher Allan Webber [Fri, 29 Jul 2011 03:19:05 +0000 (22:19 -0500)]
I think the "'s account" is a waste of space
Christopher Allan Webber [Fri, 29 Jul 2011 03:15:18 +0000 (22:15 -0500)]
I prefer it when "needs verification" looks like a button :)
Christopher Allan Webber [Fri, 29 Jul 2011 03:14:20 +0000 (22:14 -0500)]
A small amount of indenting in base.html
Christopher Allan Webber [Fri, 29 Jul 2011 03:12:24 +0000 (22:12 -0500)]
Give useful verification information on users that need to verify their email
Christopher Allan Webber [Fri, 29 Jul 2011 02:20:32 +0000 (21:20 -0500)]
Make "needs verification" link only appear if you need verification really.
Caleb Forbes Davis V [Thu, 28 Jul 2011 04:57:43 +0000 (23:57 -0500)]
modifies duplicate tag check for list of dict tag type change
Caleb Forbes Davis V [Wed, 27 Jul 2011 21:04:41 +0000 (16:04 -0500)]
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
Caleb Forbes Davis V [Wed, 27 Jul 2011 19:42:09 +0000 (14:42 -0500)]
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
Jef van Schendel [Tue, 26 Jul 2011 21:40:17 +0000 (23:40 +0200)]
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
Caleb Forbes Davis V [Tue, 26 Jul 2011 04:48:51 +0000 (23:48 -0500)]
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
Caleb Forbes Davis V [Tue, 26 Jul 2011 04:46:36 +0000 (23:46 -0500)]
use config_spec.ini to store tag parsing directives
Christopher Allan Webber [Tue, 26 Jul 2011 04:23:58 +0000 (23:23 -0500)]
Merge remote branch 'remotes/elrond/dev/init'
Jef van Schendel [Mon, 25 Jul 2011 20:37:02 +0000 (22:37 +0200)]
Fix merge conflict in user.html
Christopher Allan Webber [Mon, 25 Jul 2011 20:30:56 +0000 (15:30 -0500)]
Now actually apply Velmont's patch instead of just committing it ;)
Jef van Schendel [Mon, 25 Jul 2011 20:19:22 +0000 (22:19 +0200)]
Moved a div around
Jef van Schendel [Mon, 25 Jul 2011 19:26:58 +0000 (21:26 +0200)]
Ok, so here are the actual changes. Woops!
Jef van Schendel [Mon, 25 Jul 2011 19:25:34 +0000 (21:25 +0200)]
Assorted style changes, small base.html changes, added new background image
Christopher Allan Webber [Sun, 24 Jul 2011 20:06:16 +0000 (15:06 -0500)]
User profile had the wrong {% else %} nesting.
Thanks for the patch Velmont / Odin Hørthe Omdal!
Christopher Allan Webber [Sun, 24 Jul 2011 20:04:49 +0000 (15:04 -0500)]
Add html doctype
Thanks for the patch Velmont / Odin Hørthe Omdal!
Christopher Allan Webber [Sun, 24 Jul 2011 19:56:39 +0000 (14:56 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Sun, 24 Jul 2011 19:52:36 +0000 (14:52 -0500)]
Make charset utf-8.
Thanks for the patch Velmont / Odin Hørthe Omdal!
Will Kahn-Greene [Sun, 24 Jul 2011 19:19:38 +0000 (15:19 -0400)]
333. Adds text about naming bugfix branches
Caleb Forbes Davis V [Thu, 21 Jul 2011 04:54:32 +0000 (23:54 -0500)]
raises tag length error in form context instead of in message queue
Elrond [Sun, 17 Jul 2011 14:09:22 +0000 (16:09 +0200)]
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.
Christopher Allan Webber [Sun, 17 Jul 2011 23:58:32 +0000 (18:58 -0500)]
Merge remote branch 'remotes/elrond/dev/init'
Christopher Allan Webber [Sun, 17 Jul 2011 22:06:06 +0000 (17:06 -0500)]
docstring for MediaComment's structure
Christopher Allan Webber [Sun, 17 Jul 2011 21:51:36 +0000 (16:51 -0500)]
Described the MediaEntry structure in the docstring.
Christopher Allan Webber [Sun, 17 Jul 2011 20:48:44 +0000 (15:48 -0500)]
Docstring for the User model's various schema fields
Christopher Allan Webber [Sun, 17 Jul 2011 17:02:13 +0000 (12:02 -0500)]
Added instructions on how to run mongod --repair
Christopher Allan Webber [Sun, 17 Jul 2011 16:36:56 +0000 (11:36 -0500)]
Docs: fixing an issue with being unable to install with distribute installed already
Basically, use "python bootstrap.py --distribute" if you get DistributionNotFound: distribute
Christopher Allan Webber [Sun, 17 Jul 2011 16:32:05 +0000 (11:32 -0500)]
Finished the docstring of the creature_add_magical_powers fake migration
Elrond [Sun, 17 Jul 2011 15:45:50 +0000 (17:45 +0200)]
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().
Christopher Allan Webber [Sun, 17 Jul 2011 13:50:09 +0000 (08:50 -0500)]
Migration for mediafiles main->original
Christopher Allan Webber [Sat, 16 Jul 2011 21:28:12 +0000 (16:28 -0500)]
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
Christopher Allan Webber [Sat, 16 Jul 2011 20:05:54 +0000 (15:05 -0500)]
Merge remote branch 'remotes/cmoylan/test_submission_views_365'
Will Kahn-Greene [Fri, 15 Jul 2011 16:32:21 +0000 (12:32 -0400)]
Changes clone url from http url to git url
Cloning over http is always yuckier than cloning over git protocol.
Christopher Allan Webber [Thu, 14 Jul 2011 05:40:16 +0000 (00:40 -0500)]
Use cleaned_markdown_conversion in both cases in edit/views.py
Christopher Allan Webber [Thu, 14 Jul 2011 05:32:01 +0000 (00:32 -0500)]
app.py and migrate.py must import migrations in order to load said migrations...
Christopher Allan Webber [Thu, 14 Jul 2011 05:00:24 +0000 (00:00 -0500)]
First migration: Add markdown bio!
Christopher Allan Webber [Thu, 14 Jul 2011 04:20:16 +0000 (23:20 -0500)]
Indenting section in the autoscape block
Christopher Allan Webber [Thu, 14 Jul 2011 04:19:46 +0000 (23:19 -0500)]
Merge remote branch 'remotes/aaronw/feature410_markdown_bio'
Christopher Allan Webber [Thu, 14 Jul 2011 04:14:42 +0000 (23:14 -0500)]
Merge branch 'master' into f411_new_migrations
Conflicts:
mediagoblin/db/open.py
Christopher Allan Webber [Thu, 14 Jul 2011 03:32:51 +0000 (22:32 -0500)]
Duplicate migration numbers not allowed, bro
Chris Moylan [Thu, 14 Jul 2011 02:58:25 +0000 (21:58 -0500)]
Merge branch 'master' into test_submission_views_365
Christopher Allan Webber [Thu, 14 Jul 2011 02:14:31 +0000 (21:14 -0500)]
Elrond thinks we should use one of print/sys.stdout.write and .flush()
I don't see the harm, so... done.
Christopher Allan Webber [Thu, 14 Jul 2011 02:09:04 +0000 (21:09 -0500)]
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
Christopher Allan Webber [Thu, 14 Jul 2011 01:58:13 +0000 (20:58 -0500)]
We should *raise* MissingCurrentMigration :)
Thanks for the catch, Elrond.
Caleb Forbes Davis V [Wed, 13 Jul 2011 17:14:18 +0000 (12:14 -0500)]
adds "state" to tags indices
Caleb Forbes Davis V [Wed, 13 Jul 2011 05:22:16 +0000 (00:22 -0500)]
adds index for searching across all users' tagged images
Caleb Forbes Davis V [Wed, 13 Jul 2011 04:58:25 +0000 (23:58 -0500)]
enforces maximum tag length with (in)appropriate messaging
Caleb Forbes Davis V [Wed, 13 Jul 2011 03:52:32 +0000 (22:52 -0500)]
ensures no duplicate tags per media entry
Caleb Forbes Davis V [Wed, 13 Jul 2011 03:26:10 +0000 (22:26 -0500)]
uses standard functions instead of form filters and fixes taglist default
- seems simpler to use the same tag field processing procedures on media
submit and edit, so now processing with a regular function instead of
a form filter. Filters run on form load and post by default.
- moved tags to sidebar
- taglist defaults to [] instead of None
- adds case sensitivity toggle
Caleb Forbes Davis V [Wed, 13 Jul 2011 01:43:16 +0000 (20:43 -0500)]
displays the tags on edit correctly now
-before it was running the tags field through the submit filter.
that was kind of dumb
-removes the filter function from the edit form
-adds unicode syntax in the filter function
-uses split correctly when saving the edited tags to mongodb
Deb [Wed, 13 Jul 2011 01:21:35 +0000 (21:21 -0400)]
removed email variables from globals module
Caleb Forbes Davis V [Wed, 13 Jul 2011 01:06:17 +0000 (20:06 -0500)]
adds filter function to parse and clean tags field input
- for some reason the tags are showing up in the media edit form
with u'..' and surrounded with []. I don't know why, grr
Christopher Allan Webber [Tue, 12 Jul 2011 02:09:36 +0000 (21:09 -0500)]
Removing old style migrations... not in use anymore