Documentation on Message Conferences & Areas
This commit is contained in:
parent
0b23f0aa3b
commit
91279464f7
|
@ -52,7 +52,7 @@ function getAvailableMessageConferences(client, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getSortedAvailMessageConferences(client, options) {
|
function getSortedAvailMessageConferences(client, options) {
|
||||||
var sorted = _.map(getAvailableMessageConferences(client, options), (v, k) => {
|
const sorted = _.map(getAvailableMessageConferences(client, options), (v, k) => {
|
||||||
return {
|
return {
|
||||||
confTag : k,
|
confTag : k,
|
||||||
conf : v,
|
conf : v,
|
||||||
|
|
|
@ -0,0 +1,57 @@
|
||||||
|
# Message Conferences & Areas
|
||||||
|
**Message Conferences** and **Areas** allow for grouping of message base topics.
|
||||||
|
|
||||||
|
## Message Conferences
|
||||||
|
Message Conferences are the top level container for 1:n Message Areas via the `messageConferences` section in `config.hjson`. Common message conferences may include a local conference and one or more conferences each dedicated to a particular message network such as FidoNet, AgoraNet, etc.
|
||||||
|
|
||||||
|
Each conference is represented by a entry under `messageConferences`. **The areas key is the conferences tag**.
|
||||||
|
|
||||||
|
**Members**:
|
||||||
|
* `name` (required): Friendly conference name
|
||||||
|
* `desc` (required): Friendly conference description
|
||||||
|
* `sort` (optional): If supplied, provides a key used for sorting
|
||||||
|
* `default` (optional): Specify `true` to make this the default conference (e.g. assigned to new users)
|
||||||
|
* `areas`: Container of 1:n areas described below
|
||||||
|
|
||||||
|
**Example**:
|
||||||
|
```hjson
|
||||||
|
{
|
||||||
|
messageConferences: {
|
||||||
|
local: {
|
||||||
|
name: Local
|
||||||
|
desc: Local discussion
|
||||||
|
sort: 1
|
||||||
|
default: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Message Areas
|
||||||
|
Message Areas are topic specific containers for messages that live within a particular conference. **The areas key is it's areas tag**. For example, "General Discussion" may live under a Local conference while an AgoraNet conference may contain "BBS Discussion".
|
||||||
|
|
||||||
|
**Members**:
|
||||||
|
* `name` (required): Friendly area name
|
||||||
|
* `desc` (required): Friendly area discription
|
||||||
|
* `sort` (optional): If supplied, provides a key used for sorting
|
||||||
|
* `default` (optional): Specify `true` to make this the default area (e.g. assigned to new users)
|
||||||
|
|
||||||
|
**Example**:
|
||||||
|
```hjson
|
||||||
|
messageConferences: {
|
||||||
|
local: {
|
||||||
|
// ... see above ...
|
||||||
|
areas: {
|
||||||
|
local_enigma_dev: {
|
||||||
|
name: ENiGMA 1/2 Development
|
||||||
|
desc: Discussion related to features and development of ENiGMA 1/2!
|
||||||
|
sort: 1
|
||||||
|
default: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Message Networks
|
||||||
|
ENiGMA½ has the ability to network with other systems via [Message Networks](msg_networks.md). Message **area tags** (described above) are utilized to map foreign areas with locally defined areas.
|
|
@ -1,5 +1,5 @@
|
||||||
# Message Networks
|
# Message Networks
|
||||||
Message networks are configured in `messageNetworks` section of `config.hjson`. Each network type has it's own sub section such as `ftn` for FidoNet Technology Network (FTN) style networks.
|
Message networks are configured in `messageNetworks` section of `config.hjson`. Each network type has it's own sub section such as `ftn` for FidoNet Technology Network (FTN) style networks. Message Networks tie directly with [Message Areas](msg_conf_area.md) that are also defined in `config.hjson`.
|
||||||
|
|
||||||
## FidoNet Technology Network (FTN)
|
## FidoNet Technology Network (FTN)
|
||||||
FTN networks are configured under the `messageNetworks::ftn` section of `config.hjson`.
|
FTN networks are configured under the `messageNetworks::ftn` section of `config.hjson`.
|
||||||
|
|
Loading…
Reference in New Issue