Code Monkey home page Code Monkey logo

starlink-data-tracker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

starlink-data-tracker's Issues

/network: 403 Forbidden from mapbox

Using Firefox Nightly 125.0a1 (2024-03-17) (64-bit) on Debian 12 Bookworm amd64 the map is not rendered; console shows mapbox API requests forbidden.

10:43:52.234 XHRGET
https://api.mapbox.com/v4/mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2.json?secure&access_token=pk.eyJ1IjoibWlja3kyMDAwIiwiYSI6ImNsNTZ1cTRwczExM3IzZHBiazdwcHYyb3QifQ.JmQFU60YVC9BmejSdlmAzA
[HTTP/1.1 403 Forbidden 314ms]

	
GET
	https://api.mapbox.com/v4/mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2.json?secure=&access_token=pk.eyJ1IjoibWlja3kyMDAwIiwiYSI6ImNsNTZ1cTRwczExM3IzZHBiazdwcHYyb3QifQ.JmQFU60YVC9BmejSdlmAzA
Status
403
Forbidden
VersionHTTP/1.1
Transferred631 B (23 B size)
Referrer Policystrict-origin-when-cross-origin
DNS ResolutionSystem

    	
    Access-Control-Allow-Origin
    	*
    Access-Control-Expose-Headers
    	Link
    Cache-Control
    	max-age=43200,s-maxage=300,stale-while-revalidate=300,stale-if-error=600
    Connection
    	keep-alive
    Content-Length
    	23
    Content-Type
    	application/json; charset=utf-8
    Date
    	Thu, 28 Mar 2024 10:43:52 GMT
    ETag
    	W/"17-bqIm6pxC4cx+ZoszvXxsClwgWw8"
    Vary
    	Accept-Encoding
    Via
    	1.1 127aaaaca740f298a4c887357ec047b4.cloudfront.net (CloudFront)
    X-Amz-Cf-Id
    	xCFEYv3QpzqqV834ajpEUKpfhquqQJx128O7yqNoOmMyR1ixBhVGnw==
    X-Amz-Cf-Pop
    	CDG52-P2
    X-Cache
    	Error from cloudfront
    X-Content-Type-Options
    	nosniff
    	
    Accept
    	application/json
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-GB,en-US;q=0.7,en;q=0.3
    Connection
    	keep-alive
    DNT
    	1
    Host
    	api.mapbox.com
    Origin
    	https://starlinktrack.com
    Referer
    	https://api.mapbox.com/
    Sec-Fetch-Dest
    	empty
    Sec-Fetch-Mode
    	cors
    Sec-Fetch-Site
    	cross-site
    Sec-GPC
    	1
    User-Agent
    	Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0

Firmware version regex

Lately the firmware versions pushed to my dishy have been either the old 'uterm.release' or the new 'uterm_manifest.release'. Should support be added back in for the old naming style?

Validating input on "add" form

I think if we add a little protection to the add form now it will save some moderation work in the future. Some rules to check the input to the add form

  1. Verify the added firmware version isn't already in the database, to prevent a likely mistake. Simplest is just to reject any duplicates. But it might make sense to update the discussion URL if it wasn't set before. Should not reset the date.
  2. Verify the submitted URL has a hostname of reddit.com, to make spamming the site much less appealing.

(we could also verify the format of the Dishy firmware strings, but I think that may create problems. The format has already changed once.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.