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/web/inc/functions.dkim.inc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
functions.dkim.inc.php
on main
Author
Date
Commit
Line
Code
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1
<?php
<?php
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 2
andryyy
about 6 years ago
60da09c
[Web] Fix duplicating DKIM keys: Duplicated keys were invalid, fixes #3578
- Full commit hash
60da09c0dca5517eb8a510fc36e0529c34ead0c4- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 3
function dkim($_action, $_data = null, $privkey = false) {
function dkim($_action, $_data = null, $privkey = false) {
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 4
global $redis;
global $redis;
same change
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 5
global $lang;
global $lang;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 6
switch ($_action) {
switch ($_action) {
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 7
case 'add':
case 'add':
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 8
$key_length = intval($_data['key_size']);
$key_length = intval($_data['key_size']);
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 9
$dkim_selector = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : 'dkim';
$dkim_selector = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : 'dkim';
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 10
$domains = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['domains']));
$domains = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['domains']));
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 11
$domains = array_filter($domains);
$domains = array_filter($domains);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 12
foreach ($domains as $domain) {
foreach ($domains as $domain) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 13
if (!is_valid_domain_name($domain) || !is_numeric($key_length)) {
if (!is_valid_domain_name($domain) || !is_numeric($key_length)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 14
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 15
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 16
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 17
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 18
);
);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 19
continue;
continue;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 20
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 21
if ($redis->hGet('DKIM_PUB_KEYS', $domain)) {
if ($redis->hGet('DKIM_PUB_KEYS', $domain)) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 22
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 23
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 24
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 25
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 26
);
);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 27
continue;
continue;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 28
}
}
FreddleSpl0it
over 1 year ago
ba28223
[Web] allow dots in dkim selectors
- Full commit hash
ba282233ea06823e827d85fad014ff68e23854b5- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 29
if (!ctype_alnum(str_replace(['-', '_', '.'], '', $dkim_selector))) {
if (!ctype_alnum(str_replace(['-', '_', '.'], '', $dkim_selector))) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 30
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 31
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 32
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 33
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 34
);
);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 35
continue;
continue;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 36
}
}
Kristian Feldsam
almost 5 years ago
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 37
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 38
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 39
'type' => 'danger',
'type' => 'danger',
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 40
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 41
'msg' => array('access_denied', $domain)
'msg' => array('access_denied', $domain)
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 42
);
);
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 43
continue;
continue;
same change
c1dcb52
[Web] Add DKIM key when adding a domain or alias domain (#4254)
- Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 44
}
}
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 45
$config = array(
$config = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 46
"digest_alg" => "sha256",
"digest_alg" => "sha256",
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 47
"private_key_bits" => $key_length,
"private_key_bits" => $key_length,
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 48
"private_key_type" => OPENSSL_KEYTYPE_RSA,
"private_key_type" => OPENSSL_KEYTYPE_RSA,
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 49
);
);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 50
if ($keypair_ressource = openssl_pkey_new($config)) {
if ($keypair_ressource = openssl_pkey_new($config)) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 51
$key_details = openssl_pkey_get_details($keypair_ressource);
$key_details = openssl_pkey_get_details($keypair_ressource);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 52
$pubKey = implode(array_slice(
$pubKey = implode(array_slice(
andryyy
almost 6 years ago
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 53
array_filter(
array_filter(
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 54
explode(PHP_EOL, $key_details['key'])
explode(PHP_EOL, $key_details['key'])
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 55
), 1, -1)
), 1, -1)
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 56
);
);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 57
// Save public key and selector to redis
// Save public key and selector to redis
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 58
try {
try {
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 59
$redis->hSet('DKIM_PUB_KEYS', $domain, $pubKey);
$redis->hSet('DKIM_PUB_KEYS', $domain, $pubKey);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 60
$redis->hSet('DKIM_SELECTORS', $domain, $dkim_selector);
$redis->hSet('DKIM_SELECTORS', $domain, $dkim_selector);
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 61
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 62
catch (RedisException $e) {
catch (RedisException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 63
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 64
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 65
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 66
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 67
);
);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 68
continue;
continue;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 69
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 70
// Export private key and save private key to redis
// Export private key and save private key to redis
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 71
openssl_pkey_export($keypair_ressource, $privKey);
openssl_pkey_export($keypair_ressource, $privKey);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 72
if (isset($privKey) && !empty($privKey)) {
if (isset($privKey) && !empty($privKey)) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 73
try {
try {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 74
$redis->hSet('DKIM_PRIV_KEYS', $dkim_selector . '.' . $domain, trim($privKey));
$redis->hSet('DKIM_PRIV_KEYS', $dkim_selector . '.' . $domain, trim($privKey));
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 75
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 76
catch (RedisException $e) {
catch (RedisException $e) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 77
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 78
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 79
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 80
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 81
);
);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 82
continue;
continue;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 83
}
}
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 84
}
}
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 85
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 86
'type' => 'success',
'type' => 'success',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 87
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 88
'msg' => array('dkim_added', $domain)
'msg' => array('dkim_added', $domain)
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 89
);
);
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 90
}
}
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 91
else {
else {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 92
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 93
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 94
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 95
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 96
);
);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 97
continue;
continue;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 98
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 99
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 100
break;
break;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 101
case 'duplicate':
case 'duplicate':
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 102
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 103
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 104
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 105
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 106
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 107
);
);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 108
return false;
return false;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 109
}
}
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 110
$from_domain = $_data['from_domain'];
$from_domain = $_data['from_domain'];
andryyy
about 6 years ago
60da09c
[Web] Fix duplicating DKIM keys: Duplicated keys were invalid, fixes #3578
- Full commit hash
60da09c0dca5517eb8a510fc36e0529c34ead0c4- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 111
$from_domain_dkim = dkim('details', $from_domain, true);
$from_domain_dkim = dkim('details', $from_domain, true);
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 112
if (empty($from_domain_dkim)) {
if (empty($from_domain_dkim)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 113
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 114
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 115
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 116
'msg' => array('dkim_domain_or_sel_invalid', $from_domain)
'msg' => array('dkim_domain_or_sel_invalid', $from_domain)
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 117
);
);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 118
continue;
continue;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 119
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 120
$to_domains = (array)$_data['to_domain'];
$to_domains = (array)$_data['to_domain'];
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 121
$to_domains = array_filter($to_domains);
$to_domains = array_filter($to_domains);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 122
foreach ($to_domains as $to_domain) {
foreach ($to_domains as $to_domain) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 123
try {
try {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 124
$redis->hSet('DKIM_PUB_KEYS', $to_domain, $from_domain_dkim['pubkey']);
$redis->hSet('DKIM_PUB_KEYS', $to_domain, $from_domain_dkim['pubkey']);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 125
$redis->hSet('DKIM_SELECTORS', $to_domain, $from_domain_dkim['dkim_selector']);
$redis->hSet('DKIM_SELECTORS', $to_domain, $from_domain_dkim['dkim_selector']);
Patrik Kernstock
over 7 years ago
5dad2dd
[web] Duplicating DKIM key corrupts private key
- Full commit hash
5dad2dded1a0e6bc14867451f2393b3338ee04fd- Author
- Patrik Kernstock <[email protected]>
- Date
- over 7 years ago
- Selected line
- 126
$redis->hSet('DKIM_PRIV_KEYS', $from_domain_dkim['dkim_selector'] . '.' . $to_domain, base64_decode(trim($from_domain_dkim['privkey'])));
$redis->hSet('DKIM_PRIV_KEYS', $from_domain_dkim['dkim_selector'] . '.' . $to_domain, base64_decode(trim($from_domain_dkim['privkey'])));
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 127
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 128
catch (RedisException $e) {
catch (RedisException $e) {
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 129
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 130
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 131
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 132
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 133
);
);
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 134
continue;
continue;
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 135
}
}
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 136
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 137
'type' => 'success',
'type' => 'success',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 138
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 139
'msg' => array('dkim_duplicated', $from_domain, $to_domain)
'msg' => array('dkim_duplicated', $from_domain, $to_domain)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 140
);
);
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 141
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 142
break;
break;
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 143
case 'import':
case 'import':
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 144
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 145
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 146
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 147
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 148
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 149
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 150
return false;
return false;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 151
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 152
$private_key_input = trim($_data['private_key_file']);
$private_key_input = trim($_data['private_key_file']);
andryyy
almost 6 years ago
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 153
$overwrite_existing = intval($_data['overwrite_existing']);
$overwrite_existing = intval($_data['overwrite_existing']);
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 154
$private_key_normalized = preg_replace('~\r\n?~', "\n", $private_key_input);
$private_key_normalized = preg_replace('~\r\n?~', "\n", $private_key_input);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 155
$private_key = openssl_pkey_get_private($private_key_normalized);
$private_key = openssl_pkey_get_private($private_key_normalized);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 156
if ($ssl_error = openssl_error_string()) {
if ($ssl_error = openssl_error_string()) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 157
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 158
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 159
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 160
'msg' => array('private_key_error', $ssl_error)
'msg' => array('private_key_error', $ssl_error)
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 161
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 162
return false;
return false;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 163
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 164
// Explode by nl
// Explode by nl
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 165
$pem_public_key_array = explode(PHP_EOL, trim(openssl_pkey_get_details($private_key)['key']));
$pem_public_key_array = explode(PHP_EOL, trim(openssl_pkey_get_details($private_key)['key']));
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 166
// Remove first and last line/item
// Remove first and last line/item
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 167
array_shift($pem_public_key_array);
array_shift($pem_public_key_array);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 168
array_pop($pem_public_key_array);
array_pop($pem_public_key_array);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 169
// Implode as single string
// Implode as single string
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 170
$pem_public_key = implode('', (array)$pem_public_key_array);
$pem_public_key = implode('', (array)$pem_public_key_array);
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 171
$dkim_selector = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : 'dkim';
$dkim_selector = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : 'dkim';
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 172
$domain = $_data['domain'];
$domain = $_data['domain'];
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 173
if (!is_valid_domain_name($domain)) {
if (!is_valid_domain_name($domain)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 174
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 175
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 176
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 177
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 178
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 179
return false;
return false;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 180
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 181
if ($redis->hGet('DKIM_PUB_KEYS', $domain)) {
if ($redis->hGet('DKIM_PUB_KEYS', $domain)) {
andryyy
almost 6 years ago
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 182
if ($overwrite_existing == 0) {
if ($overwrite_existing == 0) {
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 183
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 184
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 185
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
andryyy
almost 6 years ago
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 186
'msg' => array('dkim_domain_or_sel_exists', $domain)
'msg' => array('dkim_domain_or_sel_exists', $domain)
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 187
);
);
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 188
return false;
return false;
same change
23f118a
[Web] Allow to overwrite DKIM keys while importing a new key
- Full commit hash
23f118a152ff4f0dd7b97c82a142ad8a6d0d6fe2- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 189
}
}
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 190
}
}
FreddleSpl0it
over 1 year ago
ba28223
[Web] allow dots in dkim selectors
- Full commit hash
ba282233ea06823e827d85fad014ff68e23854b5- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 191
if (!ctype_alnum(str_replace(['-', '_', '.'], '', $dkim_selector))) {
if (!ctype_alnum(str_replace(['-', '_', '.'], '', $dkim_selector))) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 192
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 193
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 194
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 195
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 196
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 197
return false;
return false;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 198
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 199
try {
try {
andryyy
about 4 years ago
7ae7f25
[Web] Re-use DKIM key if available
- Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468- Author
- andryyy <[email protected]>
- Date
- about 4 years ago
- Selected line
- 200
dkim('delete', array('domains' => $domain));
dkim('delete', array('domains' => $domain));
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 201
$redis->hSet('DKIM_PUB_KEYS', $domain, $pem_public_key);
$redis->hSet('DKIM_PUB_KEYS', $domain, $pem_public_key);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 202
$redis->hSet('DKIM_SELECTORS', $domain, $dkim_selector);
$redis->hSet('DKIM_SELECTORS', $domain, $dkim_selector);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 203
$redis->hSet('DKIM_PRIV_KEYS', $dkim_selector . '.' . $domain, $private_key_normalized);
$redis->hSet('DKIM_PRIV_KEYS', $dkim_selector . '.' . $domain, $private_key_normalized);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 204
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 205
catch (RedisException $e) {
catch (RedisException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 206
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 207
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 208
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 209
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 210
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 211
return false;
return false;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 212
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 213
unset($private_key_normalized);
unset($private_key_normalized);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 214
unset($private_key);
unset($private_key);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 215
unset($private_key_input);
unset($private_key_input);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 216
try {
try {
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 217
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 218
catch (RedisException $e) {
catch (RedisException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 219
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 220
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 221
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 222
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 223
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 224
return false;
return false;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 225
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 226
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 227
'type' => 'success',
'type' => 'success',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 228
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
d64a894
[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)
- Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 229
'msg' => array('dkim_added', $domain)
'msg' => array('dkim_added', $domain)
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 230
);
);
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 231
return true;
return true;
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 232
break;
break;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 233
case 'details':
case 'details':
andryyy
over 7 years ago
2b7aa20
[Web] Fix details for blind DKIM keys
- Full commit hash
2b7aa206e4ea61326b92383abbae126cf3221f54- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 234
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data) && $_SESSION['mailcow_cc_role'] != "admin") {
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data) && $_SESSION['mailcow_cc_role'] != "admin") {
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 235
return false;
return false;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 236
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 237
$dkimdata = array();
$dkimdata = array();
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 238
if ($redis_dkim_key_data = $redis->hGet('DKIM_PUB_KEYS', $_data)) {
if ($redis_dkim_key_data = $redis->hGet('DKIM_PUB_KEYS', $_data)) {
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 239
$dkimdata['pubkey'] = $redis_dkim_key_data;
$dkimdata['pubkey'] = $redis_dkim_key_data;
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 240
if (strlen($dkimdata['pubkey']) < 391) {
if (strlen($dkimdata['pubkey']) < 391) {
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 241
$dkimdata['length'] = "1024";
$dkimdata['length'] = "1024";
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 242
}
}
Marvin A. Ruder
over 1 year ago
062539b
dkim: Add support for 3072 and 4096 bit RSA keys (#6365)
- Full commit hash
062539b7d7ba3dcb883816ceb888c4f082a18364- Author
- Marvin A. Ruder <[email protected]>
- Date
- over 1 year ago
- Selected line
- 243
elseif (strlen($dkimdata['pubkey']) < 564) {
elseif (strlen($dkimdata['pubkey']) < 564) {
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 244
$dkimdata['length'] = "2048";
$dkimdata['length'] = "2048";
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 245
}
}
Marvin A. Ruder
over 1 year ago
062539b
dkim: Add support for 3072 and 4096 bit RSA keys (#6365)
- Full commit hash
062539b7d7ba3dcb883816ceb888c4f082a18364- Author
- Marvin A. Ruder <[email protected]>
- Date
- over 1 year ago
- Selected line
- 246
elseif (strlen($dkimdata['pubkey']) < 736) {
elseif (strlen($dkimdata['pubkey']) < 736) {
same change
062539b
dkim: Add support for 3072 and 4096 bit RSA keys (#6365)
- Full commit hash
062539b7d7ba3dcb883816ceb888c4f082a18364- Author
- Marvin A. Ruder <[email protected]>
- Date
- over 1 year ago
- Selected line
- 247
$dkimdata['length'] = "3072";
$dkimdata['length'] = "3072";
same change
062539b
dkim: Add support for 3072 and 4096 bit RSA keys (#6365)
- Full commit hash
062539b7d7ba3dcb883816ceb888c4f082a18364- Author
- Marvin A. Ruder <[email protected]>
- Date
- over 1 year ago
- Selected line
- 248
}
}
andryyy
about 9 years ago
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 249
elseif (strlen($dkimdata['pubkey']) < 1416) {
elseif (strlen($dkimdata['pubkey']) < 1416) {
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 250
$dkimdata['length'] = "4096";
$dkimdata['length'] = "4096";
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 251
}
}
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 252
else {
else {
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 253
$dkimdata['length'] = ">= 8192";
$dkimdata['length'] = ">= 8192";
same change
744784c
[UI] Initial: Import private keys for DKIM/ARC
- Full commit hash
744784cb62d0c3bcf0341db9ef70f779dded35ed- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 254
}
}
andryyy
over 6 years ago
1e9c5ba
[Web] Allow to split DKIM every 255 chars via vars.inc.php (fixes #3473)
- Full commit hash
1e9c5baab5037bb32ab0459ad3d5ff538df29336- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 255
if ($GLOBALS['SPLIT_DKIM_255'] === true) {
if ($GLOBALS['SPLIT_DKIM_255'] === true) {
same change
1e9c5ba
[Web] Allow to split DKIM every 255 chars via vars.inc.php (fixes #3473)
- Full commit hash
1e9c5baab5037bb32ab0459ad3d5ff538df29336- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 256
$dkim_txt_tmp = str_split('v=DKIM1;k=rsa;t=s;s=email;p=' . $redis_dkim_key_data, 255);
$dkim_txt_tmp = str_split('v=DKIM1;k=rsa;t=s;s=email;p=' . $redis_dkim_key_data, 255);
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 257
$dkimdata['dkim_txt'] = sprintf('"%s"', implode('" "', (array)$dkim_txt_tmp ) );
$dkimdata['dkim_txt'] = sprintf('"%s"', implode('" "', (array)$dkim_txt_tmp ) );
andryyy
over 6 years ago
1e9c5ba
[Web] Allow to split DKIM every 255 chars via vars.inc.php (fixes #3473)
- Full commit hash
1e9c5baab5037bb32ab0459ad3d5ff538df29336- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 258
}
}
same change
1e9c5ba
[Web] Allow to split DKIM every 255 chars via vars.inc.php (fixes #3473)
- Full commit hash
1e9c5baab5037bb32ab0459ad3d5ff538df29336- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 259
else {
else {
same change
1e9c5ba
[Web] Allow to split DKIM every 255 chars via vars.inc.php (fixes #3473)
- Full commit hash
1e9c5baab5037bb32ab0459ad3d5ff538df29336- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 260
$dkimdata['dkim_txt'] = 'v=DKIM1;k=rsa;t=s;s=email;p=' . $redis_dkim_key_data;
$dkimdata['dkim_txt'] = 'v=DKIM1;k=rsa;t=s;s=email;p=' . $redis_dkim_key_data;
same change
1e9c5ba
[Web] Allow to split DKIM every 255 chars via vars.inc.php (fixes #3473)
- Full commit hash
1e9c5baab5037bb32ab0459ad3d5ff538df29336- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 261
}
}
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 262
$dkimdata['dkim_selector'] = $redis->hGet('DKIM_SELECTORS', $_data);
$dkimdata['dkim_selector'] = $redis->hGet('DKIM_SELECTORS', $_data);
andryyy
about 6 years ago
60da09c
[Web] Fix duplicating DKIM keys: Duplicated keys were invalid, fixes #3578
- Full commit hash
60da09c0dca5517eb8a510fc36e0529c34ead0c4- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 263
if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] || $privkey == true) {
if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] || $privkey == true) {
andryyy
over 6 years ago
e47e54f
[Web] Add more map types soon; Do not expose private key via API if hidden in vars (fixes #3231)
- Full commit hash
e47e54f3de1fadb93fe3ee76f153f2bfba661994- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 264
$dkimdata['privkey'] = base64_encode($redis->hGet('DKIM_PRIV_KEYS', $dkimdata['dkim_selector'] . '.' . $_data));
$dkimdata['privkey'] = base64_encode($redis->hGet('DKIM_PRIV_KEYS', $dkimdata['dkim_selector'] . '.' . $_data));
same change
e47e54f
[Web] Add more map types soon; Do not expose private key via API if hidden in vars (fixes #3231)
- Full commit hash
e47e54f3de1fadb93fe3ee76f153f2bfba661994- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 265
}
}
same change
e47e54f
[Web] Add more map types soon; Do not expose private key via API if hidden in vars (fixes #3231)
- Full commit hash
e47e54f3de1fadb93fe3ee76f153f2bfba661994- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 266
else {
else {
same change
e47e54f
[Web] Add more map types soon; Do not expose private key via API if hidden in vars (fixes #3231)
- Full commit hash
e47e54f3de1fadb93fe3ee76f153f2bfba661994- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 267
$dkimdata['privkey'] = '';
$dkimdata['privkey'] = '';
same change
e47e54f
[Web] Add more map types soon; Do not expose private key via API if hidden in vars (fixes #3231)
- Full commit hash
e47e54f3de1fadb93fe3ee76f153f2bfba661994- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 268
}
}
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 269
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 270
return $dkimdata;
return $dkimdata;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 271
break;
break;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 272
case 'blind':
case 'blind':
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 273
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 274
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 275
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 276
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 277
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 278
);
);
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 279
return false;
return false;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 280
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 281
$blinddkim = array();
$blinddkim = array();
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 282
foreach ($redis->hKeys('DKIM_PUB_KEYS') as $redis_dkim_domain) {
foreach ($redis->hKeys('DKIM_PUB_KEYS') as $redis_dkim_domain) {
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 283
$blinddkim[] = $redis_dkim_domain;
$blinddkim[] = $redis_dkim_domain;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 284
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 285
return array_diff($blinddkim, array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains')));
return array_diff($blinddkim, array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains')));
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 286
break;
break;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 287
case 'delete':
case 'delete':
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 288
$domains = (array)$_data['domains'];
$domains = (array)$_data['domains'];
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 289
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 290
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 291
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 292
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 293
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 294
);
);
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 295
return false;
return false;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 296
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 297
foreach ($domains as $domain) {
foreach ($domains as $domain) {
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 298
if (!is_valid_domain_name($domain)) {
if (!is_valid_domain_name($domain)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 299
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 300
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 301
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 302
'msg' => array('dkim_domain_or_sel_invalid', $domain)
'msg' => array('dkim_domain_or_sel_invalid', $domain)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 303
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 304
continue;
continue;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 305
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 306
try {
try {
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 307
$selector = $redis->hGet('DKIM_SELECTORS', $domain);
$selector = $redis->hGet('DKIM_SELECTORS', $domain);
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 308
$redis->hDel('DKIM_PUB_KEYS', $domain);
$redis->hDel('DKIM_PUB_KEYS', $domain);
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 309
$redis->hDel('DKIM_PRIV_KEYS', $selector . '.' . $domain);
$redis->hDel('DKIM_PRIV_KEYS', $selector . '.' . $domain);
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 310
$redis->hDel('DKIM_SELECTORS', $domain);
$redis->hDel('DKIM_SELECTORS', $domain);
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 311
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 312
catch (RedisException $e) {
catch (RedisException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 313
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 314
'type' => 'danger',
'type' => 'danger',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 315
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 316
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 317
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 318
continue;
continue;
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 319
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 320
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 321
'type' => 'success',
'type' => 'success',
andryyy
over 5 years ago
5ea649b
[Web] Feature: Add password policy
- Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 322
'log' => array(__FUNCTION__, $_action, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 323
'msg' => array('dkim_removed', htmlspecialchars($domain))
'msg' => array('dkim_removed', htmlspecialchars($domain))
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 324
);
);
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 325
}
}
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 326
break;
break;
same change
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 327
}
}
Patrik Kernstock
over 7 years ago
5dad2dd
[web] Duplicating DKIM key corrupts private key
- Full commit hash
5dad2dded1a0e6bc14867451f2393b3338ee04fd- Author
- Patrik Kernstock <[email protected]>
- Date
- over 7 years ago
- Selected line
- 328
}
}