line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
## Domain Registry Interface, .CO.CZ EPP extensions |
2
|
|
|
|
|
|
|
## |
3
|
|
|
|
|
|
|
## Copyright (c) 2008 Tonnerre Lombard . |
4
|
|
|
|
|
|
|
## All rights reserved. |
5
|
|
|
|
|
|
|
## |
6
|
|
|
|
|
|
|
## This file is part of Net::DRI |
7
|
|
|
|
|
|
|
## |
8
|
|
|
|
|
|
|
## Net::DRI is free software; you can redistribute it and/or modify |
9
|
|
|
|
|
|
|
## it under the terms of the GNU General Public License as published by |
10
|
|
|
|
|
|
|
## the Free Software Foundation; either version 2 of the License, or |
11
|
|
|
|
|
|
|
## (at your option) any later version. |
12
|
|
|
|
|
|
|
## |
13
|
|
|
|
|
|
|
## See the LICENSE file that comes with this distribution for more details. |
14
|
|
|
|
|
|
|
#################################################################################################### |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
package Net::DRI::Protocol::EPP::Extensions::IRegistry; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
683
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
43
|
|
19
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
20
|
|
|
|
|
|
|
|
21
|
1
|
|
|
1
|
|
4
|
use base qw/Net::DRI::Protocol::EPP/; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
79
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=pod |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Net::DRI::Protocol::EPP::Extensions::IRegistry - .CO.CZ EPP extensions for Net::DRI |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Please see the README file for details. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SUPPORT |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
For now, support questions should be sent to: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Edevelopment@sygroup.chE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Please also see the SUPPORT file in the distribution. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SEE ALSO |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Ehttp://oss.bsdprojects.net/projects/netdri/E or |
44
|
|
|
|
|
|
|
Ehttp://www.dotandco.com/services/software/Net-DRI/E |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Tonnerre Lombard, Etonnerre.lombard@sygroup.chE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Copyright (c) 2008 Tonnerre Lombard . |
53
|
|
|
|
|
|
|
All rights reserved. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify |
56
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
57
|
|
|
|
|
|
|
the Free Software Foundation; either version 2 of the License, or |
58
|
|
|
|
|
|
|
(at your option) any later version. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
See the LICENSE file that comes with this distribution for more details. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
#################################################################################################### |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub setup |
67
|
|
|
|
|
|
|
{ |
68
|
|
|
|
|
|
|
my ($self,$rp)=@_; |
69
|
|
|
|
|
|
|
$self->{defaulti18ntype}='loc'; # The registry does not provide contact postalinfo i18n type, although it is mandatory by EPP |
70
|
|
|
|
|
|
|
$self->ns({ domain => ['http://www.nic.cz/xml/epp/domain-1.4','domain-1.4.xsd'], |
71
|
|
|
|
|
|
|
contact => ['http://www.nic.cz/xml/epp/contact-1.5','contact-1.5.xsd'], |
72
|
|
|
|
|
|
|
}); |
73
|
|
|
|
|
|
|
$self->capabilities('domain_update','status',undef); |
74
|
|
|
|
|
|
|
$self->capabilities('domain_update','nsset',['set']); |
75
|
|
|
|
|
|
|
$self->capabilities('nsset_update','ns',['add','del']); |
76
|
|
|
|
|
|
|
$self->capabilities('nsset_update','contact',['add','del']); |
77
|
|
|
|
|
|
|
$self->capabilities('nsset_update','auth',['set']); |
78
|
|
|
|
|
|
|
$self->capabilities('nsset_update','reportlevel',['set']); |
79
|
|
|
|
|
|
|
return; |
80
|
|
|
|
|
|
|
} |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub core_contact_types { return ('admin','tech','billing','onsite'); } |
83
|
|
|
|
|
|
|
sub default_extensions { return qw/CZ::NSSET CZ::Contact CZ::Domain NSgroup/; } |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
#################################################################################################### |
86
|
|
|
|
|
|
|
1; |