mediagoblin.git
11 years agoMerge remote-tracking branch 'refs/remotes/rodney757/reprocessing'
Christopher Allan Webber [Wed, 18 Sep 2013 19:45:23 +0000 (14:45 -0500)]
Merge remote-tracking branch 'refs/remotes/rodney757/reprocessing'

Conflicts:
mediagoblin/db/migrations.py

11 years agoMerge remote-tracking branch 'refs/remotes/rodney757/file_limits'
Christopher Allan Webber [Wed, 18 Sep 2013 16:21:57 +0000 (11:21 -0500)]
Merge remote-tracking branch 'refs/remotes/rodney757/file_limits'

Conflicts:
mediagoblin/db/migrations.py

11 years agoAlso add a bit of color to the theme's base color
Christopher Allan Webber [Sun, 15 Sep 2013 14:54:28 +0000 (09:54 -0500)]
Also add a bit of color to the theme's base color

This commit sponsored by Marc Lijour.  Thanks!

11 years agoUpdating the video.js that we use to avoid an XSS attack. Yikes! ;\
Christopher Allan Webber [Sun, 15 Sep 2013 14:46:01 +0000 (09:46 -0500)]
Updating the video.js that we use to avoid an XSS attack.  Yikes! ;\

This commit sponsored by Daniel Valentine.  Thank you!

11 years agoFix pagination for certain request.GET data
Christopher Allan Webber [Fri, 13 Sep 2013 15:16:07 +0000 (10:16 -0500)]
Fix pagination for certain request.GET data

This didn't work at all nicely with MultiDict objects in various
circumstances and could possibly break pagination.  This fix handles
that!

This commit sponsored by Alessandro Francolini.  Thank you!

11 years agoSupport python 2.6 again! Thanks to julianoliver for catching this.
Christopher Allan Webber [Mon, 9 Sep 2013 15:01:56 +0000 (10:01 -0500)]
Support python 2.6 again!  Thanks to julianoliver for catching this.

This commit sponsored by Sam Clegg.  Thank you!

11 years agotypo. conversions not convirsions
Rodney Ewing [Fri, 6 Sep 2013 21:27:55 +0000 (14:27 -0700)]
typo. conversions not convirsions

thanks to saul for pointing this out.

11 years agoreword persona edit link
Rodney Ewing [Thu, 5 Sep 2013 16:04:23 +0000 (09:04 -0700)]
reword persona edit link

11 years agoRevert "Temporarily switching git:// to http://"
Christopher Allan Webber [Thu, 5 Sep 2013 14:51:22 +0000 (09:51 -0500)]
Revert "Temporarily switching git:// to http://"

This reverts commit 18922af5830f4a7686ec3b3ff11dc309a5a9cca6.

11 years agoTemporarily switching git:// to http://
Christopher Allan Webber [Thu, 5 Sep 2013 14:37:08 +0000 (09:37 -0500)]
Temporarily switching git:// to http://

11 years agoIn the v0.6.0 cycle now
Christopher Allan Webber [Thu, 5 Sep 2013 14:34:48 +0000 (09:34 -0500)]
In the v0.6.0 cycle now

11 years agoMediaGoblin v0.5.0!
Christopher Allan Webber [Wed, 4 Sep 2013 21:25:12 +0000 (16:25 -0500)]
MediaGoblin v0.5.0!

11 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Wed, 4 Sep 2013 21:07:37 +0000 (16:07 -0500)]
Committing extracted and compiled translations

11 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Wed, 4 Sep 2013 21:07:12 +0000 (16:07 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

11 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Wed, 4 Sep 2013 21:03:57 +0000 (16:03 -0500)]
Committing extracted and compiled translations

11 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Wed, 4 Sep 2013 21:02:48 +0000 (16:02 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

11 years agoFixing tyop. Thanks for catching, tryggvib :)
Christopher Allan Webber [Wed, 4 Sep 2013 21:01:21 +0000 (16:01 -0500)]
Fixing tyop.  Thanks for catching, tryggvib :)

11 years agoCaution about the API in the release notes
Christopher Allan Webber [Wed, 4 Sep 2013 19:25:40 +0000 (14:25 -0500)]
Caution about the API in the release notes

11 years agoneed to send the users email to persona if the user logged in with persona.
Rodney Ewing [Wed, 4 Sep 2013 15:35:30 +0000 (08:35 -0700)]
need to send the users email to persona if the user logged in with persona.

Thanks callahad for pointing this out.

11 years agoThanking Dan Callahan as a contributor. Thanks for helping with the persona stuff! :)
Christopher Allan Webber [Wed, 4 Sep 2013 14:23:02 +0000 (09:23 -0500)]
Thanking Dan Callahan as a contributor.  Thanks for helping with the persona stuff! :)

11 years agoImprove checkbox description
Sebastian Spaeth [Wed, 4 Sep 2013 12:54:00 +0000 (14:54 +0200)]
Improve checkbox description

Do not Enable/Disable next to a checkbox. So what does an enabled checkbox do then?

11 years agoMerge remote-tracking branch 'refs/remotes/spaetz/fix_docs'
Christopher Allan Webber [Wed, 4 Sep 2013 12:41:56 +0000 (07:41 -0500)]
Merge remote-tracking branch 'refs/remotes/spaetz/fix_docs'

11 years agoFix plugin documentation
Sebastian Spaeth [Wed, 4 Sep 2013 09:35:39 +0000 (11:35 +0200)]
Fix plugin documentation

The docs suggest to use {% template_hook "media_sidebar" %}. This
will break Mediagoblin in mysterious ways, and the docs need a fix.

11 years agoAdd site name, logo, and background for Persona
Dan Callahan [Tue, 3 Sep 2013 20:31:28 +0000 (15:31 -0500)]
Add site name, logo, and background for Persona

11 years agoUpdated AUTHORS for v0.5.0
Christopher Allan Webber [Mon, 2 Sep 2013 21:28:35 +0000 (16:28 -0500)]
Updated AUTHORS for v0.5.0

11 years agoshould use public_store.file_exists to check if the file copied correctly
Rodney Ewing [Mon, 2 Sep 2013 19:09:55 +0000 (12:09 -0700)]
should use public_store.file_exists to check if the file copied correctly

11 years agodidn't remove form.new_email when change email was moved to its own view
Rodney Ewing [Sat, 31 Aug 2013 20:45:58 +0000 (13:45 -0700)]
didn't remove form.new_email when change email was moved to its own view

11 years agoWe're presently tied to a very specific version of oauthlib...
Christopher Allan Webber [Fri, 30 Aug 2013 21:27:22 +0000 (16:27 -0500)]
We're presently tied to a very specific version of oauthlib...

11 years agopdf media_type now have their own config_spec.ini
Rodney Ewing [Wed, 28 Aug 2013 15:21:20 +0000 (08:21 -0700)]
pdf media_type now have their own config_spec.ini

11 years agoascii media_type now have their own config_spec.ini
Rodney Ewing [Wed, 28 Aug 2013 15:14:26 +0000 (08:14 -0700)]
ascii media_type now have their own config_spec.ini

11 years agoaudio media_type now have their own config_spec.ini
Rodney Ewing [Wed, 28 Aug 2013 15:12:43 +0000 (08:12 -0700)]
audio media_type now have their own config_spec.ini

11 years agovideo media_type now have their own config_spec.ini
Rodney Ewing [Wed, 28 Aug 2013 15:10:47 +0000 (08:10 -0700)]
video media_type now have their own config_spec.ini

11 years agoimage media_type now have their own config_spec.ini
Rodney Ewing [Wed, 28 Aug 2013 14:56:44 +0000 (07:56 -0700)]
image media_type now have their own config_spec.ini

11 years agoExplicitly require a newer celery
Christopher Allan Webber [Thu, 29 Aug 2013 14:36:34 +0000 (09:36 -0500)]
Explicitly require a newer celery

11 years agoFix failing to build docs
Christopher Allan Webber [Wed, 28 Aug 2013 16:11:41 +0000 (11:11 -0500)]
Fix failing to build docs

11 years agodouble colon here was killing the build
Christopher Allan Webber [Wed, 28 Aug 2013 16:06:07 +0000 (11:06 -0500)]
double colon here was killing the build

11 years agoShould fix Beuc's bug with video thumbnail width... I think!
Christopher Allan Webber [Wed, 28 Aug 2013 14:15:16 +0000 (09:15 -0500)]
Should fix Beuc's bug with video thumbnail width... I think!

11 years ago0.5.0 release notes
Rodney Ewing [Tue, 27 Aug 2013 21:24:24 +0000 (14:24 -0700)]
0.5.0 release notes

11 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Mon, 26 Aug 2013 22:39:53 +0000 (17:39 -0500)]
Committing extracted and compiled translations

11 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 26 Aug 2013 22:38:50 +0000 (17:38 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

11 years agoFixing another typo, thanks to Laura Arjona (again!)
Christopher Allan Webber [Mon, 26 Aug 2013 22:35:54 +0000 (17:35 -0500)]
Fixing another typo, thanks to Laura Arjona (again!)

11 years agoFixing typo. Thanks larjona!
Christopher Allan Webber [Mon, 26 Aug 2013 22:28:51 +0000 (17:28 -0500)]
Fixing typo.  Thanks larjona!

11 years agoSwitch docs back over to using old virtualenv setup while we resolve issue #755
Christopher Allan Webber [Mon, 26 Aug 2013 20:50:47 +0000 (15:50 -0500)]
Switch docs back over to using old virtualenv setup while we resolve issue #755

11 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Mon, 26 Aug 2013 19:19:44 +0000 (14:19 -0500)]
Committing extracted and compiled translations

11 years agoCommitting present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 26 Aug 2013 19:18:04 +0000 (14:18 -0500)]
Committing present MediaGoblin translations before pushing extracted messages

11 years agotransifex.net->transifex.com
Christopher Allan Webber [Mon, 26 Aug 2013 19:17:34 +0000 (14:17 -0500)]
transifex.net->transifex.com

11 years agouse media.get_uploader and fix typo
Rodney Ewing [Mon, 1 Jul 2013 03:51:23 +0000 (20:51 -0700)]
use media.get_uploader and fix typo

11 years agojavascript limit validation
Rodney Ewing [Thu, 27 Jun 2013 18:18:31 +0000 (11:18 -0700)]
javascript limit validation

11 years agofix after rebase
Rodney Ewing [Thu, 27 Jun 2013 17:29:24 +0000 (10:29 -0700)]
fix after rebase

11 years agoduplicate
Rodney Ewing [Fri, 14 Jun 2013 01:34:42 +0000 (18:34 -0700)]
duplicate

11 years agocopying.txt
Rodney Ewing [Fri, 14 Jun 2013 01:28:38 +0000 (18:28 -0700)]
copying.txt

11 years agoadded tests
Rodney Ewing [Fri, 14 Jun 2013 00:52:13 +0000 (17:52 -0700)]
added tests

11 years agofixed tests and defaults
Rodney Ewing [Fri, 14 Jun 2013 00:17:33 +0000 (17:17 -0700)]
fixed tests and defaults

11 years agomax file size
Rodney Ewing [Thu, 13 Jun 2013 23:37:42 +0000 (16:37 -0700)]
max file size

11 years agofixed tests
Rodney Ewing [Fri, 14 Jun 2013 01:10:38 +0000 (18:10 -0700)]
fixed tests

11 years agofixed tests and defaults
Rodney Ewing [Fri, 14 Jun 2013 00:17:33 +0000 (17:17 -0700)]
fixed tests and defaults

11 years agofixed tests and defaults
Rodney Ewing [Fri, 14 Jun 2013 00:17:33 +0000 (17:17 -0700)]
fixed tests and defaults

11 years agomade no upload limit the default
Rodney Ewing [Thu, 13 Jun 2013 23:41:13 +0000 (16:41 -0700)]
made no upload limit the default

11 years agotypos
Rodney Ewing [Wed, 12 Jun 2013 21:03:09 +0000 (14:03 -0700)]
typos

11 years agoadded tests
Rodney Ewing [Wed, 12 Jun 2013 20:56:43 +0000 (13:56 -0700)]
added tests

11 years agoadded user upload limits
Rodney Ewing [Wed, 12 Jun 2013 19:02:11 +0000 (12:02 -0700)]
added user upload limits

11 years agoRemoving unnecessary "setup_plugin()" calls, as pointed out by Velmont.
Christopher Allan Webber [Sun, 25 Aug 2013 18:59:34 +0000 (13:59 -0500)]
Removing unnecessary "setup_plugin()" calls, as pointed out by Velmont.

11 years agoMerge remote-tracking branch 'refs/remotes/rodney757/email'
Christopher Allan Webber [Sun, 25 Aug 2013 18:23:27 +0000 (13:23 -0500)]
Merge remote-tracking branch 'refs/remotes/rodney757/email'

11 years agoNot sure why there wasn't a .commit() at the end of add_new_notification_tables()
Christopher Allan Webber [Thu, 22 Aug 2013 21:04:19 +0000 (16:04 -0500)]
Not sure why there wasn't a .commit() at the end of add_new_notification_tables()

... but it seems like there should be and it wouldn't hurt.

This commit sponsored by Julio Claudio Matus Ramirez.  Thank you!

11 years agoskip ascii thumb resizing if necessary
Rodney Ewing [Wed, 21 Aug 2013 23:03:34 +0000 (16:03 -0700)]
skip ascii thumb resizing if necessary

11 years agoskip image resizing if possible
Rodney Ewing [Wed, 21 Aug 2013 21:37:44 +0000 (14:37 -0700)]
skip image resizing if possible

11 years agoget and set metadata for a MediaFile
Rodney Ewing [Wed, 21 Aug 2013 21:34:11 +0000 (14:34 -0700)]
get and set metadata for a MediaFile

11 years agoMerge remote-tracking branch 'refs/remotes/rodney757/notifications'
Christopher Allan Webber [Wed, 21 Aug 2013 21:00:48 +0000 (16:00 -0500)]
Merge remote-tracking branch 'refs/remotes/rodney757/notifications'

11 years agoonly use the width for video thumbnails to keep the correct scaling
Rodney Ewing [Wed, 21 Aug 2013 19:38:12 +0000 (12:38 -0700)]
only use the width for video thumbnails to keep the correct scaling

11 years agoFixing migration name. webm not wemb :)
Christopher Allan Webber [Wed, 21 Aug 2013 19:19:11 +0000 (14:19 -0500)]
Fixing migration name.  webm not wemb :)

11 years agoMerge remote-tracking branch 'refs/remotes/rodney757/reprocessing'
Christopher Allan Webber [Wed, 21 Aug 2013 17:39:31 +0000 (12:39 -0500)]
Merge remote-tracking branch 'refs/remotes/rodney757/reprocessing'

Conflicts:
mediagoblin/processing/task.py
mediagoblin/submit/lib.py

11 years agorename webm_640 to webm_video since it might be a different resolution
Rodney Ewing [Tue, 20 Aug 2013 17:29:38 +0000 (10:29 -0700)]
rename webm_640 to webm_video since it might be a different resolution

11 years agomove links to the bottom of the page until we have a tabbed UI
Rodney Ewing [Fri, 12 Jul 2013 20:07:36 +0000 (13:07 -0700)]
move links to the bottom of the page until we have a tabbed UI

11 years agofix tests to use new change_email view
Rodney Ewing [Fri, 12 Jul 2013 19:34:35 +0000 (12:34 -0700)]
fix tests to use new change_email view

11 years agocheck for form.password in the off chance that a user is logged in and the server...
Rodney Ewing [Fri, 12 Jul 2013 19:27:41 +0000 (12:27 -0700)]
check for form.password in the off chance that a user is logged in and the server switches the authentication method from basic_auth to openid.

11 years agomaybe have change password and email on same page
Rodney Ewing [Thu, 11 Jul 2013 23:16:41 +0000 (16:16 -0700)]
maybe have change password and email on same page

11 years agorequest object no longer contains notification functions
Rodney Ewing [Tue, 20 Aug 2013 15:25:26 +0000 (08:25 -0700)]
request object no longer contains notification functions

11 years agoadd user prefrence for insite notifications
Rodney Ewing [Thu, 8 Aug 2013 22:07:07 +0000 (15:07 -0700)]
add user prefrence for insite notifications

11 years agouse urlgen and store it in a variable
Rodney Ewing [Thu, 8 Aug 2013 18:23:16 +0000 (11:23 -0700)]
use urlgen and store it in a variable

11 years agoadded test for mark all comment notifications seen
Rodney Ewing [Wed, 7 Aug 2013 22:21:08 +0000 (15:21 -0700)]
added test for mark all comment notifications seen

11 years agoPep 8
Rodney Ewing [Wed, 7 Aug 2013 19:50:59 +0000 (12:50 -0700)]
Pep 8

11 years agoadd the ability to mark all notifications read.
Rodney Ewing [Wed, 7 Aug 2013 19:44:43 +0000 (12:44 -0700)]
add the ability to mark all notifications read.

11 years agoOops, this accidently slipped in there
Rodney Ewing [Tue, 20 Aug 2013 14:52:12 +0000 (07:52 -0700)]
Oops, this accidently slipped in there

Revert "This patch checks for libs instead of programs in configure.ac for sqlite3 and postgesql."

This reverts commit 26da3271f6e6a880c0418998d5a4e5e71081e1f7.

11 years agouse href='javascript:;' instead of href='#notifications', etc
Rodney Ewing [Tue, 20 Aug 2013 14:18:48 +0000 (07:18 -0700)]
use href='javascript:;' instead of href='#notifications', etc

11 years agoThis patch checks for libs instead of programs in configure.ac for sqlite3 and postgesql.
Rodney Ewing [Tue, 20 Aug 2013 14:03:55 +0000 (07:03 -0700)]
This patch checks for libs instead of programs in configure.ac for sqlite3 and postgesql.

Patch submitted by amirouche

11 years ago- need self.metadata with BaseProcessingFail
Rodney Ewing [Mon, 19 Aug 2013 21:57:00 +0000 (14:57 -0700)]
- need self.metadata with BaseProcessingFail
- pass feed_url into ProcessMedia run()

11 years ago -update to latest master
Rodney Ewing [Mon, 19 Aug 2013 19:58:00 +0000 (12:58 -0700)]
 -update to latest master
- have mg generate task_id

remove

11 years agoRemove specific celery version requirement
Sebastian Spaeth [Thu, 20 Dec 2012 13:09:02 +0000 (14:09 +0100)]
Remove specific celery version requirement

Any celery above 2.5 should work just fine.

11 years agoSwitch deprecated BROKER_HOST to new BROKER_URL
Sebastian Spaeth [Thu, 20 Dec 2012 13:03:16 +0000 (14:03 +0100)]
Switch deprecated BROKER_HOST to new BROKER_URL

People will need to switch that setting in their mediagoblin.ini too.
Make sure we RELEASE NOTE this.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
11 years agoTweak Celery Task
Sebastian Spaeth [Thu, 20 Dec 2012 12:42:37 +0000 (13:42 +0100)]
Tweak Celery Task

- Make sure Exceptions are pickleable (not sure if this was not the
  case but this is the pattern as documented in the celery docs.
- Don't create a task_id in the GMG code, but save the one
  implicitely created by celery.
- Don't create a task-id directory per upload. Just store queued uploads
  in a single directory (this is the most controversial change and might
  need discussion!!!)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
11 years ago-skip persona test is requests is not installed
Rodney Ewing [Mon, 19 Aug 2013 21:33:07 +0000 (14:33 -0700)]
-skip persona test is requests is not installed
- should use request.urlgen for location

11 years agomedia_confirm_delete: redirect to next, then prev, then user home
Alon Levy [Fri, 16 Aug 2013 08:23:22 +0000 (11:23 +0300)]
media_confirm_delete: redirect to next, then prev, then user home

Instead of redirecting directly to user's home. Makes the flow for mass or just
a few deletions easier. For really large deletions it would still make sense to
have a dedicated view, but this is still way better then losing context by
jumping back to the home view.

Signed-off-by: Alon Levy <alon@pobox.com>
11 years agomake sure size is a tuple
Rodney Ewing [Fri, 16 Aug 2013 22:08:21 +0000 (15:08 -0700)]
make sure size is a tuple

11 years agoKeep the best quality file if there's no original
Rodney Ewing [Thu, 15 Aug 2013 19:40:19 +0000 (12:40 -0700)]
Keep the best quality file if there's no original

11 years agofor some reason, the minimum thumbnail size for videos is 100 x 100
Rodney Ewing [Thu, 15 Aug 2013 16:29:11 +0000 (09:29 -0700)]
for some reason, the minimum thumbnail size for videos is 100 x 100

11 years agorefactor get_orig_filename to return an acceptable filename to the processor.
Rodney Ewing [Thu, 15 Aug 2013 15:54:09 +0000 (08:54 -0700)]
refactor get_orig_filename to return an acceptable filename to the processor.

If there is an original video file and we skip transcoding, delete the webm_640 file

11 years agomake medium dimensions a tuple
Rodney Ewing [Thu, 15 Aug 2013 15:11:29 +0000 (08:11 -0700)]
make medium dimensions a tuple

11 years agocheck medium_size arg in skip_transcoding, not config
Rodney Ewing [Thu, 15 Aug 2013 15:10:00 +0000 (08:10 -0700)]
check medium_size arg in skip_transcoding, not config

11 years agoonly try and delete queue file if it exists
Rodney Ewing [Wed, 14 Aug 2013 23:39:01 +0000 (16:39 -0700)]
only try and delete queue file if it exists

11 years agouse thumb_size
Rodney Ewing [Wed, 14 Aug 2013 23:30:52 +0000 (16:30 -0700)]
use thumb_size