mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 22:48:33 +08:00
7079698cdf
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. |
||
---|---|---|
.. | ||
email_polling_errored_recently_spec.rb | ||
facebook_config_spec.rb | ||
failing_emails_spec.rb | ||
force_https_spec.rb | ||
github_config_spec.rb | ||
google_analytics_version_spec.rb | ||
google_oauth2_config_spec.rb | ||
group_email_credentials_spec.rb | ||
host_names_spec.rb | ||
image_magick_spec.rb | ||
maxmind_db_configuration_spec.rb | ||
missing_mailgun_api_key_spec.rb | ||
out_of_date_themes_spec.rb | ||
rails_env_spec.rb | ||
ram_spec.rb | ||
s3_backup_config_spec.rb | ||
s3_cdn_spec.rb | ||
s3_upload_config_spec.rb | ||
sidekiq_check_spec.rb | ||
subfolder_ends_in_slash_spec.rb | ||
translation_overrides_spec.rb | ||
twitter_config_spec.rb | ||
twitter_login_spec.rb | ||
unreachable_themes_spec.rb | ||
watched_words_spec.rb |