mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
parent
8c4e6f1656
commit
83f8a9fb6a
44 changed files with 530 additions and 610 deletions
|
@ -83,12 +83,11 @@ key_path: '/home/registry/registry/shared/ca/private/webclient.key.pem'
|
|||
epp_hostname: 'registry.gitlab.eu'
|
||||
repp_url: 'https://repp.gitlab.eu/repp/v1/'
|
||||
|
||||
# Estonian Business Registry
|
||||
# http://www.rik.ee/en/e-business-registry/xml-service
|
||||
arireg_username:
|
||||
arireg_password:
|
||||
arireg_wsdl: 'https://demo-ariregxml.rik.ee:447/testariport/?wsdl'
|
||||
arireg_host: 'http://demo-ariregxml.rik.ee:81/'
|
||||
# Estonian Company Register
|
||||
company_register_username:
|
||||
company_register_password:
|
||||
company_register_cache_period_days: '2'
|
||||
company_register_test_mode: 'true' # Requests in test mode are free of charge
|
||||
|
||||
# Mobile-ID and ID-card login
|
||||
# https://www.id.ee/?id=35760 General how-to
|
||||
|
|
6
config/initializers/company_register.rb
Normal file
6
config/initializers/company_register.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
CompanyRegister.configure do |config|
|
||||
config.username = ENV['company_register_username']
|
||||
config.password = ENV['company_register_password']
|
||||
config.cache_period = ENV['company_register_cache_period_days'].to_i.days
|
||||
config.test_mode = ENV['company_register_test_mode'] == 'true'
|
||||
end
|
|
@ -12,5 +12,4 @@
|
|||
|
||||
ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
inflect.acronym 'DNS'
|
||||
inflect.irregular 'business_registry_cache', 'business_registry_caches'
|
||||
end
|
||||
|
|
|
@ -32,8 +32,6 @@ if con.present? && con.table_exists?('settings')
|
|||
|
||||
Setting.save_default(:client_side_status_editing_enabled, false)
|
||||
|
||||
Setting.save_default(:days_to_keep_business_registry_cache, 2)
|
||||
|
||||
Setting.save_default(:invoice_number_min, 131050)
|
||||
Setting.save_default(:invoice_number_max, 149999)
|
||||
Setting.save_default(:directo_monthly_number_min, 309901)
|
||||
|
|
|
@ -405,7 +405,6 @@ en:
|
|||
sim_error: 'SIM application error'
|
||||
internal_error: 'Internal error'
|
||||
client_side_status_editing_error: 'Parameter value policy error. Client-side object status management not supported'
|
||||
business_registry_service_not_available: "Business Registry service Ärireg is not available"
|
||||
|
||||
# DEPP
|
||||
activemodel:
|
||||
|
|
5
config/locales/registrant/base.en.yml
Normal file
5
config/locales/registrant/base.en.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
en:
|
||||
registrant:
|
||||
company_register_unavailable: >-
|
||||
Company register is unavailable.
|
||||
Domains and contacts associated via organizations are not shown.
|
|
@ -15,4 +15,4 @@ en:
|
|||
|
||||
domain_contacts:
|
||||
header_admin_domain_contacts: Administrative contacts
|
||||
header_tech_domain_contacts: Technical contacts
|
||||
header_tech_domain_contacts: Technical contacts
|
Loading…
Add table
Add a link
Reference in a new issue