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

Sending User Asynchronous Notifications from the Admin #3733

Closed
MTRichards opened this issue Sep 2, 2015 · 15 comments
Closed

Sending User Asynchronous Notifications from the Admin #3733

MTRichards opened this issue Sep 2, 2015 · 15 comments
Assignees
Labels
p2-high Escalation, on top of current planning, release blocker
Milestone

Comments

@MTRichards
Copy link

Notifications
As an admin, I want to be able to send notifications from the server to any owncloud client (desktop, client, mobile) so that I can send messages, and receive confirmation, from users of the ownCloud system

Note: this has several parts: desktop, server, web and mobile

Acceptance Criteria:

  • A new app on the server (system notifications) can be enabled by the administrator
  • When this app is enabled, the clients ping the server on every sync run to see if a new system wide notification is waiting
  • If a new notification is waiting, the client downloads the message XML, parses the error, and displays it in a window for the desktop client
  • Notifications can be of 2 types initially: those requiring acceptance and those that are simply push notifications
  • A simple push notification simply displays the message set by the administrator
  • A request for yes / no response is not necessary in this version of ownCloud client, but will be needed at a later date
  • If the web client, it is posted in a new popup; if mobile, a new message tag is added to a new system messages view.
@MTRichards MTRichards added this to the 2.1-next milestone Sep 2, 2015
@guruz
Copy link
Contributor

guruz commented Sep 6, 2015

FYI @nickvergessen

@nickvergessen
Copy link
Contributor

The server side will/can be done with https://github.com/owncloud/notifications and https://github.com/nickv-oc/announcementcenter
So nothing special needs to be done on the client. Just display and have the actions of the normal notifications.

@dragotin dragotin self-assigned this Sep 7, 2015
@ckamm ckamm added the p2-high Escalation, on top of current planning, release blocker label Sep 30, 2015
@ogoffart
Copy link
Contributor

Is there any documentation of the API?
A running server with that installed so we can test would be nice.

@nickvergessen
Copy link
Contributor

This is currently on hold, until the activity API is settled, ref owncloud/activity#405 . Notifications will mostlikly use a similar mechanism.

@MTRichards MTRichards modified the milestones: 2.2-next, 2.1-next Oct 28, 2015
@MTRichards MTRichards modified the milestones: 2.2-nextminor, 2.1-current Nov 11, 2015
@nickvergessen
Copy link
Contributor

The docs for the OCS API endpoint for 9.0 are now done and settled:
https://github.com/owncloud/notifications/blob/master/docs/ocs-endpoint-v1.md

Master branch of the notifications app already gives that output.
As described above it can be used together with the announcement center app.
Just enable both in the apps, make an announcement as an admin and then
read from the OCS endpoint as a different user.

@dragotin
Copy link
Contributor

dragotin commented Mar 3, 2016

Affected by owncloud/core#22786

dragotin added a commit that referenced this issue Mar 4, 2016
As interaction is required, the notifications are displayed in a
separate widget above the server activity list.

Note that design and also where we display the notifications can
still be discussed and changed.
dragotin added a commit that referenced this issue Mar 11, 2016
As interaction is required, the notifications are displayed in a
separate widget above the server activity list.

Note that design and also where we display the notifications can
still be discussed and changed.
@dragotin
Copy link
Contributor

dragotin commented Apr 4, 2016

pull request #4567 was merged.

@carlaschroder we need documentation about that, just as a reminder. I will provide input in the wiki.

@dragotin dragotin added the ReadyToTest QA, please validate the fix/enhancement label Apr 4, 2016
@SergioBertolinSG
Copy link

Works in OS X (10.11). Version 2.2.0-nightly20160408 (build 3250)
Works in Windows 10. 2.2.0-nightly20160408 (build 5980)

Not sure if checking this on mobile has been done before, has it @jesmrec ?

@SergioBertolinSG
Copy link

Notifications from experimental app 'announcements' are not being shown by the desktop client (both windows & mac). @dragotin are this expected to appear?

@nickvergessen
Copy link
Contributor

Well it worked for me when I tested it two days ago

@SergioBertolinSG
Copy link

Ok, sorry, notifications appeared after a while in mac os, in windows it need a restart. But activity app was required to read those notifications. Filed here: #4651

@dragotin
Copy link
Contributor

dragotin commented Apr 8, 2016

Yes, the notifications from the announcements app need to show up. Probably they did not for you because activities were disabled. I need to address that.

@guruz guruz removed the ReadyToTest QA, please validate the fix/enhancement label Apr 11, 2016
@dragotin dragotin added the ReadyToTest QA, please validate the fix/enhancement label Apr 11, 2016
@carlaschroder
Copy link
Contributor

Thanks @dragotin.

@ckamm
Copy link
Contributor

ckamm commented Apr 14, 2016

Testing on linux: Works!

I got a tray message about a new remote share, but when I opened owncloud I had to manually navigate to Activity/Server Activity. If I hadn't known where to find it, I might have been confused.

I couldn't get the announcement center notifications to work server-side, unfortunately.

@mcastroSG
Copy link

##Notifications


Hi hi:

Test Case ID Test case Steps Expected behaviour Result Related Comments
1 Notifications - Remote share 1.- As user1 share a folder with user2 using federated sharing
At desktop client connected as user2 a new notification is shown at server activity tab and we are able to select Accept or Decline shared file.
A bubble alert appears including notification.
2 Notifications - Announcement 1.- As admin enable Announcement Center App
2.- As admin access to Announcements menu and write a new announcement.
At any client desktop connected to this sever a new notification is shown at server activity tab that could be removed clicking OK button
A bubble alert appears including notification.

OSX:

Client OS: OS X El capitán 10.11.4
Client Version: Version 2.2.0-nightly20160504 (build 3331)

OSW:

Client OS: W81
Client Version: Version 2.2.0-nightly20160505 (build 6054)
OSLinux

Client OS: Ubuntu 14.04 LTE
Client Version: Version 2.2.0nightly201654 (build 1587)

@mcastroSG mcastroSG removed the ReadyToTest QA, please validate the fix/enhancement label May 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

No branches or pull requests

9 participants