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/conf/phpfpm/crons/keycloak-sync.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
keycloak-sync.php
on main
Author
Date
Commit
Line
Code
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 1
<?php
<?php
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 3
require_once(__DIR__ . '/../web/inc/vars.inc.php');
require_once(__DIR__ . '/../web/inc/vars.inc.php');
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 4
if (file_exists(__DIR__ . '/../web/inc/vars.local.inc.php')) {
if (file_exists(__DIR__ . '/../web/inc/vars.local.inc.php')) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 5
include_once(__DIR__ . '/../web/inc/vars.local.inc.php');
include_once(__DIR__ . '/../web/inc/vars.local.inc.php');
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 6
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 7
require_once __DIR__ . '/../web/inc/lib/vendor/autoload.php';
require_once __DIR__ . '/../web/inc/lib/vendor/autoload.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 8
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 9
// Init database
// Init database
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 10
//$dsn = $database_type . ':host=' . $database_host . ';dbname=' . $database_name;
//$dsn = $database_type . ':host=' . $database_host . ';dbname=' . $database_name;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 11
$dsn = $database_type . ":unix_socket=" . $database_sock . ";dbname=" . $database_name;
$dsn = $database_type . ":unix_socket=" . $database_sock . ";dbname=" . $database_name;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 12
$opt = [
$opt = [
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 13
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 14
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 15
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_EMULATE_PREPARES => false,
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 16
];
];
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 17
try {
try {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 18
$pdo = new PDO($dsn, $database_user, $database_pass, $opt);
$pdo = new PDO($dsn, $database_user, $database_pass, $opt);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 19
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 20
catch (PDOException $e) {
catch (PDOException $e) {
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 21
logMsg("err", $e->getMessage());
logMsg("err", $e->getMessage());
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 22
session_destroy();
session_destroy();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 23
exit;
exit;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 24
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 25
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 26
// Init Redis
// Init Redis
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 27
$redis = new Redis();
$redis = new Redis();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 28
try {
try {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 29
if (!empty(getenv('REDIS_SLAVEOF_IP'))) {
if (!empty(getenv('REDIS_SLAVEOF_IP'))) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 30
$redis->connect(getenv('REDIS_SLAVEOF_IP'), getenv('REDIS_SLAVEOF_PORT'));
$redis->connect(getenv('REDIS_SLAVEOF_IP'), getenv('REDIS_SLAVEOF_PORT'));
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 31
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 32
else {
else {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 33
$redis->connect('redis-mailcow', 6379);
$redis->connect('redis-mailcow', 6379);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 34
}
}
FreddleSpl0it
over 1 year ago
69b0379
Add missing Redis authentication
- Full commit hash
69b03791a2987ee8a18c16aaf5d5bfb79c09a49f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 35
$redis->auth(getenv("REDISPASS"));
$redis->auth(getenv("REDISPASS"));
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 36
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 37
catch (Exception $e) {
catch (Exception $e) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 38
echo "Exiting: " . $e->getMessage();
echo "Exiting: " . $e->getMessage();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 39
session_destroy();
session_destroy();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 40
exit;
exit;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 41
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 42
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 43
function logMsg($priority, $message, $task = "Keycloak Sync") {
function logMsg($priority, $message, $task = "Keycloak Sync") {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 44
global $redis;
global $redis;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 45
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 46
$finalMsg = array(
$finalMsg = array(
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 47
"time" => time(),
"time" => time(),
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 48
"priority" => $priority,
"priority" => $priority,
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 49
"task" => $task,
"task" => $task,
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 50
"message" => $message
"message" => $message
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 51
);
);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 52
$redis->lPush('CRON_LOG', json_encode($finalMsg));
$redis->lPush('CRON_LOG', json_encode($finalMsg));
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 53
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 54
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 55
// Load core functions first
// Load core functions first
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 56
require_once __DIR__ . '/../web/inc/functions.inc.php';
require_once __DIR__ . '/../web/inc/functions.inc.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 57
require_once __DIR__ . '/../web/inc/functions.auth.inc.php';
require_once __DIR__ . '/../web/inc/functions.auth.inc.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 58
require_once __DIR__ . '/../web/inc/sessions.inc.php';
require_once __DIR__ . '/../web/inc/sessions.inc.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 59
require_once __DIR__ . '/../web/inc/functions.mailbox.inc.php';
require_once __DIR__ . '/../web/inc/functions.mailbox.inc.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 60
require_once __DIR__ . '/../web/inc/functions.ratelimit.inc.php';
require_once __DIR__ . '/../web/inc/functions.ratelimit.inc.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 61
require_once __DIR__ . '/../web/inc/functions.acl.inc.php';
require_once __DIR__ . '/../web/inc/functions.acl.inc.php';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 62
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 63
$_SESSION['mailcow_cc_username'] = "admin";
$_SESSION['mailcow_cc_username'] = "admin";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 64
$_SESSION['mailcow_cc_role'] = "admin";
$_SESSION['mailcow_cc_role'] = "admin";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 65
$_SESSION['acl']['tls_policy'] = "1";
$_SESSION['acl']['tls_policy'] = "1";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 66
$_SESSION['acl']['quarantine_notification'] = "1";
$_SESSION['acl']['quarantine_notification'] = "1";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 67
$_SESSION['acl']['quarantine_category'] = "1";
$_SESSION['acl']['quarantine_category'] = "1";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 68
$_SESSION['acl']['ratelimit'] = "1";
$_SESSION['acl']['ratelimit'] = "1";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 69
$_SESSION['acl']['sogo_access'] = "1";
$_SESSION['acl']['sogo_access'] = "1";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 70
$_SESSION['acl']['protocol_access'] = "1";
$_SESSION['acl']['protocol_access'] = "1";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 71
$_SESSION['acl']['mailbox_relayhost'] = "1";
$_SESSION['acl']['mailbox_relayhost'] = "1";
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 72
$_SESSION['acl']['unlimited_quota'] = "1";
$_SESSION['acl']['unlimited_quota'] = "1";
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 73
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 74
$iam_settings = identity_provider('get');
$iam_settings = identity_provider('get');
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 75
if ($iam_settings['authsource'] != "keycloak" || (intval($iam_settings['periodic_sync']) != 1 && intval($iam_settings['import_users']) != 1)) {
if ($iam_settings['authsource'] != "keycloak" || (intval($iam_settings['periodic_sync']) != 1 && intval($iam_settings['import_users']) != 1)) {
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 76
session_destroy();
session_destroy();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 77
exit;
exit;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 78
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 79
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 80
// Set pagination variables
// Set pagination variables
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 81
$start = 0;
$start = 0;
FreddleSpl0it
over 1 year ago
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 82
$max = 100;
$max = 100;
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 83
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 84
// lock sync if already running
// lock sync if already running
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 85
$lock_file = '/tmp/iam-sync.lock';
$lock_file = '/tmp/iam-sync.lock';
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 86
if (file_exists($lock_file)) {
if (file_exists($lock_file)) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 87
$lock_file_parts = explode("\n", file_get_contents($lock_file));
$lock_file_parts = explode("\n", file_get_contents($lock_file));
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 88
$pid = $lock_file_parts[0];
$pid = $lock_file_parts[0];
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 89
if (count($lock_file_parts) > 1){
if (count($lock_file_parts) > 1){
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 90
$last_execution = $lock_file_parts[1];
$last_execution = $lock_file_parts[1];
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 91
$elapsed_time = (time() - $last_execution) / 60;
$elapsed_time = (time() - $last_execution) / 60;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 92
if ($elapsed_time < intval($iam_settings['sync_interval'])) {
if ($elapsed_time < intval($iam_settings['sync_interval'])) {
FreddleSpl0it
almost 3 years ago
3d48667
[Web] remove keycloak sync disabled warning
- Full commit hash
3d486678ae275895fe8242af7cca3ef4fb2f0839- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 93
logMsg("warning", "Sync not ready (".number_format((float)$elapsed_time, 2, '.', '')."min / ".$iam_settings['sync_interval']."min)");
logMsg("warning", "Sync not ready (".number_format((float)$elapsed_time, 2, '.', '')."min / ".$iam_settings['sync_interval']."min)");
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 94
session_destroy();
session_destroy();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 95
exit;
exit;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 96
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 97
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 98
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 99
if (posix_kill($pid, 0)) {
if (posix_kill($pid, 0)) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 100
logMsg("warning", "Sync is already running");
logMsg("warning", "Sync is already running");
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 101
session_destroy();
session_destroy();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 102
exit;
exit;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 103
} else {
} else {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 104
unlink($lock_file);
unlink($lock_file);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 105
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 106
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 107
$lock_file_handle = fopen($lock_file, 'w');
$lock_file_handle = fopen($lock_file, 'w');
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 108
fwrite($lock_file_handle, getmypid());
fwrite($lock_file_handle, getmypid());
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 109
fclose($lock_file_handle);
fclose($lock_file_handle);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 110
FreddleSpl0it
over 2 years ago
d237157
init identity_provider only after all conditions are met
- Full commit hash
d237157c0b743434ce213d895a130e02a0b06b3e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 111
// Init Keycloak Provider
// Init Keycloak Provider
same change
d237157
init identity_provider only after all conditions are met
- Full commit hash
d237157c0b743434ce213d895a130e02a0b06b3e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 112
$iam_provider = identity_provider('init');
$iam_provider = identity_provider('init');
same change
d237157
init identity_provider only after all conditions are met
- Full commit hash
d237157c0b743434ce213d895a130e02a0b06b3e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 113
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 114
// Loop until all users have been retrieved
// Loop until all users have been retrieved
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 115
while (true) {
while (true) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 116
// Get admin access token
// Get admin access token
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 117
$admin_token = identity_provider("get-keycloak-admin-token");
$admin_token = identity_provider("get-keycloak-admin-token");
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 118
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 119
// Make the API request to retrieve the users
// Make the API request to retrieve the users
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 120
$url = "{$iam_settings['server_url']}/admin/realms/{$iam_settings['realm']}/users?first=$start&max=$max";
$url = "{$iam_settings['server_url']}/admin/realms/{$iam_settings['realm']}/users?first=$start&max=$max";
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 121
$ch = curl_init();
$ch = curl_init();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 122
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_URL, $url);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 123
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 124
curl_setopt($ch, CURLOPT_HTTPHEADER, [
curl_setopt($ch, CURLOPT_HTTPHEADER, [
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 125
"Content-Type: application/json",
"Content-Type: application/json",
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 126
"Authorization: Bearer " . $admin_token
"Authorization: Bearer " . $admin_token
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 127
]);
]);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 128
$response = curl_exec($ch);
$response = curl_exec($ch);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 129
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 130
curl_close($ch);
curl_close($ch);
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 131
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 132
if ($code != 200){
if ($code != 200){
Marvin A. Ruder
over 1 year ago
05fc4f7
fix(ui): Swap translations for oversized dropdown
- Full commit hash
05fc4f7aba5bfb9e2db596d11d6beab00ae70320- Author
- Marvin A. Ruder <[email protected]>
- Date
- over 1 year ago
- Selected line
- 133
logMsg("err", "Received HTTP {$code}");
logMsg("err", "Received HTTP {$code}");
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 134
session_destroy();
session_destroy();
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 135
exit;
exit;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 136
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 137
try {
try {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 138
$response = json_decode($response, true);
$response = json_decode($response, true);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 139
} catch (Exception $e) {
} catch (Exception $e) {
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 140
logMsg("err", $e->getMessage());
logMsg("err", $e->getMessage());
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 141
break;
break;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 142
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 143
if (!is_array($response)){
if (!is_array($response)){
Marvin A. Ruder
over 1 year ago
05fc4f7
fix(ui): Swap translations for oversized dropdown
- Full commit hash
05fc4f7aba5bfb9e2db596d11d6beab00ae70320- Author
- Marvin A. Ruder <[email protected]>
- Date
- over 1 year ago
- Selected line
- 144
logMsg("err", "Received malformed response from keycloak api");
logMsg("err", "Received malformed response from keycloak api");
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 145
break;
break;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 146
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 147
if (count($response) == 0) {
if (count($response) == 0) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 148
break;
break;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 149
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 150
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 151
// Process the batch of users
// Process the batch of users
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 152
foreach ($response as $user) {
foreach ($response as $user) {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 153
if (empty($user['email'])){
if (empty($user['email'])){
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 154
logMsg("warning", "No email address in keycloak found for user " . $user['name']);
logMsg("warning", "No email address in keycloak found for user " . $user['name']);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 155
continue;
continue;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 156
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 157
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 158
// try get mailbox user
// try get mailbox user
FreddleSpl0it
over 1 year ago
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 159
$stmt = $pdo->prepare("SELECT
$stmt = $pdo->prepare("SELECT
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 160
mailbox.*,
mailbox.*,
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 161
domain.active AS d_active
domain.active AS d_active
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 162
FROM `mailbox`
FROM `mailbox`
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 163
INNER JOIN domain on mailbox.domain = domain.domain
INNER JOIN domain on mailbox.domain = domain.domain
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 164
WHERE `kind` NOT REGEXP 'location|thing|group'
WHERE `kind` NOT REGEXP 'location|thing|group'
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 165
AND `username` = :user");
AND `username` = :user");
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 166
$stmt->execute(array(':user' => $user['email']));
$stmt->execute(array(':user' => $user['email']));
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 167
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$row = $stmt->fetch(PDO::FETCH_ASSOC);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 168
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 169
// check if matching attribute mapping exists
// check if matching attribute mapping exists
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 170
$user_template = $user['attributes']['mailcow_template'][0];
$user_template = $user['attributes']['mailcow_template'][0];
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 171
$mapper_key = array_search($user_template, $iam_settings['mappers']);
$mapper_key = array_search($user_template, $iam_settings['mappers']);
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 172
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 173
$_SESSION['access_all_exception'] = '1';
$_SESSION['access_all_exception'] = '1';
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 174
if (!$row && intval($iam_settings['import_users']) == 1){
if (!$row && intval($iam_settings['import_users']) == 1){
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 175
if ($mapper_key === false){
if ($mapper_key === false){
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 176
if (!empty($iam_settings['default_template'])) {
if (!empty($iam_settings['default_template'])) {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 177
$mbox_template = $iam_settings['default_template'];
$mbox_template = $iam_settings['default_template'];
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 178
logMsg("warning", "Using default template for user " . $user['email']);
logMsg("warning", "Using default template for user " . $user['email']);
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 179
} else {
} else {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 180
logMsg("warning", "No matching attribute mapping found for user " . $user['email']);
logMsg("warning", "No matching attribute mapping found for user " . $user['email']);
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 181
continue;
continue;
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 182
}
}
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 183
} else {
} else {
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 184
$mbox_template = $iam_settings['templates'][$mapper_key];
$mbox_template = $iam_settings['templates'][$mapper_key];
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 185
}
}
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 186
// mailbox user does not exist, create...
// mailbox user does not exist, create...
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 187
logMsg("info", "Creating user " . $user['email']);
logMsg("info", "Creating user " . $user['email']);
FreddleSpl0it
over 1 year ago
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 188
$create_res = mailbox('add', 'mailbox_from_template', array(
$create_res = mailbox('add', 'mailbox_from_template', array(
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 189
'domain' => explode('@', $user['email'])[1],
'domain' => explode('@', $user['email'])[1],
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 190
'local_part' => explode('@', $user['email'])[0],
'local_part' => explode('@', $user['email'])[0],
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 191
'name' => $user['firstName'] . " " . $user['lastName'],
'name' => $user['firstName'] . " " . $user['lastName'],
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 192
'authsource' => 'keycloak',
'authsource' => 'keycloak',
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 193
'template' => $mbox_template
'template' => $mbox_template
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 194
));
));
FreddleSpl0it
over 1 year ago
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 195
if (!$create_res){
if (!$create_res){
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 196
logMsg("err", "Could not create user " . $user['email']);
logMsg("err", "Could not create user " . $user['email']);
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 197
continue;
continue;
same change
5a72758
Add error message when mailbox creation fails
- Full commit hash
5a7275843ad35a383e14c4d05cceffbec5d6db2d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 198
}
}
FreddleSpl0it
over 1 year ago
e654780
[Web] Prevent user sync for mismatched authsource
- Full commit hash
e65478076b48e6986f0bec0e8b5020697192340d- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 199
} else if ($row && intval($iam_settings['periodic_sync']) == 1 && $row['authsource'] == "keycloak") {
} else if ($row && intval($iam_settings['periodic_sync']) == 1 && $row['authsource'] == "keycloak") {
FreddleSpl0it
over 1 year ago
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 200
if ($mapper_key === false){
if ($mapper_key === false){
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 201
logMsg("warning", "No matching attribute mapping found for user " . $user['email']);
logMsg("warning", "No matching attribute mapping found for user " . $user['email']);
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 202
continue;
continue;
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 203
}
}
same change
887b711
Add default template for IdP attribute mapping
- Full commit hash
887b7114a8bdd74a81f9ce7a6c5e006e28e135c0- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 204
$mbox_template = $iam_settings['templates'][$mapper_key];
$mbox_template = $iam_settings['templates'][$mapper_key];
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 205
// mailbox user does exist, sync attribtues...
// mailbox user does exist, sync attribtues...
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 206
logMsg("info", "Syncing attributes for user " . $user['email']);
logMsg("info", "Syncing attributes for user " . $user['email']);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 207
mailbox('edit', 'mailbox_from_template', array(
mailbox('edit', 'mailbox_from_template', array(
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 208
'username' => $user['email'],
'username' => $user['email'],
FreddleSpl0it
over 2 years ago
a06c783
[Web] add ldap idp
- Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 209
'name' => $user['firstName'] . " " . $user['lastName'],
'name' => $user['firstName'] . " " . $user['lastName'],
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 210
'template' => $mbox_template
'template' => $mbox_template
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 211
));
));
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 212
} else {
} else {
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 213
// skip mailbox user
// skip mailbox user
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 214
logMsg("info", "Skipping user " . $user['email']);
logMsg("info", "Skipping user " . $user['email']);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 215
}
}
FreddleSpl0it
over 1 year ago
8048e0a
[Web] Fix permission exception in IdP actions
- Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 216
$_SESSION['access_all_exception'] = '0';
$_SESSION['access_all_exception'] = '0';
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 217
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 218
sleep(0.025);
sleep(0.025);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 219
}
}
FreddleSpl0it
over 1 year ago
45c13c6
[Web] update user based on template after login
- Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 220
FreddleSpl0it
about 3 years ago
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 221
// Update the pagination variables for the next batch
// Update the pagination variables for the next batch
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 222
$start += $max;
$start += $max;
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 223
sleep(1);
sleep(1);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 224
}
}
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 225
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 226
logMsg("info", "DONE!");
logMsg("info", "DONE!");
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 227
// add last execution time to lock file
// add last execution time to lock file
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 228
$lock_file_handle = fopen($lock_file, 'w');
$lock_file_handle = fopen($lock_file, 'w');
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 229
fwrite($lock_file_handle, getmypid() . "\n" . time());
fwrite($lock_file_handle, getmypid() . "\n" . time());
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 230
fclose($lock_file_handle);
fclose($lock_file_handle);
same change
f8647bb
[Web] add keycloak sync crontask
- Full commit hash
f8647bb15eecc44d1bbd15cd5ea26a41e87f6606- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 231
session_destroy();
session_destroy();