4561 Commits

Author SHA1 Message Date
Berker Peksag
75b60cde01 Fix typos reported in #1102 2015-07-22 11:25:39 +03:00
Berker Peksag
287ba3a0f1 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.
2015-07-22 10:20:15 +03:00
Berker Peksag
cc92922386 Change all unicode() calls with six.text_type().
Fixes #5329.
2015-06-25 22:24:50 +03:00
Berker Peksag
2c1b0dc3e3 Fix typo. 2015-06-25 16:05:53 +03:00
Berker Peksag
8e4b1fab36 Fix more print statements. Refs #5331 2015-06-25 16:05:39 +03:00
Sebastian Spaeth
9051f99391 Fix print statements to be python3 compatible. Refs #5331 2015-06-25 16:05:26 +03:00
Berker Peksag
bf6ae3816f Import urlparse from six.moves to work on both Python 2 and 3. 2015-06-05 19:45:51 +03:00
Christopher Allan Webber
853b74cd81 v0.8.0! Let's get this party started! 2015-06-04 08:30:54 -05:00
Christopher Allan Webber
30dbf9f524 More things to include in MANIFEST.in 2015-06-04 00:18:47 -05:00
Christopher Allan Webber
3169dde0c4 Note that users have to install node.js :\ 2015-06-03 22:15:11 -05:00
Christopher Allan Webber
270caff0d3 More adjustments to manifest.in
- include Makefile.in
 - include configure scripts
 - graft on devtools
2015-06-03 21:32:44 -05:00
Christopher Allan Webber
095c85972b We now store mediagoblin.example.ini, not mediagoblin.ini 2015-06-03 21:26:42 -05:00
Christopher Allan Webber
3801d51ca3 Committing extracted and compiled translations 2015-06-03 21:15:44 -05:00
Christopher Allan Webber
193c509bf1 Potentially require virtualenv as a requirement for "make dist" 2015-06-03 15:08:45 -05:00
Christopher Allan Webber
90dbaefb80 "make check" should work, and "make dist" should use setup.py 2015-06-03 14:21:37 -05:00
Christopher Allan Webber
eb8a6ba0cc Right, also don't build _version.py in configure.ac 2015-06-03 13:45:57 -05:00
Christopher Allan Webber
bc84e1882a readthedocs can't read the version using autotools, so back to _version.py specifying it 2015-06-03 10:36:33 -05:00
Christopher Allan Webber
e82c7edee5 Comment on why we're not using make dist... yet 2015-06-02 10:56:30 -05:00
Christopher Allan Webber
9bb2291aac Fix link from Gitorious -> Savannah 2015-06-01 14:06:43 -05:00
Christopher Allan Webber
f5ac2b61f7 Better phrasing: "Should I Keep Open Registration Enabled?" 2015-05-30 10:34:10 -05:00
Christopher Allan Webber
3f088a3f3d "Should I enable registration?" section 2015-05-30 10:27:54 -05:00
Jim Campbell
b791ae973c 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
2015-05-26 00:44:10 -05:00
Christopher Allan Webber
5b8e0b2a63 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.
2015-05-22 14:16:45 -05:00
Christopher Allan Webber
c2382bd4ea Clarifying the "note these steps" 2015-05-22 11:28:23 -05:00
Christopher Allan Webber
6adee95a25 No need to run git submodule init/update, run by bootstrap.sh 2015-05-22 11:15:00 -05:00
Christopher Allan Webber
11199c3161 Switch git remote url 2015-05-22 11:11:42 -05:00
Christopher Allan Webber
4baccdf89e Wrong version number. Stupid copy-pasta! 2015-05-22 11:08:45 -05:00
Christopher Allan Webber
a87db7f547 0.8.0 release notes
Theoretically correct... I need to verify that the steps work as
expected
2015-05-22 10:53:43 -05:00
Christopher Allan Webber
b9db67d4c7 Updating AUTHORS for 0.8.0 2015-05-22 10:04:41 -05:00
Jim Campbell
52628d64a4 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.
2015-05-19 01:54:50 -05:00
Jim Campbell
4c89287c3d 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.
2015-05-19 01:50:07 -05:00
Jim Campbell
80fe8e4c39 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.
2015-05-18 21:19:42 -05:00
Jim Campbell
a03920751f 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.
2015-05-18 21:12:37 -05:00
Jim Campbell
041c93634b docs: Formatting tweaks to production-deployments.rst
Corrected typos and fixed rst formatting issues.
2015-05-15 18:38:31 -05:00
Christopher Allan Webber
ae69f816f8 Switch from "cp --no-clobber" to "cp -n" for bsd compatibility 2015-05-13 22:43:35 -05:00
Jim Campbell
7d74b404ac docs: Added systemd info. Reworked init script info.
Added tested systemd service files. Modified the structure of the
section about init scripts.
2015-05-11 22:38:06 -05:00
Jim Campbell
cd7af7899f 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.
2015-05-11 21:16:30 -05:00
Jim Campbell
3948e44c9a 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.
2015-05-11 20:41:01 -05:00
Jim Campbell
7bba6d2e9c 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.
2015-05-11 20:15:08 -05:00
Jim Campbell
ec255f63be 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.
2015-05-11 19:00:40 -05:00
Jim Campbell
94a5d6a81d docs: Typo fix. Fixed repated reference to gstreamer1.0-libav 2015-05-11 19:00:40 -05:00
Jim Campbell
8af91ceae7 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.
2015-05-11 19:00:40 -05:00
Christopher Allan Webber
8d59cd1f98 Note on what --without-virtualenv does 2015-04-28 14:14:44 -05:00
Christopher Allan Webber
fd4ddeb14e #5314 Prevent ZeroDivisionError in exif.py 2015-04-27 17:26:59 -05:00
Christopher Allan Webber
ab62a7c0d2 Paste 2.0 breaking wsgi 2015-04-24 21:10:25 -05:00
Christopher Allan Webber
16cf193d9b TinyMCE plugin loading should NOT be here.
This might break the blog plugin, but it's kind of broken already :\
2015-04-23 14:10:47 -05:00
Boris Bobrov
3510f94811 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
2015-04-23 11:48:23 -05:00
Christopher Allan Webber
a1bde56fd2 #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.
2015-04-23 11:36:55 -05:00
Boris Bobrov
364253857b fixed 5068 2015-04-22 17:20:31 -05:00
ayleph
dcd8c8348a Redirect which stderr to /dev/null 2015-04-22 17:18:35 -05:00