Merge remote-tracking branch 'upstream/pull/4319'
This commit is contained in:
commit
cebda5ffb9
26 changed files with 815 additions and 4 deletions
|
@ -51,6 +51,10 @@ if defined?(ActiveRecord::ConnectionAdapters::AbstractAdapter)
|
|||
execute "DROP TYPE #{enumeration_name}"
|
||||
end
|
||||
|
||||
def add_enumeration_value(enumeration_name, value)
|
||||
execute "ALTER TYPE #{enumeration_name} ADD VALUE '#{value}'"
|
||||
end
|
||||
|
||||
def rename_enumeration(old_name, new_name)
|
||||
old_name = quote_table_name(old_name)
|
||||
new_name = quote_table_name(new_name)
|
||||
|
|
|
@ -2739,12 +2739,15 @@ en:
|
|||
role:
|
||||
administrator: "This user is an administrator"
|
||||
moderator: "This user is a moderator"
|
||||
importer: "This user is a importer"
|
||||
grant:
|
||||
administrator: "Grant administrator access"
|
||||
moderator: "Grant moderator access"
|
||||
importer: "Grant importer access"
|
||||
revoke:
|
||||
administrator: "Revoke administrator access"
|
||||
moderator: "Revoke moderator access"
|
||||
importer: "Revoke importer access"
|
||||
block_history: "Active Blocks"
|
||||
moderator_history: "Blocks Given"
|
||||
comments: "Comments"
|
||||
|
|
|
@ -62,6 +62,13 @@ min_changeset_comments_per_hour: 1
|
|||
initial_changeset_comments_per_hour: 6
|
||||
max_changeset_comments_per_hour: 60
|
||||
moderator_changeset_comments_per_hour: 36000
|
||||
# Rate limit for changes
|
||||
min_changes_per_hour: 100
|
||||
initial_changes_per_hour: 1000
|
||||
max_changes_per_hour: 100000
|
||||
days_to_max_changes: 7
|
||||
importer_changes_per_hour: 1000000
|
||||
moderator_changes_per_hour: 1000000
|
||||
# Domain for handling message replies
|
||||
#messages_domain: "messages.openstreetmap.org"
|
||||
# MaxMind GeoIPv2 database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue