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

fix(monitoring): refresh monitoring on content changes #1151

Merged
merged 1 commit into from
Sep 21, 2015

Conversation

petrjasek
Copy link
Member

there is single event content:update with info about item, desk
and stage which client can use to figure out what to update in monitoring.

SD-3204 SD-3213

user = flask.g.get('user', {})
push_notification(
'content:update',
user=str(user.get('_id', '')),
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use common.py.get_user() here?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep I just didn't want to import from archive here, so I will move the func here and import it into archive

Copy link
Member Author

Choose a reason for hiding this comment

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

actually I will move it into apps.auth, imo it should be there

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah makes sense

@sivakuna-aap
Copy link
Contributor

👍

@mdhaman
Copy link
Contributor

mdhaman commented Sep 17, 2015

👍

1 similar comment
@ioanpocol
Copy link
Contributor

👍

@amagdas
Copy link
Contributor

amagdas commented Sep 18, 2015

👍 Rebase needed

there is single event `content:update` with info about item, desk
and stage which client can use to figure out what to update in monitoring.

SD-3204 SD-3213
amagdas added a commit that referenced this pull request Sep 21, 2015
fix(monitoring): refresh monitoring on content changes
@amagdas amagdas merged commit a9e1d90 into superdesk:master Sep 21, 2015
@petrjasek petrjasek deleted the fix-monitoring-refresh branch June 29, 2020 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants