X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a5c9a8052489c04a64856c2f0579647a1637326..2cfc030bbac65d8cb687ee17e6fbf18ffa5ea2cc:/config/settings.yml?ds=sidebyside diff --git a/config/settings.yml b/config/settings.yml index ec868b651..2e0346f00 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -23,6 +23,10 @@ api_version: "0.6" # database_offline - database offline with site in emergency mode # gpx_offline - gpx storage offline status: "online" +# Expected services restoration date added to offline flash messages +#status_expected_restore_date: "2024-12-18 12:00:00Z" +# Application status announcement url added to offline flash messages +#status_announcement_url: "https://en.osm.town/@osm_tech" # The maximum area you're allowed to request, in square degrees max_request_area: 0.25 # Number of GPS trace/trackpoints returned per-page @@ -59,12 +63,17 @@ user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 8766 user_account_deletion_delay: null # Rate limit for message sending max_messages_per_hour: 60 -# Rate limit for friending -max_friends_per_hour: 60 +# Default limit on the number of messages returned by inbox and outbox message api +default_message_query_limit: 100 +# Maximum number of messages returned by inbox and outbox message api +max_message_query_limit: 100 +# Rate limit for following +max_follows_per_hour: 60 # Rate limit for changeset comments min_changeset_comments_per_hour: 1 initial_changeset_comments_per_hour: 6 max_changeset_comments_per_hour: 60 +comments_to_max_changeset_comments: 200 moderator_changeset_comments_per_hour: 36000 # Rate limit for changes min_changes_per_hour: 100 @@ -73,6 +82,13 @@ max_changes_per_hour: 100000 days_to_max_changes: 7 importer_changes_per_hour: 1000000 moderator_changes_per_hour: 1000000 +# Size limit for changes +min_size_limit: 10000000 +initial_size_limit: 30000000 +max_size_limit: 5400000000 +days_to_max_size_limit: 28 +importer_size_limit: 5400000000 +moderator_size_limit: 5400000000 # Domain for handling message replies #messages_domain: "messages.openstreetmap.org" # MaxMind GeoIPv2 database @@ -95,14 +111,6 @@ attachments_dir: ":rails_root/public/attachments" #logstash_path: "" # List of memcache servers to use for caching #memcache_servers: [] -# Enable HTTP basic authentication support -basic_auth_support: true -# Enable OAuth 1.0/1.0a registration -oauth_10_registration: true -# Enable legacy OAuth 1.0 support -oauth_10_support: true -# Enable OAuth 1.0a support -oauth_10a_support: true # URL of Nominatim instance to use for geocoding nominatim_url: "https://nominatim.openstreetmap.org/" # Default editor