Custom Query (1173 matches)
Results (67 - 69 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1024 | fixed | Activity generator is always GMG service | ||
Description |
Activity.generator is always
Expected: |
|||
#1079 | fixed | Activity.content is not fully translatable | ||
Description |
Currently the "object" in the Activity.content is not translatable because it uses This could be fixed by doing: { "image": _("an image"), "comment": _("a comment"), etc... } This would allow it be translatable and get the correct article in English which is currently missing. |
|||
#984 | fixed | ActivityIntermediator bits | ||
Description |
While looking at ActivityIntermediator, I noticed some bits. The .set method could probably be rewritten a bit: # We need to flush so that self.id is populated self.type = key Session.flush() # First set self as activity obj.activity = self.id Session.commit()
And instead of checking values in @validates('type') def validate_type(self, key, value): assert value in self.TYPES return value |