4527 Commits

Author SHA1 Message Date
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
Jim Campbell
ef2642f7bb 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
2015-04-19 12:39:05 -05:00
Jim Campbell
3252f73836 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.
`
2015-04-19 12:26:11 -05:00
Jim Campbell
44db13fa84 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
2015-04-19 12:01:10 -05:00
Christopher Allan Webber
a35b7c7fb3 Merge branch 'stable'
Conflicts:
	docs/source/siteadmin/deploying.rst
	docs/source/siteadmin/relnotes.rst
2015-04-17 17:09:06 -05:00
Christopher Allan Webber
9fa1e602b4 Noting the possibility that users may need to update origin to Savannah 2015-04-17 17:00:54 -05:00
Boris Bobrov
4fd98b70d2 change git address to savannah's git 2015-04-17 16:56:18 -05:00
Christopher Allan Webber
3ae2371242 Don't forget to stop the processes, too! 2015-04-17 16:31:56 -05:00
Christopher Allan Webber
50c6dc2bf1 Always be backing up 2015-04-17 16:31:56 -05:00
Boris Bobrov
f6d1b29f82 fix incorrect syntax in docs (bug 5310) 2015-04-11 01:02:08 +03:00
Christopher Allan Webber
94af358779 Whoops, fix --without-virtualenv's helptext 2015-04-03 15:46:10 -05:00
ayleph
b0e3ba4c68 Use virtualenv set by configure 2015-04-03 14:58:42 -05:00
Christopher Allan Webber
ad5a20aa4f Remove the very strange "pybabel" entry point I added in 2011
Why did I do that, past self?
2015-04-03 06:21:35 -05:00
Jim Campbell
9a1ba0e87f docs: Removed note about installing from master. 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.
2015-03-30 23:47:49 -05:00
Jim Campbell
c3075e9178 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.
2015-03-30 23:40:01 -05:00
Jim Campbell
ecf5a532f4 docs: Fixed typo - missing closing bracket in link in api.rst 2015-03-29 20:10:39 -05:00
Jim Campbell
6663dfa38c 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.
2015-03-29 19:40:36 -05:00
Jim Campbell
2715696f86 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
2015-03-29 15:14:28 -05:00
Jim Campbell
4ec1af1191 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
2015-03-29 13:39:09 -05:00
Christopher Allan Webber
82be36d125 Merge branch 'stable'
Conflicts:
	docs/source/siteadmin/deploying.rst
2015-03-19 20:44:49 -05:00
Christopher Allan Webber
47f66be97c git clone from https instead of git:// because gitorious broke the latter 2015-03-19 20:38:07 -05:00
Boris Bobrov
4522ecef80 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
2015-03-20 02:35:52 +03:00
Boris Bobrov
bd50f8bf70 Prevent exception on transcoding failure (bug 460)
Fix an unhandled exception when video fails to transcode for some
reason. Closes bug 460.
2015-03-20 01:53:18 +03:00
Jessica Tallon
714008693e Fix #5036 - Add pip-selfcheck.json to .gitignore 2015-03-14 09:40:51 +01:00
Jakob Kramer
f4686cde16 wtforms.fields.TextField was deprecated
WTForms documentation:
> The TextField alias for StringField is deprecated.

Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
2015-03-12 21:57:53 +02:00
Jaakko Luttinen
c8c09bc43b 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>
2015-03-12 21:31:23 +02:00
ayleph
bcf6c27426 Correct version number
Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
2015-03-12 18:31:29 +01:00
ayleph
c975bd3740 Use UTC for all timesince comparisons
Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
2015-03-12 16:28:14 +01:00
Christopher Allan Webber
fc3c8f21a0 Patch from breton: fix #5053 (gmg addmedia broken in 0.8.0) 2015-03-05 17:45:54 -06:00
Christopher Allan Webber
50f12414df Merge remote-tracking branch 'refs/remotes/breton/bug/647' 2015-03-05 16:49:06 -06:00
Christopher Allan Webber
2d0511c499 Committing extracted and compiled translations 2015-03-05 15:04:25 -06:00
Christopher Allan Webber
d85f70bd15 Not sure why these changes never got pushed up ... 2015-03-05 15:03:00 -06:00
Boris Bobrov
2b4c339de6 Fix bug 647
Reading a file into memory resulted in depletion of memory. Now files
are read and written lazily, by chunks.
2015-03-02 16:44:13 +03:00
Boris Bobrov
33055472f9 init GStreamer on demand only
Closes-Bug: 5024
2015-02-25 09:20:02 +03:00
Christopher Allan Webber
41dbb27a4f Switch docs over to suggest using bootstrap with configure and make 2015-02-22 14:47:33 -06:00