]> git.openstreetmap.org Git - rails.git/blobdiff - config/settings.yml
Add rate limiting to user friendships
[rails.git] / config / settings.yml
index d91f52f0847a86f76aad6d6a3379f853ea266e73..81ab3701597a304a314adb95e6bcf2a4adf525c8 100644 (file)
@@ -45,12 +45,14 @@ web_timeout: 30
 user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 87660]
 # Rate limit for message sending
 max_messages_per_hour: 60
+# Rate limit for friending
+max_friends_per_hour: 60
 # Domain for handling message replies
 #messages_domain: "messages.openstreetmap.org"
 # Geonames authentication details
 #geonames_username: ""
-# GeoIP database
-#geoip_database: ""
+# MaxMind GeoIPv2 database
+#maxmind_database: ""
 # Users to show as being nearby
 nearby_users: 30
 # Max radius, in km, for nearby users
@@ -82,8 +84,6 @@ oauth_10_support: true
 nominatim_url: "https://nominatim.openstreetmap.org/"
 # Default editor
 default_editor: "id"
-# OAuth consumer key for Potlatch 2
-#potlatch2_key: ""
 # OAuth consumer key for the web site
 #oauth_key: ""
 # OAuth consumer key for iD
@@ -124,3 +124,15 @@ csp_enforce: false
 #csp_report_url: ""
 # Storage service to use in production mode
 storage_service: "local"
+# Root URL for storage service
+# storage_url:
+# URL for tile CDN
+#tile_cdn_url: ""
+# SMTP settings for outbound mail
+smtp_address: "localhost"
+smtp_port: 25
+smtp_domain: "localhost"
+smtp_enable_starttls_auto: false
+smtp_authentication: null
+smtp_user_name: null
+smtp_password: null