public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/Dockerfiles/dovecot/imapsync_runner.pl
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
imapsync_runner.pl
on main
Author
Date
Commit
Line
Code
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1
#!/usr/bin/perl
#!/usr/bin/perl
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 2
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 3
use DBI;
use DBI;
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 4
use LockFile::Simple qw(lock trylock unlock);
use LockFile::Simple qw(lock trylock unlock);
andryyy
almost 9 years ago
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 5
use Proc::ProcessTable;
use Proc::ProcessTable;
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 6
use Data::Dumper qw(Dumper);
use Data::Dumper qw(Dumper);
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 7
use IPC::Run 'run';
use IPC::Run 'run';
Markus Frosch
about 9 years ago
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 8
use File::Temp;
use File::Temp;
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 9
use Try::Tiny;
use Try::Tiny;
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 10
use sigtrap 'handler' => \&sig_handler, qw(INT TERM KILL QUIT);
use sigtrap 'handler' => \&sig_handler, qw(INT TERM KILL QUIT);
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 11
André Peters
about 7 years ago
081feca
Replacing trim by function
- Full commit hash
081feca893ec54988d7413e2e062a4b1d90e82ab- Author
- André Peters <[email protected]>
- Date
- about 7 years ago
- Selected line
- 12
sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
andryyy
almost 9 years ago
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 13
my $t = Proc::ProcessTable->new;
my $t = Proc::ProcessTable->new;
andryyy
over 6 years ago
701198b
[Dovecot] Fix check to determine running imapsync procs, todo: more jobs at the same time
- Full commit hash
701198b8f402370e4f65c02d785dd49faecab2b3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 14
my $imapsync_running = grep { $_->{cmndline} =~ /imapsync\s/i } @{$t->table};
my $imapsync_running = grep { $_->{cmndline} =~ /imapsync\s/i } @{$t->table};
andryyy
over 6 years ago
632d1ca
[Dovecot] Fix imapsync_cron
- Full commit hash
632d1cabb3e2e59b423352802d59684ed94ea6e3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 15
if ($imapsync_running ge 1)
if ($imapsync_running ge 1)
andryyy
almost 9 years ago
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 16
{
{
same change
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 17
print "imapsync is active, exiting...";
print "imapsync is active, exiting...";
same change
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 18
exit;
exit;
same change
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 19
}
}
same change
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 20
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 21
sub qqw($) {
sub qqw($) {
hunter-nl
about 7 years ago
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 22
my @params = ();
my @params = ();
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 23
my @values = split(/(?=--)/, $_[0]);
my @values = split(/(?=--)/, $_[0]);
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 24
foreach my $val (@values) {
foreach my $val (@values) {
hunter-nl
about 7 years ago
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 25
my @tmpparam = split(/ /, $val, 2);
my @tmpparam = split(/ /, $val, 2);
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 26
foreach my $tmpval (@tmpparam) {
foreach my $tmpval (@tmpparam) {
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 27
if ($tmpval ne '') {
if ($tmpval ne '') {
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 28
push @params, $tmpval;
push @params, $tmpval;
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 29
}
}
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 30
}
}
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 31
}
}
same change
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 32
foreach my $val (@params) {
foreach my $val (@params) {
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 33
$val=trim($val);
$val=trim($val);
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 34
}
}
hunter-nl
about 7 years ago
d32f3e9
Fix processing imapsync custom parameters
- Full commit hash
d32f3e9d16478ff341f7101ed864efc604b85fac- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 35
return @params;
return @params;
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 36
}
}
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 37
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 38
$run_dir="/tmp";
$run_dir="/tmp";
andryyy
over 5 years ago
971434d
[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)
- Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 39
$dsn = 'DBI:mysql:database=' . $ENV{'DBNAME'} . ';mysql_socket=/var/run/mysqld/mysqld.sock';
$dsn = 'DBI:mysql:database=' . $ENV{'DBNAME'} . ';mysql_socket=/var/run/mysqld/mysqld.sock';
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 40
$lock_file = $run_dir . "/imapsync_busy";
$lock_file = $run_dir . "/imapsync_busy";
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 41
$lockmgr = LockFile::Simple->make(-autoclean => 1, -max => 1);
$lockmgr = LockFile::Simple->make(-autoclean => 1, -max => 1);
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 42
$lockmgr->lock($lock_file) || die "can't lock ${lock_file}";
$lockmgr->lock($lock_file) || die "can't lock ${lock_file}";
andryyy
over 5 years ago
971434d
[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)
- Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 43
$dbh = DBI->connect($dsn, $ENV{'DBUSER'}, $ENV{'DBPASS'}, {
$dbh = DBI->connect($dsn, $ENV{'DBUSER'}, $ENV{'DBPASS'}, {
andryyy
almost 9 years ago
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 44
mysql_auto_reconnect => 1,
mysql_auto_reconnect => 1,
same change
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 45
mysql_enable_utf8mb4 => 1
mysql_enable_utf8mb4 => 1
same change
c748443
[Dovecot] Remove master.pid if not running; Check for active imapsync besides lock file; Reconnect MySQL connection in imapsync_cron.pl
- Full commit hash
c7484434ddf96b212c4ec7df912260a07317bb44- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 46
});
});
andryyy
over 6 years ago
632d1ca
[Dovecot] Fix imapsync_cron
- Full commit hash
632d1cabb3e2e59b423352802d59684ed94ea6e3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 47
$dbh->do("UPDATE imapsync SET is_running = 0");
$dbh->do("UPDATE imapsync SET is_running = 0");
same change
632d1ca
[Dovecot] Fix imapsync_cron
- Full commit hash
632d1cabb3e2e59b423352802d59684ed94ea6e3- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 48
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 49
sub sig_handler {
sub sig_handler {
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 50
# Send die to force exception in "run"
# Send die to force exception in "run"
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 51
die "sig_handler received signal, preparing to exit...\n";
die "sig_handler received signal, preparing to exit...\n";
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 52
};
};
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 53
Kristian Feldsam
over 3 years ago
802d304
Revert "[Dovecot] Disable imapsync job, when auth details are wrong. Fixes #4276 (#4540)" Closes #4711
- Full commit hash
802d304579168bd5c66e057b237608d0067786e5- Author
- Kristian Feldsam <[email protected]>
- Date
- over 3 years ago
- Selected line
- 54
open my $file, '<', "/etc/sogo/sieve.creds";
open my $file, '<', "/etc/sogo/sieve.creds";
same change
802d304
Revert "[Dovecot] Disable imapsync job, when auth details are wrong. Fixes #4276 (#4540)" Closes #4711
- Full commit hash
802d304579168bd5c66e057b237608d0067786e5- Author
- Kristian Feldsam <[email protected]>
- Date
- over 3 years ago
- Selected line
- 55
my $creds = <$file>;
my $creds = <$file>;
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 56
close $file;
close $file;
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 57
my ($master_user, $master_pass) = split /:/, $creds;
my ($master_user, $master_pass) = split /:/, $creds;
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 58
my $sth = $dbh->prepare("SELECT id,
my $sth = $dbh->prepare("SELECT id,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 59
user1,
user1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 60
user2,
user2,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 61
host1,
host1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 62
authmech1,
authmech1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 63
password1,
password1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 64
exclude,
exclude,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 65
port1,
port1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 66
enc1,
enc1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 67
delete2duplicates,
delete2duplicates,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 68
maxage,
maxage,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 69
subfolder2,
subfolder2,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 70
delete1,
delete1,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 71
delete2,
delete2,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 72
automap,
automap,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 73
skipcrossduplicates,
skipcrossduplicates,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 74
maxbytespersecond,
maxbytespersecond,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 75
custom_params,
custom_params,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 76
subscribeall,
subscribeall,
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 77
timeout1,
timeout1,
DerLinkman
over 2 years ago
547d2ca
Add Dry Mode Option for ImapSyncs (Button)
- Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 78
timeout2,
timeout2,
same change
547d2ca
Add Dry Mode Option for ImapSyncs (Button)
- Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 79
dry
dry
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 80
FROM imapsync
FROM imapsync
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 81
WHERE active = 1
WHERE active = 1
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 82
AND is_running = 0
AND is_running = 0
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 83
AND (
AND (
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 84
UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(last_run) > mins_interval * 60
UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(last_run) > mins_interval * 60
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 85
OR
OR
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 86
last_run IS NULL)
last_run IS NULL)
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 87
ORDER BY last_run");
ORDER BY last_run");
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 88
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 89
$sth->execute();
$sth->execute();
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 90
my $row;
my $row;
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 91
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 92
while ($row = $sth->fetchrow_arrayref()) {
while ($row = $sth->fetchrow_arrayref()) {
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 93
andre.peters
over 8 years ago
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 94
$id = @$row[0];
$id = @$row[0];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 95
$user1 = @$row[1];
$user1 = @$row[1];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 96
$user2 = @$row[2];
$user2 = @$row[2];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 97
$host1 = @$row[3];
$host1 = @$row[3];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 98
$authmech1 = @$row[4];
$authmech1 = @$row[4];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 99
$password1 = @$row[5];
$password1 = @$row[5];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 100
$exclude = @$row[6];
$exclude = @$row[6];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 101
$port1 = @$row[7];
$port1 = @$row[7];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 102
$enc1 = @$row[8];
$enc1 = @$row[8];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 103
$delete2duplicates = @$row[9];
$delete2duplicates = @$row[9];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 104
$maxage = @$row[10];
$maxage = @$row[10];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 105
$subfolder2 = @$row[11];
$subfolder2 = @$row[11];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 106
$delete1 = @$row[12];
$delete1 = @$row[12];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 107
$delete2 = @$row[13];
$delete2 = @$row[13];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 108
$automap = @$row[14];
$automap = @$row[14];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 109
$skipcrossduplicates = @$row[15];
$skipcrossduplicates = @$row[15];
same change
04f9d74
[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955
- Full commit hash
04f9d7433917046343228293e78ce202035c6551- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 110
$maxbytespersecond = @$row[16];
$maxbytespersecond = @$row[16];
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 111
$custom_params = @$row[17];
$custom_params = @$row[17];
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 112
$subscribeall = @$row[18];
$subscribeall = @$row[18];
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 113
$timeout1 = @$row[19];
$timeout1 = @$row[19];
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 114
$timeout2 = @$row[20];
$timeout2 = @$row[20];
DerLinkman
over 2 years ago
547d2ca
Add Dry Mode Option for ImapSyncs (Button)
- Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 115
$dry = @$row[21];
$dry = @$row[21];
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 116
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 117
if ($enc1 eq "TLS") { $enc1 = "--tls1"; } elsif ($enc1 eq "SSL") { $enc1 = "--ssl1"; } else { undef $enc1; }
if ($enc1 eq "TLS") { $enc1 = "--tls1"; } elsif ($enc1 eq "SSL") { $enc1 = "--ssl1"; } else { undef $enc1; }
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 118
Markus Frosch
about 9 years ago
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 119
my $template = $run_dir . '/imapsync.XXXXXXX';
my $template = $run_dir . '/imapsync.XXXXXXX';
same change
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 120
my $passfile1 = File::Temp->new(TEMPLATE => $template);
my $passfile1 = File::Temp->new(TEMPLATE => $template);
same change
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 121
my $passfile2 = File::Temp->new(TEMPLATE => $template);
my $passfile2 = File::Temp->new(TEMPLATE => $template);
Quiwy
over 2 years ago
46b995f
fix: support utf-8 in password synchronization
- Full commit hash
46b995f9e3c09bca82a8de60a6adac6df233d0db- Author
- Quiwy <[email protected]>
- Date
- over 2 years ago
- Selected line
- 122
same change
46b995f
fix: support utf-8 in password synchronization
- Full commit hash
46b995f9e3c09bca82a8de60a6adac6df233d0db- Author
- Quiwy <[email protected]>
- Date
- over 2 years ago
- Selected line
- 123
binmode( $passfile1, ":utf8" );
binmode( $passfile1, ":utf8" );
same change
46b995f
fix: support utf-8 in password synchronization
- Full commit hash
46b995f9e3c09bca82a8de60a6adac6df233d0db- Author
- Quiwy <[email protected]>
- Date
- over 2 years ago
- Selected line
- 124
Markus Frosch
about 9 years ago
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 125
print $passfile1 "$password1\n";
print $passfile1 "$password1\n";
same change
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 126
print $passfile2 trim($master_pass) . "\n";
print $passfile2 trim($master_pass) . "\n";
same change
4be67cc
dovecot/imapsync_cron: Use passfiles to hide passwords from ps
- Full commit hash
4be67ccd6410e3ee697fce1a5e50b471c55b65fe- Author
- Markus Frosch <[email protected]>
- Date
- about 9 years ago
- Selected line
- 127
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 128
my @custom_params_a = qqw($custom_params);
my @custom_params_a = qqw($custom_params);
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 129
my $custom_params_ref = \@custom_params_a;
my $custom_params_ref = \@custom_params_a;
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 130
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 131
my $generated_cmds = [ "/usr/local/bin/imapsync",
my $generated_cmds = [ "/usr/local/bin/imapsync",
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 132
"--tmpdir", "/tmp",
"--tmpdir", "/tmp",
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 133
"--nofoldersizes",
"--nofoldersizes",
andryyy
over 5 years ago
84ba784
[Dovecot] Set --addheader by default, fixes #4025
- Full commit hash
84ba784550eb074a6febbd3ab1c4553210d61095- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 134
"--addheader",
"--addheader",
Paul Sütterlin
11 months ago
53c3549
fix: imapsync gets correct timeouts
- Full commit hash
53c35493a5c673968db35e8eb47463f673cfe3c0- Author
- Paul Sütterlin <[email protected]>
- Date
- 11 months ago
- Selected line
- 135
($timeout1 le "0" ? () : ('--timeout1', $timeout1)),
($timeout1 le "0" ? () : ('--timeout1', $timeout1)),
same change
53c3549
fix: imapsync gets correct timeouts
- Full commit hash
53c35493a5c673968db35e8eb47463f673cfe3c0- Author
- Paul Sütterlin <[email protected]>
- Date
- 11 months ago
- Selected line
- 136
($timeout2 le "0" ? () : ('--timeout2', $timeout2)),
($timeout2 le "0" ? () : ('--timeout2', $timeout2)),
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 137
($exclude eq "" ? () : ("--exclude", $exclude)),
($exclude eq "" ? () : ("--exclude", $exclude)),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 138
($subfolder2 eq "" ? () : ('--subfolder2', $subfolder2)),
($subfolder2 eq "" ? () : ('--subfolder2', $subfolder2)),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 139
($maxage eq "0" ? () : ('--maxage', $maxage)),
($maxage eq "0" ? () : ('--maxage', $maxage)),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 140
($maxbytespersecond eq "0" ? () : ('--maxbytespersecond', $maxbytespersecond)),
($maxbytespersecond eq "0" ? () : ('--maxbytespersecond', $maxbytespersecond)),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 141
($delete2duplicates ne "1" ? () : ('--delete2duplicates')),
($delete2duplicates ne "1" ? () : ('--delete2duplicates')),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 142
($subscribeall ne "1" ? () : ('--subscribeall')),
($subscribeall ne "1" ? () : ('--subscribeall')),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 143
($delete1 ne "1" ? () : ('--delete')),
($delete1 ne "1" ? () : ('--delete')),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 144
($delete2 ne "1" ? () : ('--delete2')),
($delete2 ne "1" ? () : ('--delete2')),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 145
($automap ne "1" ? () : ('--automap')),
($automap ne "1" ? () : ('--automap')),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 146
($skipcrossduplicates ne "1" ? () : ('--skipcrossduplicates')),
($skipcrossduplicates ne "1" ? () : ('--skipcrossduplicates')),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 147
(!defined($enc1) ? () : ($enc1)),
(!defined($enc1) ? () : ($enc1)),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 148
"--host1", $host1,
"--host1", $host1,
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 149
"--user1", $user1,
"--user1", $user1,
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 150
"--passfile1", $passfile1->filename,
"--passfile1", $passfile1->filename,
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 151
"--port1", $port1,
"--port1", $port1,
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 152
"--host2", "localhost",
"--host2", "localhost",
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 153
"--user2", $user2 . '*' . trim($master_user),
"--user2", $user2 . '*' . trim($master_user),
same change
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 154
"--passfile2", $passfile2->filename,
"--passfile2", $passfile2->filename,
DerLinkman
over 2 years ago
547d2ca
Add Dry Mode Option for ImapSyncs (Button)
- Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 155
($dry eq "1" ? ('--dry') : ()),
($dry eq "1" ? ('--dry') : ()),
hunter-nl
about 7 years ago
4ebc871
Added noreleasecheck parameter
- Full commit hash
4ebc871966e29b311d2c6a55e0057a84920980ad- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 156
'--no-modulesversion',
'--no-modulesversion',
same change
4ebc871
Added noreleasecheck parameter
- Full commit hash
4ebc871966e29b311d2c6a55e0057a84920980ad- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 157
'--noreleasecheck'];
'--noreleasecheck'];
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 158
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 159
try {
try {
Kristian Feldsam
almost 5 years ago
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 160
$is_running = $dbh->prepare("UPDATE imapsync SET is_running = 1, success = NULL, exit_status = NULL WHERE id = ?");
$is_running = $dbh->prepare("UPDATE imapsync SET is_running = 1, success = NULL, exit_status = NULL WHERE id = ?");
hunter-nl
about 7 years ago
b7b5327
Moved set "is_running" status
- Full commit hash
b7b532768cd96ac7496bdbae99fbb29c23da1bc0- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 161
$is_running->bind_param( 1, ${id} );
$is_running->bind_param( 1, ${id} );
same change
b7b5327
Moved set "is_running" status
- Full commit hash
b7b532768cd96ac7496bdbae99fbb29c23da1bc0- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 162
$is_running->execute();
$is_running->execute();
Kristian Feldsam
almost 5 years ago
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 163
andryyy
about 7 years ago
189ea89
[Dovecot] Revert to previous imapsync cron script
- Full commit hash
189ea89a7189a0fc3e20601e52254b563014f8ae- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 164
run [@$generated_cmds, @$custom_params_ref], '&>', \my $stdout;
run [@$generated_cmds, @$custom_params_ref], '&>', \my $stdout;
Kristian Feldsam
almost 5 years ago
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 165
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 166
# check exit code and status
# check exit code and status
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 167
($exit_code, $exit_status) = ($stdout =~ m/Exiting\swith\sreturn\svalue\s(\d+)\s\(([^:)]+)/);
($exit_code, $exit_status) = ($stdout =~ m/Exiting\swith\sreturn\svalue\s(\d+)\s\(([^:)]+)/);
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 168
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 169
$success = 0;
$success = 0;
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 170
if (defined $exit_code && $exit_code == 0) {
if (defined $exit_code && $exit_code == 0) {
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 171
$success = 1;
$success = 1;
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 172
}
}
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 173
Kristian Feldsam
over 3 years ago
802d304
Revert "[Dovecot] Disable imapsync job, when auth details are wrong. Fixes #4276 (#4540)" Closes #4711
- Full commit hash
802d304579168bd5c66e057b237608d0067786e5- Author
- Kristian Feldsam <[email protected]>
- Date
- over 3 years ago
- Selected line
- 174
$update = $dbh->prepare("UPDATE imapsync SET returned_text = ?, success = ?, exit_status = ? WHERE id = ?");
$update = $dbh->prepare("UPDATE imapsync SET returned_text = ?, success = ?, exit_status = ? WHERE id = ?");
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 175
$update->bind_param( 1, ${stdout} );
$update->bind_param( 1, ${stdout} );
Kristian Feldsam
almost 5 years ago
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 176
$update->bind_param( 2, ${success} );
$update->bind_param( 2, ${success} );
same change
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 177
$update->bind_param( 3, ${exit_status} );
$update->bind_param( 3, ${exit_status} );
Kristian Feldsam
over 3 years ago
802d304
Revert "[Dovecot] Disable imapsync job, when auth details are wrong. Fixes #4276 (#4540)" Closes #4711
- Full commit hash
802d304579168bd5c66e057b237608d0067786e5- Author
- Kristian Feldsam <[email protected]>
- Date
- over 3 years ago
- Selected line
- 178
$update->bind_param( 4, ${id} );
$update->bind_param( 4, ${id} );
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 179
$update->execute();
$update->execute();
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 180
} catch {
} catch {
Kristian Feldsam
almost 5 years ago
54c4d7e
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
- Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 181
$update = $dbh->prepare("UPDATE imapsync SET returned_text = 'Could not start or finish imapsync', success = 0 WHERE id = ?");
$update = $dbh->prepare("UPDATE imapsync SET returned_text = 'Could not start or finish imapsync', success = 0 WHERE id = ?");
hunter-nl
about 7 years ago
54a039f
Fix: Processing result of running imapsync command
- Full commit hash
54a039fbd102e8df9ebf8a35925a1ab807973cb7- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 182
$update->bind_param( 1, ${id} );
$update->bind_param( 1, ${id} );
same change
54a039f
Fix: Processing result of running imapsync command
- Full commit hash
54a039fbd102e8df9ebf8a35925a1ab807973cb7- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 183
$update->execute();
$update->execute();
same change
54a039f
Fix: Processing result of running imapsync command
- Full commit hash
54a039fbd102e8df9ebf8a35925a1ab807973cb7- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 184
} finally {
} finally {
same change
54a039f
Fix: Processing result of running imapsync command
- Full commit hash
54a039fbd102e8df9ebf8a35925a1ab807973cb7- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 185
$update = $dbh->prepare("UPDATE imapsync SET last_run = NOW(), is_running = 0 WHERE id = ?");
$update = $dbh->prepare("UPDATE imapsync SET last_run = NOW(), is_running = 0 WHERE id = ?");
André
almost 8 years ago
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 186
$update->bind_param( 1, ${id} );
$update->bind_param( 1, ${id} );
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 187
$update->execute();
$update->execute();
same change
1115b82
[Dovecot] Various fixes for imapsync_cron, new imapsync version
- Full commit hash
1115b826f9c60da166dd2c1fabd23c8fb950d963- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 188
};
};
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 189
hunter-nl
about 7 years ago
54a039f
Fix: Processing result of running imapsync command
- Full commit hash
54a039fbd102e8df9ebf8a35925a1ab807973cb7- Author
- hunter-nl <[email protected]>
- Date
- about 7 years ago
- Selected line
- 190
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 191
}
}
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 192
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 193
$sth->finish();
$sth->finish();
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 194
$dbh->disconnect();
$dbh->disconnect();
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 195
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 196
$lockmgr->unlock($lock_file);
$lockmgr->unlock($lock_file);