Merge branch 'master' of github.com:internetee/registry

This commit is contained in:
Andres Keskküla 2014-12-22 10:26:54 +02:00
commit 93a1d00619
57 changed files with 441 additions and 360 deletions

View file

@ -250,171 +250,170 @@ en:
attribute_op_is_invalid: 'Attribute op is invalid'
shared:
code: 'Code'
value: 'Value'
action: 'Action'
edit: 'Edit'
save: 'Save'
log_out: 'Log out (%{user})'
system: 'System'
settings: 'Settings'
domains: 'Domains'
epp_users: 'EPP Users'
registrars: 'Registrars'
valid_to: 'Valid to'
name: 'Name'
transfer_can_be_approved_only_by_current_registrar: 'Transfer can be approved only by current domain registrar'
registrar: 'Registrar'
owner: 'Owner'
domain_details: 'Domain details'
registered_at: 'Registered at'
password: 'Password'
valid_from: 'Valid from'
general: 'General'
contacts: 'Contacts'
tech_contacts: 'Technical contacts'
admin_contacts: 'Admin contacts'
identity_code: 'Identity code'
nameservers: 'Nameservers'
hostname: 'Hostname'
ipv4: 'IPv4'
ipv6: 'IPv6'
statuses: 'Statuses'
description: 'Description'
delete: 'Delete'
are_you_sure: 'Are you sure?'
back: 'Back'
new_domain: 'New domain'
registrar_name: 'Registrar name'
contact_code: 'Contact code'
add: 'Add'
domain: 'Domain'
nameserver: 'Nameserver'
back_to_domain: 'Back to domain'
edit_domain: 'Edit domain'
contact_was_not_found: 'Contact was not found!'
contact_already_exists: 'Contact already exists on this domain!'
failed_to_add_contact: 'Failed to add contact!'
contact_added: 'Contact added!'
contact_detached: 'Contact detached!'
failed_to_detach_contact: 'Failed to detach contact!'
new_domain_status: 'New domain status'
status_added: 'Status added!'
failed_to_add_status: 'Failed to add status!'
edit_domain_status: 'Edit domain status'
status_updated: 'Status updated!'
failed_to_update_status: 'Failed to update status!'
status_deleted: 'Status deleted!'
failed_to_delete_status: 'Failed to delete status!'
tech_contact: 'Tech contact'
new_domain_contact: 'New contact'
domain_status_prohibits_deleting: 'Domain status prohibits deleting'
domain_deleted: 'Domain deleted!'
failed_to_delete_domain: 'Failed to delete domain!'
email: 'Email'
fax: 'Fax'
contact_details: 'Contact details'
ident: 'Ident'
ident_type: 'Ident type'
address: 'Address'
country: 'Country'
city: 'City'
street: 'Street'
zip: 'Zip'
org_name: 'Organisation name'
failed_to_add_domain: 'Failed to add domain!'
domain_added: 'Domain added!'
new_contact: 'New contact'
add_another: 'Add another'
domain_updated: 'Domain updated!'
failed_to_update_domain: 'Failed to update domain'
failed_to_create_contact: 'Failed to create contact'
contact_deleted: 'Contact deleted'
failed_to_delete_contact: 'Failed to delete contact'
edit_contact: 'Edit contact'
failed_to_update_contact: 'Failed to update contact'
contact_updated: 'Contact updated'
search: 'Search'
reg_no: 'Reg. no'
status: 'Status'
eedirekt: 'EEDirekt'
contact: 'Contact'
code: 'Code'
value: 'Value'
action: 'Action'
edit: 'Edit'
save: 'Save'
log_out: 'Log out (%{user})'
system: 'System'
settings: 'Settings'
domains: 'Domains'
epp_users: 'EPP Users'
registrars: 'Registrars'
valid_to: 'Valid to'
name: 'Name'
transfer_can_be_approved_only_by_current_registrar: 'Transfer can be approved only by current domain registrar'
registrar: 'Registrar'
owner: 'Owner'
domain_details: 'Domain details'
registered_at: 'Registered at'
password: 'Password'
valid_from: 'Valid from'
general: 'General'
contacts: 'Contacts'
tech_contacts: 'Technical contacts'
admin_contacts: 'Admin contacts'
identity_code: 'Identity code'
nameservers: 'Nameservers'
hostname: 'Hostname'
ipv4: 'IPv4'
ipv6: 'IPv6'
statuses: 'Statuses'
description: 'Description'
delete: 'Delete'
are_you_sure: 'Are you sure?'
back: 'Back'
new_domain: 'New domain'
registrar_name: 'Registrar name'
contact_code: 'Contact code'
add: 'Add'
domain: 'Domain'
nameserver: 'Nameserver'
back_to_domain: 'Back to domain'
edit_domain: 'Edit domain'
contact_was_not_found: 'Contact was not found!'
contact_already_exists: 'Contact already exists on this domain!'
failed_to_add_contact: 'Failed to add contact!'
contact_added: 'Contact added!'
contact_detached: 'Contact detached!'
failed_to_detach_contact: 'Failed to detach contact!'
new_domain_status: 'New domain status'
status_added: 'Status added!'
failed_to_add_status: 'Failed to add status!'
edit_domain_status: 'Edit domain status'
status_updated: 'Status updated!'
failed_to_update_status: 'Failed to update status!'
status_deleted: 'Status deleted!'
failed_to_delete_status: 'Failed to delete status!'
tech_contact: 'Tech contact'
new_domain_contact: 'New contact'
domain_status_prohibits_deleting: 'Domain status prohibits deleting'
domain_deleted: 'Domain deleted!'
failed_to_delete_domain: 'Failed to delete domain!'
email: 'Email'
fax: 'Fax'
contact_details: 'Contact details'
ident: 'Ident'
ident_type: 'Ident type'
address: 'Address'
country: 'Country'
city: 'City'
street: 'Street'
zip: 'Zip'
org_name: 'Organisation name'
failed_to_add_domain: 'Failed to add domain!'
domain_added: 'Domain added!'
new_contact: 'New contact'
add_another: 'Add another'
domain_updated: 'Domain updated!'
failed_to_update_domain: 'Failed to update domain'
failed_to_create_contact: 'Failed to create contact'
contact_deleted: 'Contact deleted'
failed_to_delete_contact: 'Failed to delete contact'
edit_contact: 'Edit contact'
failed_to_update_contact: 'Failed to update contact'
contact_updated: 'Contact updated'
search: 'Search'
reg_no: 'Reg. no'
status: 'Status'
eedirekt: 'EEDirekt'
contact: 'Contact'
domain_transfer_requested: 'Domain transfer requested!'
domain_transfer_approved: 'Domain transfer approved!'
failed_to_approve_domain_transfer: 'Failed to approve domain transfer'
approve: 'Approve'
domain_already_belongs_to_the_querying_registrar: 'Domain already belongs to the querying registrar'
other_registrar_has_already_requested_to_transfer_this_domain: 'Other registrar has already requested to transfer this domain.'
transfer_domain: 'Transfer domain'
failed_to_request_domain_transfer: 'Failed to request domain transfer' #not used atm
domain_transfer: 'Domain transfer'
request_domain_transfer: 'Request domain transfer'
domain_valid_to: 'Domain valid to'
accept_time: 'Accept time'
transfer_from: 'Transfer from'
transferred_at: 'Transferred at'
domain_transfers_list: 'Domain transfers list'
domain_transfers: 'Domain transfers'
domain_transfer_requested: 'Domain transfer requested!'
domain_transfer_approved: 'Domain transfer approved!'
failed_to_approve_domain_transfer: 'Failed to approve domain transfer'
approve: 'Approve'
domain_already_belongs_to_the_querying_registrar: 'Domain already belongs to the querying registrar'
other_registrar_has_already_requested_to_transfer_this_domain: 'Other registrar has already requested to transfer this domain.'
transfer_domain: 'Transfer domain'
failed_to_request_domain_transfer: 'Failed to request domain transfer' #not used atm
domain_transfer: 'Domain transfer'
request_domain_transfer: 'Request domain transfer'
domain_valid_to: 'Domain valid to'
accept_time: 'Accept time'
transfer_from: 'Transfer from'
transferred_at: 'Transferred at'
domain_transfers_list: 'Domain transfers list'
domain_transfers: 'Domain transfers'
password_invalid: 'Password invalid!'
domain_was_not_found: 'Domain was not found!'
domain_list: 'Domain list'
create_new_domain: 'Create new domain'
welcome: 'Welcome!'
edit_statuses: 'Edit statuses'
contact_list: 'Contact list'
create_new_contact: 'Create new contact'
domain_pw: 'Domain password'
history: 'History'
password_invalid: 'Password invalid!'
domain_was_not_found: 'Domain was not found!'
domain_list: 'Domain list'
create_new_domain: 'Create new domain'
welcome: 'Welcome!'
edit_statuses: 'Edit statuses'
contact_list: 'Contact list'
create_new_contact: 'Create new contact'
domain_pw: 'Domain password'
history: 'History'
new_registrar: 'New registrar'
registrar_added: 'Registrar added!'
failed_to_add_registrar: 'Failed to add registrar'
registrar_details: 'Registrar details'
vat_no: 'Vat no'
edit_registrar: 'Edit registrar'
back_to_registrar: 'Back to registrar'
registrar_updated: 'Registrar updated'
failed_to_update_registrar: 'Failed to update registrar'
registrar_deleted: 'Registrar deleted'
failed_to_delete_registrar: 'Failed to delete registrar'
new_registrar: 'New registrar'
registrar_added: 'Registrar added!'
failed_to_add_registrar: 'Failed to add registrar'
registrar_details: 'Registrar details'
vat_no: 'Vat no'
edit_registrar: 'Edit registrar'
back_to_registrar: 'Back to registrar'
registrar_updated: 'Registrar updated'
failed_to_update_registrar: 'Failed to update registrar'
registrar_deleted: 'Registrar deleted'
failed_to_delete_registrar: 'Failed to delete registrar'
users: 'Users'
create_new_user: 'Create new user'
admin: 'Admin'
user_details: 'User details'
edit_user: 'Edit user'
back_to_user: 'Back to user'
users: 'Users'
create_new_user: 'Create new user'
admin: 'Admin'
user_details: 'User details'
edit_user: 'Edit user'
back_to_user: 'Back to user'
create_new_epp_user: 'Create new EPP user'
certificate_signing_req: 'Certificate signing request'
csr: 'CSR'
crt: 'CRT'
epp_user_details: 'EPP user details'
edit_epp_user: 'Edit EPP user'
back_to_epp_user: 'Back to EPP user'
create_new_epp_user: 'Create new EPP user'
certificate_signing_req: 'Certificate signing request'
csr: 'CSR'
crt: 'CRT'
epp_user_details: 'EPP user details'
edit_epp_user: 'Edit EPP user'
back_to_epp_user: 'Back to EPP user'
dnskey: 'DNS key'
dnskeys: 'DNS Keys'
flag: 'Flag'
protocol: 'Protocol'
algorithm: 'Algorithm'
public_key: 'Public key'
dnskey: 'DNS key'
dnskeys: 'DNS Keys'
flag: 'Flag'
protocol: 'Protocol'
algorithm: 'Algorithm'
public_key: 'Public key'
record_created: 'Record created'
failed_to_create_record: 'Failed to create record'
record_updated: 'Record updated'
records_updated: 'Records updated'
failed_to_update_record: 'Failed to update record'
record_deleted: 'Record deleted'
failed_to_delete_record: 'Failed to delete record'
record_created: 'Record created'
failed_to_create_record: 'Failed to create record'
record_updated: 'Record updated'
records_updated: 'Records updated'
failed_to_update_record: 'Failed to update record'
record_deleted: 'Record deleted'
failed_to_delete_record: 'Failed to delete record'
authentication_error: 'Authentication error'
ds_data_and_key_data_must_not_exists_together: 'dsData and keyData objects must not exists together'
authentication_error: 'Authentication error'
ds_data_and_key_data_must_not_exists_together: 'dsData and keyData objects must not exists together'
setting: 'Setting'
setting: 'Setting'
registrar: 'Registrar'
transfer_requested: 'Transfer requested.'
@ -443,3 +442,10 @@ en:
admin: 'Administrator'
user: 'User'
customer_service: 'Customer service'
keyrelays: 'Keyrelays'
uploaded_at: 'Uploaded at'
expiry_relative: 'Expiry relative'
expiry_absolute: 'Expiry absolute'
requester: 'Requester'
accepter: 'Accepter'
keyrelay_details: 'Keyrelay details'

View file

@ -7,6 +7,8 @@ Rails.application.routes.draw do
## ADMIN ROUTES
namespace(:admin) do
resources :keyrelays
resources :zonefiles
resources :zonefile_settings
@ -34,15 +36,12 @@ Rails.application.routes.draw do
resource :dashboard
root 'domains#index'
end
devise_for :users
devise_scope :user do
resources :sessions do
get :switch_registrar, on: :collection
end
resources :sessions
get 'logout' => 'devise/sessions#destroy'
get 'login' => 'sessions#login'