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'
Boris Bobrov [Wed, 18 Feb 2015 20:25:41 +0000 (23:25 +0300)]
added missing package to deployment instructions
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
Christopher Allan Webber [Wed, 18 Feb 2015 01:44:58 +0000 (19:44 -0600)]
acess_token->access_token
Christopher Allan Webber [Wed, 18 Feb 2015 01:42:43 +0000 (19:42 -0600)]
Fixing typo: notifiction->notification
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
Christopher Allan Webber [Wed, 18 Feb 2015 00:06:29 +0000 (18:06 -0600)]
Removing cruft from the makefile
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!
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.
Christopher Allan Webber [Tue, 17 Feb 2015 22:58:39 +0000 (16:58 -0600)]
Add myself to the copyrights of Makefile.in
Christopher Allan Webber [Tue, 17 Feb 2015 22:46:55 +0000 (16:46 -0600)]
Clarify the "make clean" caution'ing
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!
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!
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!
Christopher Allan Webber [Sat, 14 Feb 2015 20:11:39 +0000 (14:11 -0600)]
Back to pdf.js from git submodules...
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
Christopher Allan Webber [Sat, 14 Feb 2015 19:38:53 +0000 (13:38 -0600)]
ignore things we're now installing through extlib
Christopher Allan Webber [Sat, 14 Feb 2015 19:34:41 +0000 (13:34 -0600)]
Remove extlib deps moved into bower
Christopher Allan Webber [Sat, 14 Feb 2015 17:55:43 +0000 (11:55 -0600)]
Script and makefile adjustments for updating extlib
Christopher Allan Webber [Sat, 14 Feb 2015 17:42:41 +0000 (11:42 -0600)]
Add extlib-installing bower files
Asheesh Laroia [Sun, 8 Feb 2015 01:32:24 +0000 (17:32 -0800)]
wip
Asheesh Laroia [Sun, 8 Feb 2015 01:08:41 +0000 (17:08 -0800)]
Add initial package.json file with two dependencies
Christopher Allan Webber [Tue, 17 Feb 2015 21:38:34 +0000 (15:38 -0600)]
Add a "make docs" target
Jessica Tallon [Tue, 17 Feb 2015 13:25:57 +0000 (14:25 +0100)]
Officially drop support for Python 2.6 (see #966)
Boris Bobrov [Mon, 18 Aug 2014 02:09:53 +0000 (05:09 +0300)]
added missing import to video transcoding
Boris Bobrov [Mon, 11 Aug 2014 17:09:22 +0000 (21:09 +0400)]
added tests skipping if there is no proper gstreamer
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.
Boris Bobrov [Mon, 4 Aug 2014 07:59:37 +0000 (11:59 +0400)]
a tiny fix to function doc
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.
Boris Bobrov [Sun, 20 Jul 2014 15:33:18 +0000 (19:33 +0400)]
updated function docs
Boris Bobrov [Fri, 20 Jun 2014 03:18:33 +0000 (07:18 +0400)]
added a/v submission testing
Boris Bobrov [Mon, 16 Feb 2015 02:05:41 +0000 (05:05 +0300)]
added docs about new gstreamer
Boris Bobrov [Fri, 13 Jun 2014 06:02:10 +0000 (10:02 +0400)]
Port of audio to GStreamer 1.0
Includes:
- transcoders
- thumbs
- tests
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
Jessica Tallon [Tue, 13 Jan 2015 18:50:20 +0000 (18:50 +0000)]
Fix #1065 - Migrate from native datetimes to UTC
Jessica Tallon [Mon, 12 Jan 2015 16:24:36 +0000 (16:24 +0000)]
Remove deprecated oauth 2 plugin
Jessica Tallon [Mon, 12 Jan 2015 13:42:02 +0000 (13:42 +0000)]
Change 'federation' name to 'api' which is more suitable
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
Christopher Allan Webber [Sat, 14 Feb 2015 22:12:50 +0000 (16:12 -0600)]
Switch to using ./devtools/compile_translations.sh in Makefile.in
This commit sponsored by Federico Bruni. Thank you!
Christopher Allan Webber [Sat, 14 Feb 2015 22:02:11 +0000 (16:02 -0600)]
choose pybabel depending on whether one is available in the environment
This commit sponsored by Erik Mekhsian. Thank you!
Christopher Allan Webber [Sat, 14 Feb 2015 21:39:49 +0000 (15:39 -0600)]
Might as well make the Transifex->Pootle switch official on a scripts level
This commit sponsored by Ben Sturmfels. Thank you!
Christopher Allan Webber [Sat, 14 Feb 2015 21:38:39 +0000 (15:38 -0600)]
Move compiling translations into its own script
Asheesh Laroia [Sun, 8 Feb 2015 01:36:22 +0000 (17:36 -0800)]
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.
Christopher Allan Webber [Thu, 5 Feb 2015 17:55:06 +0000 (11:55 -0600)]
no reason to say LGPL where AGPL applies in COPYING
Jessica Tallon [Tue, 27 Jan 2015 13:31:29 +0000 (13:31 +0000)]
Fix #1052 - Make activity cascade delete work when deleting a user
Jessica Tallon [Tue, 20 Jan 2015 10:49:24 +0000 (10:49 +0000)]
Let parser handle typing for deletuser command
Boris Bobrov [Mon, 19 Jan 2015 20:14:22 +0000 (23:14 +0300)]
fixed wrong git mv in Pootle transition script
Christopher Allan Webber [Sun, 18 Jan 2015 22:03:38 +0000 (16:03 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Sun, 18 Jan 2015 21:55:58 +0000 (15:55 -0600)]
Compile .po files to the LC_MESSAGES subdir
This ought to make both python's gettext and pootle happy :P
Christopher Allan Webber [Sun, 18 Jan 2015 20:03:11 +0000 (14:03 -0600)]
Exclude the LC_MESSAGES stuff (and master pulling)
Christopher Allan Webber [Fri, 16 Jan 2015 22:06:42 +0000 (16:06 -0600)]
Moving translation files over for Pootle move.
Boris Bobrov [Sun, 14 Dec 2014 22:25:28 +0000 (01:25 +0300)]
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.
Christopher Allan Webber [Sun, 14 Dec 2014 20:56:15 +0000 (14:56 -0600)]
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.
Boris Bobrov [Sun, 7 Dec 2014 17:54:16 +0000 (20:54 +0300)]
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
Christopher Allan Webber [Fri, 16 Jan 2015 21:15:20 +0000 (15:15 -0600)]
Committing extracted and compiled translations
Berker Peksag [Fri, 9 Jan 2015 21:25:59 +0000 (23:25 +0200)]
Silenced a Sphinx warning.
docs/source/siteadmin/relnotes.rst:72: WARNING: Title underline too short.
Berker Peksag [Fri, 9 Jan 2015 21:05:04 +0000 (23:05 +0200)]
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.
Jessica Tallon [Fri, 9 Jan 2015 15:15:29 +0000 (15:15 +0000)]
Minor fixes to API documentation: typos and dates, etc.
Jessica Tallon [Fri, 9 Jan 2015 14:02:49 +0000 (14:02 +0000)]
Update and reorganise API documentation
Jessica Tallon [Tue, 6 Jan 2015 12:06:12 +0000 (12:06 +0000)]
Add upper limit to count GET param for inbox and feed
Jessica Tallon [Tue, 30 Dec 2014 15:01:20 +0000 (16:01 +0100)]
Clean up documentation and add documentation on activities
Jessica Tallon [Mon, 22 Dec 2014 11:47:41 +0000 (11:47 +0000)]
Fix
1e0c938 by allowing target to be translatable in Activity.content
Jessica Tallon [Mon, 22 Dec 2014 11:00:44 +0000 (11:00 +0000)]
Allow Activity.content to be fully translatable
Jessica Tallon [Thu, 18 Dec 2014 08:53:05 +0000 (08:53 +0000)]
Fix #1066 - Fix OAuth issue when using GET params
Jessica Tallon [Tue, 16 Dec 2014 12:15:13 +0000 (12:15 +0000)]
Fix #1078 - Stop 500 error when GET request on inbox
Jessica Tallon [Tue, 16 Dec 2014 12:05:18 +0000 (12:05 +0000)]
Fix #1077 - Fix updating comment via API and add test
Jessica Tallon [Mon, 15 Dec 2014 18:04:50 +0000 (18:04 +0000)]
Fix #1064 - Add major and minor feed for outbox/feed
Jessica Tallon [Mon, 15 Dec 2014 11:17:57 +0000 (11:17 +0000)]
Fix #1069 - Add deleting images and comments via delete activities
Christopher Allan Webber [Sun, 14 Dec 2014 21:02:50 +0000 (15:02 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Sun, 14 Dec 2014 18:56:33 +0000 (12:56 -0600)]
Recommend cloning the stable branch instead of master from now on
This commit sponsored by Karen Rustad. You're awesome, Karen!
Christopher Allan Webber [Sat, 13 Dec 2014 16:03:48 +0000 (10:03 -0600)]
Committing extracted and compiled translations
Christopher Allan Webber [Sat, 13 Dec 2014 16:03:26 +0000 (10:03 -0600)]
Fix the output file to the correct one in the new i18n compile loop
Christopher Allan Webber [Sat, 13 Dec 2014 15:58:36 +0000 (09:58 -0600)]
Just spacing things out to look a bit cleaner.
Christopher Allan Webber [Sat, 13 Dec 2014 15:50:13 +0000 (09:50 -0600)]
Submitting workaround to skip compiling Lojban. Sniff :(
We'll eventually support Lojban again. This issue fixes #1071, but
leaves #1070 open.
Christopher Allan Webber [Sat, 6 Dec 2014 20:33:16 +0000 (14:33 -0600)]
Committing present MediaGoblin translations before pushing extracted messages
Jessica Tallon [Fri, 12 Dec 2014 13:55:14 +0000 (13:55 +0000)]
Fix #1056 - Add flag to accept URLs without a trailing slash
Jessica Tallon [Thu, 11 Dec 2014 16:35:10 +0000 (16:35 +0000)]
Fix #1055 - API feed should be sorted in order of newest first
Jessica Tallon [Thu, 11 Dec 2014 11:29:03 +0000 (11:29 +0000)]
Fix #1053 - Add height and width attributes and MetadataProcess task
Added "height" and "width" attributes to "image" and "fullImage"
in the API where possible. The height and width of images wasn't
being stored anywhere so I've created a task to add or update
the metadata on images and also started adding those to new images
when they're submitted in the InitialProcessor.