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

Refresh client app after a client rpm upgrade #5725

Closed
alepolidori opened this issue Oct 22, 2019 · 34 comments
Closed

Refresh client app after a client rpm upgrade #5725

alepolidori opened this issue Oct 22, 2019 · 34 comments
Labels
nethcti Relative to NethCTI client or server verified All test cases were verified successfully

Comments

@alepolidori
Copy link

alepolidori commented Oct 22, 2019

Description

It would be very useful to have a mechanism to avoid the need of page refresh after an rpm client upgrade.
After the upgrade of the nethcti3 package, the clients have to be notified about the presence of an upgrade and they can choose to refresh the page or to postpone it.
The notification may be notified using the already present icon in the upper bar.
The refresh of the page has to reload all the code.

Actual behavior

The clients are never notified about an upgrade.
The administrator has to notify all the clients to refresh the page of the browser.

Components

cti client & server

@alepolidori alepolidori added enhancement nethcti Relative to NethCTI client or server labels Oct 22, 2019
@alepolidori alepolidori added this to the NethVoice 14 milestone Oct 22, 2019
@stale
Copy link

stale bot commented Dec 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the invalid It is not valid because of some formal issue, it is a duplicate or a wontfix label Dec 1, 2019
@alepolidori alepolidori removed the invalid It is not valid because of some formal issue, it is a duplicate or a wontfix label Dec 2, 2019
@gsanchietti gsanchietti removed this from the NethVoice 14 milestone Jan 10, 2020
@alepolidori alepolidori changed the title NethCTI 3: add update mechanism after a client upgrade Create a method to tell the client if to refresh the app after an client upgrade has been happened into the server Jan 10, 2020
@alepolidori alepolidori changed the title Create a method to tell the client if to refresh the app after an client upgrade has been happened into the server Refresh client app after a client rpm upgrade Jan 10, 2020
@stale
Copy link

stale bot commented Feb 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 19, 2020
@stale
Copy link

stale bot commented Apr 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the invalid It is not valid because of some formal issue, it is a duplicate or a wontfix label Apr 4, 2020
@alepolidori alepolidori removed the invalid It is not valid because of some formal issue, it is a duplicate or a wontfix label Apr 6, 2020
@alepolidori
Copy link
Author

For the analysis take a look at the trello board

@stale
Copy link

stale bot commented Jun 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the invalid It is not valid because of some formal issue, it is a duplicate or a wontfix label Jun 2, 2020
@alepolidori alepolidori removed the invalid It is not valid because of some formal issue, it is a duplicate or a wontfix label Jun 3, 2020
@alepolidori alepolidori self-assigned this Jul 8, 2020
@alepolidori
Copy link
Author

alepolidori commented Jul 13, 2020

Once an update of the cti client rpm has been detected, a new permanent desktop notification is displayed

image

Clicking into the notification will cause the cti page to be showed on foreground and the dialog of the notifications will be showed:

image

If the user choose to close the permanent desktop notification is not a problem, because a notification will be present inside cti application:

image

Software version is checked every 60 seconds by the server.

@alepolidori
Copy link
Author

alepolidori commented Jul 13, 2020

How to test

  • verify the correct visualization of the permanent desktop notification and the notifications inside the cti on a client rpm update
  • verify that the permanent desktop notification is not showed when the user has chosen to hide desktop notifications from the settings page
  • verify the update of the server a client at the same time
  • verify the correct behavior when the update has happened when the client is logged off and then logged in
  • verify the correct behavior when the update has happened when the client is closed and the open it
  • verify the correct behavior when the update has happened when the client is reconnecting
  • verify the correct behavior when the update has happened when the server is closed
  • verify the correct behavior with chrome and firefox using the current browser instance and the cleaned one (at the login the user has to be notified about giving the notification permission)

You can use this fake rpm for testing purpose.

@nethbot
Copy link
Member

nethbot commented Jul 14, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.1-1.4.g70eb7cc.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.1-1.4.g70eb7cc.ns7.x86_64.rpm x86_64

@alepolidori alepolidori added the testing Packages are available from testing repositories label Jul 14, 2020
@nethbot
Copy link
Member

nethbot commented Jul 15, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.1-1.5.ged0df7e.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 16, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.1-1.5.g7d24983.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.1-1.5.g7d24983.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 17, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.1-1.6.ge6d4537.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.1-1.6.ge6d4537.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 17, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.1-1.7.g4cf623b.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.1-1.7.g4cf623b.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 17, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.1-1.6.g3668f40.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 27, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.3.g4e68179.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 27, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.2-1.3.g42b984b.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.2-1.3.g42b984b.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 29, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.4.g6563b91.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 29, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.5.g597c9de.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 29, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.6.g06eb1ed.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 29, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.2-1.6.ged620f5.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.2-1.6.ged620f5.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 29, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.7.g44a6e88.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jul 30, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.9.gfdcaff6.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 1, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.10.ge674b6f.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 2, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.11.ge95107c.ns7.noarch.rpm x86_64

@andrea-marchionni andrea-marchionni added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Sep 2, 2020
@andrea-marchionni andrea-marchionni removed their assignment Sep 2, 2020
@nethbot
Copy link
Member

nethbot commented Sep 3, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.12.g21b151b.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 3, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.2-1.7.g73cef40.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.2-1.7.g73cef40.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 4, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.2-1.8.gdf79567.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.2-1.8.gdf79567.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 7, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.13.g553a855.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 7, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.14.g23eab03.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 9, 2020

in 7.8.2003/nethesis-testing:

  • nethcti3-3.19.2-1.10.ge674b6f.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 9, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.2-1.6.ged620f5.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.2-1.6.ged620f5.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 9, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.19.2-1.7.g4e5ef68.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.19.2-1.7.g4e5ef68.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 9, 2020

in 7.8.2003/nethesis-updates:

  • nethcti3-3.20.0-1.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Sep 9, 2020

in 7.8.2003/nethesis-updates:

  • nethcti-server3-3.20.0-1.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.20.0-1.ns7.x86_64.rpm x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nethcti Relative to NethCTI client or server verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

5 participants