repology / repology-webapp

Repology web application
https://repology.org
GNU General Public License v3.0
200 stars 26 forks source link

Autorefresh in Recent CVEs and CPE bindings doesn't work as expected #213

Closed tocic closed 1 year ago

tocic commented 1 year ago

Clicking on the Enable button doesn't switch it to the Disable button. Instead, the Published column is changed.

https://repology.org/security/recent-cves?autorefresh=1

autorefresh

AMDmi3 commented 1 year ago

Clicking on the Enable button doesn't switch it to the Disable button.

Confirmed. Support for autorefresh var in the view is missing.

Instead, the Published column is changed

This is somewhat expected - it just blinks as UTC dates are converted to local timezone after the page loads. There may be unrelated problem if it stays at UTC though. In fact it would be nice to convert dates even before they are rendered, but I currently dunno how to do that.