4755 Commits

Author SHA1 Message Date
Christopher Allan Webber
3cb0a57b95 Fixing video-js symlink for new bower based checkout
This commit sponsored by Thorbjørn Lindeijer.  Thank you!
2015-02-17 15:48:28 -06:00
Christopher Allan Webber
0e780d1453 Back to pdf.js from git submodules... 2015-02-17 15:48:28 -06:00
Christopher Allan Webber
9ec05187f7 We're now installing through bower, so we can ignore package.json 2015-02-17 15:48:28 -06:00
Christopher Allan Webber
7fcf6e2510 ignore things we're now installing through extlib 2015-02-17 15:48:28 -06:00
Christopher Allan Webber
9252fc8484 Remove extlib deps moved into bower 2015-02-17 15:48:28 -06:00
Christopher Allan Webber
572106e230 Script and makefile adjustments for updating extlib 2015-02-17 15:48:27 -06:00
Christopher Allan Webber
88579e61ac Add extlib-installing bower files 2015-02-17 15:47:39 -06:00
Asheesh Laroia
5c0cd1bf11 wip 2015-02-17 15:47:39 -06:00
Asheesh Laroia
bb12604eae Add initial package.json file with two dependencies 2015-02-17 15:47:39 -06:00
Christopher Allan Webber
2f841a6c8f Add a "make docs" target 2015-02-17 15:38:49 -06:00
Jessica Tallon
2acf47d8cd Officially drop support for Python 2.6 (see #966) 2015-02-17 14:26:06 +01:00
Boris Bobrov
9834c876b7 added missing import to video transcoding 2015-02-16 13:41:21 +03:00
Boris Bobrov
fd365db43a added tests skipping if there is no proper gstreamer 2015-02-16 13:41:09 +03:00
Boris Bobrov
2d1e89055d 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.
2015-02-16 13:41:09 +03:00
Boris Bobrov
945a1c5667 a tiny fix to function doc 2015-02-16 13:41:09 +03:00
Boris Bobrov
54b4b28f84 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.
2015-02-16 13:41:09 +03:00
Boris Bobrov
067ee13188 updated function docs 2015-02-16 13:41:09 +03:00
Boris Bobrov
c41705bffc added a/v submission testing 2015-02-16 13:41:09 +03:00
Boris Bobrov
919cd2fd41 added docs about new gstreamer 2015-02-16 13:41:09 +03:00
Boris Bobrov
57d8212a79 Port of audio to GStreamer 1.0
Includes:
 - transcoders
 - thumbs
 - tests
2015-02-16 13:41:04 +03:00
Boris Bobrov
91f5f5e791 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
2015-02-16 05:35:36 +03:00
Jessica Tallon
d705f3b760 Fix #1065 - Migrate from native datetimes to UTC 2015-02-15 17:17:01 +01:00
Jessica Tallon
247c987cf7 Remove deprecated oauth 2 plugin 2015-02-15 17:17:01 +01:00
Jessica Tallon
4fd520364f Change 'federation' name to 'api' which is more suitable 2015-02-15 17:17:01 +01:00
Boris Bobrov
7e266d5a37 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
2015-02-15 05:52:22 +03:00
Christopher Allan Webber
4aaa7fac14 Switch to using ./devtools/compile_translations.sh in Makefile.in
This commit sponsored by Federico Bruni.  Thank you!
2015-02-14 16:12:50 -06:00
Christopher Allan Webber
aac69eb9aa choose pybabel depending on whether one is available in the environment
This commit sponsored by Erik Mekhsian.  Thank you!
2015-02-14 16:02:11 -06:00
Christopher Allan Webber
33cdeef94f Might as well make the Transifex->Pootle switch official on a scripts level
This commit sponsored by Ben Sturmfels.  Thank you!
2015-02-14 15:39:49 -06:00
Christopher Allan Webber
de7e19f0ab Move compiling translations into its own script 2015-02-14 15:38:39 -06:00
Asheesh Laroia
1a7d401c32 Remove html5slider Javascript helper
This helper was originally added as a "polyfill"
(backward-compatibility shim) for Firefox version 23 and older, so
that <input type="range"> that audio.js uses could render nicely in
those versions of Firefox.

Chromium did not need this shim, and Firefox 23 (released on Aug 6,
2013) added support for this. Therefore, let us remove this
dependency. By current metrics at caniuse.com
<http://caniuse.com/#feat=input-range>, 88.14% of web users support
this attribute. Opera Mini and old versions of Internet Explorer (6-8)
are the only holdouts.

Note also that the html5slider.js is uninterested in adding this to
the npm package manager (or any package manager) repository
<https://github.com/fryn/html5slider/issues/5>, meaning that keeping
it in the mediagoblin extlib section would mean manual
maintenance/updating by the GNU MediaGoblin team.

This commit also removes GMG's use of the shim.
2015-02-13 15:55:16 -06:00
Christopher Allan Webber
d7404e7a4f no reason to say LGPL where AGPL applies in COPYING 2015-02-05 11:55:06 -06:00
Jessica Tallon
63d6953774 Fix #1052 - Make activity cascade delete work when deleting a user 2015-01-27 13:31:29 +00:00
Jessica Tallon
a02de38f91 Let parser handle typing for deletuser command 2015-01-20 12:24:13 +00:00
Boris Bobrov
deb8f9c513 fixed wrong git mv in Pootle transition script 2015-01-19 15:34:46 -06:00
Christopher Allan Webber
c300e40bc1 Committing extracted and compiled translations 2015-01-18 16:03:38 -06:00
Christopher Allan Webber
820e4294a6 Compile .po files to the LC_MESSAGES subdir
This ought to make both python's gettext and pootle happy :P
2015-01-18 16:02:44 -06:00
Christopher Allan Webber
dfea462c8e Exclude the LC_MESSAGES stuff (and master pulling) 2015-01-18 14:03:11 -06:00
Christopher Allan Webber
53f91d1991 Moving translation files over for Pootle move. 2015-01-16 16:06:42 -06:00
Boris Bobrov
042b3ba4b4 Exclude index dir from sync with Pootle
Pootle creates some dir with index file. It has nothing to do with our
files, so it should be excluded in the rsync call.
2015-01-16 15:20:32 -06:00
Christopher Allan Webber
26217cbe0d Update the pootle translation updating script to compile the right files
Made similar changes in the Transifex script, so ported those over.

Also, the script did not seem to be running the compile step as it
wasn't finding the files (different file structure), but it is doing
fine now.
2015-01-16 15:20:32 -06:00
Boris Bobrov
94e90c77d0 Added facilities for Pootle.
Previously we used Transifex as a web-tool for translations. Some time
ago Transifex went proprietary and we decided to move to Pootle.

Old script for updating translations was renamed and a new one was
added. Also a script for making the layout more Pootle-friendly was
added.

To accomplish the transition first run the old script:
./devtools/update_translations_transifex.sh

Then run the layout changing script:
./devtools/move_translations_for_pootle.sh

Commit and push. After that use the new
./devtools/update_translations_pootle.sh
to update the translations.

Closes bug: #913
2015-01-16 15:20:32 -06:00
Christopher Allan Webber
5d8e56ffc2 Committing extracted and compiled translations 2015-01-16 15:15:20 -06:00
Berker Peksag
2757e76cf7 Silenced a Sphinx warning.
docs/source/siteadmin/relnotes.rst:72: WARNING: Title underline too short.
2015-01-09 23:25:59 +02:00
Berker Peksag
c87825b692 Added an "htmlview" target to open docs after building them.
This is helpful if you build and test documentation updates in
your development env.

Copied from CPython's and Django's Doc/Makefile.
2015-01-09 23:05:04 +02:00
Jessica Tallon
b63b564e2e Minor fixes to API documentation: typos and dates, etc. 2015-01-09 15:15:29 +00:00
Jessica Tallon
2a702d0180 Update and reorganise API documentation 2015-01-09 14:02:49 +00:00
Jessica Tallon
2663394688 Add upper limit to count GET param for inbox and feed 2015-01-06 12:06:12 +00:00
Jessica Tallon
90b78c4a28 Clean up documentation and add documentation on activities 2014-12-30 16:01:20 +01:00
Jessica Tallon
7eac1e6d6b Fix 1e0c938 by allowing target to be translatable in Activity.content 2014-12-22 11:48:01 +00:00
Jessica Tallon
1e0c938c63 Allow Activity.content to be fully translatable 2014-12-22 11:00:44 +00:00