Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.4.0-b1
-
Component/s: None
-
Labels:None
Description
Update the extension form with all fields necessary for registrar modules.
General Settings
When "Module" is selected, show a select field with the options "Generic" and "Registrar"
Basic Info
Add a checkbox (checked by default) "Statically Define TLDs"
When checked, a text field should be displayed "Supported TLDs"
- This field should have a tooltip - Define the TLDs supported by this module as a comma separated list (e.g. .com,.net,.org)
- This field should have a placeholder - e.g. .com,.net,.org
Module Fields
A package field should be added by default for registrar modules
- name - epp_code
- label - EPP Code
- type - checkbox
- tooltip - Whether to allow users to request an EPP Code through the Blesta service interface
A service field should be added by default for registrar modules
- name - domain
- label - Domain
- type - text
Additional Features
"Optional Functions" should be renamed "Optional Methods"
A new "Registrar Methods" section should be displayed for registrar modules with the following checked by default
- checkAvailability
- checkTransferAvailability
- getDomainInfo
- getExpirationDate
- getServiceDomain
- getTldPricing
- registerDomain
- renewDomain
- transferDomain
The following fields should be shown, but not checked by default: - getDomainContacts
- getDomainIsLocked
- getDomainNameServers
- lockDomain
- resendTransferEmail
- restoreDomain
- sendEppEmail
- setDomainContacts
- setDomainNameservers
- setNameserverIps
- unlockDomain
- updateEppCode
Tooltips for each of these checkboxes should be defined base on their doc comments (like we do with the current ones).
All other registrar methods should be considered non-optional and included in the generated module except supportsFeature() and getType() which should not be included