Custom Query (1173 matches)


Show under each result:

Results (67 - 69 of 1173)

Ticket Resolution Summary Owner Reporter
#1024 fixed Activity generator is always GMG service Jonas Haraldsson

Activity.generator is always {"objectType":"service", "displayName":"GNU Mediagoblin"}

Expected: {"objectType":"application", "displayName":"MyAppName"} when using an external client for posting.

#1079 fixed Activity.content is not fully translatable Jessica Tallon

Currently the "object" in the Activity.content is not translatable because it uses Activity.generate_content uses model.object_type which is purposefully forced to English as it's used in the API.

This could be fixed by doing:

    "image": _("an image"),
    "comment": _("a comment"),

This would allow it be translatable and get the correct article in English which is currently missing.

#984 fixed ActivityIntermediator bits Elrond

While looking at ActivityIntermediator, I noticed some bits.

The .set method could probably be rewritten a bit:

# We need to flush so that is populated
self.type = key

# First set self as activity
obj.activity =

And instead of checking values in .save use a validator. See

def validate_type(self, key, value):
    assert value in self.TYPES
    return value
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.