discourse/app/services/problem_check
Alan Guo Xiang Tan 7079698cdf
FIX: Use MaxMind supplied permalinks to download MaxMind databases (#26847)
This commit switches `DiscourseIpInfo.mmdb_download` to use the
permalinks supplied by MaxMind to download the MaxMind databases as
specified in
https://dev.maxmind.com/geoip/updating-databases#directly-downloading-databases
which states:

```
To directly download databases, follow these steps:

1. In the "Download Links" column, click "Get Permalink(s)" for the desired database.
2. Copy the permalink(s) provided in the modal window.
3. Provide your account ID and your license key using Basic Authentication to authenticate.
```

Previously we are downloading from `https://download.maxmind.com/app/geoip_download` but this is not
documented anyway on MaxMind's docs so this URL can in theory break
in the future without warning. Therefore, we are taking a proactive
approach to download the databases from MaxMind the recommended way
instead of relying on a hidden URL. This old way of downloading the
databases with only a license key will be deprecated in 3.3 and be
removed in 3.4.
2024-05-09 15:11:56 +08:00
..
email_polling_errored_recently.rb
facebook_config.rb
failing_emails.rb
force_https.rb
github_config.rb
google_analytics_version.rb
google_oauth2_config.rb
group_email_credentials.rb
host_names.rb
image_magick.rb
maxmind_db_configuration.rb FIX: Use MaxMind supplied permalinks to download MaxMind databases (#26847) 2024-05-09 15:11:56 +08:00
missing_mailgun_api_key.rb FIX: Amend broken Mailgun API key check (#26206) 2024-03-18 09:10:30 +10:00
out_of_date_themes.rb
problem.rb
rails_env.rb
ram.rb
s3_backup_config.rb
s3_cdn.rb
s3_upload_config.rb
sidekiq_check.rb DEV: Promote block problem checks to ProblemCheck (#26193) 2024-03-20 08:52:25 +08:00
subfolder_ends_in_slash.rb
translation_overrides.rb
twitter_config.rb
twitter_login.rb
unreachable_themes.rb
watched_words.rb