mediagoblin.git
11 years agoChange view and urls for blog edit/create page.
Aditi [Fri, 19 Jul 2013 11:25:42 +0000 (16:55 +0530)]
Change view and urls for blog edit/create page.

11 years agoReplace hardcoded URL by variable for the same.
Aditi [Fri, 19 Jul 2013 11:22:35 +0000 (16:52 +0530)]
Replace hardcoded URL by variable for the same.

11 years agoAdd class BlogMixin.
Aditi [Fri, 19 Jul 2013 11:17:27 +0000 (16:47 +0530)]
Add class BlogMixin.

11 years agoCreate file for utility function and add function.
Aditi [Fri, 19 Jul 2013 11:10:21 +0000 (16:40 +0530)]
Create file for utility function and add function.

11 years agoAdd view for blog edit and create page.
Aditi [Fri, 19 Jul 2013 11:07:22 +0000 (16:37 +0530)]
Add view for blog edit and create page.

11 years agoAdd config_spec for blog plugin specification.
Aditi [Tue, 16 Jul 2013 10:41:36 +0000 (16:11 +0530)]
Add config_spec for blog plugin specification.

11 years agoChange the field name in BlogEditForm.
Aditi [Tue, 16 Jul 2013 06:58:05 +0000 (12:28 +0530)]
Change the field name in BlogEditForm.

11 years agoCreate Blog and BlogPostData models.
Aditi [Tue, 16 Jul 2013 06:38:03 +0000 (12:08 +0530)]
Create Blog and BlogPostData models.

11 years agomerge with remote master branch of cweb.
Aditi [Tue, 16 Jul 2013 01:18:33 +0000 (06:48 +0530)]
merge with remote master branch of cweb.

11 years agoFixing docs: git submodule update, not git submodule fetch!
Christopher Allan Webber [Mon, 15 Jul 2013 02:05:01 +0000 (21:05 -0500)]
Fixing docs: git submodule update, not git submodule fetch!

This commit sponsored by Charles Combs.  Thank you!

11 years agoSkip the openid tests if the openid module is not installed.
Christopher Allan Webber [Sun, 14 Jul 2013 16:23:52 +0000 (11:23 -0500)]
Skip the openid tests if the openid module is not installed.

This commit sponsored by Brandon Smith.  Thank you!

11 years agoDocumenting the media_manager fetching hook
Christopher Allan Webber [Fri, 12 Jul 2013 22:13:48 +0000 (17:13 -0500)]
Documenting the media_manager fetching hook

This commit sponsored by Christian Corrodi.  Thank you!

11 years agoSwitching the hook 'get_media_manager' to a more "directed" tuple-hook
Christopher Allan Webber [Fri, 12 Jul 2013 22:04:08 +0000 (17:04 -0500)]
Switching the hook 'get_media_manager' to a more "directed" tuple-hook

By switching this to a tuple that includes the media type in the key
itself, this requires iteration and execution of functions that
"check" that they are the right type.

This commit sponsored by Greg Grossmeier.  Thanks buddy! :)

11 years agodocumenting the new media_type plugins and available hooks
Rodney Ewing [Fri, 12 Jul 2013 18:57:16 +0000 (11:57 -0700)]
documenting the new media_type plugins and available hooks

11 years agoMerge branch 'rodney757-media_plugins'
Christopher Allan Webber [Fri, 12 Jul 2013 21:24:36 +0000 (16:24 -0500)]
Merge branch 'rodney757-media_plugins'

Conflicts:
mediagoblin.ini
mediagoblin/tests/test_mgoblin_app.ini

11 years agoFix the last bit preventing all the unit tests from passing in media types->plugins
Christopher Allan Webber [Fri, 12 Jul 2013 20:52:20 +0000 (15:52 -0500)]
Fix the last bit preventing all the unit tests from passing in media types->plugins

The last commit was also small, so Jeff Moe gets... two!  Two sponsored commits!
Ah ah ah. </count_voice>

11 years agoSwitch the import of the image media manager over to the new class
Christopher Allan Webber [Fri, 12 Jul 2013 19:53:10 +0000 (14:53 -0500)]
Switch the import of the image media manager over to the new class

This helps resolve one of the remaining issues with the tests for the
media type pluginification.

This commit sponsored by Jeffrey Moe.  Thanks Jeff!  Lulzbot rocks!

11 years agoChanging the information spat out while printing from media types->plugins
Christopher Allan Webber [Fri, 12 Jul 2013 19:16:47 +0000 (14:16 -0500)]
Changing the information spat out while printing from media types->plugins

Previously it called even plugins media types.  Ha!

This commit sponsored by Jon Merkley.  Thank you!

11 years agoPatch by Strum. Remove redundent tool-tips from Stl media_type
Rodney Ewing [Fri, 12 Jul 2013 16:51:42 +0000 (09:51 -0700)]
Patch by Strum. Remove redundent tool-tips from Stl media_type

11 years agoPatch by pythonsnake. Make mediagoblin.ini comments more helpful.
Rodney Ewing [Fri, 12 Jul 2013 16:32:50 +0000 (09:32 -0700)]
Patch by pythonsnake. Make mediagoblin.ini comments more helpful.

11 years agomake change_pass page autofocus
Rodney Ewing [Thu, 11 Jul 2013 23:33:33 +0000 (16:33 -0700)]
make change_pass page autofocus

11 years agoforgot to render errors
Rodney Ewing [Thu, 11 Jul 2013 23:21:35 +0000 (16:21 -0700)]
forgot to render errors

11 years agochange to class instead of id to work with firefox
Rodney Ewing [Wed, 26 Jun 2013 15:45:59 +0000 (08:45 -0700)]
change to class instead of id to work with firefox

11 years agofix for boolean fields
Rodney Ewing [Wed, 26 Jun 2013 15:29:03 +0000 (08:29 -0700)]
fix for boolean fields

11 years agoupdated to new render_divs macro
Rodney Ewing [Tue, 25 Jun 2013 23:37:28 +0000 (16:37 -0700)]
updated to new render_divs macro

11 years agosave “stay_logged_in” in the session
Jakob Kramer [Wed, 22 May 2013 12:51:12 +0000 (14:51 +0200)]
save “stay_logged_in” in the session

Since sessions are rebuilt, e.g. when you try to post a blank
comment and therefore receive an error message, the session will
be overwritten without the old max_age.

11 years agoadd login option: stay_logged_in
Jakob Kramer [Thu, 9 May 2013 22:40:13 +0000 (00:40 +0200)]
add login option: stay_logged_in

As proposed in issue #354; it adds an attribute max_age
to mediagoblin.tools.session.Session  that is passed to
response.set_cookie;  max_age is set to 30  days if the
checkbox is selected

11 years agoPatch submitted by mrb.
Rodney Ewing [Thu, 11 Jul 2013 16:37:38 +0000 (09:37 -0700)]
Patch submitted by mrb.

Fix to link to the pubsub hub for atom_feed 'by tag'.

Added 'rel': 'alternate' and 'type': 'text/html' to 'atomlinks'

11 years agoPatch by Strum. Ticket #451 - Convert all mongokit style .find, .find_one, .one calls...
Rodney Ewing [Thu, 11 Jul 2013 21:17:50 +0000 (14:17 -0700)]
Patch by Strum. Ticket #451 - Convert all mongokit style .find, .find_one, .one calls over to SQLAlchemy queries

11 years agofixes the inability to upload non ascii filenames, werkzeug strips all non ascii...
dunkyp [Tue, 6 Nov 2012 17:47:48 +0000 (17:47 +0000)]
fixes the inability to upload non ascii filenames, werkzeug strips all non ascii chars and returns an empty string. This checks if the filename contains non asciis and if it does generates a uuid for filename. Also the request version of filename is used for generating alternative title for upload

cherry-picked from dunkyp. fixed conflicts and missing import.

11 years agoshould use media.slug_or_id incase a MediaEntry doesn't have a slug
Rodney Ewing [Thu, 11 Jul 2013 19:34:43 +0000 (12:34 -0700)]
should use media.slug_or_id incase a MediaEntry doesn't have a slug

11 years agoRevert "remove the list from response.vary. not sure why I was getting an error using...
Christopher Allan Webber [Wed, 10 Jul 2013 22:58:30 +0000 (17:58 -0500)]
Revert "remove the list from response.vary. not sure why I was getting an error using openid without it, but everything seems to be working fine now"

This reverts commit 05ceada051dad011bb9b3e1c93fb42b2d9875939.

It turns out the reason for this in the first place was werkzeug
backwards compatibility.

11 years agoMerge remote-tracking branch 'refs/remotes/rodney757/misc'
Christopher Allan Webber [Wed, 10 Jul 2013 22:50:14 +0000 (17:50 -0500)]
Merge remote-tracking branch 'refs/remotes/rodney757/misc'

11 years agoA few small formatting fixes on the release notes
Christopher Allan Webber [Wed, 10 Jul 2013 22:41:16 +0000 (17:41 -0500)]
A few small formatting fixes on the release notes

11 years agoMerge branch 'release-0.4.1'
Christopher Allan Webber [Wed, 10 Jul 2013 22:40:57 +0000 (17:40 -0500)]
Merge branch 'release-0.4.1'

Conflicts:
mediagoblin/_version.py

11 years agoUpdating docs regarding pulling in and fetching git submodules
Christopher Allan Webber [Wed, 10 Jul 2013 21:29:50 +0000 (16:29 -0500)]
Updating docs regarding pulling in and fetching git submodules

We use this for PDF.js now... we should reference that.

This commit sponsored by Bonnie King.  Thanks!

11 years agoFix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.
Christopher Allan Webber [Sat, 22 Jun 2013 17:25:31 +0000 (12:25 -0500)]
Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.

This commit back-cherry-picked from current master for the 0.4.1 fix release.

11 years agoPyTest needs to be >= 2.3.1
Christopher Allan Webber [Wed, 10 Jul 2013 18:34:49 +0000 (13:34 -0500)]
PyTest needs to be >= 2.3.1

11 years agoneed to use .get('messages') to not get a keyerror
Rodney Ewing [Wed, 10 Jul 2013 18:08:28 +0000 (11:08 -0700)]
need to use .get('messages') to not get a keyerror

11 years agoremove the list from response.vary. not sure why I was getting an error using openid...
Rodney Ewing [Wed, 10 Jul 2013 17:37:13 +0000 (10:37 -0700)]
remove the list from response.vary. not sure why I was getting an error using openid without it, but everything seems to be working fine now

11 years agoonly check password if there is a store_hash
Rodney Ewing [Mon, 8 Jul 2013 23:27:43 +0000 (16:27 -0700)]
only check password if there is a store_hash

11 years agoRelease notes v0.4.1 ... fixes serious issue with conversion via libreoffice.
Christopher Allan Webber [Wed, 10 Jul 2013 16:41:29 +0000 (11:41 -0500)]
Release notes v0.4.1 ... fixes serious issue with conversion via libreoffice.

This commit sponsored by William Linna.  Thank you!

11 years agoFixing bug that effectively broke document support in 0.4.0.. how embarassing :(
Christopher Allan Webber [Wed, 10 Jul 2013 13:45:18 +0000 (08:45 -0500)]
Fixing bug that effectively broke document support in 0.4.0.. how embarassing :(

This fix sponsored by Christophe Drevet.  Thank you!

11 years agoMention setup.py develop --upgrade also in release notes.
Christopher Allan Webber [Wed, 10 Jul 2013 00:40:04 +0000 (19:40 -0500)]
Mention setup.py develop --upgrade also in release notes.

This commit sponsored by Christoph Schumacher.  Thank you!

11 years agoMerge remote-tracking branch 'cweb/master'
Aditi [Thu, 4 Jul 2013 16:05:22 +0000 (21:35 +0530)]
Merge remote-tracking branch 'cweb/master'

sage aborts
Merge branch master of git://gitorious.org/mediagoblin/mediagoblin.git

11 years agoMerge remote-tracking branch 'remotes/lotusecho/trac_711_test_speed'
Christopher Allan Webber [Wed, 3 Jul 2013 19:07:11 +0000 (14:07 -0500)]
Merge remote-tracking branch 'remotes/lotusecho/trac_711_test_speed'

11 years agoFix missing quote
Christopher Allan Webber [Wed, 3 Jul 2013 19:06:22 +0000 (14:06 -0500)]
Fix missing quote

11 years agochanged hook name to reuse with persona
Rodney Ewing [Wed, 3 Jul 2013 15:09:06 +0000 (08:09 -0700)]
changed hook name to reuse with persona

11 years agouse template hooks instead of hardcoding in templates
Rodney Ewing [Wed, 3 Jul 2013 14:16:31 +0000 (07:16 -0700)]
use template hooks instead of hardcoding in templates

11 years agoforgot to pass request.form into LoginForm class
Rodney Ewing [Wed, 26 Jun 2013 19:53:02 +0000 (12:53 -0700)]
forgot to pass request.form into LoginForm class

11 years agotypo
Rodney Ewing [Wed, 26 Jun 2013 19:44:37 +0000 (12:44 -0700)]
typo

11 years agofixed openid store cleanupAssociations
Rodney Ewing [Wed, 26 Jun 2013 19:43:12 +0000 (12:43 -0700)]
fixed openid store cleanupAssociations

11 years agoremoved openid/lib, since the get forms functions were not needed for persona plugin
Rodney Ewing [Wed, 26 Jun 2013 19:20:51 +0000 (12:20 -0700)]
removed openid/lib, since the get forms functions were not needed for persona plugin

11 years agomerge --squash openid branch to take care of a false merge commit in the
Rodney Ewing [Wed, 26 Jun 2013 18:20:50 +0000 (11:20 -0700)]
merge --squash openid branch to take care of a false merge commit in the
basic_auth branch that openid is forked from

Commits squashed together (in reverse chronological order):
 - do the label thing only for boolean fields
 - made edit_account to autofocus on the first field
 - added feature to render_divs where if field.label == '' then it
   will render form.description the same a render_label
 - added allow_registration check
 - refactored create_user
 - removed verification_key from create_user
 - removed get_user from openid
 - cleanup after removing openid from template_env.globals
 - fix for werkzueg 0.9.1
 - cleanup after merge
 - more tests
 - restored openid extra_validation just for safety
 - tests for openid
 - deleted openid extra_validation
 - passed next parameter in session for openid
 - fixed a bug that was deleting the messages
 - implemented openid store using sqlalchemy
 - ask openid provider for 'nickname' to prefill username in registration form
 - refactored delete openid url to work with generic urls such as
   google and to not allow a user to delete a url if it is there only
   one and they don't have a pw
 - refactored login to register user workflow, which fixed a problem
   where the 'or register with a password link' wasn't showing up when
   the finish_login view called the register view because there wasn't
   any redirect.
 - added the ability to remove openid's
 - added the ability to add openids to an existing account
 - refactored start_login and finish_login views
 - modified edit_account.html to use render_divs
 - modified gmg/edit/views to behave appropriatly if no password
   authentication is enabled. moved the update email stuff to it's own
   funtion to make edit_account view cleaner. edit_account now
   modifies the form depending on the plugins.
 - minor typos
 - added retrieving email from openid provider
 - moved allow_registration check to a decorator
 - moved check if auth is enabled to a decorator
 - changed openid user registration to go through login first
 - cleanup after merge
 - modified verification emails to use itsdangerous tokens
 - added error handling on bad token, fixed route, and added tests
 - added support for user to change email address
 - added link to login view openid/password in login template
 - updated openid get_user function
 - modified get_user function to take kwargs instead of username
 - no need for user might be email kwarg in check_login_simple
 - added gen_password_hash and check_password functions to auth/__init__
 - added focus to form input
 - made imports fully qualified
 - modified basic_auth.check_login to check that the user has a pw_hash first
 - changed occurances of form.data['whatever'] to form.whatever.data
 - convert tabs to spaces in register template, remove unsed
   templates, and fixed trans tags in templates
 - in process of openid login. it works, but needs major imporvements
 - make password field required in basic_auth form
 - check if password field present in basic_auth create_user
 - modified openid create_user function
 - modified models based on Elronds suggestions
 - changed register form action to a variable to be passed in by the
   view using the template
 - openid plugin v0, still need to authenticate via openid.
 - added a register_user function to be able to use in a plugin's
   register view, and modified auth/views.register to redirect to
   openid/register if appropriate.
 - Modified basic_auth plugin to work with modified auth plugin
   hooks. Added context variables. Removed basic_auth/tools which was
   previously renamed to basic_auth/lib.
 - modified auth/__init__ hooks to work better with multiple
   plugins. Removed auth/lib.py. And added a basic_extra_verification
   function that all plugins will use.
 - added models and migrations for openid plugin

11 years agofixing the config section we pull things out of for basic_auth
Christopher Allan Webber [Wed, 3 Jul 2013 13:09:48 +0000 (08:09 -0500)]
fixing the config section we pull things out of for basic_auth

11 years agoTypo error.
Aditi [Wed, 3 Jul 2013 02:52:48 +0000 (08:22 +0530)]
Typo error.

11 years agoadded a warning for old media types
Rodney Ewing [Tue, 2 Jul 2013 16:26:12 +0000 (09:26 -0700)]
added a warning for old media types

11 years agoconverted video media_type to plugin
Rodney Ewing [Tue, 2 Jul 2013 15:57:10 +0000 (08:57 -0700)]
converted video media_type to plugin

11 years agoconverted stl media_type to plugin
Rodney Ewing [Tue, 2 Jul 2013 15:52:33 +0000 (08:52 -0700)]
converted stl media_type to plugin

11 years agoconverted pdf media_type to plugin
Rodney Ewing [Tue, 2 Jul 2013 15:48:47 +0000 (08:48 -0700)]
converted pdf media_type to plugin

11 years agoconverted audio media_type to plugin
Rodney Ewing [Tue, 2 Jul 2013 15:43:14 +0000 (08:43 -0700)]
converted audio media_type to plugin

11 years agotypo in image supported_filetypes
Rodney Ewing [Tue, 2 Jul 2013 15:14:40 +0000 (08:14 -0700)]
typo in image supported_filetypes

11 years agoconverted ascii media_type to plugin
Rodney Ewing [Tue, 2 Jul 2013 15:09:37 +0000 (08:09 -0700)]
converted ascii media_type to plugin

11 years agofixed some typos and enabled media_type plugins in tests
Rodney Ewing [Tue, 2 Jul 2013 14:54:38 +0000 (07:54 -0700)]
fixed some typos and enabled media_type plugins in tests

11 years agoremoved sniff_handler from Imange Media Manager class
Rodney Ewing [Tue, 2 Jul 2013 14:20:20 +0000 (07:20 -0700)]
removed sniff_handler from Imange Media Manager class

11 years agoremoved CompatMediaManager() since all core media_types are classes
Rodney Ewing [Tue, 2 Jul 2013 00:23:47 +0000 (17:23 -0700)]
removed CompatMediaManager() since all core media_types are classes

11 years agomodified gmg to use plugin media_types and converted image media_type to new plugin...
Rodney Ewing [Tue, 2 Jul 2013 00:19:22 +0000 (17:19 -0700)]
modified gmg to use plugin media_types and converted image media_type to new plugin style

11 years agoAdd '/' at the end of each url.
Aditi [Tue, 2 Jul 2013 02:04:05 +0000 (07:34 +0530)]
Add '/' at the end of each url.

11 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Sun, 30 Jun 2013 14:19:53 +0000 (19:49 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

"Merge with cweb/master."

11 years agoAdd template for blog edit and create page.
Aditi [Sun, 30 Jun 2013 04:03:04 +0000 (09:33 +0530)]
Add template for blog edit and create page.

11 years agoAdd user in template dictonary as it is in the url field.
Aditi [Sun, 30 Jun 2013 04:01:29 +0000 (09:31 +0530)]
Add user in template dictonary as it is in the url field.

11 years agoAdd views for creating and editing a blog
Aditi [Fri, 28 Jun 2013 17:28:07 +0000 (22:58 +0530)]
Add views for creating and editing a blog

11 years agoRegister blog urls with mediagoblin
Aditi [Fri, 28 Jun 2013 17:26:46 +0000 (22:56 +0530)]
Register blog urls with mediagoblin

11 years agoRegister blog create url in routing.py
Aditi [Fri, 28 Jun 2013 16:52:28 +0000 (22:22 +0530)]
Register blog create url in routing.py

11 years agoMore clarifications on what ./bin/gmg dbupdate does on each run.
Christopher Allan Webber [Fri, 28 Jun 2013 16:51:40 +0000 (11:51 -0500)]
More clarifications on what ./bin/gmg dbupdate does on each run.

This commit sponsored by Jessica Howard.  Thanks, sistah!

11 years agoAdd forms for editing and creating forms
Aditi [Fri, 28 Jun 2013 16:51:27 +0000 (22:21 +0530)]
Add forms for editing and creating forms

11 years agoSome documentation on how to write database migrations.
Christopher Allan Webber [Fri, 28 Jun 2013 15:27:06 +0000 (10:27 -0500)]
Some documentation on how to write database migrations.

This commit sponsored by Andrei Cristian Petcu.  Thanks!

11 years agoUpdated comments for run_all_migrations and config_spec.ini.
Emily O'Leary [Thu, 27 Jun 2013 21:05:25 +0000 (17:05 -0400)]
Updated comments for run_all_migrations and config_spec.ini.

11 years agoAdd url mapping for blog-admin, blog-collection-admin, blog edit/create, blog post...
Aditi [Thu, 27 Jun 2013 05:06:21 +0000 (10:36 +0530)]
Add url mapping for blog-admin, blog-collection-admin, blog edit/create, blog post edit/create views.

11 years agoAdd BlogPostEditForm for editing and creating a blog post entry.
Aditi [Wed, 26 Jun 2013 18:23:27 +0000 (23:53 +0530)]
Add BlogPostEditForm for editing and creating a blog post entry.

11 years agoAdd basic files models, views, forms, routing, __init__ to for a new media_type...
Aditi [Wed, 26 Jun 2013 18:13:26 +0000 (23:43 +0530)]
Add basic files models, views, forms, routing, __init__ to  for a new media_type blog.

11 years agoCreated filr structure for blog as a plugin(option 1).
Aditi [Wed, 26 Jun 2013 17:57:45 +0000 (23:27 +0530)]
Created filr structure for blog as a plugin(option 1).

11 years agoMerge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin
Aditi [Wed, 26 Jun 2013 16:43:23 +0000 (22:13 +0530)]
Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin

11 years agotypo
Rodney Ewing [Wed, 26 Jun 2013 14:39:17 +0000 (07:39 -0700)]
typo

11 years agodo the label thing only for boolean fields
Rodney Ewing [Wed, 26 Jun 2013 14:36:11 +0000 (07:36 -0700)]
do the label thing only for boolean fields

11 years agomade edit_account to autofocus on the first field
Rodney Ewing [Wed, 26 Jun 2013 13:45:36 +0000 (06:45 -0700)]
made edit_account to autofocus on the first field

11 years agoImproved test runtime from 352 seconds to 59 seconds by implementing an in-memory...
Emily O'Leary [Wed, 26 Jun 2013 00:57:50 +0000 (20:57 -0400)]
Improved test runtime from 352 seconds to 59 seconds by implementing an in-memory sqlite DB and including an option to run migrations on this newly created database by adding a config option called run_migrations to the config_spec and passing it along in app.py to the setup_database function.

11 years agoadded feature to render_divs where if field.label == '' then it will render form...
Rodney Ewing [Tue, 25 Jun 2013 22:50:31 +0000 (15:50 -0700)]
added feature to render_divs where if field.label == '' then it will render form.description the same a render_label

11 years agoExplain about sqlite dropping the constraint and why we're adding it back manually.
Christopher Allan Webber [Tue, 25 Jun 2013 22:12:33 +0000 (17:12 -0500)]
Explain about sqlite dropping the constraint and why we're adding it back manually.

11 years agocleanup after merge
Rodney Ewing [Tue, 25 Jun 2013 20:43:33 +0000 (13:43 -0700)]
cleanup after merge

11 years agoMerge remote-tracking branch 'upstream/master' into auth
Rodney Ewing [Tue, 25 Jun 2013 20:37:21 +0000 (13:37 -0700)]
Merge remote-tracking branch 'upstream/master' into auth

Conflicts:
mediagoblin/app.py
mediagoblin/auth/forms.py
mediagoblin/auth/tools.py
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/edit/views.py
mediagoblin/plugins/basic_auth/tools.py
mediagoblin/tests/test_edit.py

11 years agotypo
Rodney Ewing [Tue, 25 Jun 2013 20:22:56 +0000 (13:22 -0700)]
typo

11 years agoAdd a bit more docs to plugin configuration
Christopher Allan Webber [Tue, 25 Jun 2013 18:25:25 +0000 (13:25 -0500)]
Add a bit more docs to plugin configuration

This commit sponsored by Michael Rauch.  Thank you!

11 years agoReverting "No more of this find_packages nonsense."
Christopher Allan Webber [Mon, 24 Jun 2013 14:10:48 +0000 (09:10 -0500)]
Reverting "No more of this find_packages nonsense."

This reverts commit b75eb88fabdac4a9fdc863969ec9472110732607.

11 years agoAdding a docstring to fixture_media_entry
Christopher Allan Webber [Sat, 22 Jun 2013 22:40:12 +0000 (17:40 -0500)]
Adding a docstring to fixture_media_entry

It's not complete, but it makes clearer how to avoid errors with
fake_upload :)

This commit sponsored by Harper Sanford.  Thank you!

11 years agoFix the data integrity bug in test_misc.
Christopher Allan Webber [Sat, 22 Jun 2013 22:37:30 +0000 (17:37 -0500)]
Fix the data integrity bug in test_misc.

It turns out this has to do with some additions to the fixture adding
of media entries.  Since the new fake_upload field is True by default,
adding multiple entries that have media_files at once meant that
multiple additions of FileKeynames would be added at once if they were
not saved at the same time.  Tricky!

Thankfully, Elrond helped us figure this one out.  Thanks, Elrond :)

And thanks also to Aapo Rantalainen for sponsoring this commit!

11 years agoPadding on the header-dropdown area
Christopher Allan Webber [Sat, 22 Jun 2013 21:19:58 +0000 (16:19 -0500)]
Padding on the header-dropdown area

This helps make it a bit clearer that things are "contained inside"
the header dropdown area.

11 years agoMerge remote-tracking branch 'refs/remotes/joar/notifications'
Christopher Allan Webber [Sat, 22 Jun 2013 21:13:41 +0000 (16:13 -0500)]
Merge remote-tracking branch 'refs/remotes/joar/notifications'

Conflicts:
mediagoblin/db/migrations.py

11 years agoFix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.
Christopher Allan Webber [Sat, 22 Jun 2013 17:25:31 +0000 (12:25 -0500)]
Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.

11 years agoRemoving the "enter your password to change your email" bit.
Christopher Allan Webber [Fri, 21 Jun 2013 22:24:33 +0000 (17:24 -0500)]
Removing the "enter your password to change your email" bit.

A good idea, though it feels fairly clumsy in the form, and I think if
you're logged in you can already sabotage the user pretty well.

This commit sponsored by Sergey Matveev.  Thanks!