aspirepress / AspireCloud

AspireCloud is designed to act as an API server and passthrough endpoint for WP.org (where the endpoints are not implemented by us).
MIT License
32 stars 11 forks source link

Implement Endpoint: /core/browse-happy #45

Open chuckadams opened 1 month ago

chuckadams commented 1 month ago

Whatever the gosh-darn heck this endpoint actually does, let's do it too

yosefeliezrie commented 4 weeks ago

The Browse Happy API—which detects a browser via user-agent string and determines and returns some basic information about certain browsers, including if it needs an update or is insecure—is developed as a separate project. This API is used by the WordPress.org software for the admin dashboard widget that alerts a user if they are using an outdated or insecure browser.

The code for that project can be found at https://meta.svn.wordpress.org/sites/trunk/api.wordpress.org/public_html/core/browse-happy/ and here https://github.com/WordPress/browsehappy.

WordPress.org core tract has a "Browse Happy" component at https://meta.trac.wordpress.org/

chuckadams commented 3 weeks ago

Actually I'm not sure if the separate browsehappy project is used, the endpoint appears to be pretty well contained here: https://github.com/WordPress/wordpress.org/blob/e5a07055d2ddf239cc20f752bc182bed70a15d5f/api.wordpress.org/public_html/core/browse-happy/1.0/index.php