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
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
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
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
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
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
Caleb Forbes Davis V [Mon, 11 Jul 2011 04:36:21 +0000 (23:36 -0500)]
adds index for tag searches by an uploader
Caleb Forbes Davis V [Fri, 8 Jul 2011 06:59:44 +0000 (01:59 -0500)]
F360(tagging) - adds tag fields for submission, edit and display
Christopher Allan Webber [Thu, 7 Jul 2011 13:22:12 +0000 (08:22 -0500)]
This should actually fix the next and previous buttons now. Sorry I borked the merge!
Christopher Allan Webber [Thu, 7 Jul 2011 03:52:08 +0000 (22:52 -0500)]
Also encourages editing your profile and submitting images
Christopher Allan Webber [Thu, 7 Jul 2011 03:49:53 +0000 (22:49 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f424_email_verified_messaging'
Christopher Allan Webber [Thu, 7 Jul 2011 03:47:33 +0000 (22:47 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f423_match_image_ordering_between_scroll_and_gallery'
Conflicts:
mediagoblin/db/models.py
Christopher Allan Webber [Thu, 7 Jul 2011 03:38:19 +0000 (22:38 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit'
Conflicts:
mediagoblin/edit/views.py
Christopher Allan Webber [Thu, 7 Jul 2011 03:35:19 +0000 (22:35 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b429_fix_edit_profile_form_validation'
Christopher Allan Webber [Thu, 7 Jul 2011 03:34:33 +0000 (22:34 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f435_limit_prev_next_by_processed'
Christopher Allan Webber [Thu, 7 Jul 2011 03:33:37 +0000 (22:33 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b434_prev_next_use_slug'
Christopher Allan Webber [Thu, 7 Jul 2011 03:29:12 +0000 (22:29 -0500)]
Instructions for installing MediaGoblin on Fedora
Caleb Forbes Davis V [Wed, 6 Jul 2011 22:14:07 +0000 (17:14 -0500)]
edit profile submit redirects to user home page
Caleb Forbes Davis V [Wed, 6 Jul 2011 03:11:56 +0000 (22:11 -0500)]
B #429 - form validation allows blank profile url
Caleb Forbes Davis V [Wed, 6 Jul 2011 02:40:00 +0000 (21:40 -0500)]
slug-style urls in previous and next urls look much better
Bug #434 - identifies media by slug instead of _id in prev/next
Caleb Forbes Davis V [Wed, 6 Jul 2011 02:33:02 +0000 (21:33 -0500)]
f#435 - avoids linking to unprocessed media in prev and next
Will Kahn-Greene [Tue, 5 Jul 2011 13:36:07 +0000 (09:36 -0400)]
Makes maketarball more resilient to errors
Will Kahn-Greene [Tue, 5 Jul 2011 13:26:45 +0000 (09:26 -0400)]
Updates version to 0.0.3.
Will Kahn-Greene [Tue, 5 Jul 2011 13:23:20 +0000 (09:23 -0400)]
Adds tarball generation script
This just makes it easier to generate tarballs of master and
tarballs of releases.
Caleb Forbes Davis V [Tue, 5 Jul 2011 01:24:57 +0000 (20:24 -0500)]
Feature #423 - gallery and scroll image ordering match
Caleb Forbes Davis V [Tue, 5 Jul 2011 01:04:00 +0000 (20:04 -0500)]
allows using messaging instead of verify_email.html to pass tests
* re-instated verification_successful flag
* modified test_auth to verify nav to user_pages/user.html template
Caleb Forbes Davis V [Tue, 5 Jul 2011 00:42:45 +0000 (19:42 -0500)]
uses the messaging system to notify user of result of verification check
Feature #424 - Use messaging system for email verifification check response
* uses add_message in verify_email and routes to the user page, bypassing
verify_email.html
Christopher Allan Webber [Mon, 4 Jul 2011 22:08:10 +0000 (17:08 -0500)]
This extra <br /> is maybe a bit too much space...
Christopher Allan Webber [Mon, 4 Jul 2011 21:58:07 +0000 (16:58 -0500)]
A few media thumbnail changes pre-release
- adjust padding so 5 media thumbs can appear per row
- lowering the h1 margins
- adding a profile content bottom margin
Christopher Allan Webber [Mon, 4 Jul 2011 21:54:06 +0000 (16:54 -0500)]
Don't even show the profile box if no profile exists
Christopher Allan Webber [Mon, 4 Jul 2011 20:40:05 +0000 (15:40 -0500)]
Set the jpeg quality at 90 for now...
Christopher Allan Webber [Mon, 4 Jul 2011 16:17:51 +0000 (11:17 -0500)]
Put some space between the gallery and the rest of the page content
Christopher Allan Webber [Mon, 4 Jul 2011 14:41:57 +0000 (09:41 -0500)]
Not happy with 180x135, switching back to 180x180
Christopher Allan Webber [Mon, 4 Jul 2011 14:41:43 +0000 (09:41 -0500)]
Move submit an item to the user page.
Christopher Allan Webber [Mon, 4 Jul 2011 14:11:13 +0000 (09:11 -0500)]
Put the profile stuff in p's instead of <ul>'s
Christopher Allan Webber [Mon, 4 Jul 2011 14:08:57 +0000 (09:08 -0500)]
.message_info was missing closing }
Christopher Allan Webber [Mon, 4 Jul 2011 14:04:37 +0000 (09:04 -0500)]
Adjusting indentation of object_gallery.html
Christopher Allan Webber [Mon, 4 Jul 2011 13:49:52 +0000 (08:49 -0500)]
Put link to edit profile slightly after the profile
Christopher Allan Webber [Mon, 4 Jul 2011 13:47:46 +0000 (08:47 -0500)]
Removing a tab... hate mixed tabs and spaces :)
Christopher Allan Webber [Mon, 4 Jul 2011 13:47:28 +0000 (08:47 -0500)]
Just removing some trailing whitespace
Christopher Allan Webber [Mon, 4 Jul 2011 13:47:02 +0000 (08:47 -0500)]
Check user['_id'] instead of username, which is slightly more guaranteed
Caleb Forbes Davis V [Mon, 4 Jul 2011 04:59:11 +0000 (23:59 -0500)]
bug#422_user_can_not_edit_own_profile_unless_admin
user != username.....
Christopher Allan Webber [Sun, 3 Jul 2011 22:38:28 +0000 (17:38 -0500)]
Fixing the symlinks for these CSS files
Not everyone runs mediagoblin out of
/home/jef/env/mediagoblin/src/schendjes-mediagoblin/ ;)
Christopher Allan Webber [Sun, 3 Jul 2011 22:37:41 +0000 (17:37 -0500)]
New thumbnail size is apparently 180x135.
We don't know if that's permanent but if it isn't it seems "Mostly Harmless"
Jef van Schendel [Sun, 3 Jul 2011 21:32:39 +0000 (23:32 +0200)]
Style changes to messages. Tell me if I changed too much...
Jef van Schendel [Sun, 3 Jul 2011 21:13:54 +0000 (23:13 +0200)]
Tiny margin changes
Jef van Schendel [Sun, 3 Jul 2011 21:04:09 +0000 (23:04 +0200)]
Style navigation buttons
Jef van Schendel [Sun, 3 Jul 2011 20:29:36 +0000 (22:29 +0200)]
First push with 180px wide thumbnails
Jef van Schendel [Sun, 3 Jul 2011 19:37:21 +0000 (21:37 +0200)]
Switched over to 960_16_col. This may break a bunch of stuff. If you find something that is broken, slap me.
Jef van Schendel [Sun, 3 Jul 2011 19:20:09 +0000 (21:20 +0200)]
Added reset.css and text.css from 960.gs. This might shake up a few styles!
Jef van Schendel [Sun, 3 Jul 2011 19:12:22 +0000 (21:12 +0200)]
Put file input form at the top of submission form
Christopher Allan Webber [Sun, 3 Jul 2011 14:43:39 +0000 (09:43 -0500)]
Merge remote branch 'remotes/jwandborg/f409-redirect_to_user_page_upon_submit'
Christopher Allan Webber [Sun, 3 Jul 2011 14:42:45 +0000 (09:42 -0500)]
class="media_image" accidentally added back during 400 merge. Fixing.
Christopher Allan Webber [Sun, 3 Jul 2011 14:29:09 +0000 (09:29 -0500)]
Switching single-quoted strings to double-quote to avoid escaping the apostrophe.. :)
Christopher Allan Webber [Sun, 3 Jul 2011 14:26:40 +0000 (09:26 -0500)]
Caution an admin when they're editing someone else's media.
Christopher Allan Webber [Sun, 3 Jul 2011 14:21:24 +0000 (09:21 -0500)]
user_gallery_url -> {{ user_gallery_url }} ... How embarassing.
Christopher Allan Webber [Sun, 3 Jul 2011 13:31:35 +0000 (08:31 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b388+b391_edit_profile_link_on_user_page'
Caleb Forbes Davis V [Sun, 3 Jul 2011 07:43:57 +0000 (02:43 -0500)]
uses new 'username' variable in querystring to specify the user to edit
Previously, this view only allowed editing of the logged-in user. Now you
can specify the user to edit in the querystring. If you are an admin the
view allows you to edit any user's profile, with a warning message. The
warning only shows up if the admin is editing another user's profile.
Make sure to pass the username to this view at every step in the process
Caleb Forbes Davis V [Sun, 3 Jul 2011 07:41:39 +0000 (02:41 -0500)]
allows admins to edit user media
Caleb Forbes Davis V [Sun, 3 Jul 2011 07:37:19 +0000 (02:37 -0500)]
moves edit profile link to user page
Joar Wandborg [Sun, 3 Jul 2011 05:50:35 +0000 (07:50 +0200)]
Feature #409 - Submitting an image should redirect you back to user's
page w/ a message
* Successful submission redirects to the logged in user's page
(your own, presumably).
* "Woohoo! Submitted!" is launched into the tube of session messages
to appear on next pageload. If you're not aborting in the window
of 210ms it takes for the client to respond to the 302 and load
the logged in user's/your page that is, YMMV.
Christopher Allan Webber [Sun, 3 Jul 2011 03:09:46 +0000 (22:09 -0500)]
Make pagination on user profile point to the user gallery
This required a couple of changes:
- making a new render_pagination macro
- switching things over to use that
Christopher Allan Webber [Sun, 3 Jul 2011 02:31:25 +0000 (21:31 -0500)]
Just some spacing changes in profile.html
Christopher Allan Webber [Sun, 3 Jul 2011 02:31:04 +0000 (21:31 -0500)]
We should link to the user's gallery, not the logged in person's gallery.
Christopher Allan Webber [Sun, 3 Jul 2011 02:16:39 +0000 (21:16 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f401_prev_next_media_nav'
Conflicts:
mediagoblin/db/models.py
mediagoblin/templates/mediagoblin/user_pages/media.html
Christopher Allan Webber [Sun, 3 Jul 2011 00:01:55 +0000 (19:01 -0500)]
Let users write their own config and paste files w/o affecting git
Christopher Allan Webber [Sun, 3 Jul 2011 00:00:58 +0000 (19:00 -0500)]
Merge remote branch 'remotes/elrond/idea/lazyserver'
Christopher Allan Webber [Sun, 3 Jul 2011 00:00:01 +0000 (19:00 -0500)]
Merge remote branch 'remotes/jwandborg/feature_400-resize_images_to_fit_page'
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media.html
Elrond [Sat, 2 Jul 2011 23:53:10 +0000 (01:53 +0200)]
Improve lazyserver.sh to handle args
Run "./lazyserver.sh -h" to learn more.
Christopher Allan Webber [Sat, 2 Jul 2011 23:31:02 +0000 (18:31 -0500)]
Only show pagination if we have pages to show
Joar Wandborg [Sat, 2 Jul 2011 23:30:07 +0000 (01:30 +0200)]
Feature #400 - Resize images to fit on page
* `mediagoblin.process_media.__init__`
* Added `medium` size image conversion
* Updated `thumbnail` conversion to use `queued_filename` instead
of `queued_file`
* `media.html`
* If there exists a `medium` size for the `MediaEntry`, it will
display instead of the original `main` image.
Christopher Allan Webber [Sat, 2 Jul 2011 22:49:51 +0000 (17:49 -0500)]
Issue 406: media_details template deprecated. Removing!
Christopher Allan Webber [Sat, 2 Jul 2011 22:46:26 +0000 (17:46 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b404_edit_profile_navfix'
Christopher Allan Webber [Sat, 2 Jul 2011 22:05:13 +0000 (17:05 -0500)]
Note from Chris Webber prefacing Elrond's DB abstraction idea.
Christopher Allan Webber [Sat, 2 Jul 2011 22:01:43 +0000 (17:01 -0500)]
Merge remote branch 'remotes/elrond/idea/db_doc'
Christopher Allan Webber [Sat, 2 Jul 2011 20:48:49 +0000 (15:48 -0500)]
Merge remote branch 'remotes/elrond/dev/init'
Elrond [Sat, 2 Jul 2011 20:40:19 +0000 (22:40 +0200)]
Move config.py to init/
Some simple changes needed to do that.
The interesting question left:
Should config_spec.ini also be moved?
Christopher Allan Webber [Sat, 2 Jul 2011 19:39:35 +0000 (14:39 -0500)]
Merge remote branch 'remotes/jwandborg/feature_362-simple_comments-acts_on_feedback'
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media.html
Christopher Allan Webber [Sat, 2 Jul 2011 19:34:39 +0000 (14:34 -0500)]
Removing that 'temporarily, an "image gallery" that isn't one really ;)' text
Christopher Allan Webber [Sat, 2 Jul 2011 19:32:54 +0000 (14:32 -0500)]
the delete text should be flush against the image since the edit text is
Christopher Allan Webber [Sat, 2 Jul 2011 19:30:33 +0000 (14:30 -0500)]
More spacing / newline changes to media.html
Christopher Allan Webber [Sat, 2 Jul 2011 19:29:47 +0000 (14:29 -0500)]
Not sure what these fields are here commented out for... removing
Christopher Allan Webber [Sat, 2 Jul 2011 19:28:57 +0000 (14:28 -0500)]
Cleaning up some indentation in media.html
Christopher Allan Webber [Sat, 2 Jul 2011 19:26:18 +0000 (14:26 -0500)]
images/iconFoo.png filenames -> icon/icon_foo.png
I have a thing against mixedCase :)
Christopher Allan Webber [Sat, 2 Jul 2011 19:13:48 +0000 (14:13 -0500)]
Merge remote branch 'remotes/schendje/master'
Elrond [Thu, 23 Jun 2011 16:45:39 +0000 (18:45 +0200)]
Move get_jinja_loader to init submodule.
Elrond [Sun, 19 Jun 2011 21:09:35 +0000 (23:09 +0200)]
Move mediagoblin.celery_setup -> mediagoblin.init.celery
As the first target of the new .init. submodule move
celery_setup there. Quite straight forward, just a lot of
places to change.
Elrond [Sat, 2 Jul 2011 18:25:09 +0000 (20:25 +0200)]
Start mediagoblin.init
Caleb Forbes Davis V [Sat, 2 Jul 2011 11:15:58 +0000 (06:15 -0500)]
adds previous and next links in the sidebar
Feature #401 - previous/next navigation on media pages
* media.html includes a new prev_next.html template containing the links
* prev_next.html calls functions added to the media model to retrieve
the appropriate objects from the database, formatted with urlgen
* a small change to util.py brings ASCENDING into the mix
Caleb Forbes Davis V [Sat, 2 Jul 2011 03:33:54 +0000 (22:33 -0500)]
Bug #404 - Successful profile edit is successful!
user is notified of successful profile edit w/o extra navigation
Joar Wandborg [Fri, 1 Jul 2011 20:02:58 +0000 (22:02 +0200)]
Merge branch 'master' of git.gitorious.org/mediagoblin/mediagoblin
Jef van Schendel [Fri, 1 Jul 2011 18:14:38 +0000 (20:14 +0200)]
Tiny pagination style changes