Christopher Allan Webber [Sun, 20 Dec 2015 16:58:43 +0000 (10:58 -0600)]
Fixing typo (thanks breton)
Christopher Allan Webber [Sun, 20 Dec 2015 15:53:25 +0000 (09:53 -0600)]
0.8.1 release notes
Jessica Tallon [Sun, 20 Dec 2015 01:11:31 +0000 (01:11 +0000)]
Fix security issue in OAuth verifier validation
ayleph [Fri, 18 Dec 2015 02:06:42 +0000 (21:06 -0500)]
Fix Issue 5375 Deprecated function in video thumb
This patch fixes issue 5375 by replacing a function call that has
been removed in recent versions of PIL with the recommended
replacement.
(cherry picked from commit
564a48e018bcd786aa32b232cb7216be3ef3fb5e)
Berker Peksag [Sat, 1 Aug 2015 02:05:07 +0000 (05:05 +0300)]
Fix urlparse import in tools/routing.py
urlparse is already a function, so we don't need to specify
a module name.
Refs #5339
Berker Peksag [Wed, 22 Jul 2015 08:26:08 +0000 (11:26 +0300)]
Berker Peksag [Wed, 22 Jul 2015 08:24:12 +0000 (11:24 +0300)]
Fix typos reported in #1102
Berker Peksag [Wed, 22 Jul 2015 07:18:00 +0000 (10:18 +0300)]
Pin mock 1.0.1 in Python 2 for now.
mock recently dropped Python 2.6 support and then
re-introduced it in its latest release (however,
it's a bit unstable right now).
I think at this point, we can be more cautious
and just use mock==1.0.1.
Berker Peksag [Thu, 25 Jun 2015 19:24:03 +0000 (22:24 +0300)]
Change all unicode() calls with six.text_type().
Fixes #5329.
Berker Peksag [Thu, 25 Jun 2015 13:03:30 +0000 (16:03 +0300)]
Fix typo.
Berker Peksag [Thu, 25 Jun 2015 12:57:47 +0000 (15:57 +0300)]
Fix more print statements. Refs #5331
Sebastian Spaeth [Thu, 25 Jun 2015 10:38:58 +0000 (12:38 +0200)]
Fix print statements to be python3 compatible. Refs #5331
Berker Peksag [Fri, 5 Jun 2015 16:45:00 +0000 (19:45 +0300)]
Import urlparse from six.moves to work on both Python 2 and 3.
Christopher Allan Webber [Thu, 4 Jun 2015 13:30:54 +0000 (08:30 -0500)]
v0.8.0! Let's get this party started!
Christopher Allan Webber [Thu, 4 Jun 2015 05:18:47 +0000 (00:18 -0500)]
More things to include in MANIFEST.in
Christopher Allan Webber [Thu, 4 Jun 2015 03:15:11 +0000 (22:15 -0500)]
Note that users have to install node.js :\
Christopher Allan Webber [Thu, 4 Jun 2015 02:32:44 +0000 (21:32 -0500)]
More adjustments to manifest.in
- include Makefile.in
- include configure scripts
- graft on devtools
Christopher Allan Webber [Thu, 4 Jun 2015 02:26:42 +0000 (21:26 -0500)]
We now store mediagoblin.example.ini, not mediagoblin.ini
Christopher Allan Webber [Thu, 4 Jun 2015 02:15:44 +0000 (21:15 -0500)]
Committing extracted and compiled translations
Christopher Allan Webber [Wed, 3 Jun 2015 20:08:45 +0000 (15:08 -0500)]
Potentially require virtualenv as a requirement for "make dist"
Christopher Allan Webber [Wed, 3 Jun 2015 19:21:37 +0000 (14:21 -0500)]
"make check" should work, and "make dist" should use setup.py
Christopher Allan Webber [Wed, 3 Jun 2015 18:45:57 +0000 (13:45 -0500)]
Right, also don't build _version.py in configure.ac
Christopher Allan Webber [Wed, 3 Jun 2015 15:36:33 +0000 (10:36 -0500)]
readthedocs can't read the version using autotools, so back to _version.py specifying it
Christopher Allan Webber [Tue, 2 Jun 2015 15:56:30 +0000 (10:56 -0500)]
Comment on why we're not using `make dist`... yet
Christopher Allan Webber [Mon, 1 Jun 2015 19:06:43 +0000 (14:06 -0500)]
Fix link from Gitorious -> Savannah
Christopher Allan Webber [Sat, 30 May 2015 15:34:10 +0000 (10:34 -0500)]
Better phrasing: "Should I Keep Open Registration Enabled?"
Christopher Allan Webber [Sat, 30 May 2015 15:27:37 +0000 (10:27 -0500)]
"Should I enable registration?" section
Jim Campbell [Tue, 26 May 2015 05:40:24 +0000 (00:40 -0500)]
docs: Added handling of user_dev permissions
The user_dev directory gets created when users get established
and they start uploading media. However, the permissions aren't
correct on the directory as it gets created.
As a workaround, we create the directory at this stage, and then
set the proper permissions.
See this mailing list post for more information:
http://lists.mediagoblin.org/pipermail/devel/2015-May/001201.html
Christopher Allan Webber [Fri, 22 May 2015 19:16:45 +0000 (14:16 -0500)]
Use of deprecated frombytes when processing videos causes the task to fail
(Anonymous contribution, not by me)
When transcoding a video using a recent version of PIL transcoding a
video fails reproducible. The reason for this is an AttributeError:
'module' object has no attribute 'frombytes'gets raised, while a
thumbnails is being created. This is because frombytes alias was
deprecated in favor of fromstring.
Christopher Allan Webber [Fri, 22 May 2015 16:28:23 +0000 (11:28 -0500)]
Clarifying the "note these steps"
Christopher Allan Webber [Fri, 22 May 2015 16:15:00 +0000 (11:15 -0500)]
No need to run git submodule init/update, run by bootstrap.sh
Christopher Allan Webber [Fri, 22 May 2015 16:11:42 +0000 (11:11 -0500)]
Switch git remote url
Christopher Allan Webber [Fri, 22 May 2015 16:08:45 +0000 (11:08 -0500)]
Wrong version number. Stupid copy-pasta!
Christopher Allan Webber [Fri, 22 May 2015 15:53:43 +0000 (10:53 -0500)]
0.8.0 release notes
Theoretically correct... I need to verify that the steps work as
expected
Christopher Allan Webber [Fri, 22 May 2015 15:04:30 +0000 (10:04 -0500)]
Updating AUTHORS for 0.8.0
Jim Campbell [Tue, 19 May 2015 06:54:50 +0000 (01:54 -0500)]
docs: Set paster service to start before celery
For some reason, celery wouldn't start if I started it first.
Setting paster to start first. Celery starts just fine on initial run
after paster is running.
Jim Campbell [Tue, 19 May 2015 06:50:07 +0000 (01:50 -0500)]
docs: Updated permissions. Tweaked install details
Added nginx to installation packages. We say that our install uses
nginx, so users should skip nginx if they want to use apache. Also,
our group permissions depend on a web server being installed.
Changed install directory for mediagoblin acct to /var/lib/mediagoblin
It works better if we need to back up data.
Assigned mediagoblin user to the same group as the web server. This
is needed so that the server can access uploaded media.
Created mediagoblin group for non-web-server things such as logs.
Jim Campbell [Tue, 19 May 2015 02:19:42 +0000 (21:19 -0500)]
docs: Removed systemcl enable/start. Already issued.
Debian-based platforms start the postgres server by default after
installation. For RPM-based distros, we've already issued these
commands prior to configuring the postgres server.
Jim Campbell [Tue, 19 May 2015 02:12:37 +0000 (21:12 -0500)]
docs: Need to start postgres on rpm distros
Need to enable / start postgres database on rpm-based distros
before you create the postgres mediagoblin user and database.
If you don't start the database server, you can't create a
database user or database.
Jim Campbell [Fri, 15 May 2015 23:37:21 +0000 (18:37 -0500)]
docs: Formatting tweaks to production-deployments.rst
Corrected typos and fixed rst formatting issues.
Christopher Allan Webber [Thu, 14 May 2015 03:43:35 +0000 (22:43 -0500)]
Switch from "cp --no-clobber" to "cp -n" for bsd compatibility
Jim Campbell [Tue, 12 May 2015 03:38:06 +0000 (22:38 -0500)]
docs: Added systemd info. Reworked init script info.
Added tested systemd service files. Modified the structure of the
section about init scripts.
Jim Campbell [Tue, 12 May 2015 02:16:30 +0000 (21:16 -0500)]
docs: Clean up nginx instructions
Made it more clear what commands to use if you're on deb/rpm-based system.
Added a note that shows the user how to test their nginx configuration.
Jim Campbell [Tue, 12 May 2015 01:41:01 +0000 (20:41 -0500)]
docs: Added 'sudo' to cmd. Made 'exit' from postgres acct more clear.
Added a missing reference to 'sudo' in a command. Made the exit from
the postgres account more clear to reduce the chance for user error.
Jim Campbell [Tue, 12 May 2015 01:15:08 +0000 (20:15 -0500)]
docs: Removed chkconfig cmd. Made 'exit' more explicit.
The chkconfig command is only needed on CentOS 6, which isn't really
a supported multimedia platform. CentOS 7 and Fedora 21+
wouldn't require this command.
Also made the "exit" command (used after setting up the postgres
mediagoblin account and database) more explicit. This will help prevent
user errors for users who may skim through the documentation.
Jim Campbell [Mon, 11 May 2015 18:05:10 +0000 (13:05 -0500)]
docs: Copy paste.ini to paste_local.ini
Some scripts on the internet have referenced paste_local.ini, so
it is safer to have a copy on the filesystem by default, even if
the user doesn't need to change any of the values for a regular
setup.
Jim Campbell [Mon, 11 May 2015 17:48:24 +0000 (12:48 -0500)]
docs: Typo fix. Fixed repated reference to gstreamer1.0-libav
Jim Campbell [Mon, 11 May 2015 17:44:14 +0000 (12:44 -0500)]
docs: Updated gstreamer audio media type requirements to gst-1.0
Previous media type docs referenced gstreamer0.10, but we've updated
to gstreamer1.0.
Also, Debian ships libav instead of ffmpeg now. Updated docs
accordingly
Finally, simplified the install instructions to two commands instead
of four commands.
Christopher Allan Webber [Tue, 28 Apr 2015 19:14:44 +0000 (14:14 -0500)]
Note on what --without-virtualenv does
Christopher Allan Webber [Mon, 27 Apr 2015 22:26:59 +0000 (17:26 -0500)]
#5314 Prevent ZeroDivisionError in exif.py
Christopher Allan Webber [Sat, 25 Apr 2015 02:10:25 +0000 (21:10 -0500)]
Paste 2.0 breaking wsgi
Christopher Allan Webber [Thu, 23 Apr 2015 19:10:47 +0000 (14:10 -0500)]
TinyMCE plugin loading should NOT be here.
This might break the blog plugin, but it's kind of broken already :\
Boris Bobrov [Thu, 19 Mar 2015 23:43:16 +0000 (02:43 +0300)]
Move check that metadata exists earlier
Because of gstreamer-1.0 we need to migrate from old format of storing
metadata to new one. It seems that there are cases when original
metadata is empty for some reason.
The patch adds an earlier check that original metadata exists, skipping
everything is it doesn't.
Closes bug 5071
Christopher Allan Webber [Thu, 23 Apr 2015 16:36:55 +0000 (11:36 -0500)]
#5074: Added set -e to bootstrap.sh
This should make it so that if any of the commands in the script fail,
the whole script fails.
Boris Bobrov [Thu, 19 Mar 2015 23:25:10 +0000 (02:25 +0300)]
fixed 5068
ayleph [Wed, 11 Mar 2015 06:39:18 +0000 (23:39 -0700)]
Redirect which stderr to /dev/null
Jim Campbell [Sun, 19 Apr 2015 17:39:05 +0000 (12:39 -0500)]
docs: Require nodejs-legacy on Debian-based systems. Remove un-needed text.
Per this announcement [0], Debian is using 'nodejs-legacy' as a
compatability package for what they used to call 'node'.
- Fixes bug 5080 [1].
Remove note about warning that users would no longer see.
[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614907#108
[1] https://issues.mediagoblin.org/ticket/5080
Jim Campbell [Sun, 19 Apr 2015 17:26:11 +0000 (12:26 -0500)]
setup.py: Updated version requirement for 'requests'. Fixes 5313.
If we don't speficify a version for 'requests', Debian installs
v2.4.x, but there is an issue with urllib3 and pyopenssl in versions
prior to 2.6.0. This issue caused our installs to fail.
Updating our requirement to 2.6.0 or greater resolves this issue
and allows our installation processes to proceed normally.
`
Jim Campbell [Sun, 19 Apr 2015 17:01:10 +0000 (12:01 -0500)]
docs: Updated deployment docs to use sudo. Other various fixes.
- Use sudo instead of root user but give info on how to configure sudo.
- Changed docs to reference Jessie as the stable version of Debian
- Corrected the command to create the 'mediagoblin' system account
- Fixes https://issues.mediagoblin.org/ticket/5083
Christopher Allan Webber [Fri, 17 Apr 2015 22:09:06 +0000 (17:09 -0500)]
Merge branch 'stable'
Conflicts:
docs/source/siteadmin/deploying.rst
docs/source/siteadmin/relnotes.rst
Christopher Allan Webber [Fri, 17 Apr 2015 22:00:54 +0000 (17:00 -0500)]
Noting the possibility that users may need to update origin to Savannah
Boris Bobrov [Thu, 16 Apr 2015 17:14:39 +0000 (20:14 +0300)]
change git address to savannah's git
Christopher Allan Webber [Fri, 10 Apr 2015 19:10:37 +0000 (14:10 -0500)]
Don't forget to stop the processes, too!
Christopher Allan Webber [Fri, 10 Apr 2015 19:04:04 +0000 (14:04 -0500)]
Always be backing up
Boris Bobrov [Fri, 10 Apr 2015 22:02:08 +0000 (01:02 +0300)]
fix incorrect syntax in docs (bug 5310)
Christopher Allan Webber [Fri, 3 Apr 2015 20:46:10 +0000 (15:46 -0500)]
Whoops, fix --without-virtualenv's helptext
ayleph [Wed, 11 Mar 2015 05:24:20 +0000 (22:24 -0700)]
Use virtualenv set by configure
Christopher Allan Webber [Fri, 3 Apr 2015 11:19:49 +0000 (06:19 -0500)]
Remove the very strange "pybabel" entry point I added in 2011
Why did I do that, past self?
Jim Campbell [Tue, 31 Mar 2015 04:47:49 +0000 (23:47 -0500)]
docs: Removed note about installing from Clarified root/nonroot usage.
There was a note informing the user that they should be aware that we
encourage them to install from the *master* branch, but we no longer
do that. If they follow our deployment docs, they will pull in &
use the *stable* branch.
Also clarified some root / non-root system usage by either specifying
a leading *hash* symbol to indicate a root-based command, or a
dollar sign to indicate a non-root command.
Jim Campbell [Tue, 31 Mar 2015 04:40:01 +0000 (23:40 -0500)]
docs: Updated instructions re: Postgresql setup
Added information about needed packages for RPM-based systems,
and simplified instructions to rely on the root account rather than
sudo-based instructions.
If a user has sudo access, they can easily add "sudo" to the needed
commands.
Also added information about enabling postgres to start on boot
and how to start it for the current session.
Jim Campbell [Mon, 30 Mar 2015 01:10:39 +0000 (20:10 -0500)]
docs: Fixed typo - missing closing bracket in link in api.rst
Jim Campbell [Mon, 30 Mar 2015 00:40:36 +0000 (19:40 -0500)]
docs: Switched to 'useradd', as it is a more cross-distro cmd.
'adduser' is installed on Debian-based systems by default, but is
not installed by default on Fedora-based systems. 'useradd' is
installed by default on Debian-based systems, as well. The
'useradd'-based command provides the same functionality as
'adduser' in this case, though setting up a 'system' user with
no password.
Per bug 886, I've added the '--user-group' flag, which creates a
mediagoblin group, and assigns the mediagoblin user to this
group, too.
Jim Campbell [Sun, 29 Mar 2015 20:14:28 +0000 (15:14 -0500)]
docs: Fix bad link in api.rst. Fixes 1019
Fixed link in the docs/source/pluginwriter/api.rst file.
Resolves https://issues.mediagoblin.org/ticket/1019
Jim Campbell [Sun, 29 Mar 2015 18:39:09 +0000 (13:39 -0500)]
docs: Added npm/nodejs as a dependency. Also added automake.
These new dependencies are required as part of the 0.8 release.
Fixes https://issues.mediagoblin.org/ticket/5075
Christopher Allan Webber [Fri, 20 Mar 2015 01:44:49 +0000 (20:44 -0500)]
Merge branch 'stable'
Conflicts:
docs/source/siteadmin/deploying.rst
Christopher Allan Webber [Fri, 20 Mar 2015 01:38:07 +0000 (20:38 -0500)]
git clone from https instead of git:// because gitorious broke the latter
Boris Bobrov [Thu, 19 Mar 2015 23:35:52 +0000 (02:35 +0300)]
Proper handling of tags in skip_transcode
The function to retrieve tags was used incorrectly in skip_transcode,
assuming that str will be returned.
Now the code is aware of the return format of the function.
Closes bug 5065
Boris Bobrov [Sat, 7 Mar 2015 10:30:43 +0000 (13:30 +0300)]
Prevent exception on transcoding failure (bug 460)
Fix an unhandled exception when video fails to transcode for some
reason. Closes bug 460.
Jessica Tallon [Sat, 14 Mar 2015 08:40:51 +0000 (09:40 +0100)]
Fix #5036 - Add pip-selfcheck.json to .gitignore
Jakob Kramer [Sat, 7 Mar 2015 20:48:13 +0000 (21:48 +0100)]
wtforms.fields.TextField was deprecated
WTForms documentation:
> The TextField alias for StringField is deprecated.
Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
Jaakko Luttinen [Mon, 20 Oct 2014 16:59:28 +0000 (19:59 +0300)]
Fix welcome image URL in the front page template (#902)
The Goblin image URL was hardcoded in the frontpage welcome
template. Now it correctly uses the static directory settings.
Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
ayleph [Wed, 11 Mar 2015 05:41:20 +0000 (22:41 -0700)]
Correct version number
Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
ayleph [Wed, 11 Mar 2015 06:55:51 +0000 (23:55 -0700)]
Use UTC for all timesince comparisons
Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
Christopher Allan Webber [Thu, 5 Mar 2015 23:45:54 +0000 (17:45 -0600)]
Patch from breton: fix #5053 (gmg addmedia broken in 0.8.0)
Christopher Allan Webber [Thu, 5 Mar 2015 22:49:06 +0000 (16:49 -0600)]
Merge remote-tracking branch 'refs/remotes/breton/bug/647'
Christopher Allan Webber [Thu, 5 Mar 2015 21:04:25 +0000 (15:04 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Thu, 5 Mar 2015 21:03:00 +0000 (15:03 -0600)]
Not sure why these changes never got pushed up ...
Boris Bobrov [Mon, 2 Mar 2015 13:44:13 +0000 (16:44 +0300)]
Fix bug 647
Reading a file into memory resulted in depletion of memory. Now files
are read and written lazily, by chunks.
Boris Bobrov [Wed, 25 Feb 2015 06:20:02 +0000 (09:20 +0300)]
init GStreamer on demand only
Closes-Bug: 5024
Christopher Allan Webber [Sun, 22 Feb 2015 20:47:33 +0000 (14:47 -0600)]
Switch docs over to suggest using bootstrap with configure and make
Christopher Allan Webber [Sun, 22 Feb 2015 19:10:40 +0000 (13:10 -0600)]
Drop Python2.6 support in configure.ac
Christopher Allan Webber [Sun, 22 Feb 2015 05:45:21 +0000 (23:45 -0600)]
Let's try setting up the version number via configure.ac
Why not?
Christopher Allan Webber [Sat, 21 Feb 2015 22:49:58 +0000 (16:49 -0600)]
Removing a lot of stuff from configure.ac that we aren't using
We could probably remove more, but this is a ~reasonable start.
Christopher Allan Webber [Sat, 21 Feb 2015 22:13:31 +0000 (16:13 -0600)]
No longer commit .mo files into the repository!
A stupid thing, really you should never commit binary code into the
repository, but...
This commit sponsored by Richard Fontana. The last sponsored commit!
And one I can imagine Fontana approving of, for he would've disapproved,
surely, of committing .mo files in the first place.
Christopher Allan Webber [Sat, 21 Feb 2015 21:47:33 +0000 (15:47 -0600)]
Make "make check" actually run tests
Christopher Allan Webber [Sat, 21 Feb 2015 21:35:30 +0000 (15:35 -0600)]
A more reliable test, check against expected keys, rather than received
If we check against expected, if we got more than we expected, that's
no problem :)
This commit sponsored by Adan Bolte. Thank you!
Christopher Allan Webber [Sat, 21 Feb 2015 21:08:30 +0000 (15:08 -0600)]
Seems we can get rid of that specific six version dependency!
Horray!
This commit sponsored by Rollo Moore. Thank you!
Christopher Allan Webber [Sat, 21 Feb 2015 21:07:51 +0000 (15:07 -0600)]
Stop looking for exact exif numbers
As the exif library adds data, this keeps breaking, which is silly. Maybe using
This commit sponsored by Mikaƫl Cluseau. Thank you!
Christopher Allan Webber [Sat, 21 Feb 2015 20:55:17 +0000 (14:55 -0600)]
Skip audio tests if scikits.audiolab not installed
Christopher Allan Webber [Wed, 18 Feb 2015 21:22:52 +0000 (15:22 -0600)]
Merge remote-tracking branch 'refs/remotes/breton/new_gst10'