plugin-portal icon indicating copy to clipboard operation
plugin-portal copied to clipboard

Update Notifications

Open Dawsson opened this issue 1 year ago • 3 comments

Feature Description

Alert the user of what plugins need to be updated

Why is this feature needed?

No way to detect which can be updated atm.

Additional Info

@MLGPenguin We need to talk about how we want to do this. I am concerned about our servers becoming flooded with requests every time a server checks. Doesn't help that 500 servers+ will be checking this once everyone updates

Dawsson avatar Jul 01 '24 19:07 Dawsson

Some of the load could be mitigated if you cache the latest versions of plugins for about a hour? and send all installed plugin ids in a list, eg plugin1;plugin2?

sequoiadotdev avatar Jul 01 '24 20:07 sequoiadotdev

Hopefully I can make a "lighter" mongo aggregation query, ill try it out today in that case

Dawsson avatar Jul 01 '24 20:07 Dawsson

I just updated from v1.5 to v2.0.3. On v1.5, using "pluginportal update" command without specifying a name returned a list of outdated plugins but now that functionality got removed and replaced with an error message saying "No value provided for name"

v1.5
pluginportal update
[00:39:37] [Server thread/INFO]: [PP] > Listing all outdated plugins...
[00:39:37] [Server thread/INFO]: + AngelChest Free
v2.0.3
pluginportal update
[00:46:33 INFO]:  -----------------------------------------------
[FAILURE]: No value provided for name

Could this functionality be added back if server load concerns persist?

okunamayanad avatar Jul 05 '24 00:07 okunamayanad