IRC: changed default from freenode.net to liber.chat.

Mon, 14 Jun 2021 18:25:00 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 14 Jun 2021 18:25:00 +0200
changeset 8426
631ea6dc71de
parent 8402
eca9e97c6314
child 8429
ab23dbabd491

IRC: changed default from freenode.net to liber.chat.

eric6/Network/IRC/IrcChannelWidget.py file | annotate | diff | comparison | revisions
eric6/Network/IRC/IrcNetworkManager.py file | annotate | diff | comparison | revisions
--- a/eric6/Network/IRC/IrcChannelWidget.py	Thu Jun 03 12:40:46 2021 +0200
+++ b/eric6/Network/IRC/IrcChannelWidget.py	Mon Jun 14 18:25:00 2021 +0200
@@ -300,82 +300,82 @@
             # :foo_!n=foo@foohost.bar.net MODE #eric-ide +o foo_
             (re.compile(r":([^!]+).*\sMODE\s([^ ]+)\s([+-][ovO]+)\s([^ ]+).*"),
                 self.__setUserPrivilege),
-            # :cameron.freenode.net MODE #eric-ide +ns
+            # :cameron.libera.chat MODE #eric-ide +ns
             (re.compile(r":([^ ]+)\sMODE\s([^ ]+)\s(.+)"),
              self.__updateChannelModes),
             # :foo_!n=foo@foohost.bar.net TOPIC #eric-ide :eric - Python IDE
             (re.compile(r":.*\sTOPIC\s([^ ]+)\s:(.*)"), self.__setTopic),
-            # :sturgeon.freenode.net 301 foo_ bar :Gone away for now
+            # :sturgeon.libera.chat 301 foo_ bar :Gone away for now
             (re.compile(r":.*\s301\s([^ ]+)\s([^ ]+)\s:(.+)"),
              self.__userAway),
-            # :sturgeon.freenode.net 315 foo_ #eric-ide :End of /WHO list.
+            # :sturgeon.libera.chat 315 foo_ #eric-ide :End of /WHO list.
             (re.compile(r":.*\s315\s[^ ]+\s([^ ]+)\s:(.*)"), self.__whoEnd),
-            # :zelazny.freenode.net 324 foo_ #eric-ide +cnt
+            # :zelazny.libera.chat 324 foo_ #eric-ide +cnt
             (re.compile(r":.*\s324\s.*\s([^ ]+)\s(.+)"), self.__channelModes),
-            # :zelazny.freenode.net 328 foo_ #eric-ide :http://www.bugger.com/
+            # :zelazny.libera.chat 328 foo_ #eric-ide :http://www.bugger.com/
             (re.compile(r":.*\s328\s.*\s([^ ]+)\s:(.+)"), self.__channelUrl),
-            # :zelazny.freenode.net 329 foo_ #eric-ide 1353001005
+            # :zelazny.libera.chat 329 foo_ #eric-ide 1353001005
             (re.compile(r":.*\s329\s.*\s([^ ]+)\s(.+)"),
              self.__channelCreated),
-            # :zelazny.freenode.net 332 foo_ #eric-ide :eric support channel
+            # :zelazny.libera.chat 332 foo_ #eric-ide :eric support channel
             (re.compile(r":.*\s332\s.*\s([^ ]+)\s:(.*)"), self.__setTopic),
-            # :zelazny.freenode.net foo_ 333 #eric-ide foo 1353089020
+            # :zelazny.libera.chat foo_ 333 #eric-ide foo 1353089020
             (re.compile(r":.*\s333\s.*\s([^ ]+)\s([^ ]+)\s(\d+)"),
              self.__topicCreated),
-            # :cameron.freenode.net 352 detlev_ #eric-ide ~foo foohost.bar.net
-            # cameron.freenode.net foo_ H :0 Foo Bar
+            # :cameron.libera.chat 352 detlev_ #eric-ide ~foo foohost.bar.net
+            # cameron.libera.chat foo_ H :0 Foo Bar
             (re.compile(
                 r":.*\s352\s[^ ]+\s([^ ]+)\s([^ ]+)\s([^ ]+)\s[^ ]+\s([^ ]+)"
                 r"\s([^ ]+)\s:\d+\s(.*)"), self.__whoEntry),
-            # :zelazny.freenode.net 353 foo_ @ #eric-ide :@user1 +user2 user3
+            # :zelazny.libera.chat 353 foo_ @ #eric-ide :@user1 +user2 user3
             (re.compile(r":.*\s353\s.*\s.\s([^ ]+)\s:(.*)"), self.__userList),
-            # :sturgeon.freenode.net 354 foo_ 42 ChanServ H@
+            # :sturgeon.libera.chat 354 foo_ 42 ChanServ H@
             (re.compile(r":.*\s354\s[^ ]+\s42\s([^ ]+)\s(.*)"),
              self.__autoWhoEntry),
-            # :zelazny.freenode.net 366 foo_ #eric-ide :End of /NAMES list.
+            # :zelazny.libera.chat 366 foo_ #eric-ide :End of /NAMES list.
             (re.compile(r":.*\s366\s.*\s([^ ]+)\s:(.*)"), self.__ignore),
-            # :sturgeon.freenode.net 704 foo_ index :Help topics available:
+            # :sturgeon.libera.chat 704 foo_ index :Help topics available:
             (re.compile(r":.*\s70[456]\s[^ ]+\s([^ ]+)\s:(.*)"), self.__help),
             
             # WHOIS replies
-            # :sturgeon.freenode.net 311 foo_ bar ~bar barhost.foo.net * :Bar
+            # :sturgeon.libera.chat 311 foo_ bar ~bar barhost.foo.net * :Bar
             (re.compile(
                 r":.*\s311\s[^ ]+\s([^ ]+)\s([^ ]+)\s([^ ]+)\s\*\s:(.*)"),
              self.__whoIsUser),
-            # :sturgeon.freenode.net 319 foo_ bar :@#eric-ide
+            # :sturgeon.libera.chat 319 foo_ bar :@#eric-ide
             (re.compile(r":.*\s319\s[^ ]+\s([^ ]+)\s:(.*)"),
              self.__whoIsChannels),
-            # :sturgeon.freenode.net 312 foo_ bar sturgeon.freenode.net :London
+            # :sturgeon.libera.chat 312 foo_ bar sturgeon.libera.chat :London
             (re.compile(r":.*\s312\s[^ ]+\s([^ ]+)\s([^ ]+)\s:(.*)"),
              self.__whoIsServer),
-            # :sturgeon.freenode.net 671 foo_ bar :is using a secure connection
+            # :sturgeon.libera.chat 671 foo_ bar :is using a secure connection
             (re.compile(r":.*\s671\s[^ ]+\s([^ ]+)\s:.*"), self.__whoIsSecure),
-            # :sturgeon.freenode.net 317 foo_ bar 3758 1355046912 :seconds
+            # :sturgeon.libera.chat 317 foo_ bar 3758 1355046912 :seconds
             # idle, signon time
             (re.compile(r":.*\s317\s[^ ]+\s([^ ]+)\s(\d+)\s(\d+)\s:.*"),
                 self.__whoIsIdle),
-            # :sturgeon.freenode.net 330 foo_ bar bar :is logged in as
+            # :sturgeon.libera.chat 330 foo_ bar bar :is logged in as
             (re.compile(r":.*\s330\s[^ ]+\s([^ ]+)\s([^ ]+)\s:.*"),
              self.__whoIsAccount),
-            # :sturgeon.freenode.net 318 foo_ bar :End of /WHOIS list.
+            # :sturgeon.libera.chat 318 foo_ bar :End of /WHOIS list.
             (re.compile(r":.*\s318\s[^ ]+\s([^ ]+)\s:(.*)"), self.__whoIsEnd),
-            # :sturgeon.freenode.net 307 foo_ bar :is an identified user
+            # :sturgeon.libera.chat 307 foo_ bar :is an identified user
             (re.compile(r":.*\s307\s[^ ]+\s([^ ]+)\s:(.*)"),
              self.__whoIsIdentify),
-            # :sturgeon.freenode.net 320 foo_ bar :is an identified user
+            # :sturgeon.libera.chat 320 foo_ bar :is an identified user
             (re.compile(r":.*\s320\s[^ ]+\s([^ ]+)\s:(.*)"),
              self.__whoIsIdentify),
-            # :sturgeon.freenode.net 310 foo_ bar :is available for help
+            # :sturgeon.libera.chat 310 foo_ bar :is available for help
             (re.compile(r":.*\s310\s[^ ]+\s([^ ]+)\s:(.*)"),
              self.__whoIsHelper),
-            # :sturgeon.freenode.net 338 foo_ bar real.ident@real.host
+            # :sturgeon.libera.chat 338 foo_ bar real.ident@real.host
             # 12.34.56.78 :Actual user@host, Actual IP
             (re.compile(r":.*\s338\s[^ ]+\s([^ ]+)\s([^ ]+)\s([^ ]+)\s:.*"),
              self.__whoIsActually),
-            # :sturgeon.freenode.net 313 foo_ bar :is an IRC Operator
+            # :sturgeon.libera.chat 313 foo_ bar :is an IRC Operator
             (re.compile(r":.*\s313\s[^ ]+\s([^ ]+)\s:(.*)"),
              self.__whoIsOperator),
-            # :sturgeon.freenode.net 378 foo_ bar :is connecting from
+            # :sturgeon.libera.chat 378 foo_ bar :is connecting from
             # *@mnch-4d044d5a.pool.mediaWays.net 77.4.77.90
             (re.compile(r":.*\s378\s[^ ]+\s([^ ]+)\s:.*\s([^ ]+)\s([^ ]+)"),
              self.__whoIsConnection),
--- a/eric6/Network/IRC/IrcNetworkManager.py	Thu Jun 03 12:40:46 2021 +0200
+++ b/eric6/Network/IRC/IrcNetworkManager.py	Mon Jun 14 18:25:00 2021 +0200
@@ -680,12 +680,12 @@
         @return default network object (IrcNetwork)
         """
         # network
-        networkName = "Freenode (SSL)" if ssl else "Freenode"
+        networkName = "libera.chat (SSL)" if ssl else "libera.chat"
         network = IrcNetwork(networkName)
         network.setIdentityName(IrcIdentity.DefaultIdentityName)
         
         # server
-        serverName = "chat.freenode.net"
+        serverName = "irc.libera.chat"
         server = IrcServer(serverName)
         if ssl:
             server.setPort(IrcServer.DefaultSslPort)

eric ide

mercurial