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/1.0: Difference between revisions

From ZNC
Jump to navigation Jump to search
Kylef (talk | contribs)
m Remove items implemented in previous versions (0.204 and 0.206)
No edit summary
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- The following is generated via this command:
{{ChangeLog}}
HEAD=$(git rev-parse master) ; echo "Last update at $HEAD" ; echo ; git log --format='* %s {{git|%h}}' --no-merges znc-0.098..$HEAD | cat
-->


Last update at 368d06679e3ba007284e52449ba2a90c4883a1f0
== The Big News ==
 
=== Multiple networks per user ===
Think about new users as "user groups", while new networks are similar to old users.
 
To login to ZNC, use <code>user/network:password</code> as password, or <code>user/network</code> as username.
Also, you can switch between different networks on the fly using the <code>/znc JumpNetwork</code> command.
 
When you first run ZNC 1.0, it will automatically convert your config and create a network called "default" for each user. Settings from each user are moved into these "default" networks. When you log into ZNC without setting a network, the "default" network will automatically be chosen for you.
 
Users can create new networks up to an admin-configurable limit. By default, this limit is one network per user.
 
Existing user-per-network setups can be migrated to the new multinetwork setup using the <code>/znc MoveNetwork</code> command.
 
You can see a list of networks via <code>/znc ListNetworks</code> and <code>/znc ListAllUserNetworks</code>.
 
=== Timezones ===
Timezone can now be configured by name, e.g. "GMT-9", or "Europe/Madrid".
Old TimezoneOffset setting (which was the number of hours between the server's timezone and the user's timezone) is deprecated and should not be used anymore. Its old value is lost. The reason for this change is that the old TimezoneOffset was not trivial to count and often broke during switches to/from  daylight savings time.
 
So if you previously used the TimezoneOffset option, you now have to configure your timezone again (via the [[webadmin]] or [[controlpanel]] module).
 
=== No more ZNC-Extra ===
Most modules from [[ZNC-Extra]] are now enabled in the usual installation. It was pointless to have them shipped in the tarball, but requiring user to add some weird flags to ./configure.


//TODO: need to reword almost every line here...
Antiidle, fakeonline and motdfile modules are dropped.


== The Big News ==
Away module is renamed to [[awaystore]] to better explain its meaning.
//TODO: describe items of this section in many details.
* Multinetwork.
* Multitype modules. Web pages for them.
* Flood protection. Rate-limit.
* Timezones. TimezoneOffset is deprecated.
* ZNC-Extra no more. Drop antiidle, fakeonline and motdfile. Rename away module to [[awaystore]] to better explain its meaning.
* server-time capability
* starttls (manually for now)


== Fixes ==
== Fixes ==
* Don't try IPv6 servers, if IPv6 isn't available. Get rid of c-ares.
* Don't try IPv6 servers when IPv6 isn't available. Use threads for non-blocking DNS instead of c-ares.
* Don't forward WHO replies with multi-prefix to unsupported clients
* Fix debug output of identfile.
* Send nick changes to clients before we use call the OnNick module hook
* Don't forward WHO replies with multi-prefix to clients which don't support multi-prefix
* Fix help of admin module.
* Send nick changes to clients before we call the OnNick module hook
* autoreply: Honor RFC 2812.
* Don't connect to SSLed IRC servers when ZNC is compiled without SSL support
* Don't connect to SSLed IRC servers when ZNC is not compiled with SSL
* Fix check for visibility support in the compiler
* Fix check if compiler supports visibility
* Fix compilation on cygwin again, including [[modperl]] and [[modpython]]
* Fix dependencies between modpython parts.
* Support parting several channels at once
* Fix a crash in admin (now [[controlpanel]]) module
* Fix webadmin to deny setting a bindhost that is not on the global list of allowed bindhosts.
* Fix using empty value for defaults in user page in webadmin.


== Minor Stuff ==
== Minor Stuff ==
* Improvements to [[modtcl]] module.
* Rename admin module to [[controlpanel]] to make it clearer that it's not the same as admin flag of a user.
* Add timestamp to <code>znc --debug</code>
* Add protection from flood. If you send multiple lines at once, they will be slowed down, so that the server will not disconnect ZNC due to flood. It can be configured and can be completely turned off. Default settings are: 1 line per second, first 4 lines are sent at once.
* Modules can support several types now: a module can be loaded as a user module, as a network module ''and'' as a global module, if the module supports these types.
* Rename (non-)<code>KeepBuffer</code> to <code>AutoClearChanBuffer</code>
* Process starttls numeric
* Improvements to [[modperl]], [[modpython]], [[modtcl]].
* Add timestamps to <code>znc --debug</code>
* Listeners editor in [[webadmin]]
* Listeners editor in [[webadmin]]
* Add [[sasl]] module which uses SASL to authenticate to NickServ.
* Rename saslauth to [[cyrusauth]], to make it clearer that it's ''not'' needed to do SASL authentication to NickServ.
* Modules get a way to describe their arguments.
* Modules get a way to describe their arguments.
* webadmin: allow edit bindhost without global list.
* webadmin: allow editing of the bindhost without global list.
* make web more strict (closer to XHTML)
* Don't send our password required notice until after CAP negotiation
* Rewrite the JOIN channel logic, dropping MaxJoins {{git|db7c47f}} (need to revert it?)
* Rewrite the JOIN channel logic, dropping MaxJoins
* Support messages directed to specific user prefixes (like <code>/msg @#channel Hello</code>)
* Show link to http://znc.in/ from web as a link. It was plain text before.
* Show link to http://znc.in/ from web as a link. It was plain text before.
* Webadmin: use HTML5 numeric inputs for numbers.
* Webadmin: use HTML5 numeric inputs for numbers.
* Add SSL/IPv6/DNS info to znc --version
* Add SSL/IPv6/DNS info to znc --version
* Clarify that only admins can load [[shell]] module.
* Clarify that only admins can load the [[shell]] module.
* [[cyrusauth]]: Allow creating new users on first login
* Clear channel buffers when keep buffer is disabled if we're online
* Clear channel buffers when keep buffer is disabled if we're online
* [[send_raw]]: Add a command to send a line to the current client
* [[send_raw]]: Add a command to send a line to the current client
* webadmin: Implement clone user
* webadmin: Implement clone user
* Add 381 to the buffer (You are now an IRC Operator)
* autoreply: Honor RFC 2812.
* Add 381 to the buffer ("You are now an IRC Operator")
* identfile: Pause the connection queue while we have a locked file
* identfile: Pause the connection queue while we have a locked file
* autoop: Check for autoops when we are opped ourself
* Add <code>ShowBindHost</code> command
* Improvements to [[partyline]] module
* autoop: Check for autoops when we get op status
* Improvements and fixes to the [[partyline]] module
* [[partyline]] Drop support for fixed channels
* Check that there're modules available on startup. Check if ZNC is installed or not.
* Check that there're modules available on startup. Check if ZNC is installed or not.
* Modified description field for bouncedcc module to explain what the module actually does.
* Modified description field for bouncedcc module to explain what the module actually does.
* nickserv: support also wenet.ru's and rusnet's nickserv requests.
* nickserv: add support for nickserv requests on wenet.ru and rusnet.
* send 422 event if MOTD buffer is empty
* send 422 event if MOTD buffer is empty
* Clear text colors before appending timestamps to buffer lines
* route_replies: Handle much more replies
* Clear text colors before appending timestamps to buffer lines, add space before AppendTimestamp for colorless lines.
* Don't replace our motd with a different servers motd
* webadmin: Add a "Disabled" checkbox for channels
* webadmin: Add a "Disabled" checkbox for channels
* Send a 464 ERR_PASSWDMISMATCH to clients that did not supply a password
* Separate compilation and linking for modules.
* Separate compilation and linking for modules.
* Trim spaces from end of commands to autoattach.
* Trim spaces from end of commands to autoattach.
* nickserv: add ghost, recover and release
* nickserv: add ghost, recover and release
* Warn if config was saved in too new version.
* Warn if config was saved in a newer ZNC version.
* Backup znc.conf when upgrading ZNC.
* Backup znc.conf when upgrading ZNC.
* Add ZNC systemd unit file for those distros that use systemd for their init {{git|4f79b99}} (do we need it?)


== Internal Stuff ==
== Internal Stuff ==
* #include <znc/...h> instead of #include "...h"
* #include <znc/...h> instead of #include "...h"
* Add string formatting function with named params.
* Add string formatting function with named params.
* Csock: able use non-int number of secs for timer. {{git|3aa6b58}} (need to fix a conversion warning)
* Python, perl: support global, user, network modules.
* Csock: able use non-int number of secs for timer.
* CString("off").ToBool() shouldn't be true
* Python: Override __eq__ to allow comparison of strings
* Python: Override __eq__ to allow comparison of strings
* python: Allow iterating over CModules
* python: Allow iterating over CModules
* Add methods to CModule to get the web path
* Add methods to CModule to get the web path
* Fix several issues in modpython.
* Rework modperl to better integrate with perl.
* Rework modperl to better integrate with perl.
* Store all 005 values in a map.
* Store all 005 values in a map.
Line 72: Line 103:
* CZNC::WriteConfig(): Better --debug output
* CZNC::WriteConfig(): Better --debug output
* Slight refactor of CBuffer & CBufLine.
* Slight refactor of CBuffer & CBufLine.
* Implemented a OnInvite hook
* Implemented an OnInvite hook
* Allow a client to become "away"
* Allow a client to become "away"
* Create a connection queue
* Create a connection queue
Line 78: Line 109:
* Add a config writer
* Add a config writer
* Wrap MODULECALL macros in a do-while
* Wrap MODULECALL macros in a do-while
* Don't require CTimer's label to be unique if its empty
* Allow loading python modules with modpython (ex. modname/__init__.py)
* Allow loading python modules with modpython (ex. modname/__init__.py)
 
* bNoChange in On{,De}{Op,Voice} wast incorrect
[[Category:ChangeLog]]
* Drop znc-config, change znc-buildmod so it doesn't need znc-config

Latest revision as of 09:56, 2 April 2017

← 0.206 ZNC 1.0 1.2 →


The Big News

Multiple networks per user

Think about new users as "user groups", while new networks are similar to old users.

To login to ZNC, use user/network:password as password, or user/network as username. Also, you can switch between different networks on the fly using the /znc JumpNetwork command.

When you first run ZNC 1.0, it will automatically convert your config and create a network called "default" for each user. Settings from each user are moved into these "default" networks. When you log into ZNC without setting a network, the "default" network will automatically be chosen for you.

Users can create new networks up to an admin-configurable limit. By default, this limit is one network per user.

Existing user-per-network setups can be migrated to the new multinetwork setup using the /znc MoveNetwork command.

You can see a list of networks via /znc ListNetworks and /znc ListAllUserNetworks.

Timezones

Timezone can now be configured by name, e.g. "GMT-9", or "Europe/Madrid". Old TimezoneOffset setting (which was the number of hours between the server's timezone and the user's timezone) is deprecated and should not be used anymore. Its old value is lost. The reason for this change is that the old TimezoneOffset was not trivial to count and often broke during switches to/from daylight savings time.

So if you previously used the TimezoneOffset option, you now have to configure your timezone again (via the webadmin or controlpanel module).

No more ZNC-Extra

Most modules from ZNC-Extra are now enabled in the usual installation. It was pointless to have them shipped in the tarball, but requiring user to add some weird flags to ./configure.

Antiidle, fakeonline and motdfile modules are dropped.

Away module is renamed to awaystore to better explain its meaning.

Fixes

  • Don't try IPv6 servers when IPv6 isn't available. Use threads for non-blocking DNS instead of c-ares.
  • Fix debug output of identfile.
  • Don't forward WHO replies with multi-prefix to clients which don't support multi-prefix
  • Send nick changes to clients before we call the OnNick module hook
  • Don't connect to SSLed IRC servers when ZNC is compiled without SSL support
  • Fix check for visibility support in the compiler
  • Fix compilation on cygwin again, including modperl and modpython
  • Support parting several channels at once
  • Fix a crash in admin (now controlpanel) module
  • Fix webadmin to deny setting a bindhost that is not on the global list of allowed bindhosts.
  • Fix using empty value for defaults in user page in webadmin.

Minor Stuff

  • Rename admin module to controlpanel to make it clearer that it's not the same as admin flag of a user.
  • Add protection from flood. If you send multiple lines at once, they will be slowed down, so that the server will not disconnect ZNC due to flood. It can be configured and can be completely turned off. Default settings are: 1 line per second, first 4 lines are sent at once.
  • Modules can support several types now: a module can be loaded as a user module, as a network module and as a global module, if the module supports these types.
  • Rename (non-)KeepBuffer to AutoClearChanBuffer
  • Process starttls numeric
  • Improvements to modperl, modpython, modtcl.
  • Add timestamps to znc --debug
  • Listeners editor in webadmin
  • Add sasl module which uses SASL to authenticate to NickServ.
  • Rename saslauth to cyrusauth, to make it clearer that it's not needed to do SASL authentication to NickServ.
  • Modules get a way to describe their arguments.
  • webadmin: allow editing of the bindhost without global list.
  • Don't send our password required notice until after CAP negotiation
  • Rewrite the JOIN channel logic, dropping MaxJoins
  • Support messages directed to specific user prefixes (like /msg @#channel Hello)
  • Show link to http://znc.in/ from web as a link. It was plain text before.
  • Webadmin: use HTML5 numeric inputs for numbers.
  • Add SSL/IPv6/DNS info to znc --version
  • Clarify that only admins can load the shell module.
  • cyrusauth: Allow creating new users on first login
  • Clear channel buffers when keep buffer is disabled if we're online
  • send_raw: Add a command to send a line to the current client
  • webadmin: Implement clone user
  • autoreply: Honor RFC 2812.
  • Add 381 to the buffer ("You are now an IRC Operator")
  • identfile: Pause the connection queue while we have a locked file
  • Add ShowBindHost command
  • autoop: Check for autoops when we get op status
  • Improvements and fixes to the partyline module
  • partyline Drop support for fixed channels
  • Check that there're modules available on startup. Check if ZNC is installed or not.
  • Modified description field for bouncedcc module to explain what the module actually does.
  • nickserv: add support for nickserv requests on wenet.ru and rusnet.
  • send 422 event if MOTD buffer is empty
  • route_replies: Handle much more replies
  • Clear text colors before appending timestamps to buffer lines, add space before AppendTimestamp for colorless lines.
  • Don't replace our motd with a different servers motd
  • webadmin: Add a "Disabled" checkbox for channels
  • Send a 464 ERR_PASSWDMISMATCH to clients that did not supply a password
  • Separate compilation and linking for modules.
  • Trim spaces from end of commands to autoattach.
  • nickserv: add ghost, recover and release
  • Warn if config was saved in a newer ZNC version.
  • Backup znc.conf when upgrading ZNC.

Internal Stuff

  • #include <znc/...h> instead of #include "...h"
  • Add string formatting function with named params.
  • Python, perl: support global, user, network modules.
  • Csock: able use non-int number of secs for timer.
  • CString("off").ToBool() shouldn't be true
  • Python: Override __eq__ to allow comparison of strings
  • python: Allow iterating over CModules
  • Add methods to CModule to get the web path
  • Rework modperl to better integrate with perl.
  • Store all 005 values in a map.
  • Python: Use znc.Socket if no socket class is specified in CreateSocket()
  • CZNC::WriteConfig(): Better --debug output
  • Slight refactor of CBuffer & CBufLine.
  • Implemented an OnInvite hook
  • Allow a client to become "away"
  • Create a connection queue
  • Set default TrimPrefix to ":"
  • Add a config writer
  • Wrap MODULECALL macros in a do-while
  • Don't require CTimer's label to be unique if its empty
  • Allow loading python modules with modpython (ex. modname/__init__.py)
  • bNoChange in On{,De}{Op,Voice} wast incorrect
  • Drop znc-config, change znc-buildmod so it doesn't need znc-config