Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer and Upgrade Thunderforest account #214

Closed
ColmDC opened this issue Jul 4, 2023 · 17 comments
Closed

Transfer and Upgrade Thunderforest account #214

ColmDC opened this issue Jul 4, 2023 · 17 comments

Comments

@ColmDC
Copy link
Contributor

ColmDC commented Jul 4, 2023

Is your feature request related to a problem? Please describe.
To date we have been using a free account with the tile service Thunderforest. It is also still in an account with SEA. We have had a significant increase in demand on the service and they have requested we upgrade.

Describe the solution you'd like
Open a DCC account with Thunderforest on the lowest tier paid plan. Generate a new API key and start using it for all MykoMaps

Describe alternatives you've considered
Non considered

Additional context
We haven't reviewed tile server options for some time. Might be worth scheduling a review at some point, but it seems reasonable to at least pay for a few months before considering switching, service given how long we have used their free service.

Message from their admin below.

I've been looking at the requests on your account and we need to upgrade your account to a paid plan. Your current monthly quota period started on 18 June and since then you've made 262,613 requests. Your current Hobby Project plan includes a quota of 150,000 requests per month, which you've now exceeded.

Here are some details of the requests made in the past few days:

2023-07-02 | 11,190
2023-07-01 | 31,058
2023-06-30 | 48,057
2023-06-29 | 41,702
2023-06-28 | 37,214
2023-06-27 | 55,664
2023-06-26 | 7,230
2023-06-25 | 4,450
2023-06-24 | 1,519
2023-06-23 | 5,002
2023-06-22 | 3,619
2023-06-21 | 4,842
2023-06-20 | 3,857
2023-06-19 | 3,801
2023-06-18 | 3,408

To upgrade your account to the Solo Developer plan, please sign in to your Thunderforest account at:

https://manage.thunderforest.com/

There you can add or change your payment cards and invoicing details, and upgrade your account to the Solo Developer plan.

@ColmDC ColmDC changed the title Transfer and Upgrade Thunder Transfer and Upgrade Thunderforest account Jul 4, 2023
@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 4, 2023

I commited to them that we would complete the transfer this month.

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 21, 2023

API Key and account details in BitWarden.

@wu-lee
Copy link
Contributor

wu-lee commented Jul 21, 2023

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 21, 2023

(also updated the prod branch to MM 3.0.7)
:-/ I expect ICA will notice the non localised names for the filters. What was in the previous about box? What else might they notice?...

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 21, 2023

Pushing to prod needs QA first.

@wu-lee
Copy link
Contributor

wu-lee commented Jul 21, 2023

Ok - reverted.

about.html has been gone since before the last production deploy version - the content was supplied by older defaults which have been removed.

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 22, 2023

the content was supplied by older defaults which have been removed.

What do you mean by that?

@wu-lee
Copy link
Contributor

wu-lee commented Jul 23, 2023

If you look at the production ICA map's about page now - there is no about.html custom text, and all of that text is boilerplate generated by the MM code. The text is a distillation of the common part which all the maps said up until that point. The code had translations for several languages, and inserted a link to the data source generated from the config. Any custom text which exists in about.html provided gets inserted above that boilerplate.

But this feature was removed, for reasons I can't pin down right now. So the MM v3.0.7 ICA map has no about text, as there no boilerplate any more.

I have had a hunt for the issue relating to this removal, without total success: I recall there being a problem with the text and you essentially saying "remove it all". These aren't that, but seem to be fairly closely related:

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 23, 2023

Noted changes to how about panel is generated. I think that panel needs a review as part of the move make MMs more easily configurable. Further discussion on this thread however doesn't male sense.

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 23, 2023

male sense.

or female sense.

@wu-lee
Copy link
Contributor

wu-lee commented Jul 24, 2023

Ok, ICA, DotCoopp and Mutual Aid API keys fixed, details will be updated in the comment above.

Incidentally - I note that the both DotCoop maps have a French co-op floating a few hundred miles off the coast of Madagascar

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 24, 2023

French co-op floating a few hundred miles off the coast of Madagascar

It's probably a French protectorate. Reunion perhaps?

@wu-lee
Copy link
Contributor

wu-lee commented Jul 25, 2023

Ah yes - zoom in and it is an island.

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 25, 2023

How can I test this? If Thunderforest disable the SEA API, will any of the maps no lonfer have tiles?

@wu-lee
Copy link
Contributor

wu-lee commented Jul 25, 2023

I tested it by opening the browser's developer console and checking the tileserver query URLs in the network panel have the right API key.

I suppose you could also go to shipshape and check the maps' config JSON there - they should also show the API key in the tileserver URL paramter (tileURL). But the above is a more definitive check that it is actually being used.

As for what happens if the old API key is disabled - I did a text search on locally checked out projects which use the thunderforest tiles, and the ones above are the ones I found.

The important ones will be on shipshape, and they will show the tileserver URL (tileURL) - if it's not there the default is to use OpenStreetMap. Checking: I missed one - ica-youth. I'll do that too, but I think that's unused?

@ColmDC
Copy link
Contributor Author

ColmDC commented Jul 25, 2023

not there the default is to use OpenStreetMap.

Do you mean there is a free OSM tileserver avaialbe as well. If so, can you point me to it?

@ColmDC ColmDC closed this as completed Jul 25, 2023
@wu-lee
Copy link
Contributor

wu-lee commented Jul 25, 2023

The default tileserver URL is https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png #

The service is the first one in the table here:

https://wiki.openstreetmap.org/wiki/Raster_tile_providers

wu-lee pushed a commit to DigitalCommons/mutual-aid-project that referenced this issue Oct 19, 2023
wu-lee pushed a commit to DigitalCommons/mutual-aid-project that referenced this issue Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants