aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-06-05 09:49:33 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-06-05 09:49:33 +0200
commitccc5ce7bf9abe341119acb0aa4a8a138add41dc7 (patch)
tree0e3e49802bc977ee0c2fe08afed4f3a009d485b7 /lib
parentf779c5034227750e7a500f79890dafd81b2a98bf (diff)
Changing the command names to something more intuitive (hopefully).
Diffstat (limited to 'lib')
-rw-r--r--lib/Fripost/Commands/add_alias.pm (renamed from lib/Fripost/Commands/alias_add.pm)6
-rw-r--r--lib/Fripost/Commands/add_domain.pm (renamed from lib/Fripost/Commands/domain_add.pm)6
-rw-r--r--lib/Fripost/Commands/add_user.pm (renamed from lib/Fripost/Commands/user_add.pm)6
-rw-r--r--lib/Fripost/Commands/search_alias.pm (renamed from lib/Fripost/Commands/alias_search.pm)6
-rw-r--r--lib/Fripost/Commands/search_domain.pm (renamed from lib/Fripost/Commands/domain_search.pm)6
-rw-r--r--lib/Fripost/Commands/search_user.pm (renamed from lib/Fripost/Commands/user_search.pm)6
-rw-r--r--lib/Fripost/Commands/user_passwd.pm2
-rwxr-xr-xlib/Fripost/Schema.pm3
8 files changed, 19 insertions, 22 deletions
diff --git a/lib/Fripost/Commands/alias_add.pm b/lib/Fripost/Commands/add_alias.pm
index f86b1f7..7155368 100644
--- a/lib/Fripost/Commands/alias_add.pm
+++ b/lib/Fripost/Commands/add_alias.pm
@@ -1,4 +1,4 @@
-package Fripost::Commands::alias_add;
+package Fripost::Commands::add_alias;
use 5.010_000;
use strict;
@@ -7,7 +7,7 @@ use utf8;
=head1 NAME
-alias_add - Add a new virtual alias
+add_alias - Add a new virtual alias
=cut
@@ -128,6 +128,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=cut
-1; # End of alias_add.pm
+1; # End of add_alias.pm
__END__
diff --git a/lib/Fripost/Commands/domain_add.pm b/lib/Fripost/Commands/add_domain.pm
index a727623..4d53e35 100644
--- a/lib/Fripost/Commands/domain_add.pm
+++ b/lib/Fripost/Commands/add_domain.pm
@@ -1,4 +1,4 @@
-package Fripost::Commands::domain_add;
+package Fripost::Commands::add_domain;
use 5.010_000;
use warnings;
@@ -7,7 +7,7 @@ use utf8;
=head1 NAME
-domain_add - Add a new virtual domain.
+add_domain - Add a new virtual domain.
=cut
@@ -145,6 +145,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=cut
-1; # End of domain_add.pm
+1; # End of add_domain.pm
__END__
diff --git a/lib/Fripost/Commands/user_add.pm b/lib/Fripost/Commands/add_user.pm
index 70ee638..4e1cf10 100644
--- a/lib/Fripost/Commands/user_add.pm
+++ b/lib/Fripost/Commands/add_user.pm
@@ -1,4 +1,4 @@
-package Fripost::Commands::user_add;
+package Fripost::Commands::add_user;
use 5.010_000;
use strict;
@@ -7,7 +7,7 @@ use utf8;
=head1 NAME
-user_add - Add a new mailbox to the system
+add_user - Add a new mailbox to the system
=cut
@@ -156,6 +156,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=cut
-1; # End of user_add.pm
+1; # End of add_user.pm
__END__
diff --git a/lib/Fripost/Commands/alias_search.pm b/lib/Fripost/Commands/search_alias.pm
index 6e638ac..fc1959d 100644
--- a/lib/Fripost/Commands/alias_search.pm
+++ b/lib/Fripost/Commands/search_alias.pm
@@ -1,4 +1,4 @@
-package Fripost::Commands::alias_search;
+package Fripost::Commands::search_alias;
use 5.010_000;
use strict;
@@ -7,7 +7,7 @@ use utf8;
=head1 NAME
-alias_search.pm - List matching virtual aliases
+search_alias.pm - List matching virtual aliases
=cut
@@ -75,6 +75,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=cut
-1; # End of alias_search.pm
+1; # End of search_alias.pm
__END__
diff --git a/lib/Fripost/Commands/domain_search.pm b/lib/Fripost/Commands/search_domain.pm
index 8aaf775..9c47d43 100644
--- a/lib/Fripost/Commands/domain_search.pm
+++ b/lib/Fripost/Commands/search_domain.pm
@@ -1,4 +1,4 @@
-package Fripost::Commands::domain_search;
+package Fripost::Commands::search_domain;
use 5.010_000;
use strict;
@@ -7,7 +7,7 @@ use utf8;
=head1 NAME
-domain_search.pm - List matching virtual domains
+search_domain.pm - List matching virtual domains
=cut
@@ -55,6 +55,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=cut
-1; # End of domain_search.pm
+1; # End of search_domain.pm
__END__
diff --git a/lib/Fripost/Commands/user_search.pm b/lib/Fripost/Commands/search_user.pm
index 30ffd4d..f476a98 100644
--- a/lib/Fripost/Commands/user_search.pm
+++ b/lib/Fripost/Commands/search_user.pm
@@ -1,4 +1,4 @@
-package Fripost::Commands::user_search;
+package Fripost::Commands::search_user;
use 5.010_000;
use strict;
@@ -7,7 +7,7 @@ use utf8;
=head1 NAME
-user_search.pm - List matching virtual users
+search_user.pm - List matching virtual users
=cut
@@ -53,6 +53,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=cut
-1; # End of user_search.pm
+1; # End of search_user.pm
__END__
diff --git a/lib/Fripost/Commands/user_passwd.pm b/lib/Fripost/Commands/user_passwd.pm
index f443ef6..805b7e1 100644
--- a/lib/Fripost/Commands/user_passwd.pm
+++ b/lib/Fripost/Commands/user_passwd.pm
@@ -8,7 +8,7 @@ use utf8;
=head1 NAME
-user_add - Change user password
+user_passwd - Change user password
=cut
diff --git a/lib/Fripost/Schema.pm b/lib/Fripost/Schema.pm
index f8649b7..72a7484 100755
--- a/lib/Fripost/Schema.pm
+++ b/lib/Fripost/Schema.pm
@@ -30,9 +30,6 @@ sub new {
my $class = shift;
my $h = shift;
- $h->{server_host} //= 'ldap://127.0.0.1:389';
- $h->{base_dn} //= '';
-
my $self = {_options => $h};
bless $self, $class;