public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/conf/sogo/custom-sogo.js
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
// redirect to mailcow login form
2
document.addEventListener('DOMContentLoaded', function () {
3
var loginForm = document.forms.namedItem("loginForm");
4
if (loginForm) {
5
window.location.href = '/user';
6
}
7
});
8
// logout function
9
function mc_logout() {
10
fetch("/", {
11
method: "POST",
12
headers: {
13
"Content-Type": "application/x-www-form-urlencoded"
14
},
15
body: "logout=1"
16
}).then(() => window.location.href = '/');
17
}
19
// Custom SOGo JS
21
// Change the visible font-size in the editor, this does not change the font of a html message by default
22
CKEDITOR.addCss("body {font-size: 16px !important}");
24
// Enable scayt by default
25
//CKEDITOR.config.scayt_autoStartup = true;