To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
ChangeLog/0.090: Difference between revisions
DarthGandalf (talk | contribs) Created page with "<!-- Last update at r2006 --> = Upgrading from previous versions = === Errors during start-up === The <code>shell</code>, <code>email</code> and <code>imapauth</code> module..." |
DarthGandalf (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ChangeLog}} | |||
<!-- Last update at r2006 --> | <!-- Last update at r2006 --> | ||
Line 107: | Line 109: | ||
'''A lot of work went into this release, we would like to thank everyone who contributed code, helped testing or provided feedback.''' | '''A lot of work went into this release, we would like to thank everyone who contributed code, helped testing or provided feedback.''' | ||
Latest revision as of 09:54, 2 April 2017
← 0.080 | ZNC 0.090 | 0.092 → |
This is an old ZNC version. If you still use it, please consider upgrading to 1.9.1. |
Upgrading from previous versions
Errors during start-up
The shell
, email
and imapauth
modules have been moved from the regular module set to the "extra" set, you have to use --enable-extra
with ./configure
to compile them.
So, to fix these errors, edit the znc.conf
file in ~/.znc/configs
and don't load those modules, or recompile znc with extra.
WebMods
While previously only the "webadmin" provided an HTTP server/interface, the HTTP server is now integrated into ZNC's core. This means that all modules (not only webadmin) can now provide web pages. Examples shipping with ZNC are lastseen, stickychan and notes. Old-style module arguments to webadmin will be automatically converted to the new syntax.
Please note that the WebMods interface uses session cookies instead of 'Basic' HTTP authentication.
All URLs to webadmin's settings pages have changed. Please adjust your scripts etc. if necessary.
Running without installing
If you want to run ZNC without doing make install
, i.e. if you want to run it from the source dir, you will have to add --enable-run-from-source
as an argument to ./configure
. You do not have to care about this if you use a --prefix=
or if you install ZNC system-wide.
I upgraded and WebAdmin/WebMods is acting weird, Log Out does not work.
Starting with 0.090, ZNC uses cookies instead of HTTP Basic authentication. If your browser is still sending the Basic credentials to ZNC, e.g. because you have saved them in a bookmark, or password manager, or simply haven't restarted your browser in a while, those will continue to work, even after you click the Log Out button.
To fix this, remove any user:pass@host portions from your bookmarks, remove all entries for ZNC's web interface from your password manager, and restart your browser.
Detailed Changelog
New stuff
- Webmods - Every module can now provide its own webpages. (r1784) (r1785) (r1787) (r1788) (r1789) (r1790) (r1791) (r1792) (r1793) (r1795) (r1796) (r1797) (r1800) (r1801) (r1802) (r1804) (r1805) (r1806) (r1824) (r1825) (r1826) (r1827) (r1843) (r1844) (r1868) (r1886) (r1888) (r1915) (r1916) (r1931) (r1934) (r1870) (r1871) (r1872) (r1873) (r1874) (r1875) (r1876) (r1879) (r1887) (r1891) (r1967) (r1982) (r1984) (r1996) (r1997) (r2000) (r2002) (r2003)
- Webmods and thus webadmin now use cookies for managing sessions instead of HTTP authentication. (r1799) (r1819) (r1823) (r1839) (r1840) (r1857) (r1858) (r1859) (r1861) (r1862)
- WebMod-enabled lastseen, stickychan modules. (r1880) (r1881) (r1889) (r1918)
- Partyline now also handles notices, /me and CTCP. (r1758)
- Partyline now saves channel topics across restarts. (r1898) (r1901)
- Added a "number of channels" column to
/znc listusers
. (r1769) - Added an optional user name argument to
/znc listchans
. (r1770) - Support for the general CAP protocol and the multi-prefix and userhost-in-names caps on connections to the IRC server. (r1812)
- ZNC can now listen on IPv4-only, IPv6-only or on both-IP sockets. Renamed "Listen" config option to "Listener". (r1816) (r1817) (r1977)
- Added LoadModule, UnLoadModule, ListMods commands to the Admin module. (r1845) (r1864)
- Added ability to set/get TimezoneOffset to the Admin module. (r1906)
- Added "Connect to IRC + automatically re-connect" checkbox to webadmin. (r1851)
- Remember "automatically connect + reconnect" flag across restarts by writing it to the config file. (r1852)
- Added AddPort, DelPort, ListPorts command to *status. (r1899) (r1913)
- Added optional quit message argument to disconnect command. (r1926)
- Added new charset module to extra. (r1942) (r1947) (r1977) (r1985) (r1994)
- Added a traffic info page to webadmin. (r1958) (r1959)
Fixes
- Don't let ZNC connect to itself. (r1760)
- Added a missing error message to
/znc updatemod
. (r1772) - Generate cryptographically stronger certificates in
--makepem
. (r1774) - Autoattach now triggers on channel actions. (r1778)
- --disable-tcl now really disables TCL instead of enabling it. (r1782)
- User name comparison in blockuser is now case-sensitive. (r1786)
- Fixed /names when route_replies is loaded. (r1811)
- autoreply now ignores messages from self. (r1828)
- Don't forward our own QUIT messages to clients. (r1860)
- Do not create empty directories if one does
./znc --datadir=NON_EXISTING_DIR
. (r1878) - Query to Raw send the command to IRC instead of to the client. (r1892)
- Fixed desync in Partyline after addfixchan or delfixchan. (r1904)
- Save passwords for Nickserv module as NV instead of keeping them as arguments. (r1914)
- CSRF Protection. (r1932) (r1933) (r1935) (r1936) (r1938) (r1940) (r1944)
- Fixed a rare configure failure with modperl. (r1946)
- disconkick now only sends kicks for channels the client actually joined. (r1952)
- More sanity checks while rewriting znc.conf. (r1962)
- Fixed static compilation with libcrypto which needs libdl by checking for libdl earlier. (r1969)
- Fixed modtcl with newer tcl versions. (r1970)
- Better error message if pkg-config is not found. (r1983)
- Fixed a possible race condition in autoop which could cause bogous "invalid password" messages. (r1998)
Minor stuff
- Fixed a memory leak and some coding style thanks to cppcheck. (r1761) (r1762) (r1763) (r1764) (r1776) (r1777)
- Updated to latest Csocket. (r1766) (r1767) (r1814) (r1905) (r1930)
- Cleanup to
/znc help
. (r1771) - Removed
--disable-modules
. Modules are now always enabled. (r1794) (r1829) - saslauth: Error out "better" on invalid module arguments. (r1809)
- Changed the default ConnectDelay from 30s to 5s. (r1822)
- Misc style/skin fixes to webadmin/webmods. (r1853) (r1854) (r1856) (r1883) (r1884) (r1885) (r1890) (r1900) (r1907) (r1908) (r1909) (r1911) (r1912) (r1917) (r1945) (r2005)
- Do not expose ZNC's version number through the web interface unless there's an active user session. (r1877)
- Updated AUTHORS file. (r1902) (r1910) (r1999)
- Moved some modules into/out of extra. (r1919) (r1922) (r1923)
- Added
./configure --enable-run-from-script
, without it ZNC will no longer look for modules in ./modules/. (r1927) (r1928) (r2001) - Made a dedicated page to confirm user deletion in webadmin. (r1937) (r1939) (r1941) (r1943)
- Use spaces for seperating ip addresses from ports. (r1955)
- ZNC's built-in MOTD now goes through ExpandString. (r1956)
- Check for root before generating a new config file. (r1988)
- Added a flag for adding irc-only / http-only ports via
/znc addport
. (r1990) (r1992)
Internal stuff
- Minor cleanup to various places. (r1757) (r1759) (r1846) (r1847) (r1863) (r1865) (r1920) (r1921) (r2004)
- Changes in configure. (r1893) (r1894) (r1895) (r1896) (r1897)
- Flakes messed with the version number. (r1768)
- CString::Split() now Trim()s values before pushing them if bTrimWhiteSpace is true. (r1798)
- Added new module hooks for config entries. (r1803) (r1848) (r1849) (r1850)
- New module hook OnAddUser(). (r1820) (r1821)
- Cleanup to ISUPPORT parser. (r1807)
- Use Split() instead of Token() where possible. (r1808)
- Modularize CIRCSock::ForwardRaw353(). (r1810)
- Use a better seed for srand(). (r1813)
- Changes to debug output. (r1815) (r1836) (r1837) (r1855) (r1882)
- Support for delayed HTTP request processing. (r1830) (r1833) (r1834) (r1835) (r1838) (r1841) (r1842)
- Fixed CSmartPtr's operator==. (r1818)
- Better port/listener management exposed through CZNC. (r1866) (r1867)
- Move CListener and CRealListener into their own files. (r1924)
- Move the HTTP/IRC switching to CIncomingConnection. (r1925)
- Add IsIRCAway() to CUser. (r1903)
- Move some common pid file code into new InitPidFile(). (r1929)
- Templates can now sort loops based on a key. (r1948) (r1949) (r1951) (r1953) (r1954)
A lot of work went into this release, we would like to thank everyone who contributed code, helped testing or provided feedback.