mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Merge remote-tracking branch 'origin/master' into repp-domains
This commit is contained in:
commit
42adaa7159
41 changed files with 803 additions and 143 deletions
|
@ -87,8 +87,11 @@ sk_digi_doc_service_name: 'Testimine'
|
|||
registrant_api_base_url:
|
||||
registrant_api_auth_allowed_ips: '127.0.0.1, 0.0.0.0' #ips, separated with commas
|
||||
|
||||
# Bounces API
|
||||
api_shared_key: testkey
|
||||
# Shared key for REST-WHOIS Bounces API incl. CERT
|
||||
rwhois_bounces_api_shared_key: testkey
|
||||
|
||||
# Link to REST-WHOIS API
|
||||
rwhois_internal_api_shared_key: testkey
|
||||
|
||||
# Base URL (inc. https://) of REST registrant portal
|
||||
# Leave blank to use internal registrant portal
|
||||
|
|
4
config/initializers/aws_ses.rb
Normal file
4
config/initializers/aws_ses.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
Aws.config.update(
|
||||
region: ENV['aws_default_region'],
|
||||
credentials: Aws::Credentials.new(ENV['aws_access_key_id'], ENV['aws_secret_access_key'])
|
||||
)
|
6
config/locales/registrar/admin_contacts.en.yml
Normal file
6
config/locales/registrar/admin_contacts.en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
registrar:
|
||||
admin_contacts:
|
||||
update:
|
||||
replaced: Admin contacts have been successfully replaced.
|
||||
replaced: Technical contacts have been successfully replaced.
|
11
config/locales/registrar/admin_contacts.yml
Normal file
11
config/locales/registrar/admin_contacts.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
en:
|
||||
registrar:
|
||||
admin_contacts:
|
||||
update:
|
||||
replaced: Admin contacts have been successfully replaced.
|
||||
affected_domains: Affected domains
|
||||
skipped_domains: Skipped domains
|
||||
process_request:
|
||||
affected_domains: Affected domains
|
||||
skipped_domains: Skipped domains
|
||||
replaced: Admin contacts have been successfully replaced.
|
|
@ -4,6 +4,7 @@ en:
|
|||
new:
|
||||
header: Bulk change
|
||||
technical_contact: Technical contact
|
||||
admin_contact: Admin contact
|
||||
nameserver: Nameserver
|
||||
bulk_transfer: Bulk transfer
|
||||
bulk_renew: Bulk renew
|
||||
|
@ -17,6 +18,19 @@ en:
|
|||
Replace technical contact specified in "current contact ID" with the one in "new
|
||||
contact ID" on any domain registered under this registrar
|
||||
|
||||
admin_contact_form:
|
||||
current_contact_id: Current admin contact ID
|
||||
new_contact_id: New admin contact ID
|
||||
submit_btn: Replace admin contacts
|
||||
help_btn: Toggle help
|
||||
help: >-
|
||||
Replace admin contact specified in "current contact ID" with the one in "new
|
||||
contact ID" on any domain registered under this registrar. Contact idents must
|
||||
be the same
|
||||
comment: >-
|
||||
Bulk admin change is only allowed in case of old and new contact are sharing identical
|
||||
ident data ie for updating contact information.
|
||||
|
||||
nameserver_form:
|
||||
ip_hint: One IP per line
|
||||
replace_btn: Replace nameserver
|
||||
|
@ -38,3 +52,5 @@ en:
|
|||
domain_ids: Domains for bulk renewal
|
||||
current_balance: Current balance
|
||||
period: Period
|
||||
affected_domains: Affected domains
|
||||
skipped_domains: Skipped domains
|
||||
|
|
|
@ -5,3 +5,7 @@ en:
|
|||
replaced: Technical contacts have been successfully replaced.
|
||||
affected_domains: Affected domains
|
||||
skipped_domains: Skipped domains
|
||||
process_request:
|
||||
affected_domains: Affected domains
|
||||
skipped_domains: Skipped domains
|
||||
replaced: Technical contacts have been successfully replaced.
|
||||
|
|
|
@ -73,6 +73,7 @@ Rails.application.routes.draw do
|
|||
get ':id/transfer_info', to: 'domains#transfer_info', constraints: { id: /.*/ }
|
||||
post 'transfer', to: 'domains#transfer'
|
||||
patch 'contacts', to: 'domains/contacts#update'
|
||||
patch 'admin_contacts', to: 'domains/admin_contacts#update'
|
||||
post 'renew/bulk', to: 'domains/renews#bulk_renew'
|
||||
end
|
||||
end
|
||||
|
@ -100,6 +101,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
resources :auctions, only: %i[index show update], param: :uuid
|
||||
resources :contact_requests, only: %i[create update], param: :id
|
||||
resources :bounces, only: %i[create]
|
||||
end
|
||||
|
||||
|
@ -145,6 +147,7 @@ Rails.application.routes.draw do
|
|||
resource :bulk_change, controller: :bulk_change, only: :new
|
||||
post '/bulk_renew/new', to: 'bulk_change#bulk_renew', as: :bulk_renew
|
||||
resource :tech_contacts, only: :update
|
||||
resource :admin_contacts, only: :update
|
||||
resource :nameservers, only: :update
|
||||
resources :contacts, constraints: {:id => /[^\/]+(?=#{ ActionController::Renderers::RENDERERS.map{|e| "\\.#{e}\\z"}.join("|") })|[^\/]+/} do
|
||||
member do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue