@rapidmx/autodiscover-plugin 1.0.0-beta.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.js +9 -12
- package/dist/lib/index.js.map +1 -1
- package/dist/types/index.d.ts +9 -12
- package/package.json +3 -2
package/dist/lib/index.js
CHANGED
|
@@ -10,18 +10,15 @@
|
|
|
10
10
|
* exported from this package's `./mongo`/`./sql` subpaths instead, alongside every other entity/route/job this
|
|
11
11
|
* library defines - see `src/eas/index.ts`'s identical doc comment for the same convention.
|
|
12
12
|
*
|
|
13
|
-
* A deployment mounts Autodiscover
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* protected readonly mapiUrl = "https://mail.example.com/mapi/emsmdb";
|
|
23
|
-
* }
|
|
24
|
-
* ```
|
|
13
|
+
* A deployment mounts Autodiscover by loading the ready-to-mount `AutodiscoverRouteMongo`/`AutodiscoverRouteSQL`
|
|
14
|
+
* class from this plugin's `./mongo`/`./sql` entry point directly - no subclass or URLs to supply, since
|
|
15
|
+
* `BaseAutodiscoverRoute` builds the EAS (`easUrl`) and MAPI (`mapiUrl`) endpoint URLs itself from the
|
|
16
|
+
* `mail:autodiscover:public_url` config setting (also exposed as this plugin's own "Public server URL"
|
|
17
|
+
* admin-console setting - see `package.json`'s `rapidmx.plugin.settings`), and only advertises each protocol
|
|
18
|
+
* while its own plugin (`@rapidmx/activesync-plugin`, `@rapidmx/mapi-plugin`) is loaded. Set
|
|
19
|
+
* `mail:autodiscover:public_url` to this deployment's externally-reachable `https://` base URL (e.g.
|
|
20
|
+
* `https://mail.example.com`) for either endpoint to be advertised at all - see `BaseAutodiscoverRoute`'s own
|
|
21
|
+
* doc comment for the exact validation rules.
|
|
25
22
|
*/
|
|
26
23
|
export * from "./AutodiscoverXml.js";
|
|
27
24
|
export * from "./BaseAutodiscoverRoute.js";
|
package/dist/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,mEAAmE;AACnE,mCAAmC;AACnC,+EAA+E;AAE/E
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,mEAAmE;AACnE,mCAAmC;AACnC,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;GAiBG;AACH,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6,18 +6,15 @@
|
|
|
6
6
|
* exported from this package's `./mongo`/`./sql` subpaths instead, alongside every other entity/route/job this
|
|
7
7
|
* library defines - see `src/eas/index.ts`'s identical doc comment for the same convention.
|
|
8
8
|
*
|
|
9
|
-
* A deployment mounts Autodiscover
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* protected readonly mapiUrl = "https://mail.example.com/mapi/emsmdb";
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
9
|
+
* A deployment mounts Autodiscover by loading the ready-to-mount `AutodiscoverRouteMongo`/`AutodiscoverRouteSQL`
|
|
10
|
+
* class from this plugin's `./mongo`/`./sql` entry point directly - no subclass or URLs to supply, since
|
|
11
|
+
* `BaseAutodiscoverRoute` builds the EAS (`easUrl`) and MAPI (`mapiUrl`) endpoint URLs itself from the
|
|
12
|
+
* `mail:autodiscover:public_url` config setting (also exposed as this plugin's own "Public server URL"
|
|
13
|
+
* admin-console setting - see `package.json`'s `rapidmx.plugin.settings`), and only advertises each protocol
|
|
14
|
+
* while its own plugin (`@rapidmx/activesync-plugin`, `@rapidmx/mapi-plugin`) is loaded. Set
|
|
15
|
+
* `mail:autodiscover:public_url` to this deployment's externally-reachable `https://` base URL (e.g.
|
|
16
|
+
* `https://mail.example.com`) for either endpoint to be advertised at all - see `BaseAutodiscoverRoute`'s own
|
|
17
|
+
* doc comment for the exact validation rules.
|
|
21
18
|
*/
|
|
22
19
|
export * from "./AutodiscoverXml.js";
|
|
23
20
|
export * from "./BaseAutodiscoverRoute.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rapidmx/autodiscover-plugin",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "A RapidMX plugin that provides Autodiscover protocol support.",
|
|
5
5
|
"repository": "https://github.com/RapidMX/autodiscover.git",
|
|
6
6
|
"author": "RapidREST <rapidrests@gmail.com>",
|
|
@@ -97,7 +97,8 @@
|
|
|
97
97
|
"key": "mail:autodiscover:public_url",
|
|
98
98
|
"label": "Public server URL",
|
|
99
99
|
"type": "string",
|
|
100
|
-
"
|
|
100
|
+
"default": "",
|
|
101
|
+
"help": "The address clients reach this server at, for example https://mail.example.com - the same host your DNS/MX setup already points at. Nothing is advertised until this is set. Also add a CNAME (autodiscover.<domain> -> this host) or, to avoid needing a second TLS certificate, a DNS SRV record (_autodiscover._tcp.<domain> -> this host) so mail clients can find this server automatically - see this deployment's Domain DNS setup checklist."
|
|
101
102
|
}
|
|
102
103
|
],
|
|
103
104
|
"requires": {
|