mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 04:07:33 +02:00
Add other documents formats, such as adoc and asics
This commit is contained in:
parent
acbca42a9f
commit
a96284cb57
5 changed files with 16 additions and 11 deletions
|
@ -6,7 +6,8 @@ class LegalDocument < ActiveRecord::Base
|
|||
if ENV['legal_document_types'].present?
|
||||
TYPES = ENV['legal_document_types'].split(',').map(&:strip)
|
||||
else
|
||||
TYPES = %w(pdf asice sce bdoc ddoc zip rar gz tar 7z odt doc docx).freeze
|
||||
TYPES = %w(pdf asice asics sce scs adoc edoc bdoc ddoc zip rar gz tar 7z odt
|
||||
doc docx).freeze
|
||||
end
|
||||
|
||||
attr_accessor :body
|
||||
|
|
|
@ -67,8 +67,8 @@ contact_org_enabled: 'false'
|
|||
# iptables_server_ip: '127.0.0.1'
|
||||
|
||||
# Custom legal document types. Changing this requires updating EPP extension schema for allowed legalDocEnumType values.
|
||||
# System default for legal document types is: pdf,asice,sce,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx
|
||||
# legal_document_types: "pdf,asice,sce,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx"
|
||||
# System default for legal document types is: pdf,asice,sce,asics,scs,adoc,edoc,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx
|
||||
# legal_document_types: "pdf,asice,sce,asics,scs,adoc,edoc,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"
|
||||
"EE" # Country code in ISO_3166-1 aplha 2
|
||||
<eis:legalDocument> 0-1 Base64 encoded document
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<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)
|
||||
|
@ -81,7 +81,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
|||
Attribute: "cc"
|
||||
"EE" # Country code in ISO_3166-1 aplha 2
|
||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
||||
|
||||
|
@ -99,7 +99,7 @@ More info: https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
|||
<extension> 0-1
|
||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
||||
[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
|
||||
<eis:extdata> 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||
<eis:legalDocument> 1 Base64 encoded document.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<eis:reserved> 0-1
|
||||
<eis:pw> 0-1 Required if registering a reserved domain
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
@ -91,7 +91,7 @@ Domain name mapping protocol short version:
|
|||
<secDNS:pubKey> 1 Public key
|
||||
<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.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
||||
[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
|
||||
<eis:extdata> 1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||
<eis:legalDocument> 1 Base64 encoded document.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
||||
[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
|
||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
||||
[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
|
||||
<eis:extdata> 0-1 Attribute: xmlns:eis="https://epp.tld.ee/schema/eis-1.0.xsd"
|
||||
<eis:legalDocument> 0-1 Base64 encoded document.
|
||||
Attribute: type="pdf/asice/sce/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
Attribute: type="pdf/asice/sce/adoc/asics/scs/edoc/adoc/bdoc/ddoc/zip/rar/gz/tar/7z"
|
||||
<clTRID> 0-1 Client transaction id
|
||||
|
||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-examples.md#epp-domain-with-valid-domain-transfers-a-domain)
|
||||
|
|
|
@ -64,8 +64,12 @@
|
|||
<restriction base="token">
|
||||
<enumeration value="pdf"/>
|
||||
<enumeration value="asice"/>
|
||||
<enumeration value="asics"/>
|
||||
<enumeration value="sce"/>
|
||||
<enumeration value="scs"/>
|
||||
<enumeration value="adoc"/>
|
||||
<enumeration value="bdoc"/>
|
||||
<enumeration value="edoc"/>
|
||||
<enumeration value="ddoc"/>
|
||||
<enumeration value="zip"/>
|
||||
<enumeration value="rar"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue