| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
After the recent model changes there were some bugs which were
introduced into the serialization methods of the models. This commit
fixes those issues.
|
|
|
|
|
|
| |
This makes the changes needed for federating MediaEntry objects as well
as adding the migration and necessary methods to get the public_id just
in time (JIT).
|
|
|
|
|
|
|
| |
The code base had many references to User.username and other
specific to LocalUser attributes as that was the way it use to exist.
This updates those to query on the generic User model but filtering
by attributes on the LocalUser.
|
| |
|
|
|
|
|
|
|
| |
urlparse is already a function, so we don't need to specify
a module name.
Refs #5339
|
|
|
|
|
|
|
|
| |
This adds the two new user models (LocalUser and RemoteUser) to the
MODELS list that is in models.py. This stops the strange bug that occurs
if you migrate a fresh database, the two models don't exist however
migrating an existing database would create them as the migrations
exist.
|
|
|
|
|
|
|
| |
The code base had many references to User.username and other
specific to LocalUser attributes as that was the way it use to exist.
This updates those to query on the generic User model but filtering
by attributes on the LocalUser.
|
|
|
|
|
|
|
|
|
|
| |
This adds the ability to search for any user based on the generic
User case and be given back the specific LocalUser or RemoteUser.
This will require any code using the model to look which attributes
they are searching on and specify the specific User model they are
on if they're not on the generic User model. This will also require
new users to be created with LocalUser.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #5084
|
|
|
|
| |
Fixes #5329.
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| | |
Migration to drop the table and removal of it from the model as it has
now been superseeded by the GenericForeignKey field.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
specifying it
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
This might break the blog plugin, but it's kind of broken already :\
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Fix an unhandled exception when video fails to transcode for some
reason. Closes bug 460.
|
|
|
|
|
|
|
| |
WTForms documentation:
> The TextField alias for StringField is deprecated.
Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Reading a file into memory resulted in depletion of memory. Now files
are read and written lazily, by chunks.
|
| |
| |
| |
| | |
Closes-Bug: 5024
|
| | |
|
|/ |
|
|
|
|
| |
Why not?
|
|
|
|
|
|
|
|
|
| |
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.
|