domma-cms 0.105.2 → 0.107.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/admin/js/lib/related.js +1 -1
- package/admin/js/templates/docs/usage-tools.html +11 -0
- package/package.json +1 -1
- package/plugins/_lib/admin/ui/transcript.js +154 -0
- package/plugins/_lib/call/chatStore.js +103 -0
- package/plugins/_lib/call/invite.js +172 -0
- package/plugins/_lib/call/rooms.js +120 -23
- package/plugins/_lib/call/routes.js +131 -6
- package/plugins/_lib/public/call/call.css +1 -1
- package/plugins/_lib/public/call/call.js +493 -62
- package/plugins/booking/CLAUDE.md +27 -1
- package/plugins/booking/admin/lib/kit.js +1 -0
- package/plugins/booking/admin/views/panels.js +10 -0
- package/plugins/booking/docs/guide.md +2 -1
- package/plugins/booking/lib/call.js +18 -2
- package/plugins/booking/lib/store.js +2 -0
- package/plugins/booking/plugin.js +98 -7
- package/plugins/booking/plugin.json +1 -1
- package/plugins/booking/plugin.public.js +4 -4
- package/plugins/booking/tests/api.test.js +178 -1
- package/plugins/free-tier.lock.json +12 -12
- package/server/routes/api/calls.js +48 -6
- package/server/routes/call-public.js +4 -3
- package/server/services/callInvites.js +238 -0
- package/server/services/hooks.js +55 -0
- package/server/services/instantCalls.js +83 -6
- package/server/services/plugins.js +6 -1
|
@@ -28,6 +28,8 @@ import {
|
|
|
28
28
|
registerComponent,
|
|
29
29
|
registerContactAccess,
|
|
30
30
|
unregisterContactAccess,
|
|
31
|
+
registerDirectMessenger,
|
|
32
|
+
unregisterDirectMessenger,
|
|
31
33
|
registerSidebarItem,
|
|
32
34
|
registerTransform
|
|
33
35
|
} from './hooks.js';
|
|
@@ -559,7 +561,9 @@ export async function registerPlugins(fastify) {
|
|
|
559
561
|
// loads under a licence may.
|
|
560
562
|
enableInstantCalls: () => enableInstantCalls({owner: manifest.name, tier: manifest.tier || 'free', closedSource: manifest.closedSource === true}),
|
|
561
563
|
// Who may read a contact that is not their own (Contacts Pro's sharing) - hooks.js 7b.
|
|
562
|
-
registerContactAccess: (fn) => registerContactAccess(manifest.name, fn)
|
|
564
|
+
registerContactAccess: (fn) => registerContactAccess(manifest.name, fn),
|
|
565
|
+
// Direct messages between team members (Messages) - hooks.js 7c; a call's "Add people" uses it.
|
|
566
|
+
registerDirectMessenger: (fn) => registerDirectMessenger(manifest.name, fn)},
|
|
563
567
|
settings,
|
|
564
568
|
config: {}
|
|
565
569
|
});
|
|
@@ -1120,6 +1124,7 @@ export async function runLifecycleHook(name, hook, fastify) {
|
|
|
1120
1124
|
if (hook === 'onDisable') {
|
|
1121
1125
|
disableInstantCalls(name);
|
|
1122
1126
|
unregisterContactAccess(name);
|
|
1127
|
+
unregisterDirectMessenger(name);
|
|
1123
1128
|
}
|
|
1124
1129
|
|
|
1125
1130
|
const pluginJsPath = path.join(PLUGINS_DIR, name, 'plugin.js');
|