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/prerequisites.inc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
prerequisites.inc.php
on main
Author
Date
Commit
Line
Code
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1
<?php
<?php
andryyy
over 6 years ago
cbe4f4c
[Web] Minor changes
- Full commit hash
cbe4f4ce70fe4726a90d0ac7802fe8a888085587- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2
Kristian Feldsam
almost 5 years ago
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 3
// check for development mode
// check for development mode
same change
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 4
$DEV_MODE = (getenv('DEV_MODE') == 'y');
$DEV_MODE = (getenv('DEV_MODE') == 'y');
FreddleSpl0it
over 3 years ago
ef392ef
add demo_mode for mailcow ui
- Full commit hash
ef392ef6ba44c103ac9eb7e77db779f77736f032- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 5
// check for demo mode
// check for demo mode
same change
ef392ef
add demo_mode for mailcow ui
- Full commit hash
ef392ef6ba44c103ac9eb7e77db779f77736f032- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 6
$DEMO_MODE = (getenv('DEMO_MODE') == 'y');
$DEMO_MODE = (getenv('DEMO_MODE') == 'y');
Kristian Feldsam
almost 5 years ago
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 7
andryyy
over 6 years ago
cbe4f4c
[Web] Minor changes
- Full commit hash
cbe4f4ce70fe4726a90d0ac7802fe8a888085587- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 8
// Slave does not serve UI
// Slave does not serve UI
andryyy
over 6 years ago
ccd4dda
[Web] Some minor changes
- Full commit hash
ccd4dda397f356126be4aedfecf6941d2e2480e5- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 9
/* if (!preg_match('/y|yes/i', getenv('MASTER'))) {
/* if (!preg_match('/y|yes/i', getenv('MASTER'))) {
andryyy
over 6 years ago
cbe4f4c
[Web] Minor changes
- Full commit hash
cbe4f4ce70fe4726a90d0ac7802fe8a888085587- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 10
header('Location: /SOGo', true, 307);
header('Location: /SOGo', true, 307);
andryyy
over 6 years ago
7a4560e
[Web] CSS fixes; Add OAUTH2_FORGET_SESSION_AFTER_LOGIN to vars.inc.php (wip); Do not run initdb on non-master cow
- Full commit hash
7a4560ee2863bc96ddf9382915eb238fd4c2fcbb- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 11
exit;
exit;
andryyy
over 6 years ago
ccd4dda
[Web] Some minor changes
- Full commit hash
ccd4dda397f356126be4aedfecf6941d2e2480e5- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 12
}*/
}*/
andryyy
over 6 years ago
cbe4f4c
[Web] Minor changes
- Full commit hash
cbe4f4ce70fe4726a90d0ac7802fe8a888085587- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 13
andryyy
almost 9 years ago
e07f84d
[Web] Update phpmailer, always use correct path for vars.inc.php
- Full commit hash
e07f84d0f0d3fe800b341581322ec619b072e80d- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 14
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';
Niklas Meyer
over 4 years ago
89fdd19
Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)
- Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23- Author
- Niklas Meyer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 15
andryyy
almost 9 years ago
c6f81fe
[Web] Fix autodiscover merge on user.php
- Full commit hash
c6f81fe67bfee66a0b3dca5119cda8cb0b7b11f9- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 16
$default_autodiscover_config = $autodiscover_config;
$default_autodiscover_config = $autodiscover_config;
vain90
over 7 years ago
d7aaa67
Move unset https_port after include of vars local inc
- Full commit hash
d7aaa67e2e3ab8406b0825150506789fb401af45- Author
- vain90 <[email protected]>
- Date
- over 7 years ago
- Selected line
- 17
Dennis Neufeld
about 9 years ago
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 18
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/inc/vars.local.inc.php')) {
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/inc/vars.local.inc.php')) {
same change
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 19
include_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.local.inc.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.local.inc.php';
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 20
}
}
Niklas Meyer
over 4 years ago
89fdd19
Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)
- Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23- Author
- Niklas Meyer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 21
same change
89fdd19
Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)
- Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23- Author
- Niklas Meyer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 22
// auto-generated by generate-config.sh and update.sh
// auto-generated by generate-config.sh and update.sh
same change
89fdd19
Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)
- Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23- Author
- Niklas Meyer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 23
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/inc/app_info.inc.php')) {
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/inc/app_info.inc.php')) {
same change
89fdd19
Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)
- Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23- Author
- Niklas Meyer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 24
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/app_info.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/app_info.inc.php';
same change
89fdd19
Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)
- Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23- Author
- Niklas Meyer <[email protected]>
- Date
- over 4 years ago
- Selected line
- 25
}
}
vain90
over 7 years ago
d7aaa67
Move unset https_port after include of vars local inc
- Full commit hash
d7aaa67e2e3ab8406b0825150506789fb401af45- Author
- vain90 <[email protected]>
- Date
- over 7 years ago
- Selected line
- 26
unset($https_port);
unset($https_port);
andryyy
almost 9 years ago
c6f81fe
[Web] Fix autodiscover merge on user.php
- Full commit hash
c6f81fe67bfee66a0b3dca5119cda8cb0b7b11f9- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 27
$autodiscover_config = array_merge($default_autodiscover_config, $autodiscover_config);
$autodiscover_config = array_merge($default_autodiscover_config, $autodiscover_config);
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 28
andryyy
about 9 years ago
2db910d
Remove Rmitler \o/
- Full commit hash
2db910d6dce768143488ce779717c1f372b7fc71- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 29
header_remove("X-Powered-By");
header_remove("X-Powered-By");
same change
2db910d
Remove Rmitler \o/
- Full commit hash
2db910d6dce768143488ce779717c1f372b7fc71- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 30
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 31
// Yubi OTP API
// Yubi OTP API
andryyy
about 9 years ago
f77c40a
Better log table, some MySQL to Redis migrations, API changes, other minor changes...
- Full commit hash
f77c40a179bb89b463318c6dafe4823a5844a43f- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 32
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/Yubico.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/Yubico.php';
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 33
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 34
// WebAuthn
// WebAuthn
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 35
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/WebAuthn/WebAuthn.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/WebAuthn/WebAuthn.php';
same change
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 36
andryyy
about 9 years ago
3c937f7
Add OWASP CSRF Protector, add more secure session handling
- Full commit hash
3c937f75ba5853ada175542d5c4849fb95eb64cd- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 37
// Autoload composer
// Autoload composer
andryyy
about 9 years ago
f77c40a
Better log table, some MySQL to Redis migrations, API changes, other minor changes...
- Full commit hash
f77c40a179bb89b463318c6dafe4823a5844a43f- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 38
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/vendor/autoload.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/vendor/autoload.php';
andryyy
about 9 years ago
3c937f7
Add OWASP CSRF Protector, add more secure session handling
- Full commit hash
3c937f75ba5853ada175542d5c4849fb95eb64cd- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 39
André
over 8 years ago
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 40
// Load Sieve
// Load Sieve
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 41
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/sieve/SieveParser.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/sieve/SieveParser.php';
same change
85d1ee2
[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute
- Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 42
tinect
almost 7 years ago
3f6a2fc
cache JS-File to reduce response-time
- Full commit hash
3f6a2fc7fafbe80ea230a4a5317fd3183273d630- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 43
// minifierExtended
// minifierExtended
same change
3f6a2fc
cache JS-File to reduce response-time
- Full commit hash
3f6a2fc7fafbe80ea230a4a5317fd3183273d630- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 44
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/JSminifierExtended.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/JSminifierExtended.php';
same change
3f6a2fc
cache JS-File to reduce response-time
- Full commit hash
3f6a2fc7fafbe80ea230a4a5317fd3183273d630- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 45
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/CSSminifierExtended.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/CSSminifierExtended.php';
same change
3f6a2fc
cache JS-File to reduce response-time
- Full commit hash
3f6a2fc7fafbe80ea230a4a5317fd3183273d630- Author
- tinect <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 46
tinect
over 6 years ago
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 47
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/array_merge_real.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/array_merge_real.php';
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 48
FreddleSpl0it
over 3 years ago
67c9c5b
[Web] remove u2f lib from prerequisites
- Full commit hash
67c9c5b8ed3280a45df996e89c4b1bd7b0150003- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 49
// T/HOTP API
// T/HOTP API
FreddleSpl0it
5 months ago
96d4802
[Web] Switch QR code generation from external API to local library and fix composer.json/lock mismatch
- Full commit hash
96d4802cb22afdf1cbf3a9d8ddd69d2d7bbb05c5- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 50
$qrprovider = new RobThree\Auth\Providers\Qr\BaconQrCodeProvider();
$qrprovider = new RobThree\Auth\Providers\Qr\BaconQrCodeProvider();
andryyy
over 7 years ago
6a13609
[Web] Fix slow UI by switching QR provider and only generating qr image on demand
- Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 51
$tfa = new RobThree\Auth\TwoFactorAuth($OTP_LABEL, 6, 30, 'sha1', $qrprovider);
$tfa = new RobThree\Auth\TwoFactorAuth($OTP_LABEL, 6, 30, 'sha1', $qrprovider);
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 52
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 53
// FIDO2
// FIDO2
FreddleSpl0it
about 4 years ago
753cde0
parse host from url for webauthn library
- Full commit hash
753cde0b859336090f98b4ba3daabfc32194c65e- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 54
$server_name = parse_url('https://' . $_SERVER['HTTP_HOST'], PHP_URL_HOST);
$server_name = parse_url('https://' . $_SERVER['HTTP_HOST'], PHP_URL_HOST);
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 55
$formats = $GLOBALS['FIDO2_FORMATS'];
$formats = $GLOBALS['FIDO2_FORMATS'];
FreddleSpl0it
about 4 years ago
753cde0
parse host from url for webauthn library
- Full commit hash
753cde0b859336090f98b4ba3daabfc32194c65e- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 56
$WebAuthn = new lbuchs\WebAuthn\WebAuthn('WebAuthn Library', $server_name, $formats);
$WebAuthn = new lbuchs\WebAuthn\WebAuthn('WebAuthn Library', $server_name, $formats);
FreddleSpl0it
over 4 years ago
0f46465
[WebAuthn] disable webauthn rootca by mailcow.conf
- Full commit hash
0f464658cc6aef34d27611a09cb743c576fdc848- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 57
// only include root ca's when needed
// only include root ca's when needed
FreddleSpl0it
over 4 years ago
af1b90f
[WebAuthn] rename env var
- Full commit hash
af1b90fa18c246cb63e8de0518e0acf9dc7fc68e- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 58
if (getenv('WEBAUTHN_ONLY_TRUSTED_VENDORS') == 'y') $WebAuthn->addRootCertificates($_SERVER['DOCUMENT_ROOT'] . '/inc/lib/WebAuthn/rootCertificates');
if (getenv('WEBAUTHN_ONLY_TRUSTED_VENDORS') == 'y') $WebAuthn->addRootCertificates($_SERVER['DOCUMENT_ROOT'] . '/inc/lib/WebAuthn/rootCertificates');
andryyy
over 5 years ago
c150ac7
[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators
- Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 59
andryyy
about 9 years ago
1501df6
Use Redis for DKIM keys, define any selector, auto-merge old keys to Redis and fallback to files
- Full commit hash
1501df6e42968f7331a2246949efa846e2cf7bb4- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 60
// Redis
// Redis
same change
1501df6
Use Redis for DKIM keys, define any selector, auto-merge old keys to Redis and fallback to files
- Full commit hash
1501df6e42968f7331a2246949efa846e2cf7bb4- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 61
$redis = new Redis();
$redis = new Redis();
andryyy
about 7 years ago
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 62
try {
try {
andryyy
over 6 years ago
6686152
[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table
- Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 63
if (!empty(getenv('REDIS_SLAVEOF_IP'))) {
if (!empty(getenv('REDIS_SLAVEOF_IP'))) {
same change
6686152
[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table
- Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 64
$redis->connect(getenv('REDIS_SLAVEOF_IP'), getenv('REDIS_SLAVEOF_PORT'));
$redis->connect(getenv('REDIS_SLAVEOF_IP'), getenv('REDIS_SLAVEOF_PORT'));
same change
6686152
[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table
- Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 65
}
}
same change
6686152
[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table
- Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 66
else {
else {
same change
6686152
[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table
- Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 67
$redis->connect('redis-mailcow', 6379);
$redis->connect('redis-mailcow', 6379);
same change
6686152
[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table
- Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 68
}
}
FreddleSpl0it
over 1 year ago
89fb132
Enable password protection for Redis
- Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 69
$redis->auth(getenv("REDISPASS"));
$redis->auth(getenv("REDISPASS"));
andryyy
about 7 years ago
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 70
}
}
same change
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 71
catch (Exception $e) {
catch (Exception $e) {
FreddleSpl0it
about 3 years ago
db2759b
[Web] fix wrong content type + add more http 500 responses
- Full commit hash
db2759b7d184e68713bf0441f84df9f624ce3c6d- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 72
// Stop when redis is not available
// Stop when redis is not available
FreddleSpl0it
about 3 years ago
987cfd5
[Web] f2b banlist - add http status codes
- Full commit hash
987cfd5dae4014b35c183ce4be0e1f8856950116- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 73
http_response_code(500);
http_response_code(500);
andryyy
about 7 years ago
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 74
?>
?>
same change
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 75
<center style='font-family:sans-serif;'>Connection to Redis failed.<br /><br />The following error was reported:<br/><?=$e->getMessage();?></center>
<center style='font-family:sans-serif;'>Connection to Redis failed.<br /><br />The following error was reported:<br/><?=$e->getMessage();?></center>
same change
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 76
<?php
<?php
same change
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 77
exit;
exit;
same change
8537767
[Web] Show error when connection to redis fails (instead of 5xx)
- Full commit hash
853776744365e23fdfb937b090c01aaa6931501d- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 78
}
}
andryyy
about 9 years ago
1501df6
Use Redis for DKIM keys, define any selector, auto-merge old keys to Redis and fallback to files
- Full commit hash
1501df6e42968f7331a2246949efa846e2cf7bb4- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 79
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 80
// PDO
// PDO
andryyy
over 9 years ago
790c922
New db init system
- Full commit hash
790c92237524ba99efb359fa5bc4b48082ca256b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 81
// Calculate offset
// Calculate offset
andryyy
over 7 years ago
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 82
// $now = new DateTime();
// $now = new DateTime();
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 83
// $mins = $now->getOffset() / 60;
// $mins = $now->getOffset() / 60;
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 84
// $sgn = ($mins < 0 ? -1 : 1);
// $sgn = ($mins < 0 ? -1 : 1);
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 85
// $mins = abs($mins);
// $mins = abs($mins);
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 86
// $hrs = floor($mins / 60);
// $hrs = floor($mins / 60);
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 87
// $mins -= $hrs * 60;
// $mins -= $hrs * 60;
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 88
// $offset = sprintf('%+d:%02d', $hrs*$sgn, $mins);
// $offset = sprintf('%+d:%02d', $hrs*$sgn, $mins);
andryyy
over 9 years ago
790c922
New db init system
- Full commit hash
790c92237524ba99efb359fa5bc4b48082ca256b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 89
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 90
$dsn = $database_type . ":unix_socket=" . $database_sock . ";dbname=" . $database_name;
$dsn = $database_type . ":unix_socket=" . $database_sock . ";dbname=" . $database_name;
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 91
$opt = [
$opt = [
Dennis Neufeld
about 9 years ago
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 92
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
same change
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 93
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
same change
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 94
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_EMULATE_PREPARES => false,
andryyy
over 7 years ago
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 95
//PDO::MYSQL_ATTR_INIT_COMMAND => "SET time_zone = '" . $offset . "', group_concat_max_len = 3423543543;",
//PDO::MYSQL_ATTR_INIT_COMMAND => "SET time_zone = '" . $offset . "', group_concat_max_len = 3423543543;",
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 96
];
];
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 97
try {
try {
Dennis Neufeld
about 9 years ago
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 98
$pdo = new PDO($dsn, $database_user, $database_pass, $opt);
$pdo = new PDO($dsn, $database_user, $database_pass, $opt);
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 99
}
}
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 100
catch (PDOException $e) {
catch (PDOException $e) {
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 101
// Stop when SQL connection fails
// Stop when SQL connection fails
FreddleSpl0it
about 3 years ago
db2759b
[Web] fix wrong content type + add more http 500 responses
- Full commit hash
db2759b7d184e68713bf0441f84df9f624ce3c6d- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 102
http_response_code(500);
http_response_code(500);
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 103
?>
?>
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 104
<center style='font-family:sans-serif;'>Connection to database failed.<br /><br />The following error was reported:<br/> <?=$e->getMessage();?></center>
<center style='font-family:sans-serif;'>Connection to database failed.<br /><br />The following error was reported:<br/> <?=$e->getMessage();?></center>
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 105
<?php
<?php
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 106
exit;
exit;
same change
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 107
}
}
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 108
// Stop when dockerapi is not available
// Stop when dockerapi is not available
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 109
if (fsockopen("tcp://dockerapi", 443, $errno, $errstr) === false) {
if (fsockopen("tcp://dockerapi", 443, $errno, $errstr) === false) {
FreddleSpl0it
about 3 years ago
db2759b
[Web] fix wrong content type + add more http 500 responses
- Full commit hash
db2759b7d184e68713bf0441f84df9f624ce3c6d- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 110
http_response_code(500);
http_response_code(500);
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 111
?>
?>
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 112
<center style='font-family:sans-serif;'>Connection to dockerapi container failed.<br /><br />The following error was reported:<br/><?=$errno;?> - <?=$errstr;?></center>
<center style='font-family:sans-serif;'>Connection to dockerapi container failed.<br /><br />The following error was reported:<br/><?=$errno;?> - <?=$errstr;?></center>
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 113
<?php
<?php
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 114
exit;
exit;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 115
}
}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 116
andryyy
almost 7 years ago
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 117
// OAuth2
// OAuth2
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 118
class mailcowPdo extends OAuth2\Storage\Pdo {
class mailcowPdo extends OAuth2\Storage\Pdo {
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 119
public function __construct($connection, $config = array()) {
public function __construct($connection, $config = array()) {
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 120
parent::__construct($connection, $config);
parent::__construct($connection, $config);
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 121
$this->config['user_table'] = 'mailbox';
$this->config['user_table'] = 'mailbox';
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 122
}
}
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 123
public function checkUserCredentials($username, $password) {
public function checkUserCredentials($username, $password) {
FreddleSpl0it
6 months ago
56ea430
[Web] Allow admins to limit EAS and DAV access for mailbox users
- Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68- Author
- FreddleSpl0it <[email protected]>
- Date
- 6 months ago
- Selected line
- 124
if (check_login($username, $password, array("role" => "user", "service" => "NONE")) == 'user') {
if (check_login($username, $password, array("role" => "user", "service" => "NONE")) == 'user') {
andryyy
almost 7 years ago
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 125
return true;
return true;
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 126
}
}
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 127
return false;
return false;
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 128
}
}
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 129
public function getUserDetails($username) {
public function getUserDetails($username) {
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 130
return $this->getUser($username);
return $this->getUser($username);
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 131
}
}
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 132
}
}
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 133
$oauth2_scope_storage = new OAuth2\Storage\Memory(array('default_scope' => 'profile', 'supported_scopes' => array('profile')));
$oauth2_scope_storage = new OAuth2\Storage\Memory(array('default_scope' => 'profile', 'supported_scopes' => array('profile')));
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 134
$oauth2_storage = new mailcowPdo(array('dsn' => $dsn, 'username' => $database_user, 'password' => $database_pass));
$oauth2_storage = new mailcowPdo(array('dsn' => $dsn, 'username' => $database_user, 'password' => $database_pass));
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 135
$oauth2_server = new OAuth2\Server($oauth2_storage, array(
$oauth2_server = new OAuth2\Server($oauth2_storage, array(
andryyy
almost 7 years ago
1c35002
[Web] Do not allow to add domain admin for non existing domain
- Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 136
'refresh_token_lifetime' => $REFRESH_TOKEN_LIFETIME,
'refresh_token_lifetime' => $REFRESH_TOKEN_LIFETIME,
same change
1c35002
[Web] Do not allow to add domain admin for non existing domain
- Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 137
'access_lifetime' => $ACCESS_TOKEN_LIFETIME,
'access_lifetime' => $ACCESS_TOKEN_LIFETIME,
andryyy
almost 7 years ago
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 138
));
));
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 139
$oauth2_server->setScopeUtil(new OAuth2\Scope($oauth2_scope_storage));
$oauth2_server->setScopeUtil(new OAuth2\Scope($oauth2_scope_storage));
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 140
$oauth2_server->addGrantType(new OAuth2\GrantType\AuthorizationCode($oauth2_storage));
$oauth2_server->addGrantType(new OAuth2\GrantType\AuthorizationCode($oauth2_storage));
same change
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 141
$oauth2_server->addGrantType(new OAuth2\GrantType\UserCredentials($oauth2_storage));
$oauth2_server->addGrantType(new OAuth2\GrantType\UserCredentials($oauth2_storage));
andryyy
almost 7 years ago
1c35002
[Web] Do not allow to add domain admin for non existing domain
- Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 142
$oauth2_server->addGrantType(new OAuth2\GrantType\RefreshToken($oauth2_storage, array(
$oauth2_server->addGrantType(new OAuth2\GrantType\RefreshToken($oauth2_storage, array(
same change
1c35002
[Web] Do not allow to add domain admin for non existing domain
- Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 143
'always_issue_new_refresh_token' => true
'always_issue_new_refresh_token' => true
same change
1c35002
[Web] Do not allow to add domain admin for non existing domain
- Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 144
)));
)));
andryyy
almost 7 years ago
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 145
andryyy
over 7 years ago
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 146
function exception_handler($e) {
function exception_handler($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
- 147
if ($e instanceof PDOException) {
if ($e instanceof PDOException) {
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
- 148
$_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
- 149
'type' => 'danger',
'type' => 'danger',
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
- 150
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
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
- 151
'msg' => array('mysql_error', $e)
'msg' => array('mysql_error', $e)
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
- 152
);
);
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
- 153
return false;
return false;
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
- 154
}
}
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
- 155
else {
else {
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
- 156
$_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
- 157
'type' => 'danger',
'type' => 'danger',
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
- 158
'log' => array(__FUNCTION__),
'log' => array(__FUNCTION__),
andryyy
over 7 years ago
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 159
'msg' => 'An unknown error occured: ' . print_r($e, true)
'msg' => 'An unknown error occured: ' . print_r($e, true)
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
- 160
);
);
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
- 161
return false;
return false;
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
- 162
}
}
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
- 163
}
}
Kristian Feldsam
almost 5 years ago
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 164
if(!$DEV_MODE) {
if(!$DEV_MODE) {
same change
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 165
set_exception_handler('exception_handler');
set_exception_handler('exception_handler');
same change
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 166
}
}
andryyy
over 9 years ago
d891bc8
Docs
- Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 167
André Peters
almost 5 years ago
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 168
// TODO: Move function
// TODO: Move function
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 169
function get_remote_ip() {
function get_remote_ip() {
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 170
$remote = $_SERVER['REMOTE_ADDR'];
$remote = $_SERVER['REMOTE_ADDR'];
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 171
if (filter_var($remote, FILTER_VALIDATE_IP) === false) {
if (filter_var($remote, FILTER_VALIDATE_IP) === false) {
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 172
return '0.0.0.0';
return '0.0.0.0';
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 173
}
}
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 174
return $remote;
return $remote;
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 175
}
}
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 176
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 177
// Load core functions first
// Load core functions first
same change
639e751
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
- Full commit hash
639e751678a34e57af38eb354367b1a40ba5a895- Author
- André Peters <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 178
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.inc.php';
FreddleSpl0it
over 3 years ago
6adad79
[Web] organize auth functions+api auth w/ dovecot
- Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 179
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.auth.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.auth.inc.php';
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 180
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/sessions.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/sessions.inc.php';
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 181
FreddleSpl0it
about 3 years ago
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 182
// Init Identity Provider
// Init Identity Provider
same change
593e581
[Web] move iam sso functions
- Full commit hash
593e581cf3775e4add21ffa8b126ffa5f55e33af- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 183
$iam_provider = identity_provider('init');
$iam_provider = identity_provider('init');
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 184
$iam_settings = identity_provider('get');
$iam_settings = identity_provider('get');
FreddleSpl0it
over 3 years ago
f6869da
[Web] manage keycloak identity provider
- Full commit hash
f6869da3a02b937d8f498476be1d7e95ab418e33- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 185
andryyy
over 7 years ago
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 186
// IMAP lib
// IMAP lib
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 187
// use Ddeboer\Imap\Server;
// use Ddeboer\Imap\Server;
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 188
// $imap_server = new Server('dovecot', 143, '/imap/tls/novalidate-cert');
// $imap_server = new Server('dovecot', 143, '/imap/tls/novalidate-cert');
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 189
Dennis Neufeld
about 9 years ago
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 190
// Set language
// Set language
Kristian
over 8 years ago
b579304
Remember selected lang in cookie
- Full commit hash
b5793048dfd6a7bcc2e940fd3bc716f767c7a43a- Author
- Kristian <[email protected]>
- Date
- over 8 years ago
- Selected line
- 191
if (!isset($_SESSION['mailcow_locale']) && !isset($_COOKIE['mailcow_locale'])) {
if (!isset($_SESSION['mailcow_locale']) && !isset($_COOKIE['mailcow_locale'])) {
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 192
if ($DETECT_LANGUAGE && isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
if ($DETECT_LANGUAGE && isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
DerLinkman
almost 4 years ago
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 193
// regex inspired from @GabrielAnderson on http://stackoverflow.com/questions/6038236/http-accept-language
// regex inspired from @GabrielAnderson on http://stackoverflow.com/questions/6038236/http-accept-language
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 194
preg_match_all('/([a-z]{1,8}(-[a-z]{1,8})*)\s*(;\s*q\s*=\s*(1|0\.[0-9]+))?/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $lang_parse);
preg_match_all('/([a-z]{1,8}(-[a-z]{1,8})*)\s*(;\s*q\s*=\s*(1|0\.[0-9]+))?/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $lang_parse);
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 195
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 196
$langs = $lang_parse[1];
$langs = $lang_parse[1];
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 197
$ranks = $lang_parse[4];
$ranks = $lang_parse[4];
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 198
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 199
// (create an associative array 'language' => 'preference')
// (create an associative array 'language' => 'preference')
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 200
$lang2pref = array();
$lang2pref = array();
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 201
for ($i=0; $i<count($langs); $i++) {
for ($i=0; $i<count($langs); $i++) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 202
$lang2pref[strtolower($langs[$i])] = (float) (!empty($ranks[$i]) ? $ranks[$i] : 1);
$lang2pref[strtolower($langs[$i])] = (float) (!empty($ranks[$i]) ? $ranks[$i] : 1);
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 203
}
}
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 204
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 205
// (comparison function for uksort)
// (comparison function for uksort)
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 206
$cmpLangs = function ($a, $b) use ($lang2pref) {
$cmpLangs = function ($a, $b) use ($lang2pref) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 207
if ($lang2pref[$a] > $lang2pref[$b])
if ($lang2pref[$a] > $lang2pref[$b])
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 208
return -1;
return -1;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 209
elseif ($lang2pref[$a] < $lang2pref[$b])
elseif ($lang2pref[$a] < $lang2pref[$b])
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 210
return 1;
return 1;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 211
elseif (strlen($a) > strlen($b))
elseif (strlen($a) > strlen($b))
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 212
return -1;
return -1;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 213
elseif (strlen($a) < strlen($b))
elseif (strlen($a) < strlen($b))
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 214
return 1;
return 1;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 215
else
else
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 216
return 0;
return 0;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 217
};
};
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 218
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 219
// sort the languages by prefered language and by the most specific region
// sort the languages by prefered language and by the most specific region
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 220
uksort($lang2pref, $cmpLangs);
uksort($lang2pref, $cmpLangs);
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 221
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 222
// generate language array without the region part
// generate language array without the region part
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 223
$AVAILABLE_BASE_LANGUAGES=array();
$AVAILABLE_BASE_LANGUAGES=array();
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 224
foreach ($AVAILABLE_LANGUAGES as $code => $lang) {
foreach ($AVAILABLE_LANGUAGES as $code => $lang) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 225
$base_code = substr($code, 0, 2);
$base_code = substr($code, 0, 2);
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 226
if (!array_key_exists($base_code, $AVAILABLE_BASE_LANGUAGES)) {
if (!array_key_exists($base_code, $AVAILABLE_BASE_LANGUAGES)) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 227
$AVAILABLE_BASE_LANGUAGES[$base_code] = $code;
$AVAILABLE_BASE_LANGUAGES[$base_code] = $code;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 228
}
}
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 229
}
}
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 230
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 231
// Find a perfect match or partial match
// Find a perfect match or partial match
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 232
// Match en-gb or en
// Match en-gb or en
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 233
foreach ($lang2pref as $lang => $q) {
foreach ($lang2pref as $lang => $q) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 234
if (array_key_exists($lang, $AVAILABLE_LANGUAGES)) {
if (array_key_exists($lang, $AVAILABLE_LANGUAGES)) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 235
$_SESSION['mailcow_locale'] = $lang;
$_SESSION['mailcow_locale'] = $lang;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 236
break;
break;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 237
} elseif (array_key_exists($lang, $AVAILABLE_BASE_LANGUAGES)) {
} elseif (array_key_exists($lang, $AVAILABLE_BASE_LANGUAGES)) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 238
$_SESSION['mailcow_locale'] = $AVAILABLE_BASE_LANGUAGES[$lang];
$_SESSION['mailcow_locale'] = $AVAILABLE_BASE_LANGUAGES[$lang];
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 239
break;
break;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 240
}
}
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 241
}
}
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 242
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 243
// Try suggest match
// Try suggest match
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 244
// e.g. suggest en-gb when only en-us is provided
// e.g. suggest en-gb when only en-us is provided
Tomy Hsieh
over 3 years ago
13bdd4a
đŸ› fix: Locale decision algorithm
- Full commit hash
13bdd4ad0bd6c1f417386192683d5fc36e06ec69- Author
- Tomy Hsieh <[email protected]>
- Date
- over 3 years ago
- Selected line
- 245
if (!isset($_SESSION['mailcow_locale'])) {
if (!isset($_SESSION['mailcow_locale'])) {
DerLinkman
almost 4 years ago
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 246
foreach ($lang2pref as $lang => $q) {
foreach ($lang2pref as $lang => $q) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 247
if (array_key_exists(substr($lang, 0, 2), $AVAILABLE_BASE_LANGUAGES)) {
if (array_key_exists(substr($lang, 0, 2), $AVAILABLE_BASE_LANGUAGES)) {
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 248
$_SESSION['mailcow_locale'] = $AVAILABLE_BASE_LANGUAGES[substr($lang, 0, 2)];
$_SESSION['mailcow_locale'] = $AVAILABLE_BASE_LANGUAGES[substr($lang, 0, 2)];
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 249
break;
break;
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 250
}
}
same change
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 251
}
}
andre.peters
over 8 years ago
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 252
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 253
}
}
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 254
else {
else {
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 255
$_SESSION['mailcow_locale'] = strtolower(trim($DEFAULT_LANG));
$_SESSION['mailcow_locale'] = strtolower(trim($DEFAULT_LANG));
same change
adc23d8
Various...
- Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 256
}
}
andryyy
about 9 years ago
fd5a590
More structural changes
- Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 257
}
}
Kristian
over 8 years ago
b579304
Remember selected lang in cookie
- Full commit hash
b5793048dfd6a7bcc2e940fd3bc716f767c7a43a- Author
- Kristian <[email protected]>
- Date
- over 8 years ago
- Selected line
- 258
if (isset($_COOKIE['mailcow_locale'])) {
if (isset($_COOKIE['mailcow_locale'])) {
André
almost 8 years ago
7490a85
[Web] Check cookie content, fixes #1917
- Full commit hash
7490a85a480575851effa93970e8567ac8f9996a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 259
(preg_match('/^[a-z]{2}$/', $_COOKIE['mailcow_locale'])) ? $_SESSION['mailcow_locale'] = $_COOKIE['mailcow_locale'] : setcookie("mailcow_locale", "", time() - 300);
(preg_match('/^[a-z]{2}$/', $_COOKIE['mailcow_locale'])) ? $_SESSION['mailcow_locale'] = $_COOKIE['mailcow_locale'] : setcookie("mailcow_locale", "", time() - 300);
Kristian
over 8 years ago
b579304
Remember selected lang in cookie
- Full commit hash
b5793048dfd6a7bcc2e940fd3bc716f767c7a43a- Author
- Kristian <[email protected]>
- Date
- over 8 years ago
- Selected line
- 260
}
}
andryyy
about 5 years ago
da20d5d
[Web] Replace country flags, improve flags for last logins, add info about last password change of a user
- Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 261
if (isset($_GET['lang']) && array_key_exists($_GET['lang'], $AVAILABLE_LANGUAGES)) {
if (isset($_GET['lang']) && array_key_exists($_GET['lang'], $AVAILABLE_LANGUAGES)) {
Dennis Neufeld
about 9 years ago
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 262
$_SESSION['mailcow_locale'] = $_GET['lang'];
$_SESSION['mailcow_locale'] = $_GET['lang'];
Kristian
over 8 years ago
b579304
Remember selected lang in cookie
- Full commit hash
b5793048dfd6a7bcc2e940fd3bc716f767c7a43a- Author
- Kristian <[email protected]>
- Date
- over 8 years ago
- Selected line
- 263
setcookie("mailcow_locale", $_GET['lang'], time()+30758400); // one year
setcookie("mailcow_locale", $_GET['lang'], time()+30758400); // one year
Dennis Neufeld
about 9 years ago
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 264
}
}
same change
8fb6a4c
Language selection
- Full commit hash
8fb6a4c34d687993f3f3490a8bd390be289bc379- Author
- Dennis Neufeld <[email protected]>
- Date
- about 9 years ago
- Selected line
- 265
tinect
over 6 years ago
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 266
/*
/*
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 267
* load language
* load language
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 268
*/
*/
DerLinkman
almost 4 years ago
a334f33
Merge PR 4657 into language-change
- Full commit hash
a334f33b35531885d115256dcadb47c5a76971af- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 269
$lang = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/lang/lang.en-gb.json'), true);
$lang = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/lang/lang.en-gb.json'), true);
tinect
over 6 years ago
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 270
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 271
$langFile = $_SERVER['DOCUMENT_ROOT'] . '/lang/lang.'.$_SESSION['mailcow_locale'].'.json';
$langFile = $_SERVER['DOCUMENT_ROOT'] . '/lang/lang.'.$_SESSION['mailcow_locale'].'.json';
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 272
if(file_exists($langFile)) {
if(file_exists($langFile)) {
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 273
$lang = array_merge_real($lang, json_decode(file_get_contents($langFile), true));
$lang = array_merge_real($lang, json_decode(file_get_contents($langFile), true));
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 274
}
}
same change
e7821df
introduce json-files for translations (#3120)
- Full commit hash
e7821df933e27c13ab39c1966e5fcba35fd5f11f- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 275
FreddleSpl0it
over 4 years ago
c1792df
[BS5] include dependencies
- Full commit hash
c1792df819adbd9b0c67ed78d3bd74bcb2669d44- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 276
André
almost 8 years ago
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 277
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.acl.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.acl.inc.php';
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 278
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.address_rewriting.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.address_rewriting.inc.php';
André
almost 8 years ago
9f0be1d
[Web] Fix require_once to always include document root
- Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 279
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.admin.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.admin.inc.php';
andryyy
over 5 years ago
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 280
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.app_passwd.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.app_passwd.inc.php';
same change
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 281
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.customize.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.customize.inc.php';
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 282
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.dkim.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.dkim.inc.php';
andryyy
over 5 years ago
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 283
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.docker.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.docker.inc.php';
same change
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 284
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.domain_admin.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.domain_admin.inc.php';
same change
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 285
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.fail2ban.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.fail2ban.inc.php';
andryyy
about 9 years ago
ce6bf18
Web UI improvements
- Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 286
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.fwdhost.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.fwdhost.inc.php';
andryyy
over 5 years ago
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 287
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.mailbox.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.mailbox.inc.php';
André
over 7 years ago
e30dfd6
[Web] Queue manager for Postfix
- Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2- Author
- André <[email protected]>
- Date
- over 7 years ago
- Selected line
- 288
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.mailq.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.mailq.inc.php';
andryyy
almost 7 years ago
7a85abd
[Web] Prepare for oauth2
- Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 289
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.oauth2.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.oauth2.inc.php';
andryyy
over 5 years ago
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 290
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.policy.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.policy.inc.php';
same change
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 291
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.presets.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.presets.inc.php';
andryyy
over 6 years ago
8f4540d
[Web] r/o API keys, Pushover integration (can be limited by ACL), other minor changes
- Full commit hash
8f4540d5d9f1c85fbb1c9697ccb9653f8744779d- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 292
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.pushover.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.pushover.inc.php';
andryyy
over 5 years ago
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 293
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.quarantine.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.quarantine.inc.php';
same change
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 294
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.quota_notification.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.quota_notification.inc.php';
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
- 295
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.ratelimit.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.ratelimit.inc.php';
andryyy
over 6 years ago
b52ee0a
[Rspamd] Fix map permissions for www
- Full commit hash
b52ee0a706f1b4d0fb7989c8805623d2c842ea47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 296
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.rspamd.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.rspamd.inc.php';
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 297
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.tls_policy_maps.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.tls_policy_maps.inc.php';
andryyy
over 5 years ago
06c89ba
[Web] Implement XMPP
- Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 298
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.transports.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/functions.transports.inc.php';
andryyy
about 9 years ago
f77c40a
Better log table, some MySQL to Redis migrations, API changes, other minor changes...
- Full commit hash
f77c40a179bb89b463318c6dafe4823a5844a43f- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 299
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/init_db.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/init_db.inc.php';
FreddleSpl0it
over 1 year ago
aca01c8
[Web] Separate Login pages
- Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 300
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/triggers.global.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/triggers.global.inc.php';
Kristian Feldsam
almost 5 years ago
0b64967
[web] implemented twig templating system (#4264)
- Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513- Author
- Kristian Feldsam <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 301
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/twig.inc.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/twig.inc.php';
andryyy
over 9 years ago
790c922
New db init system
- Full commit hash
790c92237524ba99efb359fa5bc4b48082ca256b- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 302
init_db_schema();
init_db_schema();
andryyy
almost 9 years ago
66ae588
[Web] Started work on ACL, fix notifications
- Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 303
if (isset($_SESSION['mailcow_cc_role'])) {
if (isset($_SESSION['mailcow_cc_role'])) {
andryyy
over 7 years ago
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 304
// if ($_SESSION['mailcow_cc_role'] == 'user') {
// if ($_SESSION['mailcow_cc_role'] == 'user') {
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 305
// list($master_user, $master_passwd) = explode(':', file_get_contents('/etc/sogo/sieve.creds'));
// list($master_user, $master_passwd) = explode(':', file_get_contents('/etc/sogo/sieve.creds'));
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 306
// $imap_connection = $imap_server->authenticate($_SESSION['mailcow_cc_username'] . '*' . trim($master_user), trim($master_passwd));
// $imap_connection = $imap_server->authenticate($_SESSION['mailcow_cc_username'] . '*' . trim($master_user), trim($master_passwd));
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 307
// $master_user = $master_passwd = null;
// $master_user = $master_passwd = null;
same change
d82c2bf
[Web] Adjust mailbox format
- Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 308
// }
// }
André
almost 8 years ago
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 309
acl('to_session');
acl('to_session');
andryyy
almost 9 years ago
7cb3c41
Merge fix for prereq path
- Full commit hash
7cb3c416cbe6c6cebeb7ea20e0d1b16043ae275f- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 310
}
}
FreddleSpl0it
over 4 years ago
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 311
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 312
// init frontend
// init frontend
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 313
// Minify JS
// Minify JS
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 314
use MatthiasMullie\Minify;
use MatthiasMullie\Minify;
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 315
$js_minifier = new JSminifierExtended();
$js_minifier = new JSminifierExtended();
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 316
$js_dir = array_diff(scandir('/web/js/build'), array('..', '.'));
$js_dir = array_diff(scandir('/web/js/build'), array('..', '.'));
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 317
// Minify CSS
// Minify CSS
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 318
$css_minifier = new CSSminifierExtended();
$css_minifier = new CSSminifierExtended();
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 319
$css_dir = array_diff(scandir('/web/css/build'), array('..', '.'));
$css_dir = array_diff(scandir('/web/css/build'), array('..', '.'));
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 320
// get customized ui data
// get customized ui data
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 321
$UI_TEXTS = customize('get', 'ui_texts');
$UI_TEXTS = customize('get', 'ui_texts');
FreddleSpl0it
about 4 years ago
052959f
[BS5] remove ui theme selector - add darkmode toggler
- Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 322
same change
052959f
[BS5] remove ui theme selector - add darkmode toggler
- Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 323
FreddleSpl0it
over 4 years ago
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 324
// minify bootstrap theme
// minify bootstrap theme
FreddleSpl0it
about 4 years ago
7384aab
[BS5] fix minor issues
- Full commit hash
7384aab2f45f9e1d2fd111cbbe51cd46e5614fde- Author
- FreddleSpl0it <[email protected]>
- Date
- about 4 years ago
- Selected line
- 325
if (file_exists('/web/css/themes/'.$UI_THEME.'-bootstrap.css'))
if (file_exists('/web/css/themes/'.$UI_THEME.'-bootstrap.css'))
FreddleSpl0it
over 4 years ago
051d08b
[BS5] bug fixes
- Full commit hash
051d08b499acdf7d767dc5dcc9062326416f2bba- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 326
$css_minifier->add('/web/css/themes/'.$UI_THEME.'-bootstrap.css');
$css_minifier->add('/web/css/themes/'.$UI_THEME.'-bootstrap.css');
FreddleSpl0it
over 4 years ago
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 327
else
else
FreddleSpl0it
over 1 year ago
05e4bd7
[Web] use global vars for iam_provider and iam_settings
- Full commit hash
05e4bd7602e2d7fecdab638e8e3a8aa2562c5f53- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 328
$css_minifier->add('/web/css/themes/lumen-bootstrap.css');
$css_minifier->add('/web/css/themes/lumen-bootstrap.css');
FreddleSpl0it
over 4 years ago
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 329
// minify css build files
// minify css build files
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 330
foreach ($css_dir as $css_file) {
foreach ($css_dir as $css_file) {
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 331
$css_minifier->add('/web/css/build/' . $css_file);
$css_minifier->add('/web/css/build/' . $css_file);
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 332
}
}
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 333
// minify js build files
// minify js build files
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 334
foreach ($js_dir as $js_file) {
foreach ($js_dir as $js_file) {
same change
635fa79
[BS5] move init frontend block
- Full commit hash
635fa795d21585195a8f894f0988b6a8cb0ece72- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 335
$js_minifier->add('/web/js/build/' . $js_file);
$js_minifier->add('/web/js/build/' . $js_file);
FreddleSpl0it
over 4 years ago
1d8da11
[BS5] change bootstrap navbar
- Full commit hash
1d8da117d6d168a8a67849611e08cdef2adc6726- Author
- FreddleSpl0it <[email protected]>
- Date
- over 4 years ago
- Selected line
- 336
}
}