Berker Peksag
da0be53c3b
Regenerate po file after 8e832f84597bd1505f23f4abd4eef96ce12d3822
2015-07-22 11:26:08 +03:00
Berker Peksag
75b60cde01
Fix typos reported in #1102
2015-07-22 11:25:39 +03:00
Berker Peksag
b4b04522bf
Regenerate po file after 8e832f84597bd1505f23f4abd4eef96ce12d3822
2015-07-22 11:24:49 +03:00
Berker Peksag
8e832f8459
Fix typos reported in #1102
2015-07-22 11:24:12 +03:00
Berker Peksag
47a2ab9cfc
Return non-zero exit code if the command cannot be completed successfully.
...
Fixes #5084
2015-07-22 10:52:37 +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
896d00fbf2
Change all unicode() calls with six.text_type().
...
Fixes #5329 .
2015-06-25 22:24:03 +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
a17845d42e
Fix typo.
2015-06-25 16:03:30 +03:00
Berker Peksag
790f31e275
Fix more print statements. Refs #5331
2015-06-25 16:00:18 +03:00
Sebastian Spaeth
fe124c8979
Fix print statements to be python3 compatible. Refs #5331
2015-06-25 16:00:18 +03:00
Jessica Tallon
380ea91dab
Merge branch Generic Foreign Key changes
2015-06-24 21:45:39 +02:00
Jessica Tallon
ddc2db746f
Fix removal of ActivityIntermediatory migration
...
The migration had a problem where other tables still referenced the migration
as well as a typo in an earlier migration. They have both been fixed and tested
on PostgreSQL and SQLite3.
This also fixes a bug where sometimes when creating an activity it'd raise an
Exception as the object hadn't got an ID. This has been fixed globally with a
fix to the create_activity federation tool.
2015-06-24 21:43:16 +02: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
Berker Peksag
39da994058
Import urlparse from six.moves to work on both Python 2 and 3.
2015-06-05 19:45:00 +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
3801d51ca3
Committing extracted and compiled translations
2015-06-03 21:15:44 -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
9bb2291aac
Fix link from Gitorious -> Savannah
2015-06-01 14:06:43 -05:00
Jessica Tallon
2d73983e8c
Fix some problems with activity mixins and migrations
2015-05-26 16:48:59 +02:00
Jessica Tallon
c1d27aa019
Add a more verbose GenericForeignKey implementation
2015-05-26 16:48:59 +02:00
Jessica Tallon
d2256d0b3b
Remove deprecated fields and fix activity creation in tools
2015-05-26 16:48:59 +02:00
Jessica Tallon
2e4782ef6d
More fixed recommended by Elrond
...
This fixes the problem where GenericForeignKey could only be used with models
that are in the core of Mediagoblin, it now can be used with any model
that SQLAlchemy knows about, including plugins. This also fixes some small bugs
caused by incorrect ordering of params into a function.
2015-05-26 16:48:59 +02:00
Jessica Tallon
0b405a3ee2
Add some fixes Elrond suggested and doc strings
2015-05-26 16:48:59 +02:00
Jessica Tallon
e8b44d7c09
Add migration to remove ActivityIntermediator
...
Migration to drop the table and removal of it from the model as it has
now been superseeded by the GenericForeignKey field.
2015-05-26 16:48:59 +02:00
Jessica Tallon
6185a4b9e6
Fix the GenericForeignKey implementation
2015-05-26 16:48:58 +02:00
Jessica Tallon
bfe1e8ce88
Migrate Activity to using the new GenericForeignKey
2015-05-26 16:48:58 +02:00
Jessica Tallon
641ae2f1e1
Add GenericForeignKey field and reference helper model
2015-05-26 16:48:58 +02: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
fd4ddeb14e
#5314 Prevent ZeroDivisionError in exif.py
2015-04-27 17:26:59 -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
Boris Bobrov
364253857b
fixed 5068
2015-04-22 17:20:31 -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
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
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
e6121708e5
Let's try setting up the version number via configure.ac
...
Why not?
2015-02-21 23:45:21 -06:00
Christopher Allan Webber
571f2964e4
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.
2015-02-21 16:13:31 -06:00
Christopher Allan Webber
207f0f95a9
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!
2015-02-21 15:35:30 -06:00
Christopher Allan Webber
42e5b2c8ae
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!
2015-02-21 15:07:51 -06:00