Skip to content

Commit

Permalink
Merge branch 'master' of github.com:webmin/usermin
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jan 8, 2023
2 parents e66df37 + 01e0af4 commit 6a87e51
Show file tree
Hide file tree
Showing 60 changed files with 170 additions and 57 deletions.
1 change: 0 additions & 1 deletion JSON

This file was deleted.

2 changes: 2 additions & 0 deletions mailbox/add_address.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Add an address from an email to the user's address book
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %in;

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/address_chooser.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display a list of entries from the address book
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %uconfig);

our $trust_unknown_referers = 1;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/auto.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Scan through all folders, and apply the scheduled deletion policy for each
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';

our $no_acl_check++;
$ENV{'REMOTE_USER'} = getpwuid($<);
Expand Down
2 changes: 2 additions & 0 deletions mailbox/copy.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Copy (or move) all messages from one folder to another
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/copy_form.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Show a form for copying or moving all email to another folder
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/delete_folders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Delete a bunch of folders
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/delete_mail.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Delete, mark, move or copy multiple messages
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %userconfig, %gconfig);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/detach.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# View one attachment from a message
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);

use Socket;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/detachall.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Download all attachments in a ZIP file
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_auto.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Show a form for setting up scheduled folder clearing
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_comp.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display a form for creating or editing a composite folder
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_folder.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display a form for creating or editing a folder of some kind
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %userconfig);
our $folders_dir;
our @remote_user_info;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_ifolder.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Display a form for creating or editing an IMAP folder
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_imap.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display a form for creating or editing an IMAP folder
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
our $imap_port;

Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_pop3.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display a form for creating or editing a POP3 folder
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
our $pop3_port;

Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_sig.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display the user's .signature file for editing
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/edit_virt.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Display a form for creating or editing a virtual folder
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/export.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Output the address book in some format
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, $remote_user);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/import.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Import addresses from a file
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/inbox_login.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Save inbox POP3 login and password
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %pop3);
our $user_module_config_directory;

Expand Down
2 changes: 2 additions & 0 deletions mailbox/inbox_login_error.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Let user update IMAP/POP3 login credentials
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
our ($remote_user, $remote_pass);

Expand Down
2 changes: 2 additions & 0 deletions mailbox/inbox_logout.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Clear inbox POP3 login and password
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %in;
our $user_module_config_directory;

Expand Down
2 changes: 2 additions & 0 deletions mailbox/index.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# List the mail messages for the user
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %userconfig, %config);
our ($remote_user, $remote_pass);
our $special_folder_id;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/list_addresses.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Display contents of the user's address book, and allowed and denied addresses
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %config, %userconfig);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/list_folders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Display a list of all folders and allows additional and deletion
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);
our %folder_types;
our $remote_user;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/list_ifolders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Display a list of IMAP folders, and allow addition and deletion
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in);

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/mail_search.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Find mail messages matching some pattern
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %userconfig);
our $search_folder_id;

Expand Down
2 changes: 2 additions & 0 deletions mailbox/mailbox-lib.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# mailbox-lib.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %config, %gconfig, %userconfig);
our $remote_user;
our @remote_user_info;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/newfolder.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Just re-directs to the appropriate folder creator
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %in;

require './mailbox-lib.pl';
Expand Down
2 changes: 2 additions & 0 deletions mailbox/print_mail.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Display a message for printing
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%text, %in, %userconfig);

our $trust_unknown_referers = 1;
Expand Down
2 changes: 2 additions & 0 deletions mailbox/quotacheck.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# error occurred
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';

use Net::LDAP;

Expand Down
Loading

0 comments on commit 6a87e51

Please sign in to comment.