mediagoblin.git
9 years agodocs: Removed systemcl enable/start. Already issued.
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.

9 years agodocs: Need to start postgres on rpm distros
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.

9 years agodocs: Formatting tweaks to production-deployments.rst
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.

9 years agoSwitch from "cp --no-clobber" to "cp -n" for bsd compatibility
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

9 years agodocs: Added systemd info. Reworked init script info.
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.

9 years agodocs: Clean up nginx instructions
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.

9 years agodocs: Added 'sudo' to cmd. Made 'exit' from postgres acct more clear.
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.

9 years agodocs: Removed chkconfig cmd. Made 'exit' more explicit.
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.

9 years agodocs: Copy paste.ini to paste_local.ini
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.

9 years agodocs: Typo fix. Fixed repated reference to gstreamer1.0-libav
Jim Campbell [Mon, 11 May 2015 17:48:24 +0000 (12:48 -0500)]
docs: Typo fix. Fixed repated reference to gstreamer1.0-libav

9 years agodocs: Updated gstreamer audio media type requirements to gst-1.0
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.

9 years agoNote on what --without-virtualenv does
Christopher Allan Webber [Tue, 28 Apr 2015 19:14:44 +0000 (14:14 -0500)]
Note on what --without-virtualenv does

9 years ago#5314 Prevent ZeroDivisionError in exif.py
Christopher Allan Webber [Mon, 27 Apr 2015 22:26:59 +0000 (17:26 -0500)]
#5314 Prevent ZeroDivisionError in exif.py

9 years agoPaste 2.0 breaking wsgi
Christopher Allan Webber [Sat, 25 Apr 2015 02:10:25 +0000 (21:10 -0500)]
Paste 2.0 breaking wsgi

9 years agoTinyMCE plugin loading should NOT be here.
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 :\

9 years agoMove check that metadata exists earlier
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

9 years ago#5074: Added set -e to bootstrap.sh
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.

9 years agofixed 5068
Boris Bobrov [Thu, 19 Mar 2015 23:25:10 +0000 (02:25 +0300)]
fixed 5068

9 years agoRedirect which stderr to /dev/null
ayleph [Wed, 11 Mar 2015 06:39:18 +0000 (23:39 -0700)]
Redirect which stderr to /dev/null

9 years agodocs: Require nodejs-legacy on Debian-based systems. Remove un-needed text.
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

9 years agosetup.py: Updated version requirement for 'requests'. Fixes 5313.
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.
`

9 years agodocs: Updated deployment docs to use sudo. Other various fixes.
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

9 years agoMerge branch 'stable'
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

9 years agoNoting the possibility that users may need to update origin to Savannah
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

9 years agochange git address to savannah's git
Boris Bobrov [Thu, 16 Apr 2015 17:14:39 +0000 (20:14 +0300)]
change git address to savannah's git

9 years agoDon't forget to stop the processes, too!
Christopher Allan Webber [Fri, 10 Apr 2015 19:10:37 +0000 (14:10 -0500)]
Don't forget to stop the processes, too!

9 years agoAlways be backing up
Christopher Allan Webber [Fri, 10 Apr 2015 19:04:04 +0000 (14:04 -0500)]
Always be backing up

9 years agofix incorrect syntax in docs (bug 5310)
Boris Bobrov [Fri, 10 Apr 2015 22:02:08 +0000 (01:02 +0300)]
fix incorrect syntax in docs (bug 5310)

9 years agoWhoops, fix --without-virtualenv's helptext
Christopher Allan Webber [Fri, 3 Apr 2015 20:46:10 +0000 (15:46 -0500)]
Whoops, fix --without-virtualenv's helptext

9 years agoUse virtualenv set by configure
ayleph [Wed, 11 Mar 2015 05:24:20 +0000 (22:24 -0700)]
Use virtualenv set by configure

9 years agoRemove the very strange "pybabel" entry point I added in 2011
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?

9 years agodocs: Removed note about installing from master. Clarified root/nonroot usage.
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.

9 years agodocs: Updated instructions re: Postgresql setup
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.

9 years agodocs: Fixed typo - missing closing bracket in link in api.rst
Jim Campbell [Mon, 30 Mar 2015 01:10:39 +0000 (20:10 -0500)]
docs: Fixed typo - missing closing bracket in link in api.rst

9 years agodocs: Switched to 'useradd', as it is a more cross-distro cmd.
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.

9 years agodocs: Fix bad link in api.rst. Fixes 1019
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

9 years agodocs: Added npm/nodejs as a dependency. Also added automake.
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

9 years agoMerge branch 'stable'
Christopher Allan Webber [Fri, 20 Mar 2015 01:44:49 +0000 (20:44 -0500)]
Merge branch 'stable'

Conflicts:
docs/source/siteadmin/deploying.rst

9 years agogit clone from https instead of git:// because gitorious broke the latter
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

9 years agoProper handling of tags in skip_transcode
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

9 years agoPrevent exception on transcoding failure (bug 460)
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.

9 years agoFix #5036 - Add pip-selfcheck.json to .gitignore
Jessica Tallon [Sat, 14 Mar 2015 08:40:51 +0000 (09:40 +0100)]
Fix #5036 - Add pip-selfcheck.json to .gitignore

9 years agowtforms.fields.TextField was deprecated
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>
9 years agoFix welcome image URL in the front page template (#902)
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>
9 years agoCorrect version number
ayleph [Wed, 11 Mar 2015 05:41:20 +0000 (22:41 -0700)]
Correct version number

Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
9 years agoUse UTC for all timesince comparisons
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>
9 years agoPatch from breton: fix #5053 (gmg addmedia broken in 0.8.0)
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)

9 years agoMerge remote-tracking branch 'refs/remotes/breton/bug/647'
Christopher Allan Webber [Thu, 5 Mar 2015 22:49:06 +0000 (16:49 -0600)]
Merge remote-tracking branch 'refs/remotes/breton/bug/647'

9 years agoCommitting extracted and compiled translations
Christopher Allan Webber [Thu, 5 Mar 2015 21:04:25 +0000 (15:04 -0600)]
Committing extracted and compiled translations

9 years agoNot sure why these changes never got pushed up ...
Christopher Allan Webber [Thu, 5 Mar 2015 21:03:00 +0000 (15:03 -0600)]
Not sure why these changes never got pushed up ...

9 years agoFix bug 647
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.

9 years agoinit GStreamer on demand only
Boris Bobrov [Wed, 25 Feb 2015 06:20:02 +0000 (09:20 +0300)]
init GStreamer on demand only

Closes-Bug: 5024

9 years agoSwitch docs over to suggest using bootstrap with configure and make
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

9 years agoDrop Python2.6 support in configure.ac
Christopher Allan Webber [Sun, 22 Feb 2015 19:10:40 +0000 (13:10 -0600)]
Drop Python2.6 support in configure.ac

9 years agoLet's try setting up the version number via 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?

9 years agoRemoving a lot of stuff from configure.ac that we aren't using
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.

9 years agoNo longer commit .mo files into the repository!
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.

9 years agoMake "make check" actually run tests
Christopher Allan Webber [Sat, 21 Feb 2015 21:47:33 +0000 (15:47 -0600)]
Make "make check" actually run tests

9 years agoA more reliable test, check against expected keys, rather than received
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!

9 years agoSeems we can get rid of that specific six version dependency!
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!

9 years agoStop looking for exact exif numbers
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!

9 years agoSkip audio tests if scikits.audiolab not installed
Christopher Allan Webber [Sat, 21 Feb 2015 20:55:17 +0000 (14:55 -0600)]
Skip audio tests if scikits.audiolab not installed

9 years agoMerge remote-tracking branch 'refs/remotes/breton/new_gst10'
Christopher Allan Webber [Wed, 18 Feb 2015 21:22:52 +0000 (15:22 -0600)]
Merge remote-tracking branch 'refs/remotes/breton/new_gst10'

9 years agoadded missing package to deployment instructions
Boris Bobrov [Wed, 18 Feb 2015 20:25:41 +0000 (23:25 +0300)]
added missing package to deployment instructions

9 years agoFix the token issues in the migration
Christopher Allan Webber [Wed, 18 Feb 2015 02:04:15 +0000 (20:04 -0600)]
Fix the token issues in the migration

There's no .id on access/request token tables, so fixed to use the .token field.

Also switched a reference of client_table -> rt_table

9 years agoacess_token->access_token
Christopher Allan Webber [Wed, 18 Feb 2015 01:44:58 +0000 (19:44 -0600)]
acess_token->access_token

9 years agoFixing typo: notifiction->notification
Christopher Allan Webber [Wed, 18 Feb 2015 01:42:43 +0000 (19:42 -0600)]
Fixing typo: notifiction->notification

9 years agoThis one should be dt_to_utc, not db_to_utc, I believe
Christopher Allan Webber [Wed, 18 Feb 2015 01:42:11 +0000 (19:42 -0600)]
This one should be dt_to_utc, not db_to_utc, I believe

9 years agoRemoving cruft from the makefile
Christopher Allan Webber [Wed, 18 Feb 2015 00:06:29 +0000 (18:06 -0600)]
Removing cruft from the makefile

9 years agoClean up makefile, make `make docs` / `make info` actually work!
Christopher Allan Webber [Tue, 17 Feb 2015 23:55:00 +0000 (17:55 -0600)]
Clean up makefile, make `make docs` / `make info` actually work!

This commit sponsored by Alon Levy!  Thank you, for everything!

9 years agoMissing codecs processing with gst 1.4
Boris Bobrov [Tue, 17 Feb 2015 23:05:57 +0000 (02:05 +0300)]
Missing codecs processing with gst 1.4

Gst 1.4 deprecated DiscovererInfo.get_misc in favour of
DiscovererInfo.get_missing_elements_installer_details. Something in
Python bindings seems to be broken and get_misc seems to be not
deprecated but broken.

The change makes sniffer use the method if get_misc fails.

9 years agoAdd myself to the copyrights of Makefile.in
Christopher Allan Webber [Tue, 17 Feb 2015 22:58:39 +0000 (16:58 -0600)]
Add myself to the copyrights of Makefile.in

9 years agoClarify the "make clean" caution'ing
Christopher Allan Webber [Tue, 17 Feb 2015 22:46:55 +0000 (16:46 -0600)]
Clarify the "make clean" caution'ing

9 years agoProper cleanup of extlib with a make distclean
Christopher Allan Webber [Tue, 17 Feb 2015 22:35:40 +0000 (16:35 -0600)]
Proper cleanup of extlib with a make distclean

Also be sure to build the actual virtualenv target with a "make" if
that's how we're set up.

This commit sponsored by Pablo J. Urbano Santos.  Thank you!

9 years agoFixing symlink to jquery.js in post-bower universe
Christopher Allan Webber [Sat, 14 Feb 2015 22:49:08 +0000 (16:49 -0600)]
Fixing symlink to jquery.js in post-bower universe

This commit sponsored by Alexander Slovesnik.  Thanks!

9 years agoFixing video-js symlink for new bower based checkout
Christopher Allan Webber [Sat, 14 Feb 2015 22:45:46 +0000 (16:45 -0600)]
Fixing video-js symlink for new bower based checkout

This commit sponsored by Thorbjørn Lindeijer.  Thank you!

9 years agoBack to pdf.js from git submodules...
Christopher Allan Webber [Sat, 14 Feb 2015 20:11:39 +0000 (14:11 -0600)]
Back to pdf.js from git submodules...

9 years agoWe're now installing through bower, so we can ignore package.json
Christopher Allan Webber [Sat, 14 Feb 2015 19:39:12 +0000 (13:39 -0600)]
We're now installing through bower, so we can ignore package.json

9 years agoignore things we're now installing through extlib
Christopher Allan Webber [Sat, 14 Feb 2015 19:38:53 +0000 (13:38 -0600)]
ignore things we're now installing through extlib

9 years agoRemove extlib deps moved into bower
Christopher Allan Webber [Sat, 14 Feb 2015 19:34:41 +0000 (13:34 -0600)]
Remove extlib deps moved into bower

9 years agoScript and makefile adjustments for updating extlib
Christopher Allan Webber [Sat, 14 Feb 2015 17:55:43 +0000 (11:55 -0600)]
Script and makefile adjustments for updating extlib

9 years agoAdd extlib-installing bower files
Christopher Allan Webber [Sat, 14 Feb 2015 17:42:41 +0000 (11:42 -0600)]
Add extlib-installing bower files

9 years agowip
Asheesh Laroia [Sun, 8 Feb 2015 01:32:24 +0000 (17:32 -0800)]
wip

9 years agoAdd initial package.json file with two dependencies
Asheesh Laroia [Sun, 8 Feb 2015 01:08:41 +0000 (17:08 -0800)]
Add initial package.json file with two dependencies

9 years agoAdd a "make docs" target
Christopher Allan Webber [Tue, 17 Feb 2015 21:38:34 +0000 (15:38 -0600)]
Add a "make docs" target

9 years agoOfficially drop support for Python 2.6 (see #966)
Jessica Tallon [Tue, 17 Feb 2015 13:25:57 +0000 (14:25 +0100)]
Officially drop support for Python 2.6 (see #966)

9 years agoadded missing import to video transcoding
Boris Bobrov [Mon, 18 Aug 2014 02:09:53 +0000 (05:09 +0300)]
added missing import to video transcoding

9 years agoadded tests skipping if there is no proper gstreamer
Boris Bobrov [Mon, 11 Aug 2014 17:09:22 +0000 (21:09 +0400)]
added tests skipping if there is no proper gstreamer

9 years agoAdded multiple a-v streams handling
Boris Bobrov [Fri, 8 Aug 2014 02:09:28 +0000 (06:09 +0400)]
Added multiple a-v streams handling

Before only single video stream files were suported.

This patch adds support for files with multiple video streams. Metadata
of such files is now correctly stored. This required change of the
schema used to store info and the change is done in a migration.

9 years agoa tiny fix to function doc
Boris Bobrov [Mon, 4 Aug 2014 07:59:37 +0000 (11:59 +0400)]
a tiny fix to function doc

9 years agoAdd new hook for two-step media type checking
Boris Bobrov [Sun, 27 Jul 2014 03:25:14 +0000 (07:25 +0400)]
Add new hook for two-step media type checking

Before uploaded media files were checked by extension. This led to
situations when a plugin can support file with specific extension but
doesn't due to lack of codecs, for example. Since the plugin reported
that it supports uploaded file type, the upload was being declared
successful, but transcoding failed.

The failures were not easy to debug.

The change adds a new hook that could allow two-step checking of the
content. The result of the hook execution returns a tuple with
media type name, manager and a callable sniffer, that can be used to
perform probably expensive checks of the content.

Also the change adds implementation of the hook for video.

9 years agoupdated function docs
Boris Bobrov [Sun, 20 Jul 2014 15:33:18 +0000 (19:33 +0400)]
updated function docs

9 years agoadded a/v submission testing
Boris Bobrov [Fri, 20 Jun 2014 03:18:33 +0000 (07:18 +0400)]
added a/v submission testing

9 years agoadded docs about new gstreamer
Boris Bobrov [Mon, 16 Feb 2015 02:05:41 +0000 (05:05 +0300)]
added docs about new gstreamer

9 years agoPort of audio to GStreamer 1.0
Boris Bobrov [Fri, 13 Jun 2014 06:02:10 +0000 (10:02 +0400)]
Port of audio to GStreamer 1.0

Includes:
 - transcoders
 - thumbs
 - tests

9 years agoPorting video to GStreamer 1.0
Boris Bobrov [Thu, 5 Jun 2014 11:42:12 +0000 (15:42 +0400)]
Porting video to GStreamer 1.0

Porting includes:
 - thumbnailer
 - transcoder
 - metadata handling
 - new common discoverer for media
 - new tests with in-memory test video generating
 - handling regardless of audio availability in the file
 - Pythonic gst pipelines

9 years agoFix #1065 - Migrate from native datetimes to UTC
Jessica Tallon [Tue, 13 Jan 2015 18:50:20 +0000 (18:50 +0000)]
Fix #1065 - Migrate from native datetimes to UTC

9 years agoRemove deprecated oauth 2 plugin
Jessica Tallon [Mon, 12 Jan 2015 16:24:36 +0000 (16:24 +0000)]
Remove deprecated oauth 2 plugin

9 years agoChange 'federation' name to 'api' which is more suitable
Jessica Tallon [Mon, 12 Jan 2015 13:42:02 +0000 (13:42 +0000)]
Change 'federation' name to 'api' which is more suitable

9 years agoRewrite thumbnailer
Boris Bobrov [Thu, 29 May 2014 10:50:32 +0000 (14:50 +0400)]
Rewrite thumbnailer

Previous thumbnailer didn't always work properly. It was also not ready
to be ported to GStreamer 1.0

The rewrite makes it shorter, more pythonic and prepares it for porting.

 - no longer uses playbin2;
 - is tested
 - logs some events
 - previous thumbnailer is removed