From e78cb70d33a55997b941c70e44bd18762ae15ee7 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 26 Feb 2020 02:39:37 -0500 Subject: [PATCH 01/14] streamline credits --- README | 15 +++++---------- README.md | 15 +++++---------- docs/MANUAL.md | 9 ++++++--- irc/handlers.go | 7 ++++--- irc/server.go | 12 ++---------- 5 files changed, 22 insertions(+), 36 deletions(-) diff --git a/README b/README index a17cb730..c189501d 100644 --- a/README +++ b/README @@ -55,13 +55,8 @@ Otherwise, just starting the server will run an automagic backup and upgrade. === Credits === -* Jeremy Latt, creator of Ergonomadic, -* Edmund Huber, maintainer of Ergonomadic, -* Niels Freier, added WebSocket support to Ergonomadic, -* Daniel Oakley, maintainer of Oragono, -* Euan Kemp, contributor to Oragono and lots of useful fixes, -* Shivaram Lingamneni, has contributed a ton of fixes, refactoring, and general improvements, -* James Mills, contributed Docker support, -* Vegax, implementing some commands and helping when Oragono was just getting started, -* Sean Enck, transitioned us from using a custom script to a proper Makefile, -* apologies to anyone I forgot. +* Jeremy Latt (2012-2014) +* Edmund Huber (2014-2015) +* Daniel Oaks (2016-present) +* Shivaram Lingamneni (2017-present) +* Many other contributors and friends of the project <3 diff --git a/README.md b/README.md index 82dd9975..0819036e 100644 --- a/README.md +++ b/README.md @@ -117,13 +117,8 @@ Make sure to setup [SASL](https://freenode.net/kb/answer/sasl) in your client to # Credits -* Jeremy Latt, creator of Ergonomadic, -* Edmund Huber, maintainer of Ergonomadic, -* Niels Freier, added WebSocket support to Ergonomadic, -* Daniel Oakley, maintainer of Oragono, -* Euan Kemp, contributor to Oragono and lots of useful fixes, -* Shivaram Lingamneni, co-maintainer of Oragono, -* James Mills, contributed Docker support, -* Vegax, implementing some commands and helping when Oragono was just getting started, -* Sean Enck, transitioned us from using a custom script to a proper Makefile, -* apologies to anyone I forgot. +* Jeremy Latt (2012-2014) +* Edmund Huber (2014-2015) +* Daniel Oaks (2016-present) +* Shivaram Lingamneni (2017-present) +* [Many other contributors and friends of the project <3](https://github.com/oragono/oragono/blob/master/CHANGELOG.md) diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 25a78997..5e887106 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -780,8 +780,11 @@ Oragono can emulate certain capabilities of the ZNC bouncer for the benefit of c # Acknowledgements -Always, thanks to Jeremy Latt for creating Ergonomadic. Thanks for Edmund Huber for maintaining Ergonomadic and providing useful help while transitioning. +Oragono's past and present maintainers and core contributors are: -Thanks to Euan Kemp (euank) for the contributions and help with this, along with other projects, and to James Mills, Vegax and Sean Enck for various other help and contributions on the server. +* Jeremy Latt (2012-2014) +* Edmund Huber (2014-2015) +* Daniel Oaks (2016-present) +* Shivaram Lingamneni (2017-present) -And a massive thanks to Shivaram Lingamneni (slingamn) for being an amazing co-maintainer of Oragono! You've contributed a lot to Oragono, and really convinced me to step up with this and take the server forward in a big way. I'm grateful for everything you've done, and working with ya' is a pleasure. +In addition, Oragono has benefited tremendously from its community of contributors, users, and translators, not to mention collaborations with the wider IRCv3 community. There are too many people to name here --- but we try to credit people for individual contributions in the changelog, please reach out to us if we forgot you :-) diff --git a/irc/handlers.go b/irc/handlers.go index 4e898e11..21cc5105 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -1001,16 +1001,17 @@ func infoHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp } rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("Oragono is released under the MIT license.")) rb.Add(nil, server.name, RPL_INFO, client.nick, "") - rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on")+" <3") - rb.Add(nil, server.name, RPL_INFO, client.nick, "") rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("Core Developers:")) for _, line := range infoString2 { rb.Add(nil, server.name, RPL_INFO, client.nick, line) } - rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("Contributors and Former Developers:")) + rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("Former Core Developers:")) for _, line := range infoString3 { rb.Add(nil, server.name, RPL_INFO, client.nick, line) } + rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("For a more complete list of contributors, see our changelog:")) + rb.Add(nil, server.name, RPL_INFO, client.nick, " https://github.com/oragono/oragono/blob/master/CHANGELOG.md") + rb.Add(nil, server.name, RPL_INFO, client.nick, "") // show translators for languages other than good ole' regular English tlines := server.Languages().Translators() if 0 < len(tlines) { diff --git a/irc/server.go b/irc/server.go index 2ffe41c9..7eba51e9 100644 --- a/irc/server.go +++ b/irc/server.go @@ -992,15 +992,7 @@ var ( infoString2 = strings.Split(` Daniel Oakley, DanielOaks, Shivaram Lingamneni, slingamn, `, "\n") - infoString3 = strings.Split(` 3onyc - Edmund Huber - Euan Kemp (euank) - Jeremy Latt - Martin Lindhe (martinlindhe) - Roberto Besser (besser) - Robin Burchell (rburchell) - Sean Enck (enckse) - soul9 - Vegax + infoString3 = strings.Split(` Jeremy Latt, jlatt + Edmund Huber, edmund-huber `, "\n") ) From 8a0c4172066686d983d7f8078ee93d4a2f670735 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 26 Feb 2020 02:39:47 -0500 Subject: [PATCH 02/14] update changelog --- CHANGELOG.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81349a42..9de9c1ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,102 @@ # Changelog All notable changes to Oragono will be documented in this file. +## [2.0.0-rc1] - 2020-03-01 +We're pleased to be publishing the release candidate for Oragono 2.0.0 (the official release should follow in a week or two). Version 2.0.0 is a major update with a wide range of enhancements and fixes. Major highlights include: + +* Support for storing chat history in a MySQL backend +* Full "bouncer" functionality, including "always-on" clients that remain present on the server even when disconnected +* LDAP support contributed by [@mattouille](https://github.com/mattouille) +* Support for the ratified [labeled-response](https://ircv3.net/specs/extensions/labeled-response.html) IRCv3 capability +* Enhanced support for Kubernetes + +Many thanks to [@csmith](https://github.com/csmith), [@mattouille](https://github.com/mattouille), and [@xPaw](https://github.com/xPaw) for contributing patches, to [@csmith](https://github.com/csmith) and [@wrmsr](https://github.com/wrmsr) for contributing code reviews, to [@bogdomania](https://github.com/bogdomania), [@brenns10](https://github.com/brenns10), [@daurnimator](https://github.com/daurnimator), [@ekianjo](https://github.com/ekianjo), horseface, [@ivucica](https://github.com/ivucica), [@jesopo](https://github.com/jesopo), [@jwheare](https://github.com/jwheare), KoDi, lover, [@mabgnu](https://github.com/mabgnu), [@poVoq](https://github.com/poVoq), [@TETYYS](https://github.com/TETYYS), and [@zaher](https://github.com/zaher) for reporting issues, and to [TRANSLATORS]. + +This release includes changes to the config file format, including two breaking changes: + +1. Backwards compatibility with the old `server.listen` format for configuring listeners has been removed; you must now use the `server.listeners` format that was introduced in 1.2.0. +2. The two sections `server.connection-limits` and `server.connection-throttling` have been consolidated into one new section, `server.ip-limits`. + +Other changes to the config file format are backwards compatible and do not require updating before restart. To minimize potential downtime, we suggest the following workflow: + +1. Without upgrading your `oragono` binary, edit your config file to add new `server.listeners` and `server.ip-limits` sections, based on the example config file +2. Rehash your server, confirming that the new config file is valid for for the previous version of the server +3. Upgrade your `oragono` binary to the new 2.0.x version and restart your server +4. Once your deployment is stable on 2.0.x, delete the old `server.listen`, `server.connection-limits`, and `server.connection-throttling` sections from your config, and rehash your server to confirm + +This release includes a database change. If you have `datastore.autoupgrade` set to `true` in your configuration, it will be automatically applied when you restart Oragono. Otherwise, you can update the database manually by running `oragono upgradedb` (see the manual for complete instructions). + +### Config Changes +* Desupported `server.listen` in favor of `server.listeners`, a breaking change (#794) +* Desupported `server.connection-limits` and `server.connection-throttling` in favor of `server.ip-limits`, a breaking change (#646) +* The recommended default is now to allow plaintext only on loopback interfaces (#801) +* Added `server.casemapping` option to control which Unicode nicknames and channels are allowed (#693) +* Added `server.lookup-hostnames` and `server.forward-confirm-hostnames` options to control hostname lookup (#688) +* Added new `limits.multiline` section to control the new `draft/multiline` capability +* Added sections for enabling the optional MySQL history storage backend: `datastore.mysql` for connecting to the server and `history.persistent` for controlling which messages are stored +* Added `history.restrictions` for preventing people from retrieving arbitrarily old history messages +* Added `history.znc-maxmessages`, allowing a higher history replay limit for bouncer emulation relative to CHATHISTORY +* Added `accounts.vhosts.offer-list`, allowing users to take pre-approved vhosts without operator approval (#737) +* Renamed `accounts.bouncer` to `accounts.multiclient` (the old name still works) (#787) +* New recommended values of `server.max-sendq`, `server.ip-cloaking.num-bits`, `accounts.registration.bcrypt-cost`, `accounts.nick-reservation.enabled` (now true), `accounts.multiclient.allowed-by-default` (now true) +* Added `server.ip-cloaking.secret-environment-variable`, allowing the cloaking secret to be deployed via an environment variable for use in Kubernetes (#741, thanks [@daurnimator](https://github.com/daurnimator)!) + +### Security +* Added forward confirmation of reverse DNS lookups for hostnames: to enable this, set `server.forward-confirm-hostnames` to true (#688) +* Added protection against confusable channel names (#581) +* Fixed cases where Tor users could receive CTCP messages, contrary to expectations (#752, #753) +* Fixed `NS INFO` displaying the local timezone (#710) +* Fixed `accounts.authentication-enabled` failing to disable the `NS IDENTIFY` command (#721) +* Fixed confusable protection not being applied to newly registered accounts (#745, thanks [@bogdomania](https://github.com/bogdomania)!) + +### Added +* Added support for persistent history storage in MySQL (#348) +* Added support for "always-on" clients that remain present on the server even when disconnected (#348, #701) +* Added support for LDAP (#690, thanks [@mattouille](https://github.com/mattouille), [@ivucica](https://github.com/ivucica), and [@mabgnu](https://github.com/mabgnu)!) +* Added support for the new [draft/multiline](https://github.com/ircv3/ircv3-specifications/pull/398) specification (#670, thanks [@jwheare](https://github.com/jwheare) and [@jesopo](https://github.com/jesopo)!) +* Added new modes for Unicode characters in nicknames and channel names: ASCII-only and "permissive" (allowing emoji) (#693) +* Added support for plaintext PROXY lines ahead of a TLS handshake, improving compatibility with some Kubernetes load balancers (#561, thanks @RyanSquared](https://github.com/RyanSquared) and [@daurnimator](https://github.com/daurnimator)!) +* Added support for authenticating operators by TLS client certificates, and automatically applying operator privileges on login (#696, thanks [@RyanSquared](https://github.com/RyanSquared)!) +* Added `/DEOPER` command to remove operator privileges (#549, thanks [@bogdomania](https://github.com/bogdomania)!) +* Added `/CHANSERV TRANSFER`, allowing transfers of channel ownership (#684) +* Added `/NICKSERV CERT`, allowing users to manage their authorized client certificates (#530) +* Added `/HOSTSERV TAKE`, allowing users to take pre-approved vhosts without operator approval (#737) +* Added support for configuring connection limits and throttling for individual CIDRs (#646, thanks KoDi!) +* Added `/CHANSERV PURGE`, allowing server administrators to shut down channels (#683) +* Added `/CHANSERV CLEAR`, allowing channel founders to reset stored bans and privileges (#692) +* Added `/CHANSERV SET`, allowing channel founders to disable channel history (#379) +* Added account preference `AUTOREPLAY-JOINS`, allowing greater control over when joins and parts appear in history replay (#616, thanks [@zaher](https://github.com/zaher)!) +* Added `/DEBUG CRASHSERVER` command (#791) +* Added channel mode `+C` to suppress CTCP messages to a channel (#756) +* Added some missing snomasks for events related to accounts and vhosts (`+s v` to enable vhost snomasks) (#347, #103) + +### Changed +* Updated CHATHISTORY support to the [latest draft](https://github.com/ircv3/ircv3-specifications/pull/393) (#621, thanks [@prawnsalad](https://github.com/prawnsalad)!) +* `/HISTORY` now defaults to returning 100 messages, and also takes time durations like `1h` as arguments (#621, thanks lover!) +* D-Lines are no longer enforced against loopback IPs (#671) +* Password length limit was reduced from 600 bytes to 300 bytes (#775) + +### Fixed +* Fixed a bug where `znc.in/playback` commands would play every channel, regardless of the target parameter (#760, thanks [@brenns10](https://github.com/brenns10)!) +* Fixed `MODE -o` not removing all operator permissions (#725, #549, thanks [@bogdomania](https://github.com/bogdomania)!) +* Fixed client-only tags being relayed in direct messages to users without the `message-tags` capability (#754, thanks [@jesopo](https://github.com/jesopo)!) +* Fixed the channel user limit (the `+l` mode) not persisting after server restart (#705, thanks [@bogdomania](https://github.com/bogdomania)!) +* Fixed response to `JOIN` lines with parameters ending in a comma (#679, thanks [@bogdomania](https://github.com/bogdomania)!) +* Fixed confusable protection not being removed from unregistered accounts (#745, thanks [@bogdomania](https://github.com/bogdomania)!) +* Fixed rehash not enabling nickname reservation, vhosts, or history under some circumstances (#702, thanks [@bogdomania)(https://github.com/bogdomania)!) +* Fixed responses to the `USERHOST` command (#682) +* Fixed bad results when running `oragono upgradedb` against a missing database file (#715, thanks [@bogdomania](https://github.com/bogdomania)!) +* Fixed confusing `NS GHOST` behavior when nickname reservation is disabled (#727, thanks horseface!) +* Fixed validation of authzid during SASL (#716, thanks [@xPaw](https://github.com/xPaw)!) +* Non-ASCII characters are proactively disallowed in `ip-cloaking.netname` (#713, thanks [@bogdomania](https://github.com/bogdomania)!) + +### Removed +* Removed `oragono.io/maxline-2` capability in favor of the new `draft/multiline` capability (#670, #752) +* Removed `oragono.io/bnc` capability (multiclient functionality is now controllable only via server config and `/NS SET MULTICLIENT`) (#787) + +### Internal Notes +* Updated to Go 1.14 and modules, simplifying the build process (#699) + ## [1.2.0] - 2019-11-17 We're pleased to announce Oragono 1.2.0. This version contains bug fixes and minor improvements. From ebed7ad4ea50f163cd0e8284b0f1faeb133d2172 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 26 Feb 2020 02:39:58 -0500 Subject: [PATCH 03/14] update documentation and branding --- README | 2 +- README.md | 24 ++++++++++++++-------- docs/MANUAL.md | 56 ++++++++++++++++++++++---------------------------- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/README b/README index c189501d..d7db9ca7 100644 --- a/README +++ b/README @@ -7,7 +7,7 @@ ----------------------------------------------------------------------------------------------- -Oragono is a modern, experimental IRC server written in Go. It's designed to be simple to setup +Oragono is a modern IRC server written in Go. It's designed to be simple to setup and use, and to provide the majority of features that IRC users expect today. It includes features such as UTF-8 nicks and channel names, client accounts and SASL, and other diff --git a/README.md b/README.md index 0819036e..044d27b0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,13 @@ ![Oragono logo](docs/logo.png) -Oragono is a modern, experimental IRC server written in Go. It's designed to be simple to setup and use, and it includes features such as UTF-8 nicks / channel names, client accounts with SASL, and other assorted IRCv3 support. +Oragono is a modern IRC server written in Go. Its core design principles are: -Oragono is a fork of the [Ergonomadic](https://github.com/edmund-huber/ergonomadic) IRC daemon <3 +* Being simple to set up and use +* Combining the features of an ircd, a services framework, and a bouncer (integrated account management, history storage, and bouncer functionality) +* Bleeding-edge [IRCv3 support](http://ircv3.net/software/servers.html), suitable for use as an IRCv3 reference implementation +* Highly customizable via a rehashable (i.e., reloadable at runtime) YAML config + +Oragono is a fork of the [Ergonomadic](https://github.com/jlatt/ergonomadic) IRC daemon <3 --- @@ -19,14 +24,15 @@ Oragono is a fork of the [Ergonomadic](https://github.com/edmund-huber/ergonomad ## Features -* UTF-8 nick and channel names with rfc7613 (PRECIS) -* [yaml](http://yaml.org/) configuration -* native TLS/SSL support -* updating server config and TLS certificates on-the-fly (rehashing) -* user accounts and SASL -* supports [multiple languages](https://crowdin.com/project/oragono) (you can also set a default language for your network) * integrated services: NickServ for user accounts, ChanServ for channel registration, and HostServ for vanity hosts -* experimental support for bouncer-like features (storing and replaying history, allowing multiple clients to use the same nickname) +* bouncer-like features: storing and replaying history, allowing multiple clients to use the same nickname +* UTF-8 nick and channel names with rfc7613 (PRECIS) +* native TLS/SSL support, including support for client certificates +* [yaml](https://yaml.org/) configuration +* updating server config and TLS certificates on-the-fly (rehashing) +* SASL authentication +* LDAP support +* supports [multiple languages](https://crowdin.com/project/oragono) (you can also set a default language for your network) * advanced security and privacy features (support for requiring SASL for all logins, cloaking IPs, and running as a Tor hidden service) * an extensible privilege system for IRC operators * ident lookups for usernames diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 5e887106..23c952a4 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -28,7 +28,7 @@ _Copyright © Daniel Oaks , Shivaram Lingamneni Date: Wed, 26 Feb 2020 02:54:57 -0500 Subject: [PATCH 04/14] fix a manual typo --- docs/MANUAL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 23c952a4..089333ae 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -71,7 +71,7 @@ In addition to its unique features (integrated services and bouncer, comprehensi We believe Oragono should scale comfortably to 10,000 clients and 2,000 clients per channel, making it suitable for small to medium-sized teams and communities. Oragono does not currently support server-to-server linking (federation), meaning that all clients must connect to the same instance. However, since Oragono is implemented in Go, it is reasonably effective at distributing work across multiple cores on a single server; in other words, it should "scale up" rather than "scaling out". (Federation is [planned](https://github.com/oragono/oragono/issues/26) but is not scheduled for development in the near term.) -Even though it runs as a single instance, Oragono can be deployed for high availability (i.e., with no single point of failure) using Kubernetes. This technique uses a k8s [LoadBalancer](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/) to receive external traffic and a [Volume](https://kubernetes.io/docs/concepts/storage/volumes/) to store the embedded database file). +Even though it runs as a single instance, Oragono can be deployed for high availability (i.e., with no single point of failure) using Kubernetes. This technique uses a k8s [LoadBalancer](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/) to receive external traffic and a [Volume](https://kubernetes.io/docs/concepts/storage/volumes/) to store the embedded database file. If you're interested in deploying Oragono at scale or for high availability, or want performance tuning advice, come find us on [`#oragono` on freenode](ircs://irc.freenode.net:6697/#oragono), we're very interested in what our software can do! From 168ec8050979eed202c59ed0d5fc433332ec21f9 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 26 Feb 2020 13:25:49 -0500 Subject: [PATCH 05/14] add a note about go upgrades --- DEVELOPING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DEVELOPING.md b/DEVELOPING.md index 708d5a20..168d4656 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -9,6 +9,12 @@ You should use the [latest distribution of the Go language for your OS and archi Oragono vendors all its dependencies. Because of this, Oragono is self-contained and you should not need to fetch any dependencies with `go get`. Doing so is not recommended, since it may fetch incompatible versions of the dependencies. +If you're upgrading the Go version used by Oragono, there are several places where it's hard-coded and must be changed: + +1. `.travis.yml`, which controls the version that our CI test suite uses to build and test the code (e.g., for a PR) +2. `distrib/docker/Dockerfile`, which controls the version that the Oragono binaries in our Docker images are built with +3. `go.mod`: this should be updated automatically by Go when you do module-related operations + ## Branches From 21fd49c6fb0cbf1abf841cec455dacc468100bd4 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 26 Feb 2020 13:40:55 -0500 Subject: [PATCH 06/14] rewrite history paragraph --- docs/MANUAL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 089333ae..8c0d47b8 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -56,7 +56,7 @@ If you have any suggestions, issues or questions, feel free to submit an issue o ## Project Basics -Oragono is an ircd written "from scratch" in the [Go](https://en.wikipedia.org/wiki/Go_%28programming_language%29) language, i.e., it shares no code with the [original ircd daemon](http://www.irc.org/history_docs/jarkko.html) or [any other major ircd](https://github.com/grawity/irc-docs/blob/master/family-tree.txt). It began as [ergonomadic](https://github.com/jlatt/ergonomadic), which was implemented by Jeremy Latt between 2012 and 2014. In 2016, Daniel Oaks forked the project under its current name Oragono, in order to prototype [IRCv3](https://ircv3.net/) features and for use as a reference implementation of the [Modern IRC specification](https://modern.ircdocs.horse). Oragono 1.0.0 was released in February 2019, and as of 2020 the project is under active development by multiple contributors. +Oragono is an ircd written "from scratch" in the [Go](https://en.wikipedia.org/wiki/Go_%28programming_language%29) language, i.e., it [shares no code](https://github.com/grawity/irc-docs/blob/master/family-tree.txt) with the original ircd implementation or any other major ircd. It began as [ergonomadic](https://github.com/jlatt/ergonomadic), which was developed by Jeremy Latt between 2012 and 2014. In 2016, Daniel Oaks forked the project under its current name Oragono, in order to prototype [IRCv3](https://ircv3.net/) features and for use as a reference implementation of the [Modern IRC specification](https://modern.ircdocs.horse). Oragono 1.0.0 was released in February 2019, and as of 2020 the project is under active development by multiple contributors. Oragono's core design goals are: From a0645f7eac51f3036112665e2b77b2cbdb05d25e Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 28 Feb 2020 00:15:37 -0500 Subject: [PATCH 07/14] add new changelog entries --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9de9c1ce..a49a0b01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ This release includes a database change. If you have `datastore.autoupgrade` set * Added `/CHANSERV SET`, allowing channel founders to disable channel history (#379) * Added account preference `AUTOREPLAY-JOINS`, allowing greater control over when joins and parts appear in history replay (#616, thanks [@zaher](https://github.com/zaher)!) * Added `/DEBUG CRASHSERVER` command (#791) +* `znc.in/playback` now supports nicknames as targets (#830) * Added channel mode `+C` to suppress CTCP messages to a channel (#756) * Added some missing snomasks for events related to accounts and vhosts (`+s v` to enable vhost snomasks) (#347, #103) @@ -89,6 +90,7 @@ This release includes a database change. If you have `datastore.autoupgrade` set * Fixed confusing `NS GHOST` behavior when nickname reservation is disabled (#727, thanks horseface!) * Fixed validation of authzid during SASL (#716, thanks [@xPaw](https://github.com/xPaw)!) * Non-ASCII characters are proactively disallowed in `ip-cloaking.netname` (#713, thanks [@bogdomania](https://github.com/bogdomania)!) +* Limited the time during which `znc.in/playback` affects channel joins (#829) ### Removed * Removed `oragono.io/maxline-2` capability in favor of the new `draft/multiline` capability (#670, #752) From 6663ad44a3e56db36f795a3287c6182074da919c Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 28 Feb 2020 00:28:13 -0500 Subject: [PATCH 08/14] fix markdown typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a49a0b01..6d073c76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,7 +84,7 @@ This release includes a database change. If you have `datastore.autoupgrade` set * Fixed the channel user limit (the `+l` mode) not persisting after server restart (#705, thanks [@bogdomania](https://github.com/bogdomania)!) * Fixed response to `JOIN` lines with parameters ending in a comma (#679, thanks [@bogdomania](https://github.com/bogdomania)!) * Fixed confusable protection not being removed from unregistered accounts (#745, thanks [@bogdomania](https://github.com/bogdomania)!) -* Fixed rehash not enabling nickname reservation, vhosts, or history under some circumstances (#702, thanks [@bogdomania)(https://github.com/bogdomania)!) +* Fixed rehash not enabling nickname reservation, vhosts, or history under some circumstances (#702, thanks [@bogdomania](https://github.com/bogdomania)!) * Fixed responses to the `USERHOST` command (#682) * Fixed bad results when running `oragono upgradedb` against a missing database file (#715, thanks [@bogdomania](https://github.com/bogdomania)!) * Fixed confusing `NS GHOST` behavior when nickname reservation is disabled (#727, thanks horseface!) From 957fa8dd994e4ece735452f348d7978932e502f7 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 28 Feb 2020 00:42:43 -0500 Subject: [PATCH 09/14] fix incorrect comment in oragono.yaml --- oragono.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oragono.yaml b/oragono.yaml index f1a98ce7..2250accc 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -744,6 +744,8 @@ history: # per-channel setting): registered-channels: "opt-out" - # direct messages are only stored in the database for persistent clients; - # you can control how they are stored here (same options as above) + # direct messages are only stored in the database for logged-in clients; + # you can control how they are stored here (same options as above). + # if you enable this, strict nickname reservation is strongly recommended + # as well. direct-messages: "opt-out" From 75b78cedaa704e24579cf40a35b0ccfcc76e46e4 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Mar 2020 04:50:47 -0500 Subject: [PATCH 10/14] add changelog entry for draft/acc removal --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d073c76..061db4e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -95,6 +95,7 @@ This release includes a database change. If you have `datastore.autoupgrade` set ### Removed * Removed `oragono.io/maxline-2` capability in favor of the new `draft/multiline` capability (#670, #752) * Removed `oragono.io/bnc` capability (multiclient functionality is now controllable only via server config and `/NS SET MULTICLIENT`) (#787) +* Removed `draft/acc` capability and related `ACC` command (#723) ### Internal Notes * Updated to Go 1.14 and modules, simplifying the build process (#699) From dad46221ee0f1ab435357b79cd3a409603eff728 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Mar 2020 04:53:25 -0500 Subject: [PATCH 11/14] add changelog entry for labeled-response ratification --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 061db4e0..2b613ec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -73,6 +73,7 @@ This release includes a database change. If you have `datastore.autoupgrade` set ### Changed * Updated CHATHISTORY support to the [latest draft](https://github.com/ircv3/ircv3-specifications/pull/393) (#621, thanks [@prawnsalad](https://github.com/prawnsalad)!) +* Updated to the ratified [labeled-response](https://ircv3.net/specs/extensions/labeled-response.html) specification from the earlier `draft/labeled-response-0.2` (#757) * `/HISTORY` now defaults to returning 100 messages, and also takes time durations like `1h` as arguments (#621, thanks lover!) * D-Lines are no longer enforced against loopback IPs (#671) * Password length limit was reduced from 600 bytes to 300 bytes (#775) From a51dc1f0eb612cce611570056f7cc09492fdff11 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Mar 2020 23:19:32 -0500 Subject: [PATCH 12/14] fix history section --- docs/MANUAL.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 8c0d47b8..72b30dce 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -293,12 +293,10 @@ Unfortunately, client support for history playback is still patchy. In descendin 1. The [IRCv3 chathistory specification](https://github.com/ircv3/ircv3-specifications/pull/393/) offers the most fine-grained control over history replay. It is supported by [Kiwi IRC's unreleased master branch](https://kiwiirc.com/), and hopefully other clients soon. 1. We emulate the [ZNC playback module](https://wiki.znc.in/Playback) for clients that support it. You may need to enable support for it explicitly in your client (see the "ZNC" section below). -1. If you are not using the multiclient functionality, but your client is set to be always-on (see the previous section for details), Oragono will remember the last time your client signed out. You can then set your account to replay only messages you missed with `/msg NickServ set autoreplay-missed on`. +1. If you are not using the multiclient functionality, but your client is set to be always-on (see the previous section for details), Oragono will remember the last time your client signed out. You can then set your account to replay only messages you missed with `/msg NickServ set autoreplay-missed on`. Unfortunately, this feature will only work reliably if you are *not* using the multiclient functionality described in the above section --- you must be connecting with at most one client at a time. 1. You can manually request history using `/history #channel 1h` (the parameter is either a message count or a time duration). (Depending on your client, you may need to use `/QUOTE history` instead.) 1. You can autoreplay a fixed number of lines (e.g., 25) each time you join a channel using `/msg NickServ set autoreplay-lines 25`. -Oragono can store a limited amount of message history in memory and replay it, which is useful for covering brief disconnections from IRC. You can access this using the `/HISTORY` command (depending on your client, you may need to use `/QUOTE history` instead), for example `/HISTORY #mychannel 100` to get the 100 latest messages from `#mychannel`. - ## IP cloaking From ee4e2db25f72999f231daec943ae35402da9569a Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Mar 2020 23:23:26 -0500 Subject: [PATCH 13/14] update development instructions --- DEVELOPING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DEVELOPING.md b/DEVELOPING.md index 168d4656..bec65072 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -27,7 +27,8 @@ Develop branches are either used to work out implementation details in preperati ## Releasing a new version -1. Run [`irctest`]() over it to make sure nothing's severely broken. +1. Test backwards compatibility guarantees. Get an example config file and an example database from the previous stable release. Make sure the current build still works with them (modulo anything explicitly called out in the changelog as a breaking change). +1. Run `irctest` over it to make sure nothing's severely broken. Talk to the maintainers to find out which version of irctest to run. 1. Update the changelog with new changes and write release notes. 1. Update the version number `irc/constants.go` (either change `-unreleased` to `-rc1`, or remove `-rc1`, as appropriate). 1. Commit the new changelog and constants change. From 5d5e728c384481cf58923362d7a291e169d22b4b Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Mar 2020 23:52:20 -0500 Subject: [PATCH 14/14] add translator credits --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b613ec1..07933667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ We're pleased to be publishing the release candidate for Oragono 2.0.0 (the offi * Support for the ratified [labeled-response](https://ircv3.net/specs/extensions/labeled-response.html) IRCv3 capability * Enhanced support for Kubernetes -Many thanks to [@csmith](https://github.com/csmith), [@mattouille](https://github.com/mattouille), and [@xPaw](https://github.com/xPaw) for contributing patches, to [@csmith](https://github.com/csmith) and [@wrmsr](https://github.com/wrmsr) for contributing code reviews, to [@bogdomania](https://github.com/bogdomania), [@brenns10](https://github.com/brenns10), [@daurnimator](https://github.com/daurnimator), [@ekianjo](https://github.com/ekianjo), horseface, [@ivucica](https://github.com/ivucica), [@jesopo](https://github.com/jesopo), [@jwheare](https://github.com/jwheare), KoDi, lover, [@mabgnu](https://github.com/mabgnu), [@poVoq](https://github.com/poVoq), [@TETYYS](https://github.com/TETYYS), and [@zaher](https://github.com/zaher) for reporting issues, and to [TRANSLATORS]. +Many thanks to [@csmith](https://github.com/csmith), [@mattouille](https://github.com/mattouille), and [@xPaw](https://github.com/xPaw) for contributing patches, to [@csmith](https://github.com/csmith) and [@wrmsr](https://github.com/wrmsr) for contributing code reviews, to [@bogdomania](https://github.com/bogdomania), [@brenns10](https://github.com/brenns10), [@daurnimator](https://github.com/daurnimator), [@ekianjo](https://github.com/ekianjo), horseface, [@ivucica](https://github.com/ivucica), [@jesopo](https://github.com/jesopo), [@jwheare](https://github.com/jwheare), KoDi, lover, [@mabgnu](https://github.com/mabgnu), [@poVoq](https://github.com/poVoq), [@TETYYS](https://github.com/TETYYS), and [@zaher](https://github.com/zaher) for reporting issues, and to [@bogdomania](https://github.com/bogdomania) and Nuve for contributing translations. This release includes changes to the config file format, including two breaking changes: