IITC-CE / ingress-intel-total-conversion

intel.ingress.com total conversion user script with some new features. Should allow easier extension of the intel map.
https://iitc.app
ISC License
291 stars 109 forks source link

IITCM ignores status codes on Updates #357

Open Aradiv opened 4 years ago

Aradiv commented 4 years ago

IITC-Mobile doesn't check the actuall response code when trying to update an userscript.

This leads to destroyed plugins whenever the update failes due to an server side error response (everything not a 200 with the actuall userscript)

Solution:

IITC Mobile needs to check the response code when requesting the new plugin data and only proceed updating if it gets an 200 OK.

johnd0e commented 4 years ago

@Aradiv Part of #257