mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
Keep the place suggester's fair-use and privacy promises
- One spacing, pause and cache for the whole tab, so a search box put up again does not start afresh. - A failed request or a timeout pauses suggestions for a minute, as a refusal does. - A number named as a card, a phone or an account keeps its digits together, so no address is read out of them; a UK postcode written without its space is a place, not a password. - The docs say exactly what is sent. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
9ec95102ca
commit
c06aa37ce2
5 files changed
+126
-47
No files matched your search
@@ -1,6 +1,6 @@
|
||||
- The place suggester asks Photon for candidates while a place is typed: at
|
||||
most one request every 500 ms per tab, none for a minute after a refusal,
|
||||
and never text that may be private (an email address, long numbers, an
|
||||
IBAN shape, a password, PIN, token or key). An empty `PHOTON_URL` turns it
|
||||
off along with the place search. The search box that uses it follows
|
||||
(manjunath22466, samehkhamis, #1814).
|
||||
most one request every 500 ms per tab, none for a minute after a refusal
|
||||
or a failed request, and never text that may be private (an email address,
|
||||
long numbers, an IBAN shape, a password, PIN, token or key). An empty
|
||||
`PHOTON_URL` turns it off along with the place search. The search box that
|
||||
uses it follows (manjunath22466, samehkhamis, #1814).
|
||||
Reference in new issue
Block a user