Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity stream for changes made by users along with the exact data they changed #239

Closed
chachra opened this issue Nov 11, 2016 · 7 comments
Assignees
Milestone

Comments

@chachra
Copy link
Collaborator

chachra commented Nov 11, 2016

Eg. User X approved Trip Y on date Z - changed made:
field 3: a to b
field 6: c to d
etc.

Need an API then for these as well. Can this be done somewhat generically where possible?

External libs:
https://github.com/Atomidata/django-audit-log
https://github.com/justquick/django-activity-stream

@robertavram
Copy link
Member

in goes: user, old object, new object -> [store changes, user, timestamp, a serialized version of the old obj(snapshot)]

@robertavram robertavram added this to the R3-S2 milestone Dec 1, 2016
@n1207n
Copy link
Collaborator

n1207n commented Dec 2, 2016

@robertavram In order to store custom data for activity stream, we need to re-introduce django-jsonfield package :(

Just for the heads-up.

@robertavram
Copy link
Member

robertavram commented Dec 2, 2016

@n1207n can;t we use this:
https://docs.djangoproject.com/en/1.9/ref/contrib/postgres/fields/#jsonfield

we've updated to 1.9 jsonfield is included

we're using it here:

from django.contrib.postgres.fields import JSONField

@n1207n
Copy link
Collaborator

n1207n commented Dec 2, 2016

It's a hard requirement for django activity stream. It relies on that package.

@robertavram
Copy link
Member

@n1207n uhhhh :( I see they have a couple of PRs open for this fix... comment in the requirements to keep an eye out for updates.

@n1207n
Copy link
Collaborator

n1207n commented Dec 5, 2016

@robertavram Cool. I'll put a comment in the requirements. ;)

@anusenan anusenan added this to Backlog in eTools Release 3 Feb 7, 2017
@robertavram robertavram moved this from Backlog to In Progress in eTools Release 3 Feb 9, 2017
@robertavram robertavram moved this from In Progress to In develop in eTools Release 3 Feb 9, 2017
@caktus-philip
Copy link
Contributor

django-activity-stream integrated and activity is available via URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
eTools
Backlog
Development

No branches or pull requests

4 participants