From 12ec22526e0f332bf41b49c27f68d3418b879757 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 13:21:34 +0300 Subject: [PATCH 01/20] Ignore empty statuses in history #2852 --- app/views/admin/domain_versions/_version.haml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/admin/domain_versions/_version.haml b/app/views/admin/domain_versions/_version.haml index 4c40d5566..b100db2e2 100644 --- a/app/views/admin/domain_versions/_version.haml +++ b/app/views/admin/domain_versions/_version.haml @@ -33,13 +33,14 @@ %td %p - - domain.statuses.each do |s| - = s - - notes = domain.status_notes[s] - - if notes + - if domain.statuses.present? + - domain.statuses.each do |s| + = s + - notes = domain.status_notes[s] + - if notes + %br + %i= notes %br - %i= notes - %br - if domain.pending_json.present? %p = link_to t(:pending_epp), '#', class: 'js-pending-toggle' From 87cae4353682bb770568a3e322eaa3255ec76440 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 13:31:25 +0300 Subject: [PATCH 02/20] Ignore empty statuse notes in history #2852 --- app/views/admin/domain_versions/_version.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/admin/domain_versions/_version.haml b/app/views/admin/domain_versions/_version.haml index b100db2e2..6f0d7dd24 100644 --- a/app/views/admin/domain_versions/_version.haml +++ b/app/views/admin/domain_versions/_version.haml @@ -36,11 +36,12 @@ - if domain.statuses.present? - domain.statuses.each do |s| = s - - notes = domain.status_notes[s] - - if notes + - if domain.status_notes.present? + - notes = domain.status_notes[s] + - if notes + %br + %i= notes %br - %i= notes - %br - if domain.pending_json.present? %p = link_to t(:pending_epp), '#', class: 'js-pending-toggle' From d2c745616210ae7226c9029852b8fe6fe05c6387 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 13:46:08 +0300 Subject: [PATCH 03/20] Rubocop updates --- lib/tasks/statuses.rake | 70 ++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/lib/tasks/statuses.rake b/lib/tasks/statuses.rake index b3d1ace84..a8d3af0c9 100644 --- a/lib/tasks/statuses.rake +++ b/lib/tasks/statuses.rake @@ -38,7 +38,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverDeleteProhibited': [ 'clientDeleteProhibited', @@ -57,7 +57,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'clientHold': [ 'clientDeleteProhibited', @@ -75,7 +75,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverHold': [ 'clientDeleteProhibited', @@ -93,7 +93,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'clientRenewProhibited': [ 'clientDeleteProhibited', @@ -117,7 +117,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverRenewProhibited': [ 'clientDeleteProhibited', @@ -141,7 +141,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'clientTransferProhibited': [ 'clientDeleteProhibited', @@ -165,7 +165,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverTransferProhibited': [ 'clientDeleteProhibited', @@ -189,7 +189,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'clientUpdateProhibited': [ 'clientDeleteProhibited', @@ -213,7 +213,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverUpdateProhibited': [ 'clientDeleteProhibited', @@ -237,7 +237,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'pendingCreate': [ 'clientDeleteProhibited', @@ -257,7 +257,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'pendingDelete': [ 'clientHold', @@ -276,7 +276,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'pendingRenew': [ 'clientDeleteProhibited', @@ -294,7 +294,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'pendingTransfer': [ @@ -313,7 +313,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'pendingUpdate': [ 'clientDeleteProhibited', @@ -331,7 +331,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverManualInzone': [ 'clientDeleteProhibited', @@ -355,7 +355,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverRegistrantChangeProhibited': [ 'clientDeleteProhibited', @@ -380,7 +380,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverAdminChangeProhibited': [ 'clientDeleteProhibited', @@ -405,7 +405,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'serverTechChangeProhibited': [ 'clientDeleteProhibited', @@ -430,7 +430,7 @@ task statuses: [:environment] do 'serverAdminChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'forceDelete': [ 'clientHold', @@ -441,7 +441,7 @@ task statuses: [:environment] do 'serverAdminChangeProhibited', 'serverTechChangeProhibited', 'deleteCandidate', - 'expired', + 'expired' ], 'deleteCandidate': [ 'clientDeleteProhibited', @@ -467,7 +467,7 @@ task statuses: [:environment] do 'serverTechChangeProhibited', 'forceDelete', 'deleteCandidate', - 'expired', + 'expired' ], 'expired': [ 'clientDeleteProhibited', @@ -492,13 +492,13 @@ task statuses: [:environment] do 'serverAdminChangeProhibited', 'serverTechChangeProhibited', 'forceDelete', - 'deleteCandidate', + 'deleteCandidate' ] } puts "\nDomain status can be with other statuses map\n" puts "---------------------------------------------" - statuses.each do |s,v| + statuses.each do |s, _v| puts "\n#{s} =>" statuses[s].map { |u| puts " #{u}" } puts @@ -520,7 +520,7 @@ task statuses: [:environment] do 'serverUpdateProhibited', 'pendingCreate', 'pendingTransfer', - 'pendingUpdate', + 'pendingUpdate' ], 'serverDeleteProhibited': [ 'linked', @@ -531,7 +531,7 @@ task statuses: [:environment] do 'serverUpdateProhibited', 'pendingCreate', 'pendingTransfer', - 'pendingUpdate', + 'pendingUpdate' ], 'clientTransferProhibited': [ 'linked', @@ -542,7 +542,7 @@ task statuses: [:environment] do 'serverUpdateProhibited', 'pendingCreate', 'pendingDelete', - 'pendingUpdate', + 'pendingUpdate' ], 'serverTransferProhibited': [ 'linked', @@ -553,7 +553,7 @@ task statuses: [:environment] do 'serverUpdateProhibited', 'pendingCreate', 'pendingDelete', - 'pendingUpdate', + 'pendingUpdate' ], 'clientUpdateProhibited': [ 'linked', @@ -564,7 +564,7 @@ task statuses: [:environment] do 'serverUpdateProhibited', 'pendingCreate', 'pendingDelete', - 'pendingTransfer', + 'pendingTransfer' ], 'serverUpdateProhibited': [ 'linked', @@ -575,7 +575,7 @@ task statuses: [:environment] do 'clientUpdateProhibited', 'pendingCreate', 'pendingDelete', - 'pendingTransfer', + 'pendingTransfer' ], 'pendingCreate': [ 'linked', @@ -584,7 +584,7 @@ task statuses: [:environment] do 'clientTransferProhibited', 'serverTransferProhibited', 'clientUpdateProhibited', - 'serverUpdateProhibited', + 'serverUpdateProhibited' ], 'pendingDelete': [ 'linked', @@ -593,7 +593,7 @@ task statuses: [:environment] do 'clientTransferProhibited', 'serverTransferProhibited', 'clientUpdateProhibited', - 'serverUpdateProhibited', + 'serverUpdateProhibited' ], 'pendingTransfer': [ 'linked', @@ -602,7 +602,7 @@ task statuses: [:environment] do 'clientTransferProhibited', 'serverTransferProhibited', 'clientUpdateProhibited', - 'serverUpdateProhibited', + 'serverUpdateProhibited' ], 'pendingUpdate': [ 'linked', @@ -611,13 +611,13 @@ task statuses: [:environment] do 'clientTransferProhibited', 'serverTransferProhibited', 'clientUpdateProhibited', - 'serverUpdateProhibited', - ], + 'serverUpdateProhibited' + ] } puts "\n\nContact status can be with other statuses map\n" puts "---------------------------------------------" - contact_statuses.each do |s,v| + contact_statuses.each do |s, _v| puts "\n#{s} =>" contact_statuses[s].map { |u| puts " #{u}" } puts From 884eb50237a419072a8d6f1ee73211406c04e36d Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 13:50:36 +0300 Subject: [PATCH 04/20] Updated setting spec to return integer --- .travis.yml | 4 ++++ spec/models/setting_spec.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1025db403..c7a9a5aaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,3 +24,7 @@ services: - postgresql addons: postgresql: "9.3" +notifications: + email: + - priit@gitlab.eu + - martin@gitlab.eu diff --git a/spec/models/setting_spec.rb b/spec/models/setting_spec.rb index 84af99501..2b7d3ad49 100644 --- a/spec/models/setting_spec.rb +++ b/spec/models/setting_spec.rb @@ -4,7 +4,7 @@ describe Setting do it 'returns value' do expect(Setting.ns_min_count).to eq(2) Setting.ns_min_count = '2' - expect(Setting.ns_min_count).to eq('2') + expect(Setting.ns_min_count).to eq(2) Setting.ns_min_count = true expect(Setting.ns_min_count).to eq(true) end From 87e18a8a19c8a70722058a1949780bd9d6b7a8fb Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 13:54:45 +0300 Subject: [PATCH 05/20] Restore old spec --- spec/models/setting_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/setting_spec.rb b/spec/models/setting_spec.rb index 2b7d3ad49..6e28a5c5d 100644 --- a/spec/models/setting_spec.rb +++ b/spec/models/setting_spec.rb @@ -4,8 +4,8 @@ describe Setting do it 'returns value' do expect(Setting.ns_min_count).to eq(2) Setting.ns_min_count = '2' - expect(Setting.ns_min_count).to eq(2) + expect(Setting.ns_min_count).to eq('2') Setting.ns_min_count = true - expect(Setting.ns_min_count).to eq(true) + expect(Setting.ns_min_count).to eq(2) end end From 94f72204d8c92a68851de39ac74b657af3693116 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 14:17:03 +0300 Subject: [PATCH 06/20] Lock all gems to exact version --- Gemfile | 150 +++++++++++++++++++++++------------------------ Gemfile.lock | 160 +++++++++++++++++++++++++-------------------------- 2 files changed, 155 insertions(+), 155 deletions(-) diff --git a/Gemfile b/Gemfile index 2505655cb..eb86acee2 100644 --- a/Gemfile +++ b/Gemfile @@ -9,154 +9,154 @@ source 'https://rubygems.org' # core gem 'rails', '4.2.3' # when update, all initializers eis_custom files needs check/update -gem 'iso8601', '~> 0.8.6' # for dates and times -gem 'hashie-forbidden_attributes', '~> 0.1.1' -gem 'SyslogLogger', '~> 2.0', require: 'syslog/logger' +gem 'iso8601', '0.8.6' # for dates and times +gem 'hashie-forbidden_attributes', '0.1.1' +gem 'SyslogLogger', '2.0', require: 'syslog/logger' # load env -gem 'figaro', '~> 1.1.1' +gem 'figaro', '1.1.1' # model related -gem 'pg', '~> 0.18.0' -gem 'ransack', '~> 1.5.1' # for searching -gem 'validates_email_format_of', '~> 1.6.3' # validates email against RFC 2822 and RFC 3696 +gem 'pg', '0.18.2' +gem 'ransack', '1.5.1' # for searching +gem 'validates_email_format_of', '1.6.3' # validates email against RFC 2822 and RFC 3696 # with polymorphic fix gem 'paper_trail', github: 'airblade/paper_trail', ref: 'a453811226ec4ea59753ba6b827e390ced2fc140' -gem 'rails-settings-cached', '~> 0.4.1' # for settings +gem 'rails-settings-cached', '0.4.1' # for settings # html-xml -gem 'haml-rails', '~> 0.9.0' # haml for views -gem 'nokogiri', '~> 1.6.6.2' # For XML parsing +gem 'haml-rails', '0.9.0' # haml for views +gem 'nokogiri', '1.6.6.2' # For XML parsing # style -gem 'sass-rails', '~> 5.0.3' # sass style -gem 'bootstrap-sass', '~> 3.3.5.1' # bootstrap style +gem 'sass-rails', '5.0.3' # sass style +gem 'bootstrap-sass', '3.3.5.1' # bootstrap style # js -gem 'uglifier', '~> 2.7.1' # minifies js -gem 'coffee-rails', '~> 4.1.0' # coffeescript support -gem 'turbolinks', '~> 2.5.3' # faster page load -gem 'jquery-rails', '~> 4.0.3' # jquery -gem 'selectize-rails', '~> 0.12.1' # include selectize.js for select -gem 'therubyracer', '~> 0.12.2', platforms: :ruby -gem 'jquery-validation-rails', '~> 1.13.1' # validate on client side +gem 'uglifier', '2.7.1' # minifies js +gem 'coffee-rails', '4.1.0' # coffeescript support +gem 'turbolinks', '2.5.3' # faster page load +gem 'jquery-rails', '4.0.3' # jquery +gem 'selectize-rails', '0.12.1' # include selectize.js for select +gem 'therubyracer', '0.12.2', platforms: :ruby +gem 'jquery-validation-rails', '1.13.1' # validate on client side # view helpers -gem 'kaminari', '~> 0.16.3' # pagination -gem 'nprogress-rails', '~> 0.1.6.7' # visual loader -gem 'html5_validators', '~> 1.2.0' # model requements now automatically on html form -gem 'coderay', '~> 1.1.0' # xml console visualize -gem 'select2-rails', '~> 3.5.9.3' # for autocomplete -gem 'bootstrap-datepicker-rails', '~> 1.3.1.1' # datepicker -gem 'liquid', '~> 3.0.6' # for email templates +gem 'kaminari', '0.16.3' # pagination +gem 'nprogress-rails', '0.1.6.7' # visual loader +gem 'html5_validators', '1.2.2' # model requements now automatically on html form +gem 'coderay', '1.1.0' # xml console visualize +gem 'select2-rails', '3.5.9.3' # for autocomplete +gem 'bootstrap-datepicker-rails', '1.3.1.1' # datepicker +gem 'liquid', '3.0.6' # for email templates # rights -gem 'devise', '~> 3.5.1' # authenitcation -gem 'cancancan', '~> 1.11.0' # autharization +gem 'devise', '3.5.1' # authenitcation +gem 'cancancan', '1.11.0' # autharization # rest api -gem 'grape', '~> 0.12.0' -gem 'jbuilder', '~> 2.2.6' # json api +gem 'grape', '0.12.0' +gem 'jbuilder', '2.2.16' # json api # registry specfic -gem 'simpleidn', '~> 0.0.5' # For punycode +gem 'simpleidn', '0.0.5' # For punycode gem 'isikukood' # for EE-id validation -gem 'money-rails', '~> 1.4.1' +gem 'money-rails', '1.4.1' # deploy -gem 'whenever', '~> 0.9.4', require: false +gem 'whenever', '0.9.4', require: false gem 'data_migrate', github: 'internetee/data-migrate', ref: '35d22b09ff37a4e9d61ab326ad5d8eb0edf1fc81' # monitors -gem 'newrelic_rpm', '~> 3.12.0.288' +gem 'newrelic_rpm', '3.12.0.288' # country listing -gem 'countries', '~> 0.11.4' +gem 'countries', '0.11.4' # cloning activerecord objects -gem 'deep_cloneable', '~> 2.1.1' +gem 'deep_cloneable', '2.1.1' # id + mid login -gem 'digidoc_client', '~> 0.2.1' +gem 'digidoc_client', '0.2.1' # epp -gem 'epp', '~> 1.4.2', github: 'internetee/epp' -gem 'epp-xml', '~> 1.0.4' # EIS EPP XMLs -gem 'uuidtools', '~> 2.1.4' # For unique IDs (used by the epp gem) +gem 'epp', '1.4.2', github: 'internetee/epp' +gem 'epp-xml', '1.0.4' # EIS EPP XMLs +gem 'uuidtools', '2.1.5' # For unique IDs (used by the epp gem) # que -gem 'que', '~> 0.10.0' -gem 'que-web', '~> 0.4.0' -gem 'daemons-rails', '~> 1.2.1' +gem 'que', '0.10.0' +gem 'que-web', '0.4.0' +gem 'daemons-rails', '1.2.1' # for importing legacy db -gem 'activerecord-import', '~> 0.7.0' # for inserting dummy data +gem 'activerecord-import', '0.7.0' # for inserting dummy data # for generating pdf -gem 'pdfkit', '~> 0.6.2' +gem 'pdfkit', '0.6.2' # for datepicker -gem 'jquery-ui-rails', '~> 5.0.3' +gem 'jquery-ui-rails', '5.0.5' group :development do # dev tools - gem 'spring', '~> 1.3.6' - gem 'spring-commands-rspec', '~> 1.0.4' + gem 'spring', '1.3.6' + gem 'spring-commands-rspec', '1.0.4' # emits errors, needs more investigation # gem 'spring-watcher-listen', # otherwise spring polls the filesystem on every 0.2 seconds # github: 'jonleighton/spring-watcher-listen', # ref: '7f6003e14f8f9ca178a5194f210c07f54cfb67ec' - gem 'guard', '~> 2.12.6' # run tests automatically - gem 'guard-rspec', '~> 4.5.2' - gem 'guard-rails', '~> 0.7.1' # run EPP server automatically - gem 'rubocop', '~> 0.32.1' - gem 'guard-rubocop', '~> 1.2.0' + gem 'guard', '2.12.9' # run tests automatically + gem 'guard-rspec', '4.5.2' + gem 'guard-rails', '0.7.1' # run EPP server automatically + gem 'rubocop', '0.32.1' + gem 'guard-rubocop', '1.2.0' # improved errors - gem 'better_errors', '~> 2.1.1' # webconsole replacement - gem 'binding_of_caller', '~> 0.7.2' - gem 'traceroute', '~> 0.5.0' # for finding dead routes and unused actions + gem 'better_errors', '2.1.1' # webconsole replacement + gem 'binding_of_caller', '0.7.2' + gem 'traceroute', '0.5.0' # for finding dead routes and unused actions # deploy - gem 'mina', '~> 0.3.1' # for fast deployment + gem 'mina', '0.3.1' # for fast deployment end group :development, :test do # test stack - gem 'rspec-rails', '~> 3.3.2' - gem 'capybara', '~> 2.4.1' - gem 'phantomjs-binaries', '~> 1.9.2.4' - gem 'poltergeist', '~> 1.6.0' # We are using PhantomJS instead - gem 'phantomjs', '~> 1.9.8.0' - gem 'fabrication', '~> 2.13.2' # Replacement for fixtures - gem 'shoulda-matchers', '~> 2.8.0', require: false # Additional matchers for RSpec - gem 'launchy', '~> 2.4.3' # for opening browser automatically + gem 'rspec-rails', '3.3.2' + gem 'capybara', '2.4.4' + gem 'phantomjs-binaries', '1.9.2.4' + gem 'poltergeist', '1.6.0' # We are using PhantomJS instead + gem 'phantomjs', '1.9.8.0' + gem 'fabrication', '2.13.2' # Replacement for fixtures + gem 'shoulda-matchers', '2.8.0', require: false # Additional matchers for RSpec + gem 'launchy', '2.4.3' # for opening browser automatically # helper gems - gem 'database_cleaner', '~> 1.4.1' # For cleaning db in feature and epp tests - gem 'faker', '~> 1.4.3' # Library to generate fake data + gem 'database_cleaner', '1.4.1' # For cleaning db in feature and epp tests + gem 'faker', '1.4.3' # Library to generate fake data # debug - gem 'pry', '~> 0.10.1' + gem 'pry', '0.10.1' # code review - gem 'simplecov', '~> 0.10.0', require: false - gem 'rubycritic', '~> 1.4.0' - gem 'bullet', '~> 4.14.4' # for finding database optimizations + gem 'simplecov', '0.10.0', require: false + gem 'rubycritic', '1.4.0' + gem 'bullet', '4.14.7' # for finding database optimizations gem 'bundler-audit', github: 'rubysec/bundler-audit', ref: 'f89ef7fae1090bbad825ea76812d56d72b417055' # for finding future vulnerable gems - gem 'brakeman', '~> 3.0.5', require: false # for security audit' + gem 'brakeman', '3.0.5', require: false # for security audit' # tmp, otherwise conflics with breakman # gem 'html2haml', github: 'haml/html2haml', ref: '6984f50bdbbd6291535027726a5697f28778ee8d' - gem 'html2haml', '~> 2.0.0' - gem 'sdoc', '~> 0.4.0' # bundle exec rake doc:rails generates the API under doc/api. - gem 'railroady', '~> 1.3.0' # to generate database diagrams + gem 'html2haml', '2.0.0' + gem 'sdoc', '0.4.1' # bundle exec rake doc:rails generates the API under doc/api. + gem 'railroady', '1.3.0' # to generate database diagrams # dev tools gem 'unicorn' diff --git a/Gemfile.lock b/Gemfile.lock index 5a137da04..a23005d14 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,7 +145,7 @@ GEM concord (0.1.5) adamantium (~> 0.2.0) equalizer (~> 0.0.9) - countries (0.11.5) + countries (0.11.4) currencies (~> 0.4.2) i18n_data (~> 0.7.0) crack (0.4.2) @@ -260,7 +260,7 @@ GEM jbuilder (2.2.16) activesupport (>= 3.0.0, < 5) multi_json (~> 1.2) - jquery-rails (4.0.4) + jquery-rails (4.0.3) rails-dom-testing (~> 1.0) railties (>= 4.2.0) thor (>= 0.14, < 2.0) @@ -291,7 +291,7 @@ GEM thread_safe (~> 0.3, >= 0.3.1) method_source (0.8.2) mime-types (2.6.1) - mina (0.3.7) + mina (0.3.1) open4 (~> 1.3.4) rake mini_portile (0.6.2) @@ -352,7 +352,7 @@ GEM rack rack-test (0.6.3) rack (>= 1.0) - railroady (1.3.1) + railroady (1.3.0) rails (4.2.3) actionmailer (= 4.2.3) actionpack (= 4.2.3) @@ -412,7 +412,7 @@ GEM rspec-mocks (3.3.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.3.0) - rspec-rails (3.3.3) + rspec-rails (3.3.2) actionpack (>= 3.0, < 4.3) activesupport (>= 3.0, < 4.3) railties (>= 3.0, < 4.3) @@ -541,89 +541,89 @@ PLATFORMS ruby DEPENDENCIES - SyslogLogger (~> 2.0) - activerecord-import (~> 0.7.0) + SyslogLogger (= 2.0) + activerecord-import (= 0.7.0) autodoc - better_errors (~> 2.1.1) - binding_of_caller (~> 0.7.2) - bootstrap-datepicker-rails (~> 1.3.1.1) - bootstrap-sass (~> 3.3.5.1) - brakeman (~> 3.0.5) - bullet (~> 4.14.4) + better_errors (= 2.1.1) + binding_of_caller (= 0.7.2) + bootstrap-datepicker-rails (= 1.3.1.1) + bootstrap-sass (= 3.3.5.1) + brakeman (= 3.0.5) + bullet (= 4.14.7) bundler-audit! - cancancan (~> 1.11.0) - capybara (~> 2.4.1) - coderay (~> 1.1.0) - coffee-rails (~> 4.1.0) - countries (~> 0.11.4) - daemons-rails (~> 1.2.1) + cancancan (= 1.11.0) + capybara (= 2.4.4) + coderay (= 1.1.0) + coffee-rails (= 4.1.0) + countries (= 0.11.4) + daemons-rails (= 1.2.1) data_migrate! - database_cleaner (~> 1.4.1) - deep_cloneable (~> 2.1.1) - devise (~> 3.5.1) - digidoc_client (~> 0.2.1) - epp (~> 1.4.2)! - epp-xml (~> 1.0.4) - fabrication (~> 2.13.2) - faker (~> 1.4.3) - figaro (~> 1.1.1) - grape (~> 0.12.0) - guard (~> 2.12.6) - guard-rails (~> 0.7.1) - guard-rspec (~> 4.5.2) - guard-rubocop (~> 1.2.0) - haml-rails (~> 0.9.0) - hashie-forbidden_attributes (~> 0.1.1) - html2haml (~> 2.0.0) - html5_validators (~> 1.2.0) + database_cleaner (= 1.4.1) + deep_cloneable (= 2.1.1) + devise (= 3.5.1) + digidoc_client (= 0.2.1) + epp (= 1.4.2)! + epp-xml (= 1.0.4) + fabrication (= 2.13.2) + faker (= 1.4.3) + figaro (= 1.1.1) + grape (= 0.12.0) + guard (= 2.12.9) + guard-rails (= 0.7.1) + guard-rspec (= 4.5.2) + guard-rubocop (= 1.2.0) + haml-rails (= 0.9.0) + hashie-forbidden_attributes (= 0.1.1) + html2haml (= 2.0.0) + html5_validators (= 1.2.2) isikukood - iso8601 (~> 0.8.6) - jbuilder (~> 2.2.6) - jquery-rails (~> 4.0.3) - jquery-ui-rails (~> 5.0.3) - jquery-validation-rails (~> 1.13.1) - kaminari (~> 0.16.3) - launchy (~> 2.4.3) - liquid (~> 3.0.6) - mina (~> 0.3.1) - money-rails (~> 1.4.1) - newrelic_rpm (~> 3.12.0.288) - nokogiri (~> 1.6.6.2) - nprogress-rails (~> 0.1.6.7) + iso8601 (= 0.8.6) + jbuilder (= 2.2.16) + jquery-rails (= 4.0.3) + jquery-ui-rails (= 5.0.5) + jquery-validation-rails (= 1.13.1) + kaminari (= 0.16.3) + launchy (= 2.4.3) + liquid (= 3.0.6) + mina (= 0.3.1) + money-rails (= 1.4.1) + newrelic_rpm (= 3.12.0.288) + nokogiri (= 1.6.6.2) + nprogress-rails (= 0.1.6.7) paper_trail! - pdfkit (~> 0.6.2) - pg (~> 0.18.0) - phantomjs (~> 1.9.8.0) - phantomjs-binaries (~> 1.9.2.4) - poltergeist (~> 1.6.0) - pry (~> 0.10.1) - que (~> 0.10.0) - que-web (~> 0.4.0) - railroady (~> 1.3.0) + pdfkit (= 0.6.2) + pg (= 0.18.2) + phantomjs (= 1.9.8.0) + phantomjs-binaries (= 1.9.2.4) + poltergeist (= 1.6.0) + pry (= 0.10.1) + que (= 0.10.0) + que-web (= 0.4.0) + railroady (= 1.3.0) rails (= 4.2.3) - rails-settings-cached (~> 0.4.1) + rails-settings-cached (= 0.4.1) rake - ransack (~> 1.5.1) - rspec-rails (~> 3.3.2) - rubocop (~> 0.32.1) - rubycritic (~> 1.4.0) - sass-rails (~> 5.0.3) - sdoc (~> 0.4.0) - select2-rails (~> 3.5.9.3) - selectize-rails (~> 0.12.1) - shoulda-matchers (~> 2.8.0) - simplecov (~> 0.10.0) - simpleidn (~> 0.0.5) - spring (~> 1.3.6) - spring-commands-rspec (~> 1.0.4) - therubyracer (~> 0.12.2) - traceroute (~> 0.5.0) - turbolinks (~> 2.5.3) - uglifier (~> 2.7.1) + ransack (= 1.5.1) + rspec-rails (= 3.3.2) + rubocop (= 0.32.1) + rubycritic (= 1.4.0) + sass-rails (= 5.0.3) + sdoc (= 0.4.1) + select2-rails (= 3.5.9.3) + selectize-rails (= 0.12.1) + shoulda-matchers (= 2.8.0) + simplecov (= 0.10.0) + simpleidn (= 0.0.5) + spring (= 1.3.6) + spring-commands-rspec (= 1.0.4) + therubyracer (= 0.12.2) + traceroute (= 0.5.0) + turbolinks (= 2.5.3) + uglifier (= 2.7.1) unicorn - uuidtools (~> 2.1.4) - validates_email_format_of (~> 1.6.3) - whenever (~> 0.9.4) + uuidtools (= 2.1.5) + validates_email_format_of (= 1.6.3) + whenever (= 0.9.4) BUNDLED WITH 1.10.6 From 93a92e3b307c49afbb864f02c1520fe8dcf7d79e Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 14:19:39 +0300 Subject: [PATCH 07/20] Restore setting spec --- spec/models/setting_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/setting_spec.rb b/spec/models/setting_spec.rb index 6e28a5c5d..84af99501 100644 --- a/spec/models/setting_spec.rb +++ b/spec/models/setting_spec.rb @@ -6,6 +6,6 @@ describe Setting do Setting.ns_min_count = '2' expect(Setting.ns_min_count).to eq('2') Setting.ns_min_count = true - expect(Setting.ns_min_count).to eq(2) + expect(Setting.ns_min_count).to eq(true) end end From d714ce7631b1604b7c07e5c73089cdd481c8dfeb Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Thu, 27 Aug 2015 16:23:04 +0300 Subject: [PATCH 08/20] Add gemfile lock --- Gemfile.lock | 3 --- 1 file changed, 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a23005d14..954bd23c3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -624,6 +624,3 @@ DEPENDENCIES uuidtools (= 2.1.5) validates_email_format_of (= 1.6.3) whenever (= 0.9.4) - -BUNDLED WITH - 1.10.6 From 4ccc93eaaae5f69f1c2015e9f93a4903d921e77e Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 28 Aug 2015 12:41:45 +0300 Subject: [PATCH 09/20] ignore misc dir --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 10d6b7678..668b50574 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ config/initializers/secret_token.rb config/deploy.rb config/secrets.yml config/database.yml +misc /export /import /ca From c64a35e9a01bdbd3c181c0c48b9d51f656d61c31 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Tue, 1 Sep 2015 14:01:08 +0300 Subject: [PATCH 10/20] Add header for mod_epp in schema validation --- app/controllers/epp_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index a61b155a1..f73f1bd3d 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -15,8 +15,8 @@ class EppController < ApplicationController code: 2001, msg: error } + response.headers['X-EPP-Returncode'] = '2200' end - handle_errors and return if epp_errors.any? end From af4219a50def3efc6c9877f1f7a9bfc56ea7a99c Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Wed, 2 Sep 2015 12:10:10 +0300 Subject: [PATCH 11/20] Update rails --- Gemfile | 2 +- Gemfile.lock | 66 ++++++++++++++++++++++++++-------------------------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Gemfile b/Gemfile index eb86acee2..8bf19fd3b 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ end if Bundler::VERSION < '2' source 'https://rubygems.org' # core -gem 'rails', '4.2.3' # when update, all initializers eis_custom files needs check/update +gem 'rails', '4.2.4' # when update, all initializers eis_custom files needs check/update gem 'iso8601', '0.8.6' # for dates and times gem 'hashie-forbidden_attributes', '0.1.1' gem 'SyslogLogger', '2.0', require: 'syslog/logger' diff --git a/Gemfile.lock b/Gemfile.lock index 954bd23c3..5963361f3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -38,38 +38,38 @@ GEM specs: SyslogLogger (2.0) abstract_type (0.0.7) - actionmailer (4.2.3) - actionpack (= 4.2.3) - actionview (= 4.2.3) - activejob (= 4.2.3) + actionmailer (4.2.4) + actionpack (= 4.2.4) + actionview (= 4.2.4) + activejob (= 4.2.4) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 1.0, >= 1.0.5) - actionpack (4.2.3) - actionview (= 4.2.3) - activesupport (= 4.2.3) + actionpack (4.2.4) + actionview (= 4.2.4) + activesupport (= 4.2.4) rack (~> 1.6) rack-test (~> 0.6.2) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (4.2.3) - activesupport (= 4.2.3) + actionview (4.2.4) + activesupport (= 4.2.4) builder (~> 3.1) erubis (~> 2.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) - activejob (4.2.3) - activesupport (= 4.2.3) + activejob (4.2.4) + activesupport (= 4.2.4) globalid (>= 0.3.0) - activemodel (4.2.3) - activesupport (= 4.2.3) + activemodel (4.2.4) + activesupport (= 4.2.4) builder (~> 3.1) - activerecord (4.2.3) - activemodel (= 4.2.3) - activesupport (= 4.2.3) + activerecord (4.2.4) + activemodel (= 4.2.4) + activesupport (= 4.2.4) arel (~> 6.0) activerecord-import (0.7.0) activerecord (>= 3.0) - activesupport (4.2.3) + activesupport (4.2.4) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) @@ -282,7 +282,7 @@ GEM listen (3.0.3) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) - loofah (2.0.2) + loofah (2.0.3) nokogiri (>= 1.5.9) lumberjack (1.0.9) mail (2.6.3) @@ -353,20 +353,20 @@ GEM rack-test (0.6.3) rack (>= 1.0) railroady (1.3.0) - rails (4.2.3) - actionmailer (= 4.2.3) - actionpack (= 4.2.3) - actionview (= 4.2.3) - activejob (= 4.2.3) - activemodel (= 4.2.3) - activerecord (= 4.2.3) - activesupport (= 4.2.3) + rails (4.2.4) + actionmailer (= 4.2.4) + actionpack (= 4.2.4) + actionview (= 4.2.4) + activejob (= 4.2.4) + activemodel (= 4.2.4) + activerecord (= 4.2.4) + activesupport (= 4.2.4) bundler (>= 1.3.0, < 2.0) - railties (= 4.2.3) + railties (= 4.2.4) sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.6) + rails-dom-testing (1.0.7) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) @@ -374,9 +374,9 @@ GEM loofah (~> 2.0) rails-settings-cached (0.4.1) rails (>= 4.0.0) - railties (4.2.3) - actionpack (= 4.2.3) - activesupport (= 4.2.3) + railties (4.2.4) + actionpack (= 4.2.4) + activesupport (= 4.2.4) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rainbow (2.0.0) @@ -479,7 +479,7 @@ GEM spring (1.3.6) spring-commands-rspec (1.0.4) spring (>= 0.9.1) - sprockets (3.2.0) + sprockets (3.3.4) rack (~> 1.0) sprockets-rails (2.3.2) actionpack (>= 3.0) @@ -600,7 +600,7 @@ DEPENDENCIES que (= 0.10.0) que-web (= 0.4.0) railroady (= 1.3.0) - rails (= 4.2.3) + rails (= 4.2.4) rails-settings-cached (= 0.4.1) rake ransack (= 1.5.1) From 1b501dd053722ac7d949dc1c6a15193da6ca54ac Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 3 Sep 2015 11:28:41 +0300 Subject: [PATCH 12/20] Added more whois rake tasks --- lib/tasks/whois.rake | 47 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/lib/tasks/whois.rake b/lib/tasks/whois.rake index 88d284b75..fd905e383 100644 --- a/lib/tasks/whois.rake +++ b/lib/tasks/whois.rake @@ -16,15 +16,44 @@ namespace :whois do puts "\n-----> all done in #{(Time.zone.now.to_f - start).round(2)} seconds" end - # desc 'Delete whois database data and import from Registry master database (faster)' - # task export: :environment do - # start = Time.zone.now.to_f - # print "-----> Delete whois database data and import from Registry whois_records table..." - # whois_records = WhoisRecord.pluck(:name, :body, :json) - # Whois::Record.delete_all - # Whois::Record.import([:name, :body, :json], whois_records) - # puts "\n-----> all done in #{(Time.zone.now.to_f - start).round(2)} seconds" - # end + desc 'Create whois database' + task create: [:environment] do + whois_db = "whois_#{Rails.env}" + begin + puts "\n------------------------ Create #{whois_db} ---------------------------------------\n" + ActiveRecord::Base.clear_all_connections! + conf = ActiveRecord::Base.configurations + + ActiveRecord::Base.connection.create_database(conf[whois_db]['database'].to_sym, conf[whois_db]) + rescue => e + puts "\n#{e}" + end + end + + desc 'Drop whois database' + task drop: [:environment] do + # just in case we allow only drop test, comment it out only for temp + if Rails.env.test? + whois_db = "whois_#{Rails.env}" + + begin + puts "\n------------------------ #{whois_db} drop ------------------------------\n" + ActiveRecord::Base.clear_all_connections! + ActiveRecord::Base.establish_connection(whois_db.to_sym) + + conf = ActiveRecord::Base.configurations + if ActiveRecord::Tasks::DatabaseTasks.drop(conf[whois_db]) + puts "#{conf[whois_db]['database']} dropped" + else + puts "Didn't find database #{whois_db}, no drop" + end + rescue => e + puts "\n#{e}" + end + else + puts 'Only for test' + end + end namespace :schema do desc 'Load whois schema into empty whois database' From 84d8b54c69d564883c2f8703f10a5d7a71de3cf7 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 3 Sep 2015 11:30:35 +0300 Subject: [PATCH 13/20] Added email pynicode support #2884 --- app/mailers/application_mailer.rb | 6 ++++++ app/mailers/contact_mailer.rb | 2 +- app/mailers/domain_mailer.rb | 20 +++++++++---------- app/mailers/invoice_mailer.rb | 2 +- spec/mailers/contact_mailer_spec.rb | 31 ++++++++++++++++++++++++++++- 5 files changed, 48 insertions(+), 13 deletions(-) diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 1ed7e0ce7..339638d80 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -23,4 +23,10 @@ class ApplicationMailer < ActionMailer::Base "BY MODEL OBJECT: id ##{model.try(:id)} deliver_emails returned false" true end + + def format(email) + local, host = email.split('@') + host = SimpleIDN.to_ascii(host) + "#{local}@#{host}" + end end diff --git a/app/mailers/contact_mailer.rb b/app/mailers/contact_mailer.rb index 42968fe5a..2f8de7248 100644 --- a/app/mailers/contact_mailer.rb +++ b/app/mailers/contact_mailer.rb @@ -6,7 +6,7 @@ class ContactMailer < ApplicationMailer return if whitelist_blocked?(email) begin - mail(to: email, subject: "#{I18n.t(:contact_email_update_subject)} [#{@contact.code}]") + mail(to: format(email), subject: "#{I18n.t(:contact_email_update_subject)} [#{@contact.code}]") rescue EOFError, IOError, TimeoutError, diff --git a/app/mailers/domain_mailer.rb b/app/mailers/domain_mailer.rb index 3e9b7c360..8544af6a7 100644 --- a/app/mailers/domain_mailer.rb +++ b/app/mailers/domain_mailer.rb @@ -19,7 +19,7 @@ class DomainMailer < ApplicationMailer @verification_url = "#{confirm_path}/#{@domain.id}?token=#{@domain.registrant_verification_token}" return if whitelist_blocked?(@old_registrant.email) - mail(to: @old_registrant.email, + mail(to: format(@old_registrant.email), subject: "#{I18n.t(:pending_update_request_for_old_registrant_subject, name: @domain.name)} [#{@domain.name}]") end @@ -42,7 +42,7 @@ class DomainMailer < ApplicationMailer @old_registrant = Registrant.find(@domain.registrant_id_was) return if whitelist_blocked?(@new_registrant.email) - mail(to: @new_registrant.email, + mail(to: format(@new_registrant.email), subject: "#{I18n.t(:pending_update_notification_for_new_registrant_subject, name: @domain.name)} [#{@domain.name}]") end @@ -52,7 +52,7 @@ class DomainMailer < ApplicationMailer return if delivery_off?(@domain) return if whitelist_blocked?(@domain.registrant_email) - mail(to: @domain.registrant_email, + mail(to: format(@domain.registrant_email), subject: "#{I18n.t(:registrant_updated_notification_for_new_registrant_subject, name: @domain.name)} [#{@domain.name}]") end @@ -64,7 +64,7 @@ class DomainMailer < ApplicationMailer @old_registrant_email = domain.registrant_email # Nb! before applying pending updates return if whitelist_blocked?(@old_registrant_email) - mail(to: @old_registrant_email, + mail(to: format(@old_registrant_email), subject: "#{I18n.t(:registrant_updated_notification_for_old_registrant_subject, name: @domain.name)} [#{@domain.name}]") end @@ -77,7 +77,7 @@ class DomainMailer < ApplicationMailer @new_registrant_name = @domain.pending_json['new_registrant_name'] return if whitelist_blocked?(@new_registrant_email) - mail(to: @new_registrant_email, + mail(to: format(@new_registrant_email), subject: "#{I18n.t(:pending_update_rejected_notification_for_new_registrant_subject, name: @domain.name)} [#{@domain.name}]") end @@ -94,7 +94,7 @@ class DomainMailer < ApplicationMailer logger.info "EMAIL NOT DELIVERED: no registrant email [pending_update_expired_notification_for_new_registrant]" return end - mail(to: @new_registrant_email, + mail(to: format(@new_registrant_email), subject: "#{I18n.t(:pending_update_expired_notification_for_new_registrant_subject, name: @domain.name)} [#{@domain.name}]") end @@ -119,7 +119,7 @@ class DomainMailer < ApplicationMailer @verification_url = "#{confirm_path}/#{@domain.id}?token=#{@domain.registrant_verification_token}" return if whitelist_blocked?(@old_registrant.email) - mail(to: @old_registrant.email, + mail(to: format(@old_registrant.email), subject: "#{I18n.t(:domain_pending_deleted_subject, name: @domain.name)} [#{@domain.name}]") end @@ -139,7 +139,7 @@ class DomainMailer < ApplicationMailer end return if whitelist_blocked?(@domain.registrant.email) - mail(to: @domain.registrant.email, + mail(to: format(@domain.registrant.email), subject: "#{I18n.t(:pending_delete_rejected_notification_subject, name: @domain.name)} [#{@domain.name}]") end @@ -149,7 +149,7 @@ class DomainMailer < ApplicationMailer # no delivery off control, driggered by cron, no epp request return if whitelist_blocked?(@domain.registrant.email) - mail(to: @domain.registrant.email, + mail(to: format(@domain.registrant.email), subject: "#{I18n.t(:pending_delete_expired_notification_subject, name: @domain.name)} [#{@domain.name}]") end @@ -158,7 +158,7 @@ class DomainMailer < ApplicationMailer @domain = domain return if whitelist_blocked?(@domain.registrant.email) - mail(to: @domain.registrant.email, + mail(to: format(@domain.registrant.email), subject: "#{I18n.t(:delete_confirmation_subject, name: @domain.name)} [#{@domain.name}]") end diff --git a/app/mailers/invoice_mailer.rb b/app/mailers/invoice_mailer.rb index e93269e8e..e78795b66 100644 --- a/app/mailers/invoice_mailer.rb +++ b/app/mailers/invoice_mailer.rb @@ -4,6 +4,6 @@ class InvoiceMailer < ApplicationMailer @invoice = invoice attachments[invoice.pdf_name] = pdf - mail(to: invoice.billing_email, subject: invoice) + mail(to: format(invoice.billing_email), subject: invoice) end end diff --git a/spec/mailers/contact_mailer_spec.rb b/spec/mailers/contact_mailer_spec.rb index 60699a2f9..033843b50 100644 --- a/spec/mailers/contact_mailer_spec.rb +++ b/spec/mailers/contact_mailer_spec.rb @@ -1,6 +1,10 @@ require 'rails_helper' describe ContactMailer do + before :all do + Fabricate(:zonefile_setting, origin: 'ee') + end + describe 'email changed notification when delivery turned off' do before :all do @contact = Fabricate(:contact, email: 'test@example.ee') @@ -26,7 +30,6 @@ describe ContactMailer do describe 'email changed notification' do before :all do - Fabricate(:zonefile_setting, origin: 'ee') @domain = Fabricate(:domain) @contact = @domain.registrant @contact.reload # until figured out why registrant_domains not loaded @@ -50,4 +53,30 @@ describe ContactMailer do @mail.body.encoded.should =~ /Kontaktandmed:/ end end + + describe 'email with pynicode' do + before :all do + @domain = Fabricate(:domain) + @contact = @domain.registrant + @contact.reload # until figured out why registrant_domains not loaded + @contact.deliver_emails = true + @mail = ContactMailer.email_updated('info@ääöü.org', @contact) + end + + it 'should render email subject' do + @mail.subject.should =~ /Teie domeenide kontakt epostiaadress on muutunud/ + end + + it 'should have sender email' do + @mail.from.should == ["noreply@internet.ee"] + end + + it 'should send to info email' do + @mail.to.should == ['info@xn--4caa8cya.org'] + end + + it 'should render body' do + @mail.body.encoded.should =~ /Kontaktandmed:/ + end + end end From 48aa2b9a6a23ff626651bb6d57498928b286c892 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 4 Sep 2015 17:59:24 +0300 Subject: [PATCH 14/20] Travis update, test only selected branches --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index c7a9a5aaa..8054d8ea9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,3 +28,8 @@ notifications: email: - priit@gitlab.eu - martin@gitlab.eu +branches: + only: + - master + - alpha + - staging From 8b3c240262dd390cc3a7361914bf19f1a728e488 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 9 Sep 2015 12:23:53 +0300 Subject: [PATCH 15/20] Updated account spec to generate doc #2928 --- spec/requests/v1/account_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/requests/v1/account_spec.rb b/spec/requests/v1/account_spec.rb index 712502bf2..e99a460a5 100644 --- a/spec/requests/v1/account_spec.rb +++ b/spec/requests/v1/account_spec.rb @@ -3,7 +3,8 @@ require 'rails_helper' describe Repp::AccountV1 do it 'should fail without whitelisted IP' do ENV['webclient_ips'] = '192.188.1.1' - @registrar1 = Fabricate(:registrar, white_ips: [Fabricate(:white_ip_registrar)]) + Setting.api_ip_whitelist_enabled = true + @registrar1 = Fabricate(:registrar, white_ips: [Fabricate(:white_ip_registrar, ipv4: '99.99.99.99')]) @api_user = Fabricate(:api_user, registrar: @registrar1) get_with_auth '/repp/v1/accounts/balance', {}, @api_user @@ -12,6 +13,7 @@ describe Repp::AccountV1 do body['error'].should == 'IP is not whitelisted' ENV['webclient_ips'] = '127.0.0.1' + Setting.api_ip_whitelist_enabled = false end context 'with valid registrar' do From 33a4d4b8684455f4b0a3b7da291f5c618473bc46 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 9 Sep 2015 12:44:23 +0300 Subject: [PATCH 16/20] Regenerate doc examples #2928 --- doc/epp-examples.md | 3602 +++++++++++++++++++--------------------- doc/repp/v1/contact.md | 25 +- doc/repp/v1/domain.md | 35 +- 3 files changed, 1775 insertions(+), 1887 deletions(-) diff --git a/doc/epp-examples.md b/doc/epp-examples.md index 1a228190e..d680a6e7b 100644 --- a/doc/epp-examples.md +++ b/doc/epp-examples.md @@ -1,6 +1,7 @@ +Run options: include {:focus=>true, :epp=>true} # EPP REQUEST - RESPONSE EXAMPLES -GENERATED AT: 2015-08-13 09:33:54 UTC -EXAMPLE COUNT: 192 +GENERATED AT: 2015-09-09 09:40:26 UTC +EXAMPLE COUNT: 189 --- @@ -37,14 +38,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-0177084626 + ccReg-3885524928 @@ -70,14 +71,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}create': Missing child element(s). Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}id, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}postalInfo ). ABC-12345 - ccReg-5447519161 + ccReg-8521459787 @@ -121,20 +122,80 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:28DFA9FB - 2015-08-13T09:33:58Z - + + FIRST0:84FC4612 + 2015-09-09T09:40:29Z + ABC-12345 - ccReg-2219799953 + ccReg-7245575567 + + + +``` + +### EPP Contact with valid user create command creates a contact with custom auth info + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + + custompw + + + + + + 37605030299 + dGVzdCBmYWlsCg== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:467382DF + 2015-09-09T09:40:29Z + + + + ABC-12345 + ccReg-6773218727 @@ -178,20 +239,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:275E4483 - 2015-08-13T09:33:58Z - + + FIRST0:ECE6546C + 2015-09-09T09:40:29Z + ABC-12345 - ccReg-1088420850 + ccReg-3052510277 @@ -235,20 +296,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:9603F8F1 - 2015-08-13T09:33:58Z - + + FIRST0:E5EB4D84 + 2015-09-09T09:40:29Z + ABC-12345 - ccReg-2593907388 + ccReg-6438471511 @@ -292,20 +353,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:6D302DC4 - 2015-08-13T09:33:58Z - + + FIRST0:EAB46720 + 2015-09-09T09:40:29Z + ABC-12345 - ccReg-3318362783 + ccReg-9454779652 @@ -349,14 +410,14 @@ RESPONSE: ```xml - + Email is invalid [email] ABC-12345 - ccReg-8024923064 + ccReg-7361191539 @@ -401,20 +462,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:ABC12345 - 2015-08-13T09:33:59Z - + + FIRST0:ABC12345 + 2015-09-09T09:40:30Z + ABC-12345 - ccReg-9071577004 + ccReg-5728692448 @@ -459,20 +520,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:ABC:ABC:12345 - 2015-08-13T09:33:59Z - + + FIRST0:ABC:ABC:12345 + 2015-09-09T09:40:30Z + ABC-12345 - ccReg-3904777786 + ccReg-4533576272 @@ -517,14 +578,14 @@ RESPONSE: ```xml - + is invalid [code] ABC-12345 - ccReg-0138749602 + ccReg-2978768860 @@ -569,14 +630,14 @@ RESPONSE: ```xml - + is invalid [code] ABC-12345 - ccReg-5222062127 + ccReg-9458101032 @@ -621,14 +682,14 @@ RESPONSE: ```xml - + Contact code is too long, max 100 characters [code] ABC-12345 - ccReg-4078136895 + ccReg-2930253906 @@ -671,7 +732,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/eis-1.0.xsd}ident', attribute 'cc': [facet 'maxLength'] The value 'WRONG' has a length of '5'; this exceeds the allowed maximum length of '2'. @@ -681,7 +742,7 @@ RESPONSE: ABC-12345 - ccReg-8523097185 + ccReg-4181323352 @@ -724,14 +785,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/eis-1.0.xsd}ident': The attribute 'cc' is required but missing. ABC-12345 - ccReg-6429622052 + ccReg-7347010854 @@ -774,7 +835,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/eis-1.0.xsd}ident': The attribute 'type' is required but missing. @@ -784,7 +845,7 @@ RESPONSE: ABC-12345 - ccReg-3748704183 + ccReg-1469555105 @@ -829,20 +890,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:CID:FIRST0:ABC:ABC:NEW:12345 - 2015-08-13T09:34:06Z - + + FIRST0:CID:FIRST0:ABC:ABC:NEW:12345 + 2015-09-09T09:40:36Z + ABC-12345 - ccReg-3411284828 + ccReg-8659799699 @@ -887,20 +948,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:CID:FIRST0:ABC:CID:ABC:NEW:12345 - 2015-08-13T09:34:06Z - + + FIRST0:CID:FIRST0:ABC:CID:ABC:NEW:12345 + 2015-09-09T09:40:36Z + ABC-12345 - ccReg-8669402042 + ccReg-9265666981 @@ -945,20 +1006,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:ABC22 - 2015-08-13T09:34:06Z - + + FIRST0:ABC22 + 2015-09-09T09:40:36Z + ABC-12345 - ccReg-1369332901 + ccReg-5547036409 @@ -1003,20 +1064,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:CID2:FIRST0:ABC:ABC:11111 - 2015-08-13T09:34:06Z - + + FIRST0:CID2:FIRST0:ABC:ABC:11111 + 2015-09-09T09:40:36Z + ABC-12345 - ccReg-7223828265 + ccReg-5904746110 @@ -1061,20 +1122,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:CID:FIRST0 - 2015-08-13T09:34:06Z - + + FIRST0:CID:FIRST0 + 2015-09-09T09:40:37Z + ABC-12345 - ccReg-8899534495 + ccReg-2802891483 @@ -1118,20 +1179,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:EF4F8DED - 2015-08-13T09:34:06Z - + + FIRST0:0D91E51A + 2015-09-09T09:40:37Z + ABC-12345 - ccReg-1348909303 + ccReg-9050239318 @@ -1175,20 +1236,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:9239EADA - 2015-08-13T09:34:07Z - + + FIRST0:4F138386 + 2015-09-09T09:40:37Z + ABC-12345 - ccReg-3815440329 + ccReg-1715682253 @@ -1233,14 +1294,14 @@ RESPONSE: ```xml - + Parameter value policy error. Org must be blank: postalInfo > org [org] ABC-12345 - ccReg-3281109665 + ccReg-2280144487 @@ -1285,14 +1346,14 @@ RESPONSE: ```xml - + Parameter value policy error. Fax must be blank: fax [fax] ABC-12345 - ccReg-1949647138 + ccReg-4349113709 @@ -1318,14 +1379,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}update': Missing child element(s). Expected is ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}id ). ABC-12345 - ccReg-7346029030 + ccReg-7286028459 @@ -1368,17 +1429,17 @@ RESPONSE: ```xml - + Object does not exist - - NOT-EXISTS + + NOT-EXISTS ABC-12345 - ccReg-6524671594 + ccReg-2074703171 @@ -1421,20 +1482,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH8013 - 2015-08-13T09:34:09Z - + + FIRST0:SH8013 + 2015-09-09T09:40:39Z + ABC-12345 - ccReg-4882955539 + ccReg-3491459904 @@ -1467,20 +1528,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH8013 - 2015-08-13T09:34:09Z - + + FIRST0:SH8013 + 2015-09-09T09:40:39Z + ABC-12345 - ccReg-3638232845 + ccReg-0870722687 @@ -1521,14 +1582,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6113826407 + ccReg-4631527659 @@ -1569,20 +1630,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH8013 - 2015-08-13T09:34:09Z - + + FIRST0:SH8013 + 2015-09-09T09:40:39Z + ABC-12345 - ccReg-0255224767 + ccReg-2316245904 @@ -1621,14 +1682,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-0722360639 + ccReg-6653164016 @@ -1669,14 +1730,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7616202831 + ccReg-1869422463 @@ -1707,14 +1768,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-3477656679 + ccReg-1310988362 @@ -1753,14 +1814,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-5784933815 + ccReg-5729503440 @@ -1803,7 +1864,7 @@ RESPONSE: ```xml - + Phone nr is invalid [phone] @@ -1813,7 +1874,7 @@ RESPONSE: ABC-12345 - ccReg-7022030523 + ccReg-3321892849 @@ -1856,14 +1917,14 @@ RESPONSE: ```xml - + Email is invalid [email] ABC-12345 - ccReg-5700090097 + ccReg-6744241029 @@ -1907,14 +1968,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}id': This element is not expected. ABC-12345 - ccReg-2874641380 + ccReg-8679770784 @@ -1958,14 +2019,14 @@ RESPONSE: ```xml - + Parameter value policy error. Update of ident data not allowed [ident] ABC-12345 - ccReg-7286507182 + ccReg-1951064233 @@ -2009,14 +2070,14 @@ RESPONSE: ```xml - + Parameter value policy error. Org must be blank: postalInfo > org [org] ABC-12345 - ccReg-9221880098 + ccReg-5350033657 @@ -2060,14 +2121,14 @@ RESPONSE: ```xml - + Parameter value policy error. Fax must be blank: fax [fax] ABC-12345 - ccReg-9370207132 + ccReg-9118950841 @@ -2099,14 +2160,60 @@ RESPONSE: ```xml - + Parameter value policy error. Client-side object status management not supported: status [status] ABC-12345 - ccReg-6417478067 + ccReg-8671401358 + + + +``` + +### EPP Contact with valid user update command should update auth info + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + + newpassword + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-09-09T09:40:39Z + + + + ABC-12345 + ccReg-8238101481 @@ -2140,20 +2247,20 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH8013 - 2015-08-13T09:34:09Z - + + FIRST0:SH8013 + 2015-09-09T09:40:39Z + ABC-12345 - ccReg-2657968479 + ccReg-9487792357 @@ -2188,7 +2295,7 @@ RESPONSE: ```xml - + Required parameter missing - phone [phone] @@ -2198,51 +2305,7 @@ RESPONSE: ABC-12345 - ccReg-6034166720 - - - -``` - -### EPP Contact with valid user update command should honor chg value over add value when both changes same attribute - -REQUEST: - -```xml - - - - - - FIRST0:SH8013 - - +372.11111111111 - - - +372.222222222222 - - password - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}voice': This element is not expected. Expected is ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}status ). - - - ABC-12345 - ccReg-9789748181 + ccReg-3038821005 @@ -2276,7 +2339,7 @@ RESPONSE: ```xml - + Required parameter missing - phone [phone] @@ -2286,232 +2349,13 @@ RESPONSE: ABC-12345 - ccReg-2409800910 + ccReg-7710739186 ``` -### EPP Contact with valid user update command should not allow to remove required attribute - -REQUEST: - -```xml - - - - - - FIRST0:SH8013 - - password - - - +372.7654321 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}authInfo': This element is not expected. Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}add, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}rem, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}chg ). - - - ABC-12345 - ccReg-3810535950 - - - -``` - -### EPP Contact with valid user update command should honor add over rem - -REQUEST: - -```xml - - - - - - FIRST0:SH8013 - - password - - - not important - - - +372.3333333 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}authInfo': This element is not expected. Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}add, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}rem, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}chg ). - - - ABC-12345 - ccReg-5418609354 - - - -``` - -### EPP Contact with valid user update command should honor chg over rem - -REQUEST: - -```xml - - - - - - FIRST0:SH8013 - - password - - - not important - - - +372.44444444 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}authInfo': This element is not expected. Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}add, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}rem, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}chg ). - - - ABC-12345 - ccReg-4863471149 - - - -``` - -### EPP Contact with valid user update command should honor chg over rem and add - -REQUEST: - -```xml - - - - - - FIRST0:SH8013 - - password - - - +372.666666 - - - +372.555555 - - - not important - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}authInfo': This element is not expected. Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}add, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}rem, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}chg ). - - - ABC-12345 - ccReg-4570241320 - - - -``` - -### EPP Contact with valid user update command should not remove password - -REQUEST: - -```xml - - - - - - FIRST0:SH8013 - - password - - - - password - - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}authInfo': This element is not expected. Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}add, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}rem, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}chg ). - - - ABC-12345 - ccReg-8199924639 - - - -``` - -### EPP Contact with valid user update command should return general policy error when removing org +### EPP Contact with valid user update command should return general policy error when updating org REQUEST: @@ -2524,7 +2368,7 @@ REQUEST: FIRST0:SH8013 - + shouldnot password @@ -2541,26 +2385,20 @@ RESPONSE: ```xml - + - - Command completed successfully + + Parameter value policy error. Org must be blank: postalInfo > org [org] - - - FIRST0:SH8013 - 2015-08-13T09:34:09Z - - ABC-12345 - ccReg-1958606699 + ccReg-6592307898 ``` -### EPP Contact with valid user update command should return error when removing street +### EPP Contact with valid user update command does not allow to edit statuses if policy forbids it REQUEST: @@ -2571,14 +2409,9 @@ REQUEST: FIRST0:SH8013 - - password - - - - not important - - + + + ABC-12345 @@ -2590,14 +2423,14 @@ RESPONSE: ```xml - + - - Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}authInfo': This element is not expected. Expected is one of ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}add, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}rem, {https://epp.tld.ee/schema/contact-eis-1.0.xsd}chg ). + + Parameter value policy error. Client-side object status management not supported: status [status] ABC-12345 - ccReg-0572416103 + ccReg-5234465789 @@ -2623,14 +2456,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}delete': Missing child element(s). Expected is ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}id ). ABC-12345 - ccReg-4324407256 + ccReg-1626853684 @@ -2667,17 +2500,17 @@ RESPONSE: ```xml - + Object does not exist - - NOT-EXISTS + + NOT-EXISTS ABC-12345 - ccReg-3543357851 + ccReg-7073768118 @@ -2693,7 +2526,7 @@ REQUEST: - FIRST0:SH648495423 + FIRST0:SH159792243 password @@ -2714,14 +2547,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8497339804 + ccReg-0218425687 @@ -2737,7 +2570,7 @@ REQUEST: - FIRST0:SH236855544 + FIRST0:SH281327764 wrong password @@ -2758,14 +2591,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1988770643 + ccReg-3065209311 @@ -2781,7 +2614,7 @@ REQUEST: - FIRST0:SH357871875 + FIRST0:SH671824275 ABC-12345 @@ -2793,14 +2626,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6512247228 + ccReg-9577129072 @@ -2816,7 +2649,7 @@ REQUEST: - FIRST0:SH138520646 + FIRST0:SH584167436 password @@ -2837,14 +2670,14 @@ RESPONSE: ```xml - + Object association prohibits operation [domains] ABC-12345 - ccReg-4788246067 + ccReg-9195498943 @@ -2885,14 +2718,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1578152907 + ccReg-5140790883 @@ -2906,7 +2739,7 @@ REQUEST: - FIRST0:SH804524239 + FIRST0:SH184575429 password @@ -2927,14 +2760,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7131859884 + ccReg-8609941835 @@ -2973,14 +2806,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9869312335 + ccReg-5202273416 @@ -3021,14 +2854,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-4365294811 + ccReg-0752802683 @@ -3042,7 +2875,7 @@ REQUEST: - FIRST0:SH3904213110 + FIRST0:SH5548884710 ABC-12345 @@ -3054,14 +2887,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-1660306449 + ccReg-0482443818 @@ -3100,14 +2933,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-5120384285 + ccReg-2840106728 @@ -3148,14 +2981,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-3819564099 + ccReg-0001093939 @@ -3169,7 +3002,7 @@ REQUEST: - FIRST0:SH8274617311 + FIRST0:SH2027223711 wrong password @@ -3190,14 +3023,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-2823054907 + ccReg-1181916838 @@ -3236,14 +3069,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8756931609 + ccReg-7765829729 @@ -3269,14 +3102,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}check': Missing child element(s). Expected is ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}id ). ABC-12345 - ccReg-9822516854 + ccReg-9452731556 @@ -3305,25 +3138,25 @@ RESPONSE: ```xml - + Command completed successfully - - - FIXED:CHECK-1234 - in use - - - check-4321 - - + + + FIXED:CHECK-1234 + in use + + + check-4321 + + ABC-12345 - ccReg-0335009582 + ccReg-6286464515 @@ -3352,25 +3185,25 @@ RESPONSE: ```xml - + Command completed successfully - - - FIXED:CHECK-LEGACY - in use - - - CID:FIXED:CHECK-LEGACY - - + + + FIXED:CHECK-LEGACY + in use + + + CID:FIXED:CHECK-LEGACY + + ABC-12345 - ccReg-7476757437 + ccReg-0632765583 @@ -3396,14 +3229,14 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/contact-eis-1.0.xsd}info': Missing child element(s). Expected is ( {https://epp.tld.ee/schema/contact-eis-1.0.xsd}id ). ABC-12345 - ccReg-5534578193 + ccReg-3832713679 @@ -3434,17 +3267,17 @@ RESPONSE: ```xml - + Object does not exist - - NO-CONTACT + + NO-CONTACT ABC-12345 - ccReg-7646774559 + ccReg-8022802814 @@ -3475,44 +3308,44 @@ RESPONSE: ```xml - + Command completed successfully - - FIXED:INFO-4444 - EIS-29 - - - Johnny Awesome - - Short street 11 - Tallinn - - 11111 - EE - - - +372.12345678 - bennie@bogan.net - fixed registrar - TEST-CREATOR - 2015-08-13T09:34:35Z - - password - - + + FIXED:INFO-4444 + EIS-30 + + + Johnny Awesome + + Short street 11 + Tallinn + + 11111 + EE + + + +372.12345678 + jerod@monahan.name + fixed registrar + TEST-CREATOR + 2015-09-09T09:40:57Z + + password + + - - 37605030299 - + + 37605030299 + ABC-12345 - ccReg-8376212237 + ccReg-3973009107 @@ -3543,44 +3376,44 @@ RESPONSE: ```xml - + Command completed successfully - - FIXED:CID:FIXED:INFO-5555 - EIS-30 - - - Johnny Awesome - - Short street 11 - Tallinn - - 11111 - EE - - - +372.12345678 - bennie@bogan.net - fixed registrar - TEST-CREATOR - 2015-08-13T09:34:35Z - - password - - + + FIXED:CID:FIXED:INFO-5555 + EIS-31 + + + Johnny Awesome + + Short street 11 + Tallinn + + 11111 + EE + + + +372.12345678 + jerod@monahan.name + fixed registrar + TEST-CREATOR + 2015-09-09T09:40:57Z + + password + + - - 37605030299 - + + 37605030299 + ABC-12345 - ccReg-6753114009 + ccReg-5286311125 @@ -3611,44 +3444,44 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:INFO-IDENT - EIS-31 - - - Johnny Awesome - - Short street 11 - Tallinn - - 11111 - EE - - - +372.12345678 - bennie@bogan.net - registrar1 - TEST-CREATOR - 2015-08-13T09:34:35Z - - password - - + + FIRST0:INFO-IDENT + EIS-32 + + + Johnny Awesome + + Short street 11 + Tallinn + + 11111 + EE + + + +372.12345678 + jerod@monahan.name + registrar1 + TEST-CREATOR + 2015-09-09T09:40:57Z + + password + + - - 37605030299 - + + 37605030299 + ABC-12345 - ccReg-0859320707 + ccReg-2715010887 @@ -3664,7 +3497,7 @@ REQUEST: - FIRST0:SH921345540 + FIRST0:SH146764510 wrong-pw @@ -3679,44 +3512,44 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH921345540 - EIS-1 - - - Mrs. Domenick Schaefer0 - - Short street 11 - Tallinn - - 11111 - EE - - - +372.12345678 - bennie@bogan.net - registrar1 - TEST-CREATOR - 2015-08-13T09:33:56Z - - password - - + + FIRST0:SH146764510 + EIS-1 + + + Jeffrey Grant0 + + Short street 11 + Tallinn + + 11111 + EE + + + +372.12345678 + jerod@monahan.name + registrar1 + TEST-CREATOR + 2015-09-09T09:40:28Z + + password + + - - 37605030299 - + + 37605030299 + ABC-12345 - ccReg-7072761777 + ccReg-8292511662 @@ -3747,44 +3580,44 @@ RESPONSE: ```xml - + Command completed successfully - - FIXED:TEST:CUSTOM:CODE - EIS-32 - - - Issac Reynolds15 - - Short street 11 - Tallinn - - 11111 - EE - - - +372.12345678 - bennie@bogan.net - fixed registrar - TEST-CREATOR - 2015-08-13T09:34:35Z - - password - - + + FIXED:TEST:CUSTOM:CODE + EIS-33 + + + Faustino Kiehn Sr.15 + + Short street 11 + Tallinn + + 11111 + EE + + + +372.12345678 + jerod@monahan.name + fixed registrar + TEST-CREATOR + 2015-09-09T09:40:57Z + + password + + - - 37605030299 - + + 37605030299 + ABC-12345 - ccReg-6699293450 + ccReg-2742211564 @@ -3825,14 +3658,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1801399918 + ccReg-5339607923 @@ -3846,7 +3679,7 @@ REQUEST: - FIRST0:SH921345540 + FIRST0:SH146764510 password @@ -3861,44 +3694,44 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH921345540 - EIS-1 - - - Mrs. Domenick Schaefer0 - - Short street 11 - Tallinn - - 11111 - EE - - - +372.12345678 - bennie@bogan.net - registrar1 - TEST-CREATOR - 2015-08-13T09:33:56Z - - password - - + + FIRST0:SH146764510 + EIS-1 + + + Jeffrey Grant0 + + Short street 11 + Tallinn + + 11111 + EE + + + +372.12345678 + jerod@monahan.name + registrar1 + TEST-CREATOR + 2015-09-09T09:40:28Z + + password + + - - 37605030299 - + + 37605030299 + ABC-12345 - ccReg-7754532904 + ccReg-4555418710 @@ -3937,14 +3770,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1327858973 + ccReg-7907175242 @@ -3985,14 +3818,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2765906768 + ccReg-7050713206 @@ -4006,7 +3839,7 @@ REQUEST: - FIRST0:SH921345540 + FIRST0:SH146764510 wrong-pw @@ -4021,14 +3854,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-6475661939 + ccReg-3204958197 @@ -4067,14 +3900,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1024107856 + ccReg-1892508078 @@ -4115,14 +3948,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2742841583 + ccReg-3785317019 @@ -4136,7 +3969,7 @@ REQUEST: - FIRST0:SH921345540 + FIRST0:SH146764510 @@ -4151,27 +3984,27 @@ RESPONSE: ```xml - + Command completed successfully - - FIRST0:SH921345540 - EIS-1 - - - Mrs. Domenick Schaefer0 - - registrar1 - TEST-CREATOR - 2015-08-13T09:33:56Z - + + FIRST0:SH146764510 + EIS-1 + + + Jeffrey Grant0 + + registrar1 + TEST-CREATOR + 2015-09-09T09:40:28Z + ABC-12345 - ccReg-0213362504 + ccReg-3241486821 @@ -4210,14 +4043,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-4348319286 + ccReg-7490542266 @@ -4256,14 +4089,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6845680459 + ccReg-6673928791 @@ -4279,7 +4112,7 @@ REQUEST: - example33052217218745540.ee + example32394753088423663.ee 1 @@ -4319,14 +4152,14 @@ RESPONSE: ```xml - + Billing failure - credit balance low ABC-12345 - ccReg-5020824540 + ccReg-4631997903 @@ -4342,7 +4175,7 @@ REQUEST: - example25593210373789011.ee + example63142357207051675.ee 1 @@ -4382,23 +4215,23 @@ RESPONSE: ```xml - + Contact was not found - - sh1111 + + sh1111 Contact was not found - - sh2222 + + sh2222 ABC-12345 - ccReg-7355710881 + ccReg-7654601624 @@ -4426,7 +4259,7 @@ RESPONSE: ```xml - + Required parameter missing: create > create > ns [ns] @@ -4442,7 +4275,7 @@ RESPONSE: ABC-12345 - ccReg-6144968348 + ccReg-9189535106 @@ -4458,7 +4291,7 @@ REQUEST: - example50967962168111976.ee + example1689235482901404.ee 1 @@ -4498,21 +4331,21 @@ RESPONSE: ```xml - + Command completed successfully - - example50967962168111976.ee - 2015-08-13T09:34:41Z - 2016-08-13T09:34:41Z - + + example1689235482901404.ee + 2015-09-09T09:41:01Z + 2016-09-09T09:41:01Z + ABC-12345 - ccReg-2309316249 + ccReg-3255346228 @@ -4528,7 +4361,7 @@ REQUEST: - example94116401428718819.ee + example72027123606093573.ee 1 @@ -4560,21 +4393,21 @@ RESPONSE: ```xml - + Command completed successfully - - example94116401428718819.ee - 2015-08-13T09:34:41Z - 2016-08-13T09:34:41Z - + + example72027123606093573.ee + 2015-09-09T09:41:02Z + 2016-09-09T09:41:02Z + ABC-12345 - ccReg-7659866109 + ccReg-3043773295 @@ -4590,7 +4423,7 @@ REQUEST: - example46600959665330746.ee + example96684879878217632.ee 1 @@ -4633,21 +4466,21 @@ RESPONSE: ```xml - + Command completed successfully - - example46600959665330746.ee - 2015-08-13T09:34:42Z - 2016-08-13T09:34:42Z - + + example96684879878217632.ee + 2015-09-09T09:41:02Z + 2016-09-09T09:41:02Z + ABC-12345 - ccReg-7224254383 + ccReg-0073549975 @@ -4663,14 +4496,14 @@ REQUEST: - example22756306589360043.ee + example45910644144337606.ee 1 - ns1.example22756306589360043.ee + ns1.example45910644144337606.ee - ns2.example22756306589360043.ee + ns2.example45910644144337606.ee FIXED:CITIZEN_1234 @@ -4701,14 +4534,14 @@ RESPONSE: ```xml - + IPv4 is missing [ipv4] ABC-12345 - ccReg-0762129543 + ccReg-5586399806 @@ -4764,14 +4597,14 @@ RESPONSE: ```xml - + Domain name is too long (maximum is 63 characters) [puny_label] ABC-12345 - ccReg-2393910515 + ccReg-9162320725 @@ -4827,14 +4660,14 @@ RESPONSE: ```xml - + Required parameter missing; reserved>pw element required for reserved domains ABC-12345 - ccReg-5008868935 + ccReg-0860231877 @@ -4891,14 +4724,14 @@ RESPONSE: ```xml - + Invalid authorization information; invalid reserved>pw value ABC-12345 - ccReg-6397024451 + ccReg-8149655863 @@ -4957,21 +4790,21 @@ RESPONSE: ```xml - + Command completed successfully - - 1162.ee - 2015-08-13T09:34:46Z - 2016-08-13T09:34:46Z - + + 1162.ee + 2015-09-09T09:41:06Z + 2016-09-09T09:41:06Z + ABC-12345 - ccReg-8008829215 + ccReg-4813370613 @@ -5027,17 +4860,17 @@ RESPONSE: ```xml - + Data management policy violation: Domain name is blocked [name] - - ftp.ee + + ftp.ee ABC-12345 - ccReg-0026007808 + ccReg-4786758523 @@ -5053,7 +4886,7 @@ REQUEST: - example28469489570624571.ee + example86925094014004001.ee 1 @@ -5089,14 +4922,14 @@ RESPONSE: ```xml - + Required parameter missing: create > create > registrant [registrant] ABC-12345 - ccReg-6954428605 + ccReg-5177530285 @@ -5112,7 +4945,7 @@ REQUEST: - example32326620691837007.ee + example63977486611499251.ee 1 FIXED:CITIZEN_1234 FIXED:SH8013 @@ -5142,7 +4975,7 @@ RESPONSE: ```xml - + Required parameter missing: create > create > ns [ns] @@ -5152,7 +4985,7 @@ RESPONSE: ABC-12345 - ccReg-0196288886 + ccReg-2610611681 @@ -5168,7 +5001,7 @@ REQUEST: - example96247243255931114.ee + example86507962690441139.ee 1 @@ -5242,14 +5075,14 @@ RESPONSE: ```xml - + Nameservers count must be between 2-11 [nameservers] ABC-12345 - ccReg-9483122183 + ccReg-4995605429 @@ -5265,7 +5098,7 @@ REQUEST: - example7304107645944090.ee + example19609682814519922.ee 1 @@ -5303,23 +5136,23 @@ RESPONSE: ```xml - + Hostname is invalid [hostname] - - invalid1- + + invalid1- Hostname is invalid [hostname] - - -invalid2 + + -invalid2 ABC-12345 - ccReg-4491058002 + ccReg-6098198030 @@ -5335,7 +5168,7 @@ REQUEST: - example79287226293969632.ee + example72458770500119079.ee 1 ns1.example.ee @@ -5369,14 +5202,14 @@ RESPONSE: ```xml - + Required parameter missing: create > create > ns > hostAttr [host_attr] ABC-12345 - ccReg-0199505209 + ccReg-7334614041 @@ -5392,7 +5225,7 @@ REQUEST: - example23168244891779833.ee + example31353413112314524.ee 1 @@ -5427,21 +5260,21 @@ RESPONSE: ```xml - + Command completed successfully - - example23168244891779833.ee - 2015-08-13T09:34:53Z - 2016-08-13T09:34:53Z - + + example31353413112314524.ee + 2015-09-09T09:41:13Z + 2016-09-09T09:41:13Z + ABC-12345 - ccReg-9044781085 + ccReg-4674113477 @@ -5457,7 +5290,7 @@ REQUEST: - example63417682950738916.ee + example5402226134684202.ee 1 @@ -5492,23 +5325,23 @@ RESPONSE: ```xml - + IPv4 is invalid [ipv4] - - 192.0.2.2.invalid + + 192.0.2.2.invalid IPv6 is invalid [ipv6] - - INVALID_IPV6 + + INVALID_IPV6 ABC-12345 - ccReg-1988582948 + ccReg-8298366234 @@ -5524,7 +5357,7 @@ REQUEST: - example42681047578185715.ee + example21033998568612387.ee 365 @@ -5564,21 +5397,21 @@ RESPONSE: ```xml - + Command completed successfully - - example42681047578185715.ee - 2015-08-13T09:34:55Z - 2016-08-13T09:34:55Z - + + example21033998568612387.ee + 2015-09-09T09:41:14Z + 2016-09-09T09:41:14Z + ABC-12345 - ccReg-1243983061 + ccReg-1708461985 @@ -5594,7 +5427,7 @@ REQUEST: - example35309087205660659.ee + example14768162587822699.ee 2 @@ -5634,21 +5467,21 @@ RESPONSE: ```xml - + Command completed successfully - - example35309087205660659.ee - 2015-08-13T09:34:55Z - 2017-08-13T09:34:55Z - + + example14768162587822699.ee + 2015-09-09T09:41:14Z + 2017-09-09T09:41:14Z + ABC-12345 - ccReg-2301487067 + ccReg-3258212733 @@ -5664,7 +5497,7 @@ REQUEST: - example56710172999929293.ee + example61003665883943636.ee 36 @@ -5704,21 +5537,21 @@ RESPONSE: ```xml - + Command completed successfully - - example56710172999929293.ee - 2015-08-13T09:34:55Z - 2018-08-13T09:34:55Z - + + example61003665883943636.ee + 2015-09-09T09:41:15Z + 2018-09-09T09:41:15Z + ABC-12345 - ccReg-7765254900 + ccReg-5642259320 @@ -5734,7 +5567,7 @@ REQUEST: - example17338481595733209.ee + example58414536116868691.ee ns1.example.net @@ -5773,21 +5606,21 @@ RESPONSE: ```xml - + Command completed successfully - - example17338481595733209.ee - 2015-08-13T09:34:55Z - 2016-08-13T09:34:55Z - + + example58414536116868691.ee + 2015-09-09T09:41:15Z + 2016-09-09T09:41:15Z + ABC-12345 - ccReg-7666845763 + ccReg-2981760947 @@ -5803,7 +5636,7 @@ REQUEST: - example74678408772410634.ee + example81669530628884297.ee 367 @@ -5843,17 +5676,17 @@ RESPONSE: ```xml - + Period must add up to 1, 2 or 3 years [period] - - 367 + + 367 ABC-12345 - ccReg-7615854164 + ccReg-2538984079 @@ -5869,7 +5702,7 @@ REQUEST: - example14047431401877436.ee + example31154705462486343.ee 1 @@ -5909,7 +5742,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}period', attribute 'unit': [facet 'enumeration'] The value '' is not an element of the set {'y', 'm', 'd'}. @@ -5919,7 +5752,7 @@ RESPONSE: ABC-12345 - ccReg-1202721869 + ccReg-7922608658 @@ -5933,7 +5766,7 @@ REQUEST: - example72191903059315098.ee + example18093312080283547.ee 1 @@ -5973,7 +5806,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}period', attribute 'unit': [facet 'enumeration'] The value 'bla' is not an element of the set {'y', 'm', 'd'}. @@ -5983,7 +5816,7 @@ RESPONSE: ABC-12345 - ccReg-0424113847 + ccReg-3944282239 @@ -5999,7 +5832,7 @@ REQUEST: - example45058371904470331.ee + example96784698546357615.ee 1 @@ -6051,21 +5884,21 @@ RESPONSE: ```xml - + Command completed successfully - - example45058371904470331.ee - 2015-08-13T09:34:59Z - 2016-08-13T09:34:59Z - + + example96784698546357615.ee + 2015-09-09T09:41:18Z + 2016-09-09T09:41:18Z + ABC-12345 - ccReg-3384973309 + ccReg-8784557440 @@ -6081,7 +5914,7 @@ REQUEST: - example90097268777349211.ee + example38612160126016755.ee 1 @@ -6133,7 +5966,7 @@ RESPONSE: ```xml - + Element '{urn:ietf:params:xml:ns:secDNS-1.1}pubKey': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'. @@ -6143,7 +5976,7 @@ RESPONSE: ABC-12345 - ccReg-7997930054 + ccReg-9401570081 @@ -6157,7 +5990,7 @@ REQUEST: - example84755233125997633.ee + example95030742988639556.ee 1 @@ -6209,47 +6042,47 @@ RESPONSE: ```xml - + Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 [alg] - - 9 + + 9 Valid protocols are: 3 [protocol] - - 4 + + 4 Valid flags are: 0, 256, 257 [flags] - - 250 + + 250 Valid algorithms are: 3, 5, 6, 7, 8, 252, 253, 254, 255 [alg] - - 10 + + 10 Valid flags are: 0, 256, 257 [flags] - - 1 + + 1 Valid protocols are: 3 [protocol] - - 5 + + 5 ABC-12345 - ccReg-6781376684 + ccReg-8923945468 @@ -6265,7 +6098,7 @@ REQUEST: - example85865381433550179.ee + example83981486968220519.ee 1 @@ -6311,17 +6144,17 @@ RESPONSE: ```xml - + Public key already exists [public_key] - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f ABC-12345 - ccReg-9007960044 + ccReg-2492711305 @@ -6337,7 +6170,7 @@ REQUEST: - example45869208261211862.ee + example59256456902214771.ee 1 @@ -6383,14 +6216,14 @@ RESPONSE: ```xml - + DNS keys count must be between 0-1 [dnskeys] ABC-12345 - ccReg-7388081064 + ccReg-2006759511 @@ -6406,7 +6239,7 @@ REQUEST: - example325667310638683.ee + example82964748602082529.ee 1 @@ -6446,21 +6279,21 @@ RESPONSE: ```xml - + Command completed successfully - - example325667310638683.ee - 2015-08-13T09:35:04Z - 2016-08-13T09:35:04Z - + + example82964748602082529.ee + 2015-09-09T09:41:23Z + 2016-09-09T09:41:23Z + ABC-12345 - ccReg-6601346505 + ccReg-6319561515 @@ -6476,7 +6309,7 @@ REQUEST: - example36000348177681111.ee + example2506953435883800.ee 1 @@ -6522,21 +6355,21 @@ RESPONSE: ```xml - + Command completed successfully - - example36000348177681111.ee - 2015-08-13T09:35:04Z - 2016-08-13T09:35:04Z - + + example2506953435883800.ee + 2015-09-09T09:41:23Z + 2016-09-09T09:41:23Z + ABC-12345 - ccReg-3878563283 + ccReg-0568896775 @@ -6552,7 +6385,7 @@ REQUEST: - example5471043337186930.ee + example56190705875115023.ee 1 @@ -6598,14 +6431,14 @@ RESPONSE: ```xml - + dsData object is not allowed ABC-12345 - ccReg-5544269131 + ccReg-7605522992 @@ -6621,7 +6454,7 @@ REQUEST: - example69083380164049916.ee + example89080816292222405.ee 1 @@ -6661,14 +6494,14 @@ RESPONSE: ```xml - + keyData object is not allowed ABC-12345 - ccReg-9136111549 + ccReg-4787538812 @@ -6684,7 +6517,7 @@ REQUEST: - example73020356577671849.ee + example21199712387956820.ee 1 @@ -6730,14 +6563,14 @@ RESPONSE: ```xml - + Element '{urn:ietf:params:xml:ns:secDNS-1.1}keyData': This element is not expected. Expected is ( {urn:ietf:params:xml:ns:secDNS-1.1}dsData ). ABC-12345 - ccReg-3095538927 + ccReg-3955018411 @@ -6753,7 +6586,7 @@ REQUEST: - example20134402532850628.ee + example93046670137508351.ee 1 @@ -6791,21 +6624,21 @@ RESPONSE: ```xml - + Command completed successfully - - example20134402532850628.ee - 2015-08-13T09:35:08Z - 2016-08-13T09:35:08Z - + + example93046670137508351.ee + 2015-09-09T09:41:27Z + 2016-09-09T09:41:27Z + ABC-12345 - ccReg-4768744056 + ccReg-0734653871 @@ -6821,7 +6654,7 @@ REQUEST: - example93437080457098816.ee + example94787272642380605.ee 1 @@ -6859,14 +6692,14 @@ RESPONSE: ```xml - + Admin contacts count must be between 1-10 [admin_domain_contacts] ABC-12345 - ccReg-1727979679 + ccReg-1085195815 @@ -6882,7 +6715,7 @@ REQUEST: - example57203977703850233.ee + example23419345140335240.ee 1 @@ -6920,17 +6753,17 @@ RESPONSE: ```xml - + Admin contact can be private person only - - FIXED:JURIDICAL_1234 + + FIXED:JURIDICAL_1234 ABC-12345 - ccReg-8022403842 + ccReg-0810446547 @@ -6971,14 +6804,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-5382937902 + ccReg-7828185295 @@ -7012,25 +6845,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain1.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:11Z - REGDOMAIN1 - 2015-08-13T09:35:11Z - 2016-08-13T09:35:11Z - + + domain1.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:29Z + REGDOMAIN1 + 2015-09-09T09:41:29Z + 2016-09-09T09:41:29Z + ABC-12345 - ccReg-2323874748 + ccReg-2148927658 @@ -7069,14 +6902,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6867215795 + ccReg-1593572039 @@ -7098,29 +6931,29 @@ RESPONSE: ```xml - + Command completed successfully; ack to dequeue - 2015-08-13T09:35:11Z - Domain transfer was approved, associated contacts were: ["FIXED:SH5972987612", "FIXED:SH9464888713"] and registrant was FIXED:REGISTRANT821569830 + 2015-09-09T09:41:29Z + Domain transfer was approved, associated contacts were: ["FIXED:SH2663701812", "FIXED:SH3175529913"] and registrant was FIXED:REGISTRANT913878660 - - domain1.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:11Z - REGDOMAIN1 - 2015-08-13T09:35:11Z - 2016-08-13T09:35:11Z - + + domain1.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:29Z + REGDOMAIN1 + 2015-09-09T09:41:29Z + 2016-09-09T09:41:29Z + ABC-12345 - ccReg-3444714023 + ccReg-1639019345 @@ -7142,7 +6975,7 @@ RESPONSE: ```xml - + Command completed successfully @@ -7150,7 +6983,7 @@ RESPONSE: ABC-12345 - ccReg-1916743406 + ccReg-1963831601 @@ -7191,14 +7024,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7153201797 + ccReg-0802274548 @@ -7232,25 +7065,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain2.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:12Z - REGDOMAIN1 - 2015-08-13T09:35:12Z - 2016-08-13T09:35:11Z - + + domain2.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:30Z + REGDOMAIN1 + 2015-09-09T09:41:30Z + 2016-09-09T09:41:29Z + ABC-12345 - ccReg-9327353174 + ccReg-2688296103 @@ -7289,14 +7122,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-0391347697 + ccReg-3304754829 @@ -7335,14 +7168,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-4309693028 + ccReg-2313222824 @@ -7376,14 +7209,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-8570527626 + ccReg-5420487215 @@ -7422,14 +7255,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9816095851 + ccReg-4095542898 @@ -7470,14 +7303,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2648395132 + ccReg-7912829461 @@ -7506,25 +7339,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain3.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:12Z - REGDOMAIN1 - 2015-08-13T09:35:12Z - 2016-08-13T09:35:12Z - + + domain3.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:30Z + REGDOMAIN1 + 2015-09-09T09:41:30Z + 2016-09-09T09:41:30Z + ABC-12345 - ccReg-9335080655 + ccReg-3728181402 @@ -7563,14 +7396,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8704502946 + ccReg-3347588130 @@ -7611,14 +7444,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7087960687 + ccReg-2096902160 @@ -7647,25 +7480,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain4.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:13Z - REGDOMAIN1 - 2015-08-13T09:35:13Z - 2016-08-13T09:35:13Z - + + domain4.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:30Z + REGDOMAIN1 + 2015-09-09T09:41:30Z + 2016-09-09T09:41:30Z + ABC-12345 - ccReg-0505932352 + ccReg-0003363953 @@ -7704,14 +7537,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-5553547751 + ccReg-4205813478 @@ -7752,14 +7585,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-5148592965 + ccReg-0906683422 @@ -7788,25 +7621,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain5.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:14Z - REGDOMAIN1 - 2015-08-13T09:35:14Z - 2016-08-13T09:35:13Z - + + domain5.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:31Z + REGDOMAIN1 + 2015-09-09T09:41:31Z + 2016-09-09T09:41:31Z + ABC-12345 - ccReg-1273105249 + ccReg-6110058927 @@ -7845,14 +7678,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2485727123 + ccReg-2774972327 @@ -7893,14 +7726,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6086587972 + ccReg-5864783350 @@ -7929,25 +7762,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain8.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:15Z - REGDOMAIN1 - 2015-08-13T09:35:15Z - 2016-08-13T09:35:14Z - + + domain8.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:31Z + REGDOMAIN1 + 2015-09-09T09:41:31Z + 2016-09-09T09:41:31Z + ABC-12345 - ccReg-0155770344 + ccReg-9391063829 @@ -7986,14 +7819,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-0495043119 + ccReg-7240137168 @@ -8034,14 +7867,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6438407161 + ccReg-5504727594 @@ -8070,25 +7903,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain9.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:15Z - REGDOMAIN1 - 2015-08-13T09:35:15Z - 2016-08-13T09:35:15Z - + + domain9.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:32Z + REGDOMAIN1 + 2015-09-09T09:41:32Z + 2016-09-09T09:41:32Z + ABC-12345 - ccReg-0261832553 + ccReg-5448155887 @@ -8127,14 +7960,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2489959496 + ccReg-7456902810 @@ -8175,14 +8008,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2554994552 + ccReg-3348741723 @@ -8211,25 +8044,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain11.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:16Z - REGDOMAIN1 - 2015-08-13T09:35:16Z - 2016-08-13T09:35:16Z - + + domain11.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:33Z + REGDOMAIN1 + 2015-09-09T09:41:33Z + 2016-09-09T09:41:32Z + ABC-12345 - ccReg-3675423657 + ccReg-5417834733 @@ -8268,14 +8101,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2133740048 + ccReg-9273023652 @@ -8316,14 +8149,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8096108647 + ccReg-7189930594 @@ -8352,25 +8185,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain14.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:17Z - REGDOMAIN1 - 2015-08-13T09:35:17Z - 2016-08-13T09:35:17Z - + + domain14.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:33Z + REGDOMAIN1 + 2015-09-09T09:41:33Z + 2016-09-09T09:41:33Z + ABC-12345 - ccReg-9908019893 + ccReg-2306111033 @@ -8409,14 +8242,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7835260992 + ccReg-7319981634 @@ -8457,14 +8290,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9279416281 + ccReg-1377196507 @@ -8493,25 +8326,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain15.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:18Z - REGDOMAIN1 - 2015-08-13T09:35:18Z - 2016-08-13T09:35:18Z - + + domain15.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:34Z + REGDOMAIN1 + 2015-09-09T09:41:34Z + 2016-09-09T09:41:33Z + ABC-12345 - ccReg-9834058632 + ccReg-4364063971 @@ -8550,14 +8383,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7365899807 + ccReg-0107899416 @@ -8598,14 +8431,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-3756485015 + ccReg-3278294268 @@ -8631,14 +8464,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-6611708938 + ccReg-5086055350 @@ -8677,14 +8510,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1425106500 + ccReg-7046842396 @@ -8720,25 +8553,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain17.ee - clientApproved - REGDOMAIN2 - 2015-08-13T09:35:19Z - REGDOMAIN1 - 2015-08-13T09:35:19Z - 2016-08-13T09:35:19Z - + + domain17.ee + clientApproved + REGDOMAIN2 + 2015-09-09T09:41:34Z + REGDOMAIN1 + 2015-09-09T09:41:34Z + 2016-09-09T09:41:34Z + ABC-12345 - ccReg-2966283857 + ccReg-6090313843 @@ -8779,14 +8612,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8674826133 + ccReg-9064662881 @@ -8820,14 +8653,14 @@ RESPONSE: ```xml - + Transfer can be rejected only by current registrar ABC-12345 - ccReg-6917606888 + ccReg-6649488054 @@ -8866,14 +8699,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-0399535239 + ccReg-6427589575 @@ -8907,25 +8740,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain18.ee - clientRejected - REGDOMAIN2 - 2015-08-13T09:35:19Z - REGDOMAIN1 - 2015-08-13T09:35:19Z - 2016-08-13T09:35:19Z - + + domain18.ee + clientRejected + REGDOMAIN2 + 2015-09-09T09:41:34Z + REGDOMAIN1 + 2015-09-09T09:41:34Z + 2016-09-09T09:41:34Z + ABC-12345 - ccReg-5844760723 + ccReg-7970427120 @@ -8966,14 +8799,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9776595036 + ccReg-5059016132 @@ -9007,14 +8840,14 @@ RESPONSE: ```xml - + Transfer can be approved only by current domain registrar ABC-12345 - ccReg-8340814311 + ccReg-3020143274 @@ -9053,14 +8886,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7389965013 + ccReg-9653977873 @@ -9096,14 +8929,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-4244234226 + ccReg-7942946624 @@ -9139,14 +8972,14 @@ RESPONSE: ```xml - + Domain already belongs to the querying registrar ABC-12345 - ccReg-8724625132 + ccReg-7203880679 @@ -9162,7 +8995,7 @@ REQUEST: - example20735832178604895.ee + example56971068434133908.ee ABC-12345 @@ -9174,7 +9007,7 @@ RESPONSE: ```xml - + Element '{urn:ietf:params:xml:ns:epp-1.0}transfer', attribute 'op': [facet 'enumeration'] The value 'bla' is not an element of the set {'approve', 'cancel', 'query', 'reject', 'request'}. @@ -9184,7 +9017,7 @@ RESPONSE: ABC-12345 - ccReg-0972791323 + ccReg-7656417770 @@ -9225,14 +9058,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2992392304 + ccReg-2062686029 @@ -9266,25 +9099,25 @@ RESPONSE: ```xml - + Command completed successfully - - domain22.ee - serverApproved - REGDOMAIN2 - 2015-08-13T09:35:25Z - REGDOMAIN1 - 2015-08-13T09:35:25Z - 2016-08-13T09:35:25Z - + + domain22.ee + serverApproved + REGDOMAIN2 + 2015-09-09T09:41:39Z + REGDOMAIN1 + 2015-09-09T09:41:39Z + 2016-09-09T09:41:39Z + ABC-12345 - ccReg-0797132015 + ccReg-0905740213 @@ -9318,14 +9151,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-7003904526 + ccReg-3957714553 @@ -9364,14 +9197,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9904347855 + ccReg-8977429934 @@ -9407,14 +9240,14 @@ RESPONSE: ```xml - + No transfers found ABC-12345 - ccReg-1979435673 + ccReg-8643991398 @@ -9445,14 +9278,14 @@ RESPONSE: ```xml - + No transfers found ABC-12345 - ccReg-6828762474 + ccReg-7715690534 @@ -9483,14 +9316,14 @@ RESPONSE: ```xml - + No transfers found ABC-12345 - ccReg-1588119356 + ccReg-3882289733 @@ -9531,14 +9364,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9010544334 + ccReg-7490394774 @@ -9568,17 +9401,17 @@ RESPONSE: ```xml - + Unimplemented object service - - + + ABC-12345 - ccReg-5826018128 + ccReg-7566671378 @@ -9617,14 +9450,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2064523932 + ccReg-0290654375 @@ -9661,14 +9494,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6918642122 + ccReg-4097523911 @@ -9705,14 +9538,14 @@ RESPONSE: ```xml - + Command completed successfully; action pending ABC-12345 - ccReg-9904657471 + ccReg-7215329159 @@ -9745,14 +9578,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-3829150743 + ccReg-5676404407 @@ -9772,13 +9605,13 @@ REQUEST: - ns.oconnell90.ee + ns.pfefferjakubowski90.ee - ns.hilpert91.ee + ns.macejkovic91.ee - ns.marks92.ee + ns.heidenreichreinger92.ee @@ -9802,14 +9635,14 @@ RESPONSE: ```xml - + Nameservers count must be between 2-11 [nameservers] ABC-12345 - ccReg-3820516485 + ccReg-1427470422 @@ -9846,14 +9679,14 @@ RESPONSE: ```xml - + Nameservers count must be between 2-11 [nameservers] ABC-12345 - ccReg-9591401618 + ccReg-4190497795 @@ -9890,14 +9723,14 @@ RESPONSE: ```xml - + Object status prohibits operation ABC-12345 - ccReg-5305741762 + ccReg-2937127567 @@ -9934,14 +9767,14 @@ RESPONSE: ```xml - + Object status prohibits operation ABC-12345 - ccReg-7434803529 + ccReg-9675691845 @@ -10000,17 +9833,17 @@ RESPONSE: ```xml - + Contact was not found - - FIXED:MAK21 + + FIXED:MAK21 ABC-12345 - ccReg-1927425795 + ccReg-0185819788 @@ -10067,14 +9900,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9041448947 + ccReg-7339654125 @@ -10131,41 +9964,41 @@ RESPONSE: ```xml - + Nameserver already exists on this domain [hostname] - - ns1.example.com + + ns1.example.com Nameserver already exists on this domain [hostname] - - ns2.example.com + + ns2.example.com Contact already exists on this domain [contact_code_cache] - - FIXED:MAK21 + + FIXED:MAK21 Public key already exists [public_key] - - 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f Public key already exists [public_key] - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 ABC-12345 - ccReg-0479752505 + ccReg-6624778799 @@ -10230,17 +10063,17 @@ RESPONSE: ```xml - + Contact was not found - - FIXED:PENDINGMAK21 + + FIXED:PENDINGMAK21 ABC-12345 - ccReg-6286204852 + ccReg-7793699132 @@ -10303,14 +10136,14 @@ RESPONSE: ```xml - + Command completed successfully; action pending ABC-12345 - ccReg-2599096266 + ccReg-6220298652 @@ -10342,14 +10175,14 @@ RESPONSE: ```xml - + Parameter value policy error. Client-side object status management not supported: status [status] ABC-12345 - ccReg-0678787653 + ccReg-3812706227 @@ -10408,14 +10241,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9255275231 + ccReg-4574619186 @@ -10462,14 +10295,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7752412594 + ccReg-4514059388 @@ -10516,35 +10349,35 @@ RESPONSE: ```xml - + Nameserver was not found - - ns1.example.com + + ns1.example.com Contact was not found - - FIXED:CITIZEN_1234 + + FIXED:CITIZEN_1234 DS was not found - - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f Status was not found - - clientHold + + clientHold ABC-12345 - ccReg-0840919537 + ccReg-1771470931 @@ -10575,17 +10408,17 @@ RESPONSE: ```xml - + Status was not found - - serverHold + + serverHold ABC-12345 - ccReg-6164137131 + ccReg-3286599813 @@ -10605,10 +10438,10 @@ REQUEST: - ns.kochgorczany114.ee + ns.kozey114.ee - FIXED:SH3318071589 + FIXED:SH6021836789 @@ -10621,14 +10454,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6179924625 + ccReg-2765884157 @@ -10646,10 +10479,10 @@ REQUEST: - ns.kochgorczany114.ee + ns.kozey114.ee - FIXED:SH3318071589 + FIXED:SH6021836789 @@ -10662,23 +10495,23 @@ RESPONSE: ```xml - + Nameserver already exists on this domain [hostname] - - ns.kochgorczany114.ee + + ns.kozey114.ee Contact already exists on this domain [contact_code_cache] - - FIXED:SH3318071589 + + FIXED:SH6021836789 ABC-12345 - ccReg-4825126442 + ccReg-4475356063 @@ -10709,14 +10542,14 @@ RESPONSE: ```xml - + Required parameter missing: extension > extdata > legalDocument [legal_document] ABC-12345 - ccReg-5562608379 + ccReg-8215552740 @@ -10747,7 +10580,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}status', attribute 's': [facet 'enumeration'] The value 'invalidStatus' is not an element of the set {'clientDeleteProhibited', 'clientHold', 'clientRenewProhibited', 'clientTransferProhibited', 'clientUpdateProhibited', 'inactive', 'ok', 'pendingCreate', 'pendingDelete', 'pendingRenew', 'pendingTransfer', 'pendingUpdate', 'serverDeleteProhibited', 'serverHold', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited'}. @@ -10757,7 +10590,7 @@ RESPONSE: ABC-12345 - ccReg-8418608956 + ccReg-7409966421 @@ -10774,7 +10607,7 @@ REQUEST: domain42.ee - 2016-08-13 + 2016-09-09 1 @@ -10787,20 +10620,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain42.ee - 2017-08-13T09:35:49Z - + + domain42.ee + 2017-09-09T09:42:01Z + ABC-12345 - ccReg-2883742395 + ccReg-2085073741 @@ -10817,7 +10650,7 @@ REQUEST: domain43.ee - 2016-08-13 + 2016-09-09 1 @@ -10830,20 +10663,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain43.ee - 2017-08-13T09:35:49Z - + + domain43.ee + 2017-09-09T09:42:01Z + ABC-12345 - ccReg-6113699806 + ccReg-9655723066 @@ -10860,7 +10693,7 @@ REQUEST: domain44.ee - 2016-08-13 + 2016-09-09 ABC-12345 @@ -10872,20 +10705,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain44.ee - 2017-08-13T09:35:49Z - + + domain44.ee + 2017-09-09T09:42:01Z + ABC-12345 - ccReg-2800242645 + ccReg-0687111218 @@ -10902,7 +10735,7 @@ REQUEST: domain45.ee - 2016-08-13 + 2016-09-09 1 @@ -10915,7 +10748,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}period', attribute 'unit': [facet 'enumeration'] The value '' is not an element of the set {'y', 'm', 'd'}. @@ -10925,7 +10758,7 @@ RESPONSE: ABC-12345 - ccReg-8855108692 + ccReg-4517707284 @@ -10940,7 +10773,7 @@ REQUEST: domain45.ee - 2016-08-13 + 2016-09-09 1 @@ -10953,7 +10786,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}period', attribute 'unit': [facet 'enumeration'] The value 'bla' is not an element of the set {'y', 'm', 'd'}. @@ -10963,7 +10796,7 @@ RESPONSE: ABC-12345 - ccReg-9551171418 + ccReg-3485118472 @@ -10980,7 +10813,7 @@ REQUEST: domain46.ee - 2015-08-23 + 2015-09-19 730 @@ -10993,20 +10826,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain46.ee - 2017-08-23T00:00:00Z - + + domain46.ee + 2017-09-19T00:00:00Z + ABC-12345 - ccReg-5599572660 + ccReg-2991421626 @@ -11023,7 +10856,7 @@ REQUEST: domain47.ee - 2015-08-23 + 2015-09-19 36 @@ -11036,20 +10869,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain47.ee - 2018-08-23T00:00:00Z - + + domain47.ee + 2018-09-19T00:00:00Z + ABC-12345 - ccReg-7727766314 + ccReg-2260618497 @@ -11066,7 +10899,7 @@ REQUEST: domain48.ee - 2015-08-23 + 2015-09-19 1 @@ -11079,14 +10912,14 @@ RESPONSE: ```xml - + Billing failure - credit balance low ABC-12345 - ccReg-4704551562 + ccReg-2378800127 @@ -11116,12 +10949,12 @@ RESPONSE: ```xml - + Given and current expire dates do not match - - 2200-08-07 + + 2200-08-07 @@ -11129,7 +10962,7 @@ RESPONSE: ABC-12345 - ccReg-3092946002 + ccReg-2331121575 @@ -11146,7 +10979,7 @@ REQUEST: domain50.ee - 2015-08-23 + 2015-09-19 4 @@ -11159,17 +10992,17 @@ RESPONSE: ```xml - + Period must add up to 1, 2 or 3 years [period] - - 4 + + 4 ABC-12345 - ccReg-3204377817 + ccReg-7726725318 @@ -11186,7 +11019,7 @@ REQUEST: domain51.ee - 2015-11-11 + 2015-12-08 1 @@ -11199,14 +11032,14 @@ RESPONSE: ```xml - + Object is not eligible for renewal ABC-12345 - ccReg-6071765382 + ccReg-1580437190 @@ -11221,7 +11054,7 @@ REQUEST: domain51.ee - 2015-11-10 + 2015-12-07 1 @@ -11234,20 +11067,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain51.ee - 2016-11-10T00:00:00Z - + + domain51.ee + 2016-12-07T00:00:00Z + ABC-12345 - ccReg-9365421720 + ccReg-9456899838 @@ -11264,7 +11097,7 @@ REQUEST: domain52.ee - 2020-08-13 + 2020-09-09 1 @@ -11277,20 +11110,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain52.ee - 2021-08-13T00:00:00Z - + + domain52.ee + 2021-09-09T00:00:00Z + ABC-12345 - ccReg-2946253921 + ccReg-6592601006 @@ -11307,7 +11140,7 @@ REQUEST: domain53.ee - 2015-08-23 + 2015-09-19 1 @@ -11320,14 +11153,14 @@ RESPONSE: ```xml - + Object is not eligible for renewal ABC-12345 - ccReg-0042951939 + ccReg-8298739488 @@ -11344,7 +11177,7 @@ REQUEST: domain54.ee - 2015-05-15 + 2015-06-11 1 @@ -11357,20 +11190,20 @@ RESPONSE: ```xml - + Command completed successfully - - domain54.ee - 2016-05-15T09:36:00Z - + + domain54.ee + 2016-06-11T09:42:11Z + ABC-12345 - ccReg-6743569590 + ccReg-5393210682 @@ -11411,14 +11244,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-4599320395 + ccReg-6492993618 @@ -11433,7 +11266,7 @@ REQUEST: domain55.ee - 2016-08-13 + 2016-09-09 1 @@ -11446,14 +11279,14 @@ RESPONSE: ```xml - + Authorization error ABC-12345 - ccReg-9699219697 + ccReg-1510037210 @@ -11492,14 +11325,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8533644135 + ccReg-3468594377 @@ -11529,77 +11362,77 @@ RESPONSE: ```xml - + Command completed successfully - - domain56.ee - EIS-69 - - FIXED:REGISTRANT4897846854 - FIXED:SH73962092126 - FIXED:SH52906326125 - - - ns.jacobsonmann168.ee - 192.168.1.1 - - - ns.reinger169.ee - 192.168.1.1 - - - ns.reinger170.ee - 192.168.1.1 - - - ns1.example.com - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - registrar1 - 2015-08-13T09:36:01Z - 2015-08-13T09:36:01Z - 2016-08-13T09:36:01Z - - 98oiewslkfkd - - + + domain56.ee + EIS-69 + + FIXED:REGISTRANT6384423854 + FIXED:SH46786741126 + FIXED:SH96052327125 + + + ns.westkeebler168.ee + 192.168.1.1 + + + ns.wuckert169.ee + 192.168.1.1 + + + ns.runolfssoneffertz170.ee + 192.168.1.1 + + + ns1.example.com + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + registrar1 + 2015-09-09T09:42:12Z + 2015-09-09T09:42:12Z + 2016-09-09T09:42:12Z + + 98oiewslkfkd + + - - - 123 - 3 - 1 - 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB - - 257 - 3 - 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - 123 - 3 - 1 - 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - + + + 123 + 3 + 1 + 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + 123 + 3 + 1 + 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + - ccReg-6541682059 + ccReg-6549661457 @@ -11627,77 +11460,77 @@ RESPONSE: ```xml - + Command completed successfully - - domain56.ee - EIS-69 - - FIXED:REGISTRANT4897846854 - FIXED:SH73962092126 - FIXED:SH52906326125 - - - ns.jacobsonmann168.ee - 192.168.1.1 - - - ns.reinger169.ee - 192.168.1.1 - - - ns.reinger170.ee - 192.168.1.1 - - - ns1.example.com - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - registrar1 - 2015-08-13T09:36:01Z - 2015-08-13T09:36:01Z - 2016-08-13T09:36:01Z - - 98oiewslkfkd - - + + domain56.ee + EIS-69 + + FIXED:REGISTRANT6384423854 + FIXED:SH46786741126 + FIXED:SH96052327125 + + + ns.westkeebler168.ee + 192.168.1.1 + + + ns.wuckert169.ee + 192.168.1.1 + + + ns.runolfssoneffertz170.ee + 192.168.1.1 + + + ns1.example.com + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + registrar1 + 2015-09-09T09:42:12Z + 2015-09-09T09:42:12Z + 2016-09-09T09:42:12Z + + 98oiewslkfkd + + - - - 123 - 3 - 1 - 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB - - 257 - 3 - 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - 123 - 3 - 1 - 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - + + + 123 + 3 + 1 + 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + 123 + 3 + 1 + 0D85A305D22FCB355BBE29AE9809363D697B64782B9CC73AE349350F8C2AE4BB + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + - ccReg-6719207085 + ccReg-4432758472 @@ -11727,7 +11560,7 @@ RESPONSE: ```xml - + Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}name', attribute 'hosts': [facet 'enumeration'] The value 'invalid' is not an element of the set {'all', 'del', 'none', 'sub'}. @@ -11736,7 +11569,7 @@ RESPONSE: Element '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}name', attribute 'hosts': 'invalid' is not a valid value of the atomic type '{https://epp.tld.ee/schema/domain-eis-1.0.xsd}hostsType'. - ccReg-0201372168 + ccReg-5433100814 @@ -11764,42 +11597,42 @@ RESPONSE: ```xml - + Command completed successfully - - domain57.ee - EIS-70 - - FIXED:REGISTRANT0417722555 - FIXED:SH37428459128 - FIXED:SH41432521127 - - - ns1.domain57.ee - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - ns2.domain57.ee - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - registrar1 - 2015-08-13T09:36:01Z - 2015-08-13T09:36:01Z - 2016-08-13T09:36:01Z - - 98oiewslkfkd - - + + domain57.ee + EIS-70 + + FIXED:REGISTRANT9404702555 + FIXED:SH84523822128 + FIXED:SH79263720127 + + + ns1.domain57.ee + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + ns2.domain57.ee + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + registrar1 + 2015-09-09T09:42:12Z + 2015-09-09T09:42:12Z + 2016-09-09T09:42:12Z + + 98oiewslkfkd + + - ccReg-4356900250 + ccReg-5642602408 @@ -11827,37 +11660,37 @@ RESPONSE: ```xml - + Command completed successfully - - domain57.ee - EIS-70 - - FIXED:REGISTRANT0417722555 - FIXED:SH37428459128 - FIXED:SH41432521127 - - - ns3.test.ee - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - registrar1 - 2015-08-13T09:36:01Z - 2015-08-13T09:36:01Z - 2016-08-13T09:36:01Z - - 98oiewslkfkd - - + + domain57.ee + EIS-70 + + FIXED:REGISTRANT9404702555 + FIXED:SH84523822128 + FIXED:SH79263720127 + + + ns3.test.ee + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + registrar1 + 2015-09-09T09:42:12Z + 2015-09-09T09:42:12Z + 2016-09-09T09:42:12Z + + 98oiewslkfkd + + - ccReg-1379127863 + ccReg-1091123968 @@ -11885,30 +11718,30 @@ RESPONSE: ```xml - + Command completed successfully - - domain57.ee - EIS-70 - - FIXED:REGISTRANT0417722555 - FIXED:SH37428459128 - FIXED:SH41432521127 - registrar1 - 2015-08-13T09:36:01Z - 2015-08-13T09:36:01Z - 2016-08-13T09:36:01Z - - 98oiewslkfkd - - + + domain57.ee + EIS-70 + + FIXED:REGISTRANT9404702555 + FIXED:SH84523822128 + FIXED:SH79263720127 + registrar1 + 2015-09-09T09:42:12Z + 2015-09-09T09:42:12Z + 2016-09-09T09:42:12Z + + 98oiewslkfkd + + - ccReg-1795552034 + ccReg-5911112065 @@ -11936,47 +11769,47 @@ RESPONSE: ```xml - + Command completed successfully - - domain57.ee - EIS-70 - - FIXED:REGISTRANT0417722555 - FIXED:SH37428459128 - FIXED:SH41432521127 - - - ns1.domain57.ee - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - ns2.domain57.ee - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - ns3.test.ee - 192.168.1.1 - 1080:0:0:0:8:800:200C:417A - - - registrar1 - 2015-08-13T09:36:01Z - 2015-08-13T09:36:01Z - 2016-08-13T09:36:01Z - - 98oiewslkfkd - - + + domain57.ee + EIS-70 + + FIXED:REGISTRANT9404702555 + FIXED:SH84523822128 + FIXED:SH79263720127 + + + ns1.domain57.ee + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + ns2.domain57.ee + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + ns3.test.ee + 192.168.1.1 + 1080:0:0:0:8:800:200C:417A + + + registrar1 + 2015-09-09T09:42:12Z + 2015-09-09T09:42:12Z + 2016-09-09T09:42:12Z + + 98oiewslkfkd + + - ccReg-8984686475 + ccReg-9733821997 @@ -12006,16 +11839,16 @@ RESPONSE: ```xml - + Domain not found - - test.ee + + test.ee - ccReg-2727070084 + ccReg-7990551453 @@ -12045,44 +11878,44 @@ RESPONSE: ```xml - + Command completed successfully - - domain58.ee - EIS-71 - - FIXED:REGISTRANT0383942356 - FIXED:SH22626252130 - FIXED:SH44144587129 - - - ns.bartolettikoelpin174.ee - 192.168.1.1 - - - ns.dicki175.ee - 192.168.1.1 - - - ns.ratke176.ee - 192.168.1.1 - - - registrar1 - 2015-08-13T09:36:02Z - 2015-08-13T09:36:02Z - 2016-08-13T09:36:02Z - - 98oiewslkfkd - - + + domain58.ee + EIS-71 + + FIXED:REGISTRANT3372736156 + FIXED:SH22502984130 + FIXED:SH51743282129 + + + ns.hane174.ee + 192.168.1.1 + + + ns.tillmanschaden175.ee + 192.168.1.1 + + + ns.ricedavis176.ee + 192.168.1.1 + + + registrar1 + 2015-09-09T09:42:13Z + 2015-09-09T09:42:13Z + 2016-09-09T09:42:13Z + + 98oiewslkfkd + + - ccReg-3398576533 + ccReg-4224767517 @@ -12123,14 +11956,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9116436301 + ccReg-0894415238 @@ -12158,13 +11991,13 @@ RESPONSE: ```xml - + Authorization error - ccReg-8645207938 + ccReg-0013577792 @@ -12203,14 +12036,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-0728878820 + ccReg-6389973625 @@ -12251,14 +12084,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6153396548 + ccReg-6296627194 @@ -12283,41 +12116,41 @@ RESPONSE: ```xml - + Command completed successfully - - domain60.ee - EIS-73 - - FIXED:REGISTRANT6210180458 - FIXED:SH62480251134 - FIXED:SH58728458133 - - - ns.nitzsche180.ee - 192.168.1.1 - - - ns.koch181.ee - 192.168.1.1 - - - ns.auer182.ee - 192.168.1.1 - - - registrar1 - 2015-08-13T09:36:03Z - 2015-08-13T09:36:03Z - 2016-08-13T09:36:03Z - + + domain60.ee + EIS-73 + + FIXED:REGISTRANT8140342958 + FIXED:SH84714532134 + FIXED:SH28327865133 + + + ns.oconnell180.ee + 192.168.1.1 + + + ns.collins181.ee + 192.168.1.1 + + + ns.anderson182.ee + 192.168.1.1 + + + registrar1 + 2015-09-09T09:42:14Z + 2015-09-09T09:42:14Z + 2016-09-09T09:42:14Z + - ccReg-7045361311 + ccReg-0987360848 @@ -12356,14 +12189,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8036317242 + ccReg-1582100184 @@ -12404,14 +12237,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7274225763 + ccReg-6970657375 @@ -12439,44 +12272,44 @@ RESPONSE: ```xml - + Command completed successfully - - domain61.ee - EIS-74 - - FIXED:REGISTRANT2300104459 - FIXED:SH86123650136 - FIXED:SH10388079135 - - - ns.dooleyblick183.ee - 192.168.1.1 - - - ns.mueller184.ee - 192.168.1.1 - - - ns.jakubowskijaskolski185.ee - 192.168.1.1 - - - registrar1 - 2015-08-13T09:36:03Z - 2015-08-13T09:36:03Z - 2016-08-13T09:36:03Z - - 98oiewslkfkd - - + + domain61.ee + EIS-74 + + FIXED:REGISTRANT3123511659 + FIXED:SH44485073136 + FIXED:SH23208613135 + + + ns.streichschaden183.ee + 192.168.1.1 + + + ns.koepp184.ee + 192.168.1.1 + + + ns.schroeder185.ee + 192.168.1.1 + + + registrar1 + 2015-09-09T09:42:14Z + 2015-09-09T09:42:14Z + 2016-09-09T09:42:14Z + + 98oiewslkfkd + + - ccReg-1680957825 + ccReg-3040601155 @@ -12515,14 +12348,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-4287265289 + ccReg-1708627262 @@ -12555,14 +12388,14 @@ RESPONSE: ```xml - + Command completed successfully; action pending ABC-12345 - ccReg-3339537148 + ccReg-7164707187 @@ -12595,14 +12428,14 @@ RESPONSE: ```xml - + Domain status prohibits operation ABC-12345 - ccReg-3751167771 + ccReg-6465404485 @@ -12635,14 +12468,14 @@ RESPONSE: ```xml - + Object status prohibits operation ABC-12345 - ccReg-6606657686 + ccReg-4137188567 @@ -12670,14 +12503,14 @@ RESPONSE: ```xml - + Required parameter missing: extension > extdata > legalDocument [legal_document] ABC-12345 - ccReg-0947968674 + ccReg-7682509679 @@ -12705,21 +12538,21 @@ RESPONSE: ```xml - + Command completed successfully - - - one.ee - - + + + one.ee + + ABC-12345 - ccReg-0350044131 + ccReg-6767925994 @@ -12745,22 +12578,22 @@ RESPONSE: ```xml - + Command completed successfully - - - domain65.ee - in use - - + + + domain65.ee + in use + + ABC-12345 - ccReg-6601480351 + ccReg-7766188963 @@ -12790,27 +12623,27 @@ RESPONSE: ```xml - + Command completed successfully - - - one.ee - - - two.ee - - - three.ee - - + + + one.ee + + + two.ee + + + three.ee + + ABC-12345 - ccReg-1237267736 + ccReg-6281873987 @@ -12839,25 +12672,60 @@ RESPONSE: ```xml - + Command completed successfully - - - one.ee - - - notcorrectdomain - invalid format - - + + + one.ee + + + notcorrectdomain + invalid format + + ABC-12345 - ccReg-9581869074 + ccReg-5742590382 + + + +``` + +### EPP Domain with valid domain should show force delete in poll + +REQUEST: + +```xml + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; ack to dequeue + + + 2015-09-09T09:42:18Z + Force delete set on domain domain66.ee + + + ABC-12345 + ccReg-0363451933 @@ -12898,14 +12766,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-5809771038 + ccReg-0491810813 @@ -12920,7 +12788,7 @@ REQUEST: - domain66.ee + domain67.ee 256 3 @@ -12934,7 +12802,7 @@ REQUEST: P1M13D - 1439458569 + 1441791739 ``` @@ -12943,17 +12811,17 @@ RESPONSE: ```xml - + Unimplemented object service - - domain66.ee + + domain67.ee - 1439458569 - ccReg-8172150154 + 1441791739 + ccReg-2567540489 @@ -12968,7 +12836,7 @@ REQUEST: - domain66.ee + domain67.ee 3 8 @@ -12981,7 +12849,7 @@ REQUEST: Invalid Expiry - 1439458570 + 1441791740 ``` @@ -12990,20 +12858,20 @@ RESPONSE: ```xml - + Required parameter missing: keyrelay > keyData > flags [flags] Expiry relative must be compatible to ISO 8601 - - Invalid Expiry + + Invalid Expiry - 1439458570 - ccReg-0009709282 + 1441791740 + ccReg-3316296442 @@ -13018,7 +12886,7 @@ REQUEST: - domain66.ee + domain67.ee 256 3 @@ -13032,7 +12900,7 @@ REQUEST: Invalid Expiry - 1439458571 + 1441791741 ``` @@ -13041,17 +12909,17 @@ RESPONSE: ```xml - + Expiry relative must be compatible to ISO 8601 - - Invalid Expiry + + Invalid Expiry - 1439458571 - ccReg-0795015978 + 1441791741 + ccReg-5440105260 @@ -13066,7 +12934,7 @@ REQUEST: - domain66.ee + domain67.ee 256 3 @@ -13080,7 +12948,7 @@ REQUEST: Invalid Absolute - 1439458572 + 1441791742 ``` @@ -13089,17 +12957,17 @@ RESPONSE: ```xml - + Expiry absolute must be compatible to ISO 8601 - - Invalid Absolute + + Invalid Absolute - 1439458572 - ccReg-2905185687 + 1441791742 + ccReg-3004275558 @@ -13114,7 +12982,7 @@ REQUEST: - domain66.ee + domain67.ee 256 3 @@ -13131,7 +12999,7 @@ REQUEST: dGVzdCBmYWlsCg== - 1439458573 + 1441791743 ``` @@ -13140,17 +13008,17 @@ RESPONSE: ```xml - + Unimplemented object service - - domain66.ee + + domain67.ee - 1439458573 - ccReg-1164996006 + 1441791743 + ccReg-5428813077 @@ -13165,7 +13033,7 @@ REQUEST: - domain66.ee + domain67.ee 256 3 @@ -13182,7 +13050,7 @@ REQUEST: dGVzdCBmYWlsCg== - 1439458574 + 1441791744 ``` @@ -13191,14 +13059,14 @@ RESPONSE: ```xml - + Attribute is invalid: type - 1439458574 - ccReg-5886699048 + 1441791744 + ccReg-4758328068 @@ -13237,14 +13105,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6500215348 + ccReg-7781552814 @@ -13259,7 +13127,7 @@ REQUEST: - 1439458576 + 1441791745 ``` @@ -13268,14 +13136,14 @@ RESPONSE: ```xml - + Command completed successfully; no messages - 1439458576 - ccReg-4430476330 + 1441791745 + ccReg-8212875654 @@ -13316,14 +13184,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-9100729007 + ccReg-8884357311 @@ -13336,7 +13204,7 @@ REQUEST: - 1439458576 + 1441791746 ``` @@ -13345,14 +13213,14 @@ RESPONSE: ```xml - + Command completed successfully; no messages - 1439458576 - ccReg-1126811402 + 1441791746 + ccReg-1493255460 @@ -13391,14 +13259,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-2581109077 + ccReg-6949658588 @@ -13411,7 +13279,7 @@ REQUEST: - 1439458576 + 1441791746 ``` @@ -13420,18 +13288,18 @@ RESPONSE: ```xml - + Command completed successfully; ack to dequeue - 2015-08-13T09:36:16Z + 2015-09-09T09:42:25Z Balance low. - 1439458576 - ccReg-2166585552 + 1441791746 + ccReg-1206089571 @@ -13470,14 +13338,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-8625464325 + ccReg-8514886962 @@ -13490,7 +13358,7 @@ REQUEST: - 1439458576 + 1441791746 ``` @@ -13499,17 +13367,17 @@ RESPONSE: ```xml - + Message was not found - - 1 + + 1 - 1439458576 - ccReg-4537314358 + 1441791746 + ccReg-3076787365 @@ -13548,14 +13416,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-7306252961 + ccReg-0637667733 @@ -13568,7 +13436,7 @@ REQUEST: - 1439458576 + 1441791746 ``` @@ -13577,15 +13445,15 @@ RESPONSE: ```xml - + Command completed successfully - 1439458576 - ccReg-1686034776 + 1441791746 + ccReg-0737936544 @@ -13598,7 +13466,7 @@ REQUEST: - 1439458576 + 1441791746 ``` @@ -13607,17 +13475,17 @@ RESPONSE: ```xml - + Message was not found - - 1 + + 1 - 1439458576 - ccReg-9415797422 + 1441791746 + ccReg-4827930582 @@ -13632,7 +13500,7 @@ REQUEST: - 1439458579 + 1441791748 ``` @@ -13641,7 +13509,7 @@ RESPONSE: ```xml - + Element '{urn:ietf:params:xml:ns:epp-1.0}poll', attribute 'op': [facet 'enumeration'] The value 'bla' is not an element of the set {'ack', 'req'}. @@ -13650,8 +13518,8 @@ RESPONSE: Element '{urn:ietf:params:xml:ns:epp-1.0}poll', attribute 'op': 'bla' is not a valid value of the atomic type '{urn:ietf:params:xml:ns:epp-1.0}pollOpType'. - 1439458579 - ccReg-6994636434 + 1441791748 + ccReg-8258113541 @@ -13666,7 +13534,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13675,18 +13543,18 @@ RESPONSE: ```xml - + Command completed successfully; ack to dequeue - 2015-08-13T09:36:20Z + 2015-09-09T09:42:29Z Smth else. - 1439458580 - ccReg-9854702450 + 1441791749 + ccReg-2302586651 @@ -13699,7 +13567,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13708,15 +13576,15 @@ RESPONSE: ```xml - + Command completed successfully - 1439458580 - ccReg-6222565226 + 1441791749 + ccReg-0388222381 @@ -13729,7 +13597,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13738,18 +13606,18 @@ RESPONSE: ```xml - + Command completed successfully; ack to dequeue - 2015-08-13T09:36:20Z + 2015-09-09T09:42:29Z Something. - 1439458580 - ccReg-0393894013 + 1441791749 + ccReg-7292888765 @@ -13762,7 +13630,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13771,15 +13639,15 @@ RESPONSE: ```xml - + Command completed successfully - 1439458580 - ccReg-3897505265 + 1441791749 + ccReg-7674943096 @@ -13792,7 +13660,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13801,18 +13669,18 @@ RESPONSE: ```xml - + Command completed successfully; ack to dequeue - 2015-08-13T09:36:20Z + 2015-09-09T09:42:29Z Balance low. - 1439458580 - ccReg-4909994449 + 1441791749 + ccReg-2284569476 @@ -13825,7 +13693,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13834,15 +13702,15 @@ RESPONSE: ```xml - + Command completed successfully - 1439458580 - ccReg-1184312472 + 1441791749 + ccReg-9304359918 @@ -13855,7 +13723,7 @@ REQUEST: - 1439458580 + 1441791749 ``` @@ -13864,14 +13732,14 @@ RESPONSE: ```xml - + Command completed successfully; no messages - 1439458580 - ccReg-8265921969 + 1441791749 + ccReg-4724119935 @@ -13886,7 +13754,7 @@ RESPONSE: EPP server (EIS) - 2015-08-13T09:36:20Z + 2015-09-09T09:42:29Z 1.0 en @@ -13955,14 +13823,14 @@ RESPONSE: ```xml - + Authentication error; server closing connection (API user not found) ABC-12345 - ccReg-9979505995 + ccReg-9639349458 @@ -14003,14 +13871,14 @@ RESPONSE: ```xml - + Authentication error; server closing connection (API user is not active) ABC-12345 - ccReg-7608845778 + ccReg-9620879147 @@ -14038,14 +13906,14 @@ RESPONSE: ```xml - + You need to login first. ABC-12345 - ccReg-2097331882 + ccReg-3457408099 @@ -14085,13 +13953,13 @@ RESPONSE: ```xml - + Authentication error; server closing connection (API user not found) - ccReg-2183640528 + ccReg-6572927796 @@ -14132,14 +14000,14 @@ RESPONSE: ```xml - + Parameter value policy error. Allowed only Latin characters. ABC-12345 - ccReg-8572842302 + ccReg-6876506234 @@ -14180,14 +14048,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6906290222 + ccReg-5728703803 @@ -14228,14 +14096,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-4911622175 + ccReg-9589038046 @@ -14274,14 +14142,14 @@ RESPONSE: ```xml - + Already logged in. Use <logout> first. ABC-12345 - ccReg-9678904685 + ccReg-9932531519 @@ -14322,14 +14190,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-6699980066 + ccReg-6936147069 @@ -14351,14 +14219,14 @@ RESPONSE: ```xml - + Command completed successfully; ending session ABC-12345 - ccReg-6229210234 + ccReg-8052021893 @@ -14400,14 +14268,14 @@ RESPONSE: ```xml - + Command completed successfully ABC-12345 - ccReg-1748490491 + ccReg-3786533999 @@ -14449,7 +14317,7 @@ RESPONSE: ```xml - + Element '{urn:ietf:params:xml:ns:epp-1.0}newPW': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '6'. @@ -14459,7 +14327,7 @@ RESPONSE: ABC-12345 - ccReg-9030958800 + ccReg-7925814977 diff --git a/doc/repp/v1/contact.md b/doc/repp/v1/contact.md index f16a5d2c5..71bf6276d 100644 --- a/doc/repp/v1/contact.md +++ b/doc/repp/v1/contact.md @@ -23,25 +23,25 @@ Content-Type: application/json ``` HTTP/1.1 200 Cache-Control: max-age=0, private, must-revalidate -Content-Length: 524 +Content-Length: 564 Content-Type: application/json { "contacts": [ { "id": 1, - "code": "sh523328490", + "code": "REGISTRAR2:SH022086480", "phone": "+372.12345678", - "email": "corene_koch@caspermoen.net", + "email": "hoyt@deckowbechtelar.net", "fax": null, - "created_at": "2015-04-16T08:48:39.551Z", - "updated_at": "2015-04-16T08:48:39.551Z", + "created_at": "2015-09-09T09:11:14.130Z", + "updated_at": "2015-09-09T09:11:14.130Z", "ident": "37605030299", "ident_type": "priv", "auth_info": "password", - "name": "Alana Williamson II0", + "name": "Karson Kessler0", "org_name": null, - "registrar_id": 1, + "registrar_id": 2, "creator_str": null, "updator_str": null, "ident_country_code": "EE", @@ -50,7 +50,12 @@ Content-Type: application/json "zip": "11111", "country_code": "EE", "state": null, - "legacy_id": null + "legacy_id": null, + "statuses": [ + "ok" + ], + "status_notes": { + } } ], "total_number_of_records": 2 @@ -74,12 +79,12 @@ Content-Type: application/json ``` HTTP/1.1 200 Cache-Control: max-age=0, private, must-revalidate -Content-Length: 56 +Content-Length: 67 Content-Type: application/json { "contacts": [ - "sh629765881" + "REGISTRAR2:SH749456461" ], "total_number_of_records": 2 } diff --git a/doc/repp/v1/domain.md b/doc/repp/v1/domain.md index e09f75ace..79e002b6c 100644 --- a/doc/repp/v1/domain.md +++ b/doc/repp/v1/domain.md @@ -23,7 +23,7 @@ Content-Type: application/json ``` HTTP/1.1 200 Cache-Control: max-age=0, private, must-revalidate -Content-Length: 578 +Content-Length: 808 Content-Type: application/json { @@ -31,25 +31,40 @@ Content-Type: application/json { "id": 1, "name": "domain0.ee", - "registrar_id": 1, - "registered_at": "2015-04-16T08:48:39.995Z", + "registrar_id": 2, + "registered_at": "2015-09-09T09:11:14.861Z", "status": null, - "valid_from": "2015-04-16T00:00:00.000Z", - "valid_to": "2016-04-16T00:00:00.000Z", + "valid_from": "2015-09-09T09:11:14.861Z", + "valid_to": "2016-09-09T09:11:14.861Z", "registrant_id": 1, - "auth_info": "3ec9a29d618023920b61758c339b638f", - "created_at": "2015-04-16T08:48:39.992Z", - "updated_at": "2015-04-16T08:48:39.991Z", + "auth_info": "98oiewslkfkd", + "created_at": "2015-09-09T09:11:14.861Z", + "updated_at": "2015-09-09T09:11:14.860Z", "name_dirty": "domain0.ee", "name_puny": "domain0.ee", "period": 1, "period_unit": "y", "creator_str": null, "updator_str": null, - "whois_body": null, "legacy_id": null, "legacy_registrar_id": null, - "legacy_registrant_id": null + "legacy_registrant_id": null, + "outzone_at": "2016-09-24T09:11:14.861Z", + "delete_at": "2016-10-24T09:11:14.861Z", + "registrant_verification_asked_at": null, + "registrant_verification_token": null, + "pending_json": { + }, + "force_delete_at": null, + "statuses": [ + "ok" + ], + "reserved": false, + "status_notes": { + }, + "statuses_backup": [ + + ] } ], "total_number_of_records": 2 From 58249742c147d6c39277033d3a8bace148ccead2 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 9 Sep 2015 12:44:43 +0300 Subject: [PATCH 17/20] Update doc generation --- spec/support/epp.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/epp.rb b/spec/support/epp.rb index b14eb79a7..24a86e3d9 100644 --- a/spec/support/epp.rb +++ b/spec/support/epp.rb @@ -79,7 +79,7 @@ module Epp res = parse_response(server.send_request(data)) if res - log(data, res[:parsed]) + log(data, res[:raw]) if validate_output && @xsd @xsd.validate(Nokogiri(res[:raw])).each do |error| fail Exception.new, error.to_s @@ -364,7 +364,7 @@ module Epp def log(req, res) return unless ENV['EPP_DOC'] puts "REQUEST:\n\n```xml\n#{Nokogiri(req)}```\n\n" - puts "RESPONSE:\n\n```xml\n#{res}```\n\n" + puts "RESPONSE:\n\n```xml\n#{Nokogiri(res)}```\n\n" end end From 7064a4b9bcdf18a7be8c204e1b621ed76d6bd727 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Wed, 9 Sep 2015 18:28:40 +0300 Subject: [PATCH 18/20] Improve domain expiring logic #2909 --- app/models/domain.rb | 19 ++++++++++++++----- app/models/epp/domain.rb | 4 ++-- spec/epp/domain_spec.rb | 18 ++++++------------ spec/models/domain_spec.rb | 29 ++++++++++++++++++++++++----- 4 files changed, 46 insertions(+), 24 deletions(-) diff --git a/app/models/domain.rb b/app/models/domain.rb index 3a7b401a9..4319d0ddc 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -230,7 +230,7 @@ class Domain < ActiveRecord::Base domains = Domain.where('valid_to <= ?', Time.zone.now) domains.each do |domain| next unless domain.expirable? - domain.set_expired + domain.set_graceful_expired STDOUT << "#{Time.zone.now.utc} Domain.start_expire_period: ##{domain.id} #{domain.changes}\n" unless Rails.env.test? domain.save(validate: false) end @@ -320,7 +320,12 @@ class Domain < ActiveRecord::Base def expirable? return false if valid_to > Time.zone.now - !statuses.include?(DomainStatus::EXPIRED) + + if statuses.include?(DomainStatus::EXPIRED) && outzone_at.present? && delete_at.present? + return false + end + + true end def server_holdable? @@ -545,8 +550,6 @@ class Domain < ActiveRecord::Base self.registered_at = Time.zone.now self.valid_from = Time.zone.now self.valid_to = valid_from + self.class.convert_period_to_time(period, period_unit) - self.outzone_at = valid_to + Setting.expire_warning_period.days - self.delete_at = outzone_at + Setting.redemption_grace_period.days end # rubocop:disable Metrics/AbcSize @@ -603,6 +606,13 @@ class Domain < ActiveRecord::Base save(validate: false) end + def set_graceful_expired + self.outzone_at = valid_to + Setting.expire_warning_period.days + self.delete_at = outzone_at + Setting.redemption_grace_period.days + statuses << DomainStatus::EXPIRED + end + + # TODO: This looks odd - outzone_at and delete_at will be the same value? def set_expired # TODO: currently valid_to attribute update logic is open # self.valid_to = valid_from + self.class.convert_period_to_time(period, period_unit) @@ -675,7 +685,6 @@ class Domain < ActiveRecord::Base end def manage_automatic_statuses - # domain_statuses.create(value: DomainStatus::DELETE_CANDIDATE) if delete_candidateable? if statuses.empty? && valid? statuses << DomainStatus::OK elsif statuses.length > 1 || !valid? diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 83a62d1e9..c2ac2bcaf 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -490,8 +490,8 @@ class Epp::Domain < Domain p = self.class.convert_period_to_time(period, unit) self.valid_to = valid_to + p - self.outzone_at = valid_to + Setting.expire_warning_period.days - self.delete_at = outzone_at + Setting.redemption_grace_period.days + self.outzone_at = nil + self.delete_at = nil self.period = period self.period_unit = unit diff --git a/spec/epp/domain_spec.rb b/spec/epp/domain_spec.rb index 2b4026126..9a9f5c1bc 100644 --- a/spec/epp/domain_spec.rb +++ b/spec/epp/domain_spec.rb @@ -2426,10 +2426,8 @@ describe 'EPP Domain', epp: true do domain.reload domain.valid_to.should be_within(1).of(exp_date + 1.year) - domain.outzone_at.should be_within(1).of(exp_date + 1.year + Setting.expire_warning_period.days) - domain.delete_at.should be_within(1).of( - exp_date + 1.year + Setting.expire_warning_period.days + Setting.redemption_grace_period.days - ) + domain.outzone_at.should be_nil + domain.delete_at.should be_nil @registrar1.balance.should == old_balance - 15.0 @registrar1.cash_account.account_activities.count.should == old_activities + 1 @@ -2485,10 +2483,8 @@ describe 'EPP Domain', epp: true do domain.reload domain.valid_to.should be_within(1).of(exp_date + 1.year) - domain.outzone_at.should be_within(1).of(exp_date + 1.year + Setting.expire_warning_period.days) - domain.delete_at.should be_within(1).of( - exp_date + 1.year + Setting.expire_warning_period.days + Setting.redemption_grace_period.days - ) + domain.outzone_at.should be_nil + domain.delete_at.should be_nil @registrar1.balance.should == old_balance - 15.0 @registrar1.cash_account.account_activities.count.should == old_activities + 1 @@ -2764,10 +2760,8 @@ describe 'EPP Domain', epp: true do domain.reload domain.valid_to.should be_within(5).of(old_valid_to + 1.year) - domain.outzone_at.should be_within(5).of(old_valid_to + 1.year + Setting.expire_warning_period.days) - domain.delete_at.should be_within(5).of( - old_valid_to + 1.year + Setting.expire_warning_period.days + Setting.redemption_grace_period.days - ) + domain.outzone_at.should be_nil + domain.delete_at.should be_nil end it 'does not renew foreign domain' do diff --git a/spec/models/domain_spec.rb b/spec/models/domain_spec.rb index 015a407e0..48cfa0dc4 100644 --- a/spec/models/domain_spec.rb +++ b/spec/models/domain_spec.rb @@ -82,10 +82,8 @@ describe Domain do it 'should have correct validity dates' do valid_to = Time.zone.now + 1.year @domain.valid_to.should be_within(5).of(valid_to) - @domain.outzone_at.should be_within(5).of(valid_to + Setting.expire_warning_period.days) - @domain.delete_at.should be_within(5).of( - valid_to + Setting.expire_warning_period.days + Setting.redemption_grace_period.days - ) + @domain.outzone_at.should be_nil + @domain.delete_at.should be_nil end it 'should validate uniqueness of tech contacts' do @@ -146,18 +144,39 @@ describe Domain do Domain.start_expire_period @domain.statuses.include?(DomainStatus::EXPIRED).should == false - @domain.valid_to = Time.zone.now - 10.days + old_valid_to = Time.zone.now - 10.days + @domain.valid_to = old_valid_to @domain.save Domain.start_expire_period @domain.reload @domain.statuses.include?(DomainStatus::EXPIRED).should == true + @domain.outzone_at.should be_within(5).of(old_valid_to + Setting.expire_warning_period.days) + @domain.delete_at.should be_within(5).of( + old_valid_to + Setting.expire_warning_period.days + Setting.redemption_grace_period.days + ) Domain.start_expire_period @domain.reload @domain.statuses.include?(DomainStatus::EXPIRED).should == true end + it 'should start redemption grace period' do + old_valid_to = Time.zone.now - 10.days + @domain.valid_to = old_valid_to + @domain.statuses = [DomainStatus::EXPIRED] + @domain.outzone_at, @domain.delete_at = nil, nil + @domain.save + + Domain.start_expire_period + @domain.reload + @domain.statuses.include?(DomainStatus::EXPIRED).should == true + @domain.outzone_at.should be_within(5).of(old_valid_to + Setting.expire_warning_period.days) + @domain.delete_at.should be_within(5).of( + old_valid_to + Setting.expire_warning_period.days + Setting.redemption_grace_period.days + ) + end + it 'should start redemption grace period' do Domain.start_redemption_grace_period @domain.reload From 6792700d11127fb48b77734b74bc4763dd7b1a9b Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 9 Sep 2015 18:54:56 +0300 Subject: [PATCH 19/20] Update contact link status for new domain #2907 --- app/models/domain.rb | 3 ++- app/models/domain_contact.rb | 2 +- app/models/epp/domain.rb | 13 +++++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app/models/domain.rb b/app/models/domain.rb index 3a7b401a9..683592e0d 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -10,12 +10,13 @@ class Domain < ActiveRecord::Base belongs_to :registrar belongs_to :registrant - has_many :domain_contacts, dependent: :destroy has_many :admin_domain_contacts accepts_nested_attributes_for :admin_domain_contacts, allow_destroy: true has_many :tech_domain_contacts accepts_nested_attributes_for :tech_domain_contacts, allow_destroy: true + # NB! contacts, admin_contacts, tech_contacts are empty for a new record + has_many :domain_contacts, dependent: :destroy has_many :contacts, through: :domain_contacts, source: :contact has_many :admin_contacts, through: :admin_domain_contacts, source: :contact has_many :tech_contacts, through: :tech_domain_contacts, source: :contact diff --git a/app/models/domain_contact.rb b/app/models/domain_contact.rb index 097681f2c..b433cd3dc 100644 --- a/app/models/domain_contact.rb +++ b/app/models/domain_contact.rb @@ -17,7 +17,7 @@ class DomainContact < ActiveRecord::Base end def name - return 'Tech' if type == 'TechDomainContact' + return 'Tech' if type == 'TechDomainContact' return 'Admin' if type == 'AdminDomainContact' '' end diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 83a62d1e9..0c8116bf0 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -19,7 +19,16 @@ class Epp::Domain < Domain before_save :link_contacts def link_contacts # Based on bullet report - unlinked_contacts = contacts.select { |c| !c.linked? } # speed up a bit + if new_record? + # new record does not have correct instance contacts entries thanks to epp + unlinked_contacts = [registrant] + unlinked_contacts << admin_domain_contacts.map(&:contact) + unlinked_contacts << tech_domain_contacts.map(&:contact) + unlinked_contacts.flatten! + else + unlinked_contacts = contacts.select { |c| !c.linked? } # speed up a bit + end + unlinked_contacts.each do |uc| uc.domains_present = true # no need to fetch domains again uc.save(validate: false) @@ -114,7 +123,7 @@ class Epp::Domain < Domain def attach_default_contacts return if registrant.blank? regt = Registrant.find(registrant.id) # temp for bullet - tech_contacts << regt if tech_domain_contacts.blank? + tech_contacts << regt if tech_domain_contacts.blank? admin_contacts << regt if admin_domain_contacts.blank? && regt.priv? end From 180c159ed42de969595679190cec5ca2e2ddc677 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 10 Sep 2015 10:39:42 +0300 Subject: [PATCH 20/20] rubocop update --- app/models/epp/domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 9df18afc9..27c88cd59 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -123,7 +123,7 @@ class Epp::Domain < Domain def attach_default_contacts return if registrant.blank? regt = Registrant.find(registrant.id) # temp for bullet - tech_contacts << regt if tech_domain_contacts.blank? + tech_contacts << regt if tech_domain_contacts.blank? admin_contacts << regt if admin_domain_contacts.blank? && regt.priv? end