~fabrixxm/activist

d5d1866c63b15cbf344e76ecd1db26f55a07fff3 — fabrixxm a month ago b4fcf2e + ffa4b0b
Merge branch 'wip'
M activist/db/models.py => activist/db/models.py +1 -1
@@ 46,7 46,7 @@ class Object(Base):

    def replies(self, recursive=False) -> QueryExecutor:
        # TODO: get replies recursively
        return Object.query().select().where(inReplyTo = self.id)
        return Object.query().select().where(inReplyTo = self.id).order_by('published ASC')

    # Activity https://www.w3.org/TR/activitystreams-vocabulary/#dfn-activity
    @fk('Object')

M activist/templates/f/object-small.tpl.j2 => activist/templates/f/object-small.tpl.j2 +1 -1
@@ 20,7 20,7 @@
            {% set attachments = obj.data.attachment %}
            {% for a in attachments  %}
                {# TODO: check type and mediaType #}
                <img src="{{ a.url }}" class="img-responsive">
                <img src="{{ a.url }}" class="img-responsive" title="{{ a.name|escape }}">
            {% endfor %}

        </div>

M activist/templates/f/object.tpl.j2 => activist/templates/f/object.tpl.j2 +1 -0
@@ 67,5 67,6 @@
        {% endfor %}
        </div>
    {% endif %}

</div>