Christopher Allan Webber [Wed, 1 Jan 2014 22:42:04 +0000 (16:42 -0600)]
sqlalchemy-migrate 0.8.X doesn't get along with sqlalchemy 0.9.0
Alon Levy [Fri, 27 Dec 2013 01:00:02 +0000 (19:00 -0600)]
media_types/sniff_media: reset file back to 0 offset for actual copy. Required when not using celery
Alon Levy [Fri, 27 Dec 2013 00:35:27 +0000 (18:35 -0600)]
pdf/processing: fix non pdf regression, copy correct file
Alon Levy [Fri, 27 Dec 2013 00:34:40 +0000 (18:34 -0600)]
pdf/processing: avoid possible dead goblin if pdfinfo failed
Sebastian Spaeth [Thu, 12 Dec 2013 17:56:36 +0000 (18:56 +0100)]
Rename a few files and minor cleanup
Within the blog plugin, rename a few files and clean up a few things
that can be cleaned up.
Sebastian Spaeth [Thu, 12 Dec 2013 17:25:29 +0000 (18:25 +0100)]
Remove "Create blog" from admin top bar
This is such a rare event that we do not need a "Create blog" button
in the top navbar. It suffices to have the link on the "blog dashboard"
page. Also, this saves us a hook to run on all pages that we render, basically.
Sebastian Spaeth [Thu, 12 Dec 2013 17:12:13 +0000 (18:12 +0100)]
Add the profile_hook in case of user with or without media
the hook was only run in case the user had no media uploaded yet.
This does not make any sense, so we run the hook in all cases now.
The designers might have to think about the placement of the stuff
being inserted at some point...
Sebastian Spaeth [Thu, 12 Dec 2013 17:03:47 +0000 (18:03 +0100)]
Force evaluation of Query() through count()
Otherwise "blogs" is a query that evaluates to true, even if the user
has no blogs. This fixes the bug that the blog link is shown on a user's
profile page even if she has no blogs at all.
Sebastian Spaeth [Thu, 12 Dec 2013 16:50:34 +0000 (17:50 +0100)]
Fix "middot" when blog plugin is disabled
The blog plugin accidentally introduced two "middots in the admin bar,
which were visible when the blog plugin was disabled. Fixing this by
moving the second dot in the blog template.
Sebastian Spaeth [Thu, 12 Dec 2013 16:38:18 +0000 (17:38 +0100)]
Undo changes since gsoc in media_confirm_delete
Since the Gsoc the use of decorators has simplified this function.
Reintroduce the same code as before Adidits blog branch made these
changes.
Sebastian Spaeth [Thu, 12 Dec 2013 16:29:48 +0000 (17:29 +0100)]
Use MEDIA_TYPE, not hardcoded variable of same value
Sebastian Spaeth [Thu, 12 Dec 2013 16:13:48 +0000 (17:13 +0100)]
Convert blog plugin to use new privileges system
there is no user.is_admin anymore. Adapt to use the new privileges
system.
Sebastian Spaeth [Thu, 12 Dec 2013 15:51:18 +0000 (16:51 +0100)]
Revert "Replace hardcoded URL by variable for the same."
This reverts commit
e0e02e98bcd4664b1c0a57e422ea4c0e5b6ba059.
There is absolutely no need for this.
Sebastian Spaeth [Thu, 12 Dec 2013 15:38:35 +0000 (16:38 +0100)]
Finalize merging of the blog branch by Aditi (Gsoc 2013)
Comment out the blog plugin by default. Remove the blog README.md in
the root directory.
Sebastian Spaeth [Thu, 12 Dec 2013 15:24:34 +0000 (16:24 +0100)]
Merge branch 'master' into upstream-master
Conflicts:
mediagoblin/templates/mediagoblin/base.html
mediagoblin/templates/mediagoblin/user_pages/user.html
Christopher Allan Webber [Wed, 11 Dec 2013 18:29:47 +0000 (12:29 -0600)]
Fixing Josie's name
tilly-Q [Sun, 8 Dec 2013 17:40:47 +0000 (12:40 -0500)]
Fixed a small typo that was causing the mediagoblin.moderation.users_detail
page to crash.
Christopher Allan Webber [Tue, 3 Dec 2013 19:24:20 +0000 (13:24 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Tue, 3 Dec 2013 19:23:25 +0000 (13:23 -0600)]
Committing present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Tue, 3 Dec 2013 19:22:47 +0000 (13:22 -0600)]
Make "Username's privileges" translatable
This commit sponsored by Aaron Borden. Thank you!
Christopher Allan Webber [Tue, 3 Dec 2013 19:20:38 +0000 (13:20 -0600)]
v0.6.2.dev
Christopher Allan Webber [Tue, 3 Dec 2013 18:19:48 +0000 (12:19 -0600)]
Now on v0.6.1, officially!
Christopher Allan Webber [Tue, 3 Dec 2013 18:17:02 +0000 (12:17 -0600)]
Release notes for v0.6.1, also instructions to check out a specific tag
The instructions to check out a specific tag comes at the recommendation
of Mike Linksvayer.
It's only appropriate then that this sponsored commit go to Mike
Linksvayer then. Thanks, Mike! :)
Christopher Allan Webber [Tue, 3 Dec 2013 17:51:46 +0000 (11:51 -0600)]
Turning off the Terms of Service feature by default
This commit sponsored by Jessica Coates. Thank you!
Christopher Allan Webber [Tue, 3 Dec 2013 17:32:43 +0000 (11:32 -0600)]
We're in the 0.6.1 dev zone! But we shouldn't stay here long ;)
Christopher Allan Webber [Tue, 3 Dec 2013 17:31:09 +0000 (11:31 -0600)]
Removing the assertion that this site is run by StatusNet (major oops) and adding <p> tags
The StatusNet one was a pretty goofy mistake. But at least now it's fixed! :)
This commit sponsored by Jon Buckley. Thank you!
Christopher Allan Webber [Mon, 2 Dec 2013 19:55:07 +0000 (13:55 -0600)]
At v0.6.0! Woohoo!
Christopher Allan Webber [Mon, 2 Dec 2013 19:54:50 +0000 (13:54 -0600)]
Adding Asheesh Laroia to AUTHORS!
Christopher Allan Webber [Mon, 2 Dec 2013 19:38:45 +0000 (13:38 -0600)]
Previous ordering seemed weird.
Christopher Allan Webber [Mon, 2 Dec 2013 19:36:55 +0000 (13:36 -0600)]
Including python-dateutil in our dependency list
Asheesh Laroia [Mon, 2 Dec 2013 17:36:30 +0000 (12:36 -0500)]
In the case of setuptools/sqlalchemy conflict, explain the issue
This commit tri-licensed under:
CC0 1.0, AGPLv3 or later (at your option), and Apache License 2.0
Christopher Allan Webber [Mon, 2 Dec 2013 15:29:05 +0000 (09:29 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Mon, 2 Dec 2013 15:28:05 +0000 (09:28 -0600)]
Committing present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 2 Dec 2013 15:06:36 +0000 (09:06 -0600)]
Also adding contributor "Josie". Not sure of full name!
Alon Levy [Sun, 1 Dec 2013 16:22:19 +0000 (10:22 -0600)]
mediagoblin/templates/mediagoblin/user_pages/collection.html: fix typo
Christopher Allan Webber [Sat, 30 Nov 2013 20:59:32 +0000 (14:59 -0600)]
Adding Lenna Peterson to AUTHORS
Christopher Allan Webber [Sat, 30 Nov 2013 20:46:06 +0000 (14:46 -0600)]
LDAP readme link
Christopher Allan Webber [Sat, 30 Nov 2013 20:45:53 +0000 (14:45 -0600)]
0.6.0 release notes
Christopher Allan Webber [Sat, 30 Nov 2013 20:25:29 +0000 (14:25 -0600)]
Provide an easy option to turn off the terms of service
Christopher Allan Webber [Sat, 30 Nov 2013 02:27:30 +0000 (20:27 -0600)]
Adding Devan to AUTHORS
Christopher Allan Webber [Tue, 26 Nov 2013 20:00:09 +0000 (14:00 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Tue, 26 Nov 2013 19:58:49 +0000 (13:58 -0600)]
Committing present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Tue, 26 Nov 2013 19:52:08 +0000 (13:52 -0600)]
No need to translate a variable name alone
Christopher Allan Webber [Mon, 25 Nov 2013 15:38:43 +0000 (09:38 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Mon, 25 Nov 2013 15:30:59 +0000 (09:30 -0600)]
Removing the "logging is debug by default in dbupdate"
This commit sponsored by David Neudorfer. Thank you!
tilly-Q [Sun, 24 Nov 2013 18:16:27 +0000 (13:16 -0500)]
Merge branch 'fix-foundations-warn'
tilly-Q [Thu, 21 Nov 2013 20:20:43 +0000 (15:20 -0500)]
This is a tiny change. I took out the warnings that were displayed when a plugin
didn't have a FOUNDATIONS dictionary because people found them annoying.
tilly-Q [Tue, 19 Nov 2013 20:14:14 +0000 (15:14 -0500)]
I went through the code and just removed some blank spaces. I also looked it
thru and it looked great.
Josie [Tue, 19 Nov 2013 01:05:15 +0000 (20:05 -0500)]
Addressed ticket number 630 by removing MediaEntry.collected
Christopher Allan Webber [Thu, 14 Nov 2013 20:17:18 +0000 (14:17 -0600)]
Documenting the command-line uploading tooling.
This commit sponsored by Libby Reinish. Thank you! :)
Christopher Allan Webber [Thu, 14 Nov 2013 20:04:32 +0000 (14:04 -0600)]
Making the API make use of the new submit tooling.
This commit sponsored by Zakkai Kauffman-Rogoff. Thanks! :)
Christopher Allan Webber [Thu, 14 Nov 2013 19:53:07 +0000 (13:53 -0600)]
Pass in request.urlgen to submit_media so it can update the feed_url stuff
This commit sponsored by Jesus Alberto Rodriguez Chavez. Thank you!
Christopher Allan Webber [Thu, 14 Nov 2013 19:47:18 +0000 (13:47 -0600)]
Also switching piwigo integration of submit_media over to kwargs.
This commit sponsored by Roberto Capone. Thanks!
Christopher Allan Webber [Thu, 14 Nov 2013 19:41:09 +0000 (13:41 -0600)]
Switching use of submit_media to be keyword arguments in views.py.
This should make things a bit easier for me to fiddle with argument
ordering.
This commit sponsored by Maira Sutton. Thanks!
Christopher Allan Webber [Thu, 14 Nov 2013 17:09:18 +0000 (11:09 -0600)]
Switching the addmedia tool over to using the get_upload_file_limits tool also.
This commit sponsored by Damien Radtke. Thanks!
Christopher Allan Webber [Thu, 14 Nov 2013 17:07:12 +0000 (11:07 -0600)]
Porting the piwigo submit system over to using the new submit utility.
This also adds upload limit checks to the piwigo plugin!
This commit sponsored by Sam Black. Thank you!
Christopher Allan Webber [Thu, 14 Nov 2013 17:06:10 +0000 (11:06 -0600)]
Breaking out get_upload_file_limits into its own utility.
This commit sponsored by Mikael Nordfeldth. Thank you!
Christopher Allan Webber [Thu, 14 Nov 2013 16:25:31 +0000 (10:25 -0600)]
--license doesn't use the user default so correct that. It does use a URL though.
This commit sponsored by Benjamin Williams. Thank you!
Christopher Allan Webber [Thu, 14 Nov 2013 16:01:41 +0000 (10:01 -0600)]
A couple more adjustments for unicode'ification of some arguments.
This commit sponsored by Bruno Girin. Thank you!
Christopher Allan Webber [Thu, 14 Nov 2013 15:51:29 +0000 (09:51 -0600)]
Hacks to get past unicode barriers
The methods we're using here aren't ideal but they mirror those used
in the submit views...
This commit sponsored by Alexander Couper. Thanks!
Christopher Allan Webber [Thu, 14 Nov 2013 01:39:18 +0000 (19:39 -0600)]
Generic'ifying the submit code to not rely on the werkzeug FileStorage datastructure
Important, because that only makes sense for wsgi! :)
This commit sponsored by Geoff Lehr. Thank you!
Christopher Allan Webber [Wed, 13 Nov 2013 23:25:33 +0000 (17:25 -0600)]
Docstring for submit_media()
This commit sponsored by Benjamin Prager. Thank you!
Christopher Allan Webber [Wed, 13 Nov 2013 19:59:16 +0000 (13:59 -0600)]
Start of addmedia command. Kinda close to working ;)
Christopher Allan Webber [Wed, 13 Nov 2013 17:53:58 +0000 (11:53 -0600)]
Weird indentation issue, fixing!
This commit sponsored by Iain Nicol. Thank you!
Christopher Allan Webber [Wed, 13 Nov 2013 16:22:46 +0000 (10:22 -0600)]
Refactoring submission utility to make it more generic! Reusable!
This commit sponsored by Joar Wandborg. Joar, thanks for the many
things you've done for MediaGoblin!
Christopher Allan Webber [Tue, 12 Nov 2013 20:03:17 +0000 (14:03 -0600)]
Starting to split out a submit_media utility
Christopher Allan Webber [Sun, 10 Nov 2013 23:35:56 +0000 (17:35 -0600)]
Oh god how did I leave a pdb.set_trace() in here
Well, cleaning that up :)
This commit sponsored by Enrico Zini. Thanks!
Christopher Allan Webber [Sun, 10 Nov 2013 18:38:49 +0000 (12:38 -0600)]
Apparently kombu is fine again
Christopher Allan Webber [Fri, 8 Nov 2013 17:22:48 +0000 (11:22 -0600)]
Fixing the ascii art media type. There was an ordering issue in the code.
Moved set_file_metadata till after the thumb file was created!
This commit sponsored by Samat Jain. Thank you!
Christopher Allan Webber [Tue, 5 Nov 2013 20:45:34 +0000 (14:45 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Tue, 5 Nov 2013 20:43:01 +0000 (14:43 -0600)]
Removing strings that should not have been translated
Christopher Allan Webber [Tue, 5 Nov 2013 19:41:13 +0000 (13:41 -0600)]
Just made it so the "okay to wipe your database" echo doesn't add a newline
Christopher Allan Webber [Tue, 5 Nov 2013 19:29:40 +0000 (13:29 -0600)]
Merge remote-tracking branch 'refs/remotes/tilly-q/dev_tools_environment_update' into mergetest
Christopher Allan Webber [Mon, 4 Nov 2013 21:34:21 +0000 (15:34 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Mon, 4 Nov 2013 21:33:28 +0000 (15:33 -0600)]
Committing present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 4 Nov 2013 21:05:40 +0000 (15:05 -0600)]
accoutn -> account. Typo fix caught by Laura Arjona! Thanks!
This commit sponsored by Nick Adams! Thank you!
Christopher Allan Webber [Mon, 4 Nov 2013 19:24:16 +0000 (13:24 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Mon, 4 Nov 2013 19:23:17 +0000 (13:23 -0600)]
Committing present MediaGoblin translations before pushing extracted messages
Christopher Allan Webber [Mon, 4 Nov 2013 02:22:57 +0000 (20:22 -0600)]
Apparently we need a version of Kombu less than 3.0 for now.
This commit sponsored by Andrés Muñiz Piniella. Thank you!
Christopher Allan Webber [Fri, 1 Nov 2013 15:08:12 +0000 (10:08 -0500)]
Removing duplicate views from views.py
tilly-Q [Thu, 31 Oct 2013 21:10:03 +0000 (17:10 -0400)]
This commit made it so that the script now extracts two different archive. One
for the chosen database, and one for the media to go in the UserDev directory.
This will make the mg-dev-example-environments branch more efficient.
tilly-Q [Thu, 31 Oct 2013 20:19:49 +0000 (16:19 -0400)]
This was a very minor update. In the mg-dev-example-environment branch I changed
the naming system for the databases, and in this branch I just changed the
default name to the new default. The new naming system is based on migrations
not milestones.
Christopher Allan Webber [Fri, 25 Oct 2013 03:42:40 +0000 (22:42 -0500)]
Removing duplicate terms of service link in the header.
My bad! Since I moved it to the footer ;)
This commit sponsored by Sebastian Tennant. Thanks!
Devan Goodwin [Sun, 20 Oct 2013 20:06:56 +0000 (17:06 -0300)]
Fix error in collection templates.
Removed unicode strings from some recently added has_privilege calls.
Appears this is not valid syntax as it would be in the python code
itself. Causes an error showing the template:
Error - <class 'jinja2.exceptions.TemplateSyntaxError?'>: expected token
',', got 'string'
Christopher Allan Webber [Fri, 11 Oct 2013 16:48:22 +0000 (11:48 -0500)]
Make showing the Terms of Service a user option, and move it to the footer.
This commit sponsored by Gjalt-Jorn Peters. Thank you!
Christopher Allan Webber [Thu, 10 Oct 2013 19:22:38 +0000 (14:22 -0500)]
Renaming replace_table to replace_table_hack and documenting why it's a hack
We'd still prefer people use other solutions when possible!
This commit sponsored by Michał Masłowski. Thank you!
Christopher Allan Webber [Thu, 10 Oct 2013 19:14:32 +0000 (14:14 -0500)]
Actually rename the table back, or else we just lose the old table! ;)
Christopher Allan Webber [Thu, 10 Oct 2013 19:06:07 +0000 (14:06 -0500)]
Merge remote-tracking branch 'tilly-q/merge-tillyq-moderation' into merge-tillyq-moderation
Christopher Allan Webber [Thu, 10 Oct 2013 16:28:59 +0000 (11:28 -0500)]
Fix the create_moderation_tables migration to work with postgresql
Was comparing/assigning to integers... but that's not how postgres rolls!
tilly-Q [Wed, 9 Oct 2013 21:11:41 +0000 (17:11 -0400)]
I made some changes in this commit to help out with other people trying to work
around the SQLite problems with Alter table. I added a new function to
migration_tools (replace_table) which does all the work I did in my migration of
core__users, but is now usable for other migrations.
Christopher Allan Webber [Wed, 9 Oct 2013 19:17:13 +0000 (14:17 -0500)]
"Intellectual property" being a problematic term, replacing it in this document.
Christopher Allan Webber [Wed, 9 Oct 2013 18:32:02 +0000 (13:32 -0500)]
Fixing migration to account for new fields added to User model
Uploaded and upload_limit were added after this migration was first written.
Tricky!
Christopher Allan Webber [Wed, 9 Oct 2013 15:37:30 +0000 (10:37 -0500)]
Improving the whitespace around the {% trans %} adjustments from tilly-q
Christopher Allan Webber [Wed, 9 Oct 2013 15:30:19 +0000 (10:30 -0500)]
Merge remote-tracking branch 'tilly-q/OPW-Moderation-Update' into merge-tillyq-moderation
tilly-Q [Tue, 8 Oct 2013 22:42:59 +0000 (18:42 -0400)]
This was a quick update to clean up some of my templates and fix the formatting
in some of my other bits of code. In migrations.py, I clarified the comments &
fixed the code to stay within 80 columns. In each of the templates, I fixed the
spacing as well to stay within 80 columns and I also corrected my improper uses
of the trans tag to ensure that these pages can be translated correctly.
Christopher Allan Webber [Tue, 8 Oct 2013 20:30:12 +0000 (15:30 -0500)]
Fixing the test_change_password test. Needed a privilege!
I'm pretty sure this should work correctly now.
This commit sponsored by Michał Masłowski. Thanks!
Christopher Allan Webber [Tue, 8 Oct 2013 18:58:02 +0000 (13:58 -0500)]
Fixing up the email verified stuff to reflect the email_verified stuff!
This commit sponsored by Derek Holdaway. Thanks!
Christopher Allan Webber [Tue, 8 Oct 2013 16:36:18 +0000 (11:36 -0500)]
Fixing issues in the tests caused by the OPW-Moderation-Update merge
Not that branch's fault! Just both that branch and master had both done
a lot of changes to overlapping code.
self.test_user switched to self.our_user(). Updating everywhere.
This commit sponsored by Sam Kleinman. Thank you! :)
Christopher Allan Webber [Tue, 8 Oct 2013 15:33:00 +0000 (10:33 -0500)]
Adding a comment explaining what vR1 means.
This commit sponsored by Kim Jin-hoon. Thank you!
Christopher Allan Webber [Tue, 8 Oct 2013 15:30:55 +0000 (10:30 -0500)]
Just fixing the order of migrations and a bit of whitespace.
This commit sponsored by Glenn McGrath. Thank you!