ActiveX components are not supported on anything after Windows 8.1 and Internet Explorer 11 or Edge.
Please use the built in editor for in place editing, and upgrade to Firefox or Chrome to use drag and drop.
pfx to pem
Windows example of converting a Tomcat SSL certificate to Apache :
keytool -storepass 123 -keystore noodle.pfx -export -alias domain.tld -rfc -file cert.pem keytool -storepass 123 -keystore noodle.pfx -export -alias root -rfc -file fullchain.pem openssl pkcs12 -in noodle.pfx -nocerts -nodes > privkey.pem
IE
Steps to make IE behave more like Chrome or Firefox:
- Tools>internet options>advanced>reset>check delete personal settings>reset
- close IE (all windows)
- Tools>internet options>advanced>uncheck
automatically recover from page errors with compatibility view - Tools>internet options>security>select trusted sites>set to low>sites>remove all the current sites and add the Noodle url.
- Tools>internet options>security>select trusted sites>set to low>custom level>scroll all the way down and disable "XSS filter"
- tools>compatibility view settings> remove and uncheck all.
Google mail and calendar
For mailto:
- Make sure you are on your Google Mail page.
- Copy/paste this into the address bar:
- javascript:navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","Gmail")
- Add the javascript: to the front again if it got automatically trimmed. Then hit enter.
For webcal:
- Make sure you are on your Google Calendar page.
- Copy/paste this into the address bar:
- javascript:navigator.registerProtocolHandler("webcal","https://www.google.com/calendar/render?cid=%s","Google Calendar")
- Add the javascript: to the front again if it got automatically trimmed. Then hit enter.
Single sign-on (SSO)
Noodle SSO can be setup with IWA directly, or via SAML;
For non managed users there is also an option to store the password in the web browser:
- Add a web shortcut to the users startup
- Options:
- Enable the "Noodle > System Tools > Settings > User Settings > Remember my login information" feature
- http[s]://YOUR.DOMAIN.TLD[:PORT]/[IntraNet.po|Noodle.po]
- This option will ask for a password if the user ever clicks logout.
- A link can be downloaded from the profile page.
- Enable the "Noodle > System Tools > Settings > User Settings > Remember my login information" feature
404
This page is for those who host on their own Windows server and are trying to diagnose the cause of a 404.
- If your browser on the server is displaying the page (http://127.0.0.1) properly, it's a networking problem:
- check port forwarding, routing, firewalls, and dns on the server, client, and every device inbetween.
- If your browser on the server is displaying the wrong page or anything other than a timeout, it's a service conflict (logs contains "Address already in use"):
- Use a different port or stop and disable other services using port 80.
- Windows - built in:
- sc config http start= disabled
- net stop http /y
- Linux - list what is using the port:
- netstat -lnp | grep ":80"
- Windows - built in:
- Use a different port or stop and disable other services using port 80.
- If /logs/err.log said it can't find a class:
- use 7z to check the build is not corrupted.
- If there is no noodle.log it's a .bat or Java problem:
- run the intranet.bat one line at a time to isolate the problem.
- reinstall Java and update intranet.bat to the new java.exe .
- If there is no java.exe in the task manager it's a config problem:
- look in the log file for errors.
- run a copy of intranet.bat without the loop or exit to find errors not in the log.
Session closed
If users experience a "Session closed" message there are 2 possibilities:
- The user accessed Noodle with more than one IP address.
- change the setting "System Tools>Settings>General Settings>Session Security Level (IP address matching)" to "0". ("4" being the maximum).
- The user accessed Noodle with more than one cookie (or browser/OS)
- solution: logout on one browser before using another.
Custom JavaScript events
There are prehtml posthtml prejs postjs JavaScript events on select pages.
The prejs and postjs events are for the running of the JS not for the loading of scripts by the browser.
There can me multiple postjs events as it's triggered after any ajax that adds to the page.
Nothing other than custom scripts listen for these events.
Usage example:
function my_method(){alert("hello world");}
top.noodle.cbc.addEventListener(top.document.getElementById('main'), 'postjs', my_method);
or if you are using IE:
function my_method(e){if(e.noodle=="postjs"){alert("hello world");}}
top.noodle.cbc.addEventListener(top.document.getElementById('main'), 'propertychange', my_method);
Simple windows backup example
Set your clock to 24h for best results.
A simple windows backup example:
echo test once then you can double click to backup
exit -1
net stop Noodle
TASKKILL /T /F /IM java.exe
net stop PostgreSQL-9.1
FOR /F "TOKENS=1 eol=/ DELIMS=-" %%A IN ('DATE/T') DO SET yyyy=%%A
FOR /F "TOKENS=2 eol=/ DELIMS=-" %%A IN ('DATE/T') DO SET mm=%%A
FOR /F "TOKENS=3 eol=/ DELIMS=- " %%A IN ('DATE/T') DO SET dd=%%A
FOR /F "TOKENS=1 eol=/ DELIMS=:" %%A IN ('TIME/T') DO SET hh=%%A
FOR /F "TOKENS=2 eol=/ DELIMS=:" %%A IN ('TIME/T') DO SET mn=%%A
SET timedate=%yyyy%%mm%%dd%_%hh%%mn%
SET FOLDER=D:\PGSQL_data_backup_%timedate%
xcopy /E /C /I /H /Q "C:\Program Files (x86)\PostgreSQL\9.1\data" %FOLDER%
net start PostgreSQL-8.4
net start Noodle
"C:\Program Files (x86)\7-Zip\7z.exe" a %FOLDER%.7z %FOLDER%
rmdir /S /Q %FOLDER%
echo %FOLDER%.7z
Javascript change favicon.ico
You need custom scripts enabled.
function myico(){
var link = top.document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.href = "/ShowItemData.po?handle=975527&download=favicon.ico";
top.document.getElementsByTagName("head")[0].appendChild(link);
}
myico();