瀏覽代碼

Merge pull request #1689 from slingamn/notice

add a FAQ entry for global notices
tags/v2.8.0-rc1
Shivaram Lingamneni 3 年之前
父節點
當前提交
66af8cd63c
沒有連結到貢獻者的電子郵件帳戶。
共有 3 個檔案被更改,包括 21 行新增8 行删除
  1. 8
    3
      README.md
  2. 12
    4
      docs/MANUAL.md
  3. 1
    1
      docs/USERGUIDE.md

+ 8
- 3
README.md 查看文件

41
 * [IRCv3 support](https://ircv3.net/software/servers.html)
41
 * [IRCv3 support](https://ircv3.net/software/servers.html)
42
 * a focus on developing with [specifications](https://ergo.chat/specs.html)
42
 * a focus on developing with [specifications](https://ergo.chat/specs.html)
43
 
43
 
44
+For more detailed information on Ergo's functionality, see:
45
+
46
+* [MANUAL.md, the operator manual](https://github.com/ergochat/ergo/blob/stable/docs/MANUAL.md)
47
+* [USERGUIDE.md, the guide for end users](https://github.com/ergochat/ergo/blob/stable/docs/USERGUIDE.md)
48
+
44
 ## Quick start guide
49
 ## Quick start guide
45
 
50
 
46
 Download the latest release from this page: https://github.com/ergochat/ergo/releases/latest
51
 Download the latest release from this page: https://github.com/ergochat/ergo/releases/latest
54
 ergo run     # server should be ready to go!
59
 ergo run     # server should be ready to go!
55
 ```
60
 ```
56
 
61
 
57
-**Note:** See the [productionizing guide in our manual](https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#productionizing-with-systemd) for recommendations on how to run a production network, including obtaining valid TLS certificates.
62
+**Note:** See the [productionizing guide in our manual](https://github.com/ergochat/ergo/blob/stable/docs/MANUAL.md#productionizing-with-systemd) for recommendations on how to run a production network, including obtaining valid TLS certificates.
58
 
63
 
59
 ### Platform Packages
64
 ### Platform Packages
60
 
65
 
76
 
81
 
77
 The `master` branch _should_ usually be stable, but may contain database changes that either have not been finalised or not had database upgrade code written yet. Don't run `master` on a live production network.
82
 The `master` branch _should_ usually be stable, but may contain database changes that either have not been finalised or not had database upgrade code written yet. Don't run `master` on a live production network.
78
 
83
 
79
-The `stable` branch contains the latest release. You can run this for a production version without any trouble.
84
+The `stable` branch contains the latest release, suitable for use in production.
80
 
85
 
81
 #### Building
86
 #### Building
82
 
87
 
104
 
109
 
105
 ### Nickname and channel registration
110
 ### Nickname and channel registration
106
 
111
 
107
-Ergo relies heavily on user accounts to enable its distinctive features (such as allowing multiple clients per nickname). As a user, you can register your current nickname as an account using `/msg NickServ register <password>`. Once you have done so, you should [enable SASL in your clients](https://freenode.net/kb/answer/sasl), ensuring that you will be automatically logged into your account on each connection. This will prevent [problems claiming your registered nickname](https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#nick-equals-account).
112
+Ergo relies heavily on user accounts to enable its distinctive features (such as allowing multiple clients per nickname). As a user, you can register your current nickname as an account using `/msg NickServ register <password>`. Once you have done so, you should [enable SASL in your clients](https://libera.chat/guides/sasl), ensuring that you will be automatically logged into your account on each connection. This will prevent [problems claiming your registered nickname](https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#nick-equals-account).
108
 
113
 
109
 Once you have registered your nickname, you can use it to register channels:
114
 Once you have registered your nickname, you can use it to register channels:
110
 
115
 

+ 12
- 4
docs/MANUAL.md 查看文件

191
     1. Confirm that the service started correctly with `systemctl status ergo.service`
191
     1. Confirm that the service started correctly with `systemctl status ergo.service`
192
 
192
 
193
 
193
 
194
-On a non-systemd system, ergo can be configured to log to a file and used [logrotate(8)](https://linux.die.net/man/8/logrotate), since it will reopen its log files (as well as rehashing the config file) upon receiving a SIGHUP. To rehash manually outside the context of log rotation, you can use `killall -HUP ergo` or `pkill -HUP ergo`.
194
+On a non-systemd system, ergo can be configured to log to a file and used [logrotate(8)](https://linux.die.net/man/8/logrotate), since it will reopen its log files (as well as rehashing the config file) upon receiving a SIGHUP. To rehash manually outside the context of log rotation, you can use `killall -HUP ergo` or `pkill -HUP ergo`. See [distrib/init](https://github.com/ergochat/ergo/tree/master/distrib/init) for init scripts and related tools for non-systemd systems.
195
 
195
 
196
 
196
 
197
 ## Using valid TLS certificates
197
 ## Using valid TLS certificates
257
 
257
 
258
     /NS REGISTER *
258
     /NS REGISTER *
259
 
259
 
260
-Once you've registered, you'll need to set up SASL to login. One of the more complete SASL instruction pages is Freenode's page [here](https://freenode.net/kb/answer/sasl). Open up that page, find your IRC client and then setup SASL with your chosen username and password!
260
+Once you've registered, you'll need to set up SASL to login. One of the more complete SASL instruction pages is libera.chat's page [here](https://libera.chat/guides/sasl). Open up that page, find your IRC client and then setup SASL with your chosen username and password!
261
 
261
 
262
 If your client doesn't support SASL, you can typically use the "server password" (`PASS`) field in your client to log into your account automatically when connecting. Set the server password to `accountname:accountpassword`, where `accountname` is your account name and `accountpassword` is your account password.
262
 If your client doesn't support SASL, you can typically use the "server password" (`PASS`) field in your client to log into your account automatically when connecting. Set the server password to `accountname:accountpassword`, where `accountname` is your account name and `accountpassword` is your account password.
263
 
263
 
273
 1. You must use your nickname, i.e., if you are logged into your account, then the server will require you to use your account name as your nickname
273
 1. You must use your nickname, i.e., if you are logged into your account, then the server will require you to use your account name as your nickname
274
 1. If you unregister your account, your nickname will be permanently unreclaimable (thus preventing people from impersonating you)
274
 1. If you unregister your account, your nickname will be permanently unreclaimable (thus preventing people from impersonating you)
275
 
275
 
276
-In this mode, it is very important that end users authenticate to their accounts as part of the initial IRC handshake (traditionally referred to as "connection registration"); otherwise they will not be able to use their registered nicknames. The preferred mechanism for this is [SASL](https://freenode.net/kb/answer/sasl), which is supported by most modern clients. As a fallback, this can also be done via the `PASS` (server password) command; set the "server password" field of the client to `AzureDiamond:hunter2`, where `AzureDiamond` is the account name and `hunter2` is the account password.
276
+In this mode, it is very important that end users authenticate to their accounts as part of the initial IRC handshake (traditionally referred to as "connection registration"); otherwise they will not be able to use their registered nicknames. The preferred mechanism for this is [SASL](https://libera.chat/guides/sasl), which is supported by most modern clients. As a fallback, this can also be done via the `PASS` (server password) command; set the "server password" field of the client to `AzureDiamond:hunter2`, where `AzureDiamond` is the account name and `hunter2` is the account password.
277
 
277
 
278
 As an end user, if you want to change your nickname, you can register a new account and transfer any channel ownerships to it using `/msg ChanServ transfer`.
278
 As an end user, if you want to change your nickname, you can register a new account and transfer any channel ownerships to it using `/msg ChanServ transfer`.
279
 
279
 
336
                 key-file: "dkim.pem"
336
                 key-file: "dkim.pem"
337
 ```
337
 ```
338
 
338
 
339
-You must create the corresponding TXT record `20200229._domainkey.my.network` to hold your public key. You can also use an MTA ("relay" or "smarthost") to send the email, in which case DKIM signing can be deferred to the MTA; see the example config for details.
339
+You must create the corresponding TXT record `20200229._domainkey.my.network` to hold your public key.
340
+
341
+You can also use an external SMTP server ("MTA", "relay", or "smarthost") to send the email, in which case DKIM signing can be deferred to that server; see the `mta` section of the example config for details.
340
 
342
 
341
 
343
 
342
 ## Channel Registration
344
 ## Channel Registration
544
 
546
 
545
 Similarly, for a public channel (one without `+i`), users can ban nick/account names with `/mode #example +b bob`. (To restrict the channel to users with valid accounts, set it to registered-only with `/mode #example +R`.)
547
 Similarly, for a public channel (one without `+i`), users can ban nick/account names with `/mode #example +b bob`. (To restrict the channel to users with valid accounts, set it to registered-only with `/mode #example +R`.)
546
 
548
 
549
+
550
+## How do I send an announcement to all connected users?
551
+
552
+Ergo supports a simplified form of the "global notice" or "wallops" capabilities found in other ircds. With the `massmessage` operator capability, you can `/NOTICE $$* text of your announcement`, and it will be sent to all connected users. If you have human-readable hostnames enabled (in the default/recommended configuration they are not), you can also `/NOTICE $#wild*card.host.name`.
553
+
554
+
547
 -------------------------------------------------------------------------------------------
555
 -------------------------------------------------------------------------------------------
548
 
556
 
549
 
557
 

+ 1
- 1
docs/USERGUIDE.md 查看文件

72
 
72
 
73
 This registers your current nickname as your account name, with the password `mySecretPassword` (replace this with your own secret password!)
73
 This registers your current nickname as your account name, with the password `mySecretPassword` (replace this with your own secret password!)
74
 
74
 
75
-Once you have registered your account, you must configure SASL in your client, so that you will be logged in automatically on each connection. [Freenode's SASL guide](https://freenode.net/kb/answer/sasl) covers most popular clients.
75
+Once you have registered your account, you must configure SASL in your client, so that you will be logged in automatically on each connection. [libera.chat's SASL guide](https://libera.chat/guides/sasl) covers most popular clients.
76
 
76
 
77
 If your client doesn't support SASL, you can typically use the "server password" (`PASS`) field in your client to log into your account automatically when connecting. Set the server password to `accountname:accountpassword`, where `accountname` is your account name and `accountpassword` is your account password.
77
 If your client doesn't support SASL, you can typically use the "server password" (`PASS`) field in your client to log into your account automatically when connecting. Set the server password to `accountname:accountpassword`, where `accountname` is your account name and `accountpassword` is your account password.
78
 
78
 

Loading…
取消
儲存