You need custom scripts enabled and a page re-writer setup.
if (url.indexOf("datamanager/ReportView.po")>-1){
doc.getElementById("totalsTable").style.display="none";
}You need custom scripts enabled and a page re-writer setup.
if (url.indexOf("datamanager/ReportView.po")>-1){
doc.getElementById("totalsTable").style.display="none";
}There are numerous backup methods generally; complete or partial, hot or cold.
A simple method is a cold complete backup:
Backup option selection:
Production environments should select a backup strategy to maximize flexibility while reducing server load and storage requirements.
For details on backup options please read your VM and database documentation:
Also see the Windows PostgreSQL example.
To insert JavaScript or HTML into the login page of Noodle - often used for a Message of the Day (MOTD) or legal waiver:
Other ways to insert JavaScript here
Using modern web browsers and enabling "System Tools > Security > General > Use anti xss headers" will force continued HTTPS usage.
Old web browsers can be redirected by enabling MOTD, then adding the following to the end of your MOTD.html file:
<script>
if (document.location.href.indexOf("http:") > -1) {
document.location.href = document.location.href.replace(/http:\/\//, "https://");
}
</script>Automation of renewals via ACME are supported by most Certificate Authorities and are recommended due to the industry transition to 47 day certificates. Automation can be set up manually or If Noodle is publicly accessible via port 80 on a public domain name it can set itself up via
If automation is used, free certificates are available from
If you already have a key pair (private and signed public) in a keystore (.jks/PKCS#7, or .pfx/pkcs12) or as separate files (.der, .pem/X.509) just make sure the server.xml file is pointing to them and restart the Noodle service. (see below for server.xml examples)
SET PATH=%PATH%;%PROGRAMFILES%\java\binkeytool -genkey -alias noodle.domain.tld -validity 365 -keyalg RSA -keystore noodle.pfxOnce this command has been entered, Keytool will ask some questions regarding your company. Enter information as follows:
Popular Certificate Authorities (CA) include Let's Encrypt, Thawte, VeriSign, GoDaddy, Network Solutions.
keytool -certreq -alias noodle.domain.tld -keystore noodle.pfx -file noodlecert.csr
After uploading the file or pasting the text from that file in the CA,
Select "Tomcat" as the format when downloading your signed public key from your CA.
keytool -import -alias carootcert -trustcacerts -file ca-root.crt -keystore noodle.pfx
keytool -import -alias intermediate -trustcacerts -file intermediate.crt -keystore noodle.pfx
keytool -import -alias noodle.domain.tld -trustcacerts -file noodlecert.crt -keystore noodle.pfx
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol" port="443" defaultSSLHostConfigName="null" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig hostName="null" protocols="TLSv1.2,+TLSv1.3">
<Certificate type="RSA" certificateKeystoreFile="noodle.pfx" certificateKeystorePassword="123456"/>
</SSLHostConfig>
</Connector>Noodle can now be accessed using the HTTPS protocols.
If using Windows make sure The NoodleHTTPS entry in the your firewall is enabled and the correct port.
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol" port="443" defaultSSLHostConfigName="noodle.domain.tld" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig hostName="noodle.domain.tld" protocols="TLSv1.2,+TLSv1.3">
<Certificate
certificateKeyFile="/etc/letsencrypt/live/noodle.domain.tld/privkey.pem"
certificateFile="/etc/letsencrypt/live/noodle.domain.tld/cert.pem"
certificateChainFile="/etc/letsencrypt/live/noodle.domain.tld/fullchain.pem"
type="RSA" />
</SSLHostConfig>
</Connector>Read how here.
Read how here.
Converting is not required as jks, pfx(pkcs12), pem are all supported.
See Tomcat documentation here.
The amount of information sent to the noodle.log can be adjusted in noodle.properties file. To enable Debug Logging do the following:
Windows
Linux
For windows go here
Debian/Ubuntu examples;
Fedora/RedHat/CentOS examples:
Alpine
Clear Linux is missing postgresql-contrib
For MSSQL installations go here.
For Domain Managed Machines go here.
For linux instructions go here
Windows
or
Linux
or
To set this up see Running Noodle as a Service.
To stop Noodle on Windows use the Task Manager to kill Java or with
taskkill /IM java.exe /F