Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

First pass at activitystreams #28

Merged
merged 8 commits into from
Oct 31, 2016
Merged

Conversation

makyo
Copy link
Member

@makyo makyo commented Oct 30, 2016

Fixes #27

@coveralls
Copy link

coveralls commented Oct 30, 2016

Coverage Status

Coverage decreased (-0.8%) to 96.833% when pulling cd34bb0 on makyo:activity-stream into 1ce0b69 on OpenFurry:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 97.064% when pulling 95d6194 on makyo:activity-stream into 1ce0b69 on OpenFurry:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 97.064% when pulling 95d6194 on makyo:activity-stream into 1ce0b69 on OpenFurry:master.

url('^$', views.sitewide_data, name='sitewide_data'),
url('^stream/$', views.get_stream, name='get_stream'),
url('^stream/(?P<models>[\w_:]+)/$', views.get_stream, name='get_stream'),
url('^stream/(?P<models>[\w_:]+)/(?P<object_id>\d+)',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need '/$'

from django.contrib.contenttypes.models import ContentType


class Activity(models.Model):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an ActivityAggregateDay that boils down a day of activity of a certain type for a certain object; add a command that generates these once a day from activities so that graphs can query in a more lightweight fashion; activity rotate will leave these so we have graphable data going back forever

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue #29

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 98.375% when pulling 1948f92 on makyo:activity-stream into 1ce0b69 on OpenFurry:master.

@coveralls
Copy link

coveralls commented Oct 30, 2016

Coverage Status

Coverage increased (+0.9%) to 98.514% when pulling 8350ed8 on makyo:activity-stream into 1ce0b69 on OpenFurry:master.

@coveralls
Copy link

coveralls commented Oct 31, 2016

Coverage Status

Coverage increased (+1.2%) to 98.877% when pulling 14a1d88 on makyo:activity-stream into 1ce0b69 on OpenFurry:master.

@makyo makyo merged commit bcc7c48 into OpenFurry:master Oct 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants