mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Add support for asice document format
This commit is contained in:
parent
fc9cff675e
commit
95ed1bbf47
5 changed files with 64 additions and 63 deletions
|
@ -6,7 +6,7 @@ class LegalDocument < ActiveRecord::Base
|
||||||
if ENV['legal_document_types'].present?
|
if ENV['legal_document_types'].present?
|
||||||
TYPES = ENV['legal_document_types'].split(',').map(&:strip)
|
TYPES = ENV['legal_document_types'].split(',').map(&:strip)
|
||||||
else
|
else
|
||||||
TYPES = %w(pdf bdoc ddoc zip rar gz tar 7z odt doc docx).freeze
|
TYPES = %w(pdf asice bdoc ddoc zip rar gz tar 7z odt doc docx).freeze
|
||||||
end
|
end
|
||||||
|
|
||||||
attr_accessor :body
|
attr_accessor :body
|
||||||
|
|
|
@ -67,7 +67,7 @@ contact_org_enabled: 'false'
|
||||||
# iptables_server_ip: '127.0.0.1'
|
# iptables_server_ip: '127.0.0.1'
|
||||||
|
|
||||||
# Custom legal document types. Changing this requires updating EPP extension schema for allowed legalDocEnumType values.
|
# Custom legal document types. Changing this requires updating EPP extension schema for allowed legalDocEnumType values.
|
||||||
# System default for legal document types is: pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx
|
# System default for legal document types is: pdf,asice,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx
|
||||||
# legal_document_types: "pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx"
|
# legal_document_types: "pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
||||||
Attribute: "cc"
|
Attribute: "cc"
|
||||||
"EE" # Country code in ISO_3166-1 aplha 2
|
"EE" # Country code in ISO_3166-1 aplha 2
|
||||||
<eis:legalDocument> 0-1 Base64 encoded document
|
<eis:legalDocument> 0-1 Base64 encoded document
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-create-command-successfully-creates-a-contact)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-create-command-successfully-creates-a-contact)
|
||||||
|
@ -81,7 +81,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
||||||
Attribute: "cc"
|
Attribute: "cc"
|
||||||
"EE" # Country code in ISO_3166-1 aplha 2
|
"EE" # Country code in ISO_3166-1 aplha 2
|
||||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
||||||
<extension> 0-1
|
<extension> 0-1
|
||||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-delete-command-deletes-contact)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-contact-with-valid-user-delete-command-deletes-contact)
|
||||||
|
|
|
@ -39,7 +39,7 @@ Domain name mapping protocol short version:
|
||||||
<secDNS:pubKey> 1 Public key
|
<secDNS:pubKey> 1 Public key
|
||||||
<eis:extdata> 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
<eis:extdata> 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||||
<eis:legalDocument> 1 Base64 encoded document.
|
<eis:legalDocument> 1 Base64 encoded document.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<eis:reserved> 0-1
|
<eis:reserved> 0-1
|
||||||
<eis:pw> 0-1 Required if registering a reserved domain
|
<eis:pw> 0-1 Required if registering a reserved domain
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
@ -91,7 +91,7 @@ Domain name mapping protocol short version:
|
||||||
<secDNS:pubKey> 1 Public key
|
<secDNS:pubKey> 1 Public key
|
||||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||||
<eis:legalDocument> 0-1 Base64 encoded document. Required if registrant is changing.
|
<eis:legalDocument> 0-1 Base64 encoded document. Required if registrant is changing.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-updates-domain-and-adds-objects)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-updates-domain-and-adds-objects)
|
||||||
|
@ -107,7 +107,7 @@ Domain name mapping protocol short version:
|
||||||
<extension> 1
|
<extension> 1
|
||||||
<eis:extdata> 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
<eis:extdata> 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||||
<eis:legalDocument> 1 Base64 encoded document.
|
<eis:legalDocument> 1 Base64 encoded document.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-deletes-domain)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-deletes-domain)
|
||||||
|
@ -141,7 +141,7 @@ Domain name mapping protocol short version:
|
||||||
<extension> 0-1
|
<extension> 0-1
|
||||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-renews-a-domain)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-renews-a-domain)
|
||||||
|
@ -158,7 +158,7 @@ Domain name mapping protocol short version:
|
||||||
<extension> 0-1
|
<extension> 0-1
|
||||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||||
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
|
Attribute: type="pdf/asice/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||||
<clTRID> 0-1 Client transaction id
|
<clTRID> 0-1 Client transaction id
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-transfers-a-domain)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-transfers-a-domain)
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
<simpleType name="legalDocEnumType">
|
<simpleType name="legalDocEnumType">
|
||||||
<restriction base="token">
|
<restriction base="token">
|
||||||
<enumeration value="pdf"/>
|
<enumeration value="pdf"/>
|
||||||
|
<enumeration value="asice"/>
|
||||||
<enumeration value="bdoc"/>
|
<enumeration value="bdoc"/>
|
||||||
<enumeration value="ddoc"/>
|
<enumeration value="ddoc"/>
|
||||||
<enumeration value="zip"/>
|
<enumeration value="zip"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue