Comments (7)
I tried to "generate" one the way it's described for the non-docker install, here the creation fails with an error (node.js 9.11 installed):
internal/modules/cjs/loader.js:550
throw err;
^
Error: Cannot find module 'matrix-js-snippets'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
at Function.Module._load (internal/modules/cjs/loader.js:475:25)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
at Object.<anonymous> (/root/matrix-appservice-webhooks/index.js:1:82)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
from matrix-appservice-webhooks.
@turt2live Trevis, is there any workaround to get this file? I'm currently changing everything over from Mattermost to a self hosted Matrix, and I need the Slack compatible webhooks (my Mattermost license runs out in 7 days and I need to move my Monitoring Events over to Matrix which are using Slack compatible Webhooks)
I don't know a way to get that running yet ... ;-)
from matrix-appservice-webhooks.
You could write the file out manually. It's supposed to be in the Docker volume alongside some other files (mentioned in the README).
Here's an example:
id: webhooks
hs_token: A_RANDOM_ALPHANUMERIC_STRING
as_token: ANOTHER_RANDOM_ALPHANUMERIC_STRING
namespaces:
users:
- exclusive: true
regex: '@_webhook.*'
aliases: []
rooms: []
url: 'http://localhost:9002' # you may need to change this
sender_localpart: _webhook
rate_limited: false
protocols: null
from matrix-appservice-webhooks.
@turt2live I've got it working :-)
There is an issue in your docs: In your config example you have written for the symlink:
ln -s ../matrix-appservice-webhooks/appservice-registration-webhooks.yaml appservice-registration-webhooks.yaml
But the file name is appservice-webhooks-registration. There is a word swap in this area of the docs.
Another question: The webhook bridge wrote me:
This room is no longer viable as an admin room. Please open a new direct conversation with me to maintain an admin room.
This is not documented ... what is an "admin room"?
from matrix-appservice-webhooks.
An admin room is a room between you and the bridge only.
from matrix-appservice-webhooks.
OK, what can I do there? Is there a doc?
from matrix-appservice-webhooks.
The admin room is currently only used to give you the URL for the webhook - nothing more.
from matrix-appservice-webhooks.
Related Issues (20)
- messages are coming in as raw JSON
- Init failed
- Problem with permissions in the room. HOT 1
- GitLab webhooks result in HTTP 400 HOT 8
- Vulnerable dependencies HOT 1
- Slack 'Attachment' Images not displaying HOT 1
- GitLab commit activities are missing newlines HOT 1
- Bridge crashes when mime type of file cannot be determined. HOT 1
- Uploading a webhook avatar from url fails HOT 3
- Https hookurlbase HOT 1
- Direct message webhooks HOT 2
- Traceback on non-string 'text' field
- Appservice not using m.login.application_service HOT 1
- icon_emoji causes bridge to crash. HOT 1
- Cannot get Bridge to work after restart of Matrix and the Bridge - "You are not invited to this room." / "M_USER_IN_USE"
- Keep getting "SQLITE_ERROR: no such table: webhooks" error. Please help? HOT 1
- Pillify webhook target in admin room
- First Newline becomes <br>, even in code block HOT 1
- Fresh installation fails to start - this._orm.import is not a function HOT 1
- 400 error on post HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrix-appservice-webhooks.