The current version automates the domain-update (TECH-C + DNS) after a transfer-in operation.
Also some minor and one major bug introduced in version 1.13 have been fixed.
Please note: the webinterface is not free and restricted by a license check.
The isTrue method inside of the Contact object did a value and type check on it’s argument and therefor compared only to numeric 1 instead of also comparing to the string “1”. Fixed.
Parent contstructors (domain / contact objects) are now called as first thing in the objects own constructor.
Some troubles found when using Smarty 3 with PHP 5.2 (ie. Ubuntu 8.04 LTS). I’m still undecided whether to downgraade back to Smarty 2 or not.
When updating the registrant and using the updateDB domain method, the owning userID (agent ID) is now changed. The variable name userID has now be changed to lowercase “userid” everywhere. This could have some impact in different places – please pay attention to it!
You can now remove the fax value from a contact by leaving it blank.
EPP library IT-NIC (PHP) (1359 downloads)
Changed all calls to Smarty’s clear_all_assign to clearAllAssign. Calls to set() on objects are now doing automatic lower-case conversion. Thanks Marcello!
The error handling function in AbstractObject now type-casts message variables to strings (there have been some issues there).
EPP library IT-NIC (PHP) (1249 downloads)
Updated the status fields for tbl_contacts and tbl_domains, which were still and wrongly set to tinyint. They need to be text in order to support serialized status information (text array). Thanks Marcello!
Added displayAccounting switch for the webinterface. When set, the webinterface will display accounting information in the same way the polling queue is displayed.
Updated Smarty to version 3.0.6. The client-constructor now uses the $_file_perms and $_dir_perms variables when failback to /tmp for compile_dir is active. The failback now emitts a E_USER_NOTICE instead of E_USER_WARNING.
EPP library IT-NIC (PHP) (1244 downloads)
Updated the update-contact template in order to support authinfo-updates on contacts. They are not used but defined by the protocol, so what… 🙂
Added a config.xml parameter in order to switch on/off sending email notifications for all polling queue messages (this only affects the webinterface implementation though).
EPP library IT-NIC (PHP) (1185 downloads)
Support for IDN domain names added. It runs nicely on the testing system and should become available to the general public at some point in 2011 when the Italian Registry goes into production with IDN domain names. At this point I fixed the sendRequest method in the client class which (wrongly) always used utf8_encode() on the data to be sent. This issue led to double-encoding in cases where your data was already in UTF-8 format. For those of you feeding data in ISO-8859-1 format I added the forceUTF8 configuration parameter. I have added an example for IDN registration (032) and fixed example number 011 from which it derives. The german ‘sz’ (alias ‘ß’) will be encoded as ‘ss’, since DNS checks on the testing system require it to be handled this way.
Also added in this version:
- domain status clientLock (can only be viewed and will be assigned when setting clientHold)
- parsing of credit information in creditMsgData messages (no longer handled as ‘unknown’)
EPP library IT-NIC (PHP) (1123 downloads)
A typo inside the domain object fixed. Thanks Luca!
Thanks to the guys at the registry and the new accreditation test 2.0 I found the status option clientTransferProhibited was missing. Now everything is fine and ready for accreditation test version 2.0. I also added support to correctly handle multiple domain states to the domain object, including updates to all examples.
Also added support for the crDate and exDate domain information. This requires a very small update to the DB as well, but comes along with the big advantage that you can do credit-forecasts. Obviously this would only be an approximation though!
EPP library IT-NIC (PHP) (1154 downloads)
Only a few minor things have changed from rc2. Hope you find this useful… obviously any feedback is appreciated!
EPP library IT-NIC (PHP) (1082 downloads)
Include path in all examples is now based on the __FILE__ constant. You may therefor launch a file from whatever path you are in. In order for that, the internal behaviour of the Client class (which locates and reads the config.xml file) has been altered as well. This now extends nicely to the new WSDL class and we don’t need an ugly, separate config file for it anymore.
Smarty default values should be kept empty from now on. The smarty compile folder still needs write permissions (ie. www-data on Debian/Ubuntu if you are trying to use the WSDL interface). If this is not granted the Client class will try to failback to ‘/tmp’, emit warnings in case of success and die with an error message in case of a failure.
Any transferStatus query now fills the reID/acID fields (if set) and new Smarty and adoDB libraries have been added.
With some luck this is going to be the last RC version before 3.0 (expect it next week). On my side most things work pretty well now 🙂
EPP library IT-NIC (PHP) (1001 downloads)
Bug fixes as usual, but now a few things more are completed and tested (at least as far as I can tell). Among the fixes: Domain and Contact object values are now re-initialized before every fetch from either DB or EPP servers.
The main news: messages from the polling queue are now parsed and stored in human-readable format in their own table (3 new examples are included). As far as possible they are aggregated by a LEFT JOIN to the domain names. If those are stored in the DB as well, you will get nicely readable notices on a per-domain base, which for example may be interesting and useful in order to handle domain transfers.
Out of security considerations the WSDL interface has been moved into its own subfolder called ‘private/’. The apache configuration example, documentation and script have all been updated to fit that purpose.
EPP library IT-NIC (PHP) (1000 downloads)