Share

OpenSRS-SF

File Release Notes and Changelog

Release Name: opensrs-sf-1.50

Notes:


Changes: ####################################################################### Changes in 1.50 [*] Fixed bug in Domain::Order::Gtld::verify_order() where a '+' char was inserted in the fax field even if no data was input [*] Fixed bug in Domain::Order::Gtld::verify_order() where the $_ variable was modified or undef'd. Fixed by using temp $n var instead of $_ [*] Fixed bug in Domain::Order::Gtld::register_domains where cost was calculated as an int rather than a float [*] Fixed bug in Domain::Info::check_domains() where tld type test was TLD_TV and should have been TLD_CA [*] Fixed bug in Domain::Order::Gtld::purchase_webcert() where mail template variables were not properly set [*] Fixed template mail/cert_order.txt to reflect changes in Domain::Order::Gtld and to eliminate double headers [+] Synced with changes in version 2.46 of supported client. Many internal modifications, and some noticable additions and changes: - changes to templates: manage/modify.contact.html manage/modify_contact_ca.html manage/login.html - changes to OpenSRS.conf.local: added 'allow_password_requests' option added 'handle_renewal_orders' option added 'handle_new_domain_orders' option added 'handle_transfer_domain_orders' option - changes to OpenSRS.conf added key to <ops_actions>: send_password domain [+] Added prepare_lookup() method in Domain::Order::Gtld and Domain::Whois to parse domain submitted for lookuop down to a valid domain for lookup, i.e. foo.bar.com becomes bar.com for lookup [*] Fixed templates/modify_contact* templates where phone number example was incorrect [*] Modified Domain::Order::Gtld::verify_order() so that info and biz tlds require a postal code regardless of country ####################################################################### Changes in 1.49 [*] Fixed bug in Domain::Order::Gtld->verify_order() where .info and .biz domain validation constraint 'maxlen' was not properly set [*] Changed mail_type config options: 'sendmail' is now 'binary', and 'smtp' is now 'socket' -- affected Mail::Send and bin/install [*] Modified bin/verify.cgi to prompt for a reseller username before continuing. Can't ask for password since no SSL... [+] Synced with changes in version 2.45 of supported client. Many internal modifications, and some noticable additions and changes: - Added 'orders' key to OpenSRS.conf.local for order receipt - Cert orders are now emailed to 'orders' address (along with all other orders) - added email template templates/mail/cert_order.txt - template additions to templates/order/verify.html, order.html, lookup_results.html - template additions to manage/main_menu.html [+] Added sample hook 'h_lookup_tld' to append tlds to a domain for lookup (using a combo box or radio buttons). Submitted by Jim Carey <ozcoz@users.sourceforge.net> [*] Fixed bug in Domain::Order::Gtld where the entire order total was shown in each order and thankyou email -- now just the portion per domain is shown [*] Fixed bug in Domain::Order::Gtld where the 'must_match_profile' flag was erroneously set on all .ca domain registrations -- should only have been set for bulk orders ####################################################################### Changes in 1.48 [*] Modified Util::Base->unencode() to protect escaped chars from unencoding-- intended to fix double unencoding of '+' chars [*] Modified Domain::Order::Gtld->send_order() and other mail sending methods to escape '+' chars in phone fields so they're not lost [*] Fixed reference to Util:base->check_domain_syntax() and replaced with Domain::Info->check_syntax() [*] Fixed bug in Domain::Manage->modify_contact() where a hashref was accessed before verifying it is in fact a hashref [*] Fixed bug in Util::Base::calc_domain_order where the sld was not correctly extracted from the domain and the cost was not correctly calculated [*] Fixed templates/order/setup_profile.html -- duplicate <form> blocks caused weird behavior for .ca domains ####################################################################### Changes in 1.47 [*] Fixed bugs introduced in 1.46 adding input data to template hashes [*] Fixed bug in Domain::Order::Gtld where .biz domains were not correctly identified by tld type [*] Fixed bug in Domain::Order::Gtld where the min andmax period value defaults were incorrect if the proper reg_period config value was not found [*] Fixed bug in Util::Base->check_referer() where exit() was called and main::_EXIT should have be used for persistent environments [-] Remove Domain::Order::Biz and bin/dotbiz.cgi since they are no longer needed [+] Misc other module optimizations ####################################################################### Changes in 1.46: [+] Added methods to Util::Base: - host2ip() - get an ip address from a hostname - ip2host() - get a hostname from an ip address - is_valid_ip() - verify an IP address [+] Modified Domain::Order::Gtld and templates/order.html to display ip address and hostname of customer to discourage fraudulent orders [+] Added new config option 'default_reg_periods' for selecting a default value in the <select> period menu based on the tld [+] Modified Util::Base->period_menu() to handle default registration periods [*] Fixed bug introduced in 1.45 where .info and .biz phone number formats would have the '+' char stripped. [+] Added module Domain::Info. Some methods previously in Util::Base and elsewhere were moved to this module. [+] Made logic changes in Domain::* modules to reflect addition of Domain::Info [+] Added additional verification steps in Domain::Order::Gtld->verify_order() for .biz domains [+] Added config option to OpenSRS.conf to indicate which domains opensrs is authoritative for for whois [+] Fixed templates and Domain::Manage so RSP whois info works correctly [+] Added input to most template hashes in Domain::Order::Gtld ####################################################################### Changes in 1.45: [+] Added all input info to output hash in Domain::Order::Gtld->print_reg_result() so that all input is available to the thankyou.html template [+] Added order calculation methods to Util::Base : - calc_domain_order() returns the order total and the amount of state and country tax - calc_tax() calculates the tax based on the total [+] Modified Domain::Order::Gtld to calculate and display (and store in the private hash) the order total and state and country taxes [+] Modified templates/order/verify.html to display order total and tax info [+] Added new config options 'cost_per_tld', 'state_tax' and 'country_tax' for calculating order totals [+] Added order total to order email and thankyou email in Domain::Order::Gtld->send_order() and Domain::Order::Gtld->send_thankyou() [+] Modified logic for bulk transfers in Domain::Order::Gtld: - added bulk_transfer_domains() method - added send_bulk_order() method - added send_bulk_thankyou() method - added print_bulk_trans_result() method The bulk_transfer() method now calls each of the above, and each of the above are available for custom hooks [+] Added bulk_thankyou.html to templates/order for new logic [+] Added order total to order email and thankyou email in Domain::Order::Gtld->send_bulk_order() and Domain::Order::Gtld->send_bulk_thankyou() [+] Modified order and thankyou mail templates to include order totals [+] Added bin/verify.cgi to verify installation -- command line or web capable [*] Fixed encoding problem in Util::Base::get_input() ####################################################################### 1.44 Not publicly released ####################################################################### Changes in 1.43: [+] Added support for .info period menu generation by adding a config block to OpenSRS.conf and modifying Util::Base->period_menu. Thanks to Jim Carey <ozcoz@users.sourceforge.net> for the suggestion and implementation. [+] Implemented Util::Hidden in Domain::Renew and associated templates [+] Added phone/fax syntax validation for .info domains to Domain::order::Gtld [+] Added runtime 'period' field validation based on tld to Domain::Order::Gtld [+] Added 'is_int_phone' method to Form::Constraint for validation .info phone number syntax [+] Added 'affiliate_id' to template propogation [-] Removed Domain::Order:Info and /bin/dotinfo.cgi, as they are no longer needed [-] Removed verify_cc boolean option from bin/install and /etc/OpenSRS.conf.local as form validation uses rules files [*] Modified Domain::Manage and /etc/OpenSRS.conf to reflect server-side changes to RSP whois info implementation [*] Modified Select::State to accept three character state codes. Thanks to Jim Carey <ozcoz@users.sourceforge.net> for the suggestion and implementation. [*] Fixed bug in Domain::Order::Gtld::lookup() where the tld regexp matched only partially, defeating a test for a valid arrayref [*] Fixed bug in Domain::Order::Gtld::check_transfer() where the domain syntax was not checked and the template variable {{domain}} was not set on success [*] Fixed bug in Domain::Manage::print_tpl() where the template variable {{autorenew_date}} was set to a raw time() value rather than a formatted date [*] Removed the 'maxlength' attribute of the domain input tag -- was set to 20 [*] Fixed bug in /etc/OpenSRS.conf where a valid_tlds option was incorrect for .nu.ca (was .nv.ca) [*] Fixed bug in Util::Conf where an undefined config value was stored as a value perl considers defined [*] Added checks in Util::Base::get_related_tlds() for a defined value in related_tlds config option ####################################################################### Changes in 1.42: [+] Added connect loop in sending mail over socket in Mail::Send-- now tries several times to connect [+] Added features and optimizations to Mail::Send [*] Added better error handling to Mail::Send [*] Logic enhancements to Mail::PGP [*] Fixed problem where phone numbers containing '+' chars were not properly encoded in hidden form fields and were thus transformed to spaces when decoded -- fixed in Util::Base and Util::Hidden ####################################################################### Changes in 1.41: [*] Fixed major bug in Mail::Send where message was not properly sent over the socket ####################################################################### Changes in 1.4: [+] Added support for API additions for whois_rsp_info in Domain::Manage -- NOTE: not functional until supported in live environment [+] Added templates in templates/manage to support whois_rsp_info [+] Fixed bin/install so that in review of config options if a config <block> is found (a hashref) it will display "BLOCK" for review rather than HASH(0xfff5) or some such [+] Added check_referer() method to Util::Base -- if a valid referer is not found in $ENV{HTTP_REFERER}, a 204 no response header is sent [+] Modified CGIs to check referers is config options are set [+] Added options 'check_referer' and 'valid_referers' to local config file etc/OpenSRS.conf.local [+] Added support for new config options in bin/install [+] Modified registration logic in Domain::Order::Gtld: Calling register() performs the default actions: register_domains() # does the registration send_order() # sends order email to admin send_thankyou() # sends order thank you to customer print_thankyou() # prints results page The logic was changed so that these actions can be called independently -- crucial for hooks wanting to capture control during the reg process [*] Modified the template order/thankyou.html to use a LOOP construct for registration and transfer status messages [*] Fixed bugs in Domain::Order::Gtld where 'premium' .tv domain lookups would fail with internal server error [*] Re-added eval() handler code to CGIs to handle internal errors -- can conflict with cgi wrappers, but... [+] Added modules Mail::Send and Mail::PGP -- moved mail handling code from Util::Base to Mail::Send [+] Added several PGP-related options to OpenSRS.conf.local, including an option to PGP-encrypt order email [+] Added support for encrypted orders in Domain::Order::Gtld [*] Modified mail templates to conform to Mail::Send requirements ####################################################################### Changes in 1.3: [*] Fixed bug in Domain::Order::Gtld->bulk_register() where the object method 'unencode' in Util::Base was not called as an object method [*] Fixed minor HTML errors in templates [*] Fixed bug in Form::Constraint where is_enum was expecting an array ref, but received an array, causing the test to fail [+] Further improved form validation logic ####################################################################### Changes in 1.2: [*] Fixed bug in lib/Util/Base.pm where print_tpl() where error if a base template wasn't found even if no base template was specified [*] Fixed bug in lib/Domain/Order/Gtld.pm where the 'fqdn' was placed into hidden fields PLUS input tags when using custom nameserver option [*] Fixed bug in Remote::HTTPS where the query was not always sent on GET requests [+] Added support for listing and processing auto-renew requests, and renewals from within the manage interface -- missing from previous releases [+] Added module version checking to install -- check will fail if installed version is lower than the minum required version listed in /etc/dependencies [+] Changed logic of form validation with regard to constraint tests. Now multiple tests are possible if some tests take params and some don't -- would previously cause problems because of multiple hash keys. [+] Changed format of etc/rules/domain_order.rules and webcert_order.rules to sync with Form::Validate changes. [+] Modified Util::EncryptHash so an empty hash is not serialized/encoded/encrypted [+] Improve handling of private encrypted data hashes in Util::Base [+] Added base64 encoding/unencoding to Util::Base ####################################################################### Changes in 1.1: ----------------------------------------------------------------------- [+] = added feature or code [-] = removed feature or code [*] = bug fix ----------------------------------------------------------------------- [+] /bin/install will only require the CPAN module if the user chooses to install modules. The installer will still perform all other necessary functions without the CPAN module. [+] /bin/install will now prompt for verification when specifying 'sendmail' for a mail_type in the Windows environment [*] Fixed /bin/test/authorizenet.rules "x_Card_Num" constraint [*] Changed the minimum required version to 5.005 on all CGIs and modules [*] Fixed bug in /lib/Domain/Order/Gtld.pm where the nameservers were not properly submitted with custom_nameservers flag on [*] Fixed bug in /lib/Domain/Order/Gtld.pm where the tlds regexp was not correctly parsed, resulting in .ca domain lookup errors [*] Fixed bug in /lib/Domain/Order/Gtld.pm where .tv domain lookups would fail [*] Moved tv lookup handler routine to /lib/Domain/Order/Gtld.pm from /lib/hooks.pl [*] Fixed bug in /bin/install where the RACE version check did not properly identify v5.6 [*] Fixed bugs in /lib/Form/Validate.pm where certain methods called in list context might return scalar or undefined values [*] Fixed bug in renew.cgi where initial login would display a false "auth err" message [-] Removed local CBC.pm (/lib/Crypt/CBC.pm) no material code changes [-] Removed security check of config file from Base.pm [-] Util::Base::logit(): No longer print log entry to STDERR