From e08cc9c7c9a5363c0aadc5ba88b4060411673e7c Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 15 Dec 2016 11:17:00 +0200 Subject: [PATCH 1/5] Revert app/controllers/epp/sessions_controller.rb #251 --- app/controllers/epp/sessions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/epp/sessions_controller.rb b/app/controllers/epp/sessions_controller.rb index 14fd58173..58a314410 100644 --- a/app/controllers/epp/sessions_controller.rb +++ b/app/controllers/epp/sessions_controller.rb @@ -27,7 +27,7 @@ class Epp::SessionsController < EppController end end - if !Rails.env.development? && !Rails.env.test? && !webclient_request && @api_user + if !webclient_request && @api_user unless @api_user.api_pki_ok?(request.env['HTTP_SSL_CLIENT_CERT'], request.env['HTTP_SSL_CLIENT_S_DN_CN']) epp_errors << { msg: 'Authentication error; server closing connection (certificate is not valid)', From a97b69e27ff1642f477852a108321bd8cf43223b Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 16 Dec 2016 02:51:24 +0200 Subject: [PATCH 2/5] Fix REPP API contacts #251 --- app/api/repp/contact_v1.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/api/repp/contact_v1.rb b/app/api/repp/contact_v1.rb index ea7bfdc43..810829ef7 100644 --- a/app/api/repp/contact_v1.rb +++ b/app/api/repp/contact_v1.rb @@ -21,8 +21,6 @@ module Repp attributes = Contact.attribute_names - Contact.address_attribute_names contacts = contacts.select(attributes) end - - contacts else contacts = current_user.registrar.contacts.limit(limit).offset(offset).pluck(:code) end From 6ae79d5b83cb83cb06c347daf9391aa50c542c5c Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 16 Dec 2016 03:28:00 +0200 Subject: [PATCH 3/5] Update readme #251 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a59838ff..a58d3a268 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +16.12.2016 +* Allow contact address processing to be configurable via admin +* EPP XML schema namespace "urn:ietf:params:xml:ns:epp-1.0" replaced with "https://epp.tld.ee/schema/epp-ee-1.0.xsd" +* EPP XML schema contact-eis-1.0 replaced with contact-ee-1.1 + 18.11.2016 * Domain expiration emails are now sent out to admin contacts as well. Sending bug is fixed. * Include detailed registrar's contact info in emails From 09fd78c51a6a6b819cb08101ad963322d84b802a Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 16 Dec 2016 04:31:25 +0200 Subject: [PATCH 4/5] Update epp and epp-xml gems #251 --- Gemfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 83ec9b4a7..0847bebd7 100644 --- a/Gemfile +++ b/Gemfile @@ -83,9 +83,9 @@ gem 'deep_cloneable', '2.1.1' # id + mid login gem 'digidoc_client', '0.2.1' -# epp -gem 'epp', '1.4.2', github: 'internetee/epp' -gem 'epp-xml', '1.0.5', github: 'internetee/epp-xml' # EIS EPP XMLs +# EPP +gem 'epp', '1.5.0', github: 'internetee/epp' +gem 'epp-xml', '1.1.0', github: 'internetee/epp-xml' gem 'uuidtools', '2.1.5' # For unique IDs (used by the epp gem) # que From 99a928fd3ad00989899f24a8b756c6cabdae55c0 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 16 Dec 2016 04:42:31 +0200 Subject: [PATCH 5/5] Update epp and epp-xml gems #251 --- Gemfile | 1 - Gemfile.lock | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index 0847bebd7..11e5d92a0 100644 --- a/Gemfile +++ b/Gemfile @@ -83,7 +83,6 @@ gem 'deep_cloneable', '2.1.1' # id + mid login gem 'digidoc_client', '0.2.1' -# EPP gem 'epp', '1.5.0', github: 'internetee/epp' gem 'epp-xml', '1.1.0', github: 'internetee/epp-xml' gem 'uuidtools', '2.1.5' # For unique IDs (used by the epp gem) diff --git a/Gemfile.lock b/Gemfile.lock index 31ecaeb02..7b3810caf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,17 +18,17 @@ GIT GIT remote: https://github.com/internetee/epp-xml.git - revision: 475f650951f2cf5015e00d48f408a2194ecc1662 + revision: 5dd542e67ef26d58365f30e553254d6db809277d specs: - epp-xml (1.0.5) + epp-xml (1.1.0) activesupport (~> 4.1) builder (~> 3.2) GIT remote: https://github.com/internetee/epp.git - revision: 505c3f2739eb1da918e54111aecfb138a822739d + revision: 1a50f2144f15a2d975337e56fb1ccaba5d956e9d specs: - epp (1.4.2) + epp (1.5.0) hpricot libxml-ruby @@ -299,7 +299,7 @@ GEM launchy (2.4.3) addressable (~> 2.3) libv8 (3.16.14.11) - libxml-ruby (2.8.0) + libxml-ruby (2.9.0) liquid (3.0.6) listen (3.0.3) rb-fsevent (>= 0.9.3) @@ -593,8 +593,8 @@ DEPENDENCIES deep_cloneable (= 2.1.1) devise (= 3.5.4) digidoc_client (= 0.2.1) - epp (= 1.4.2)! - epp-xml (= 1.0.5)! + epp (= 1.5.0)! + epp-xml (= 1.1.0)! fabrication (= 2.13.2) factory_girl_rails figaro (= 1.1.1)