128 Commits

Author SHA1 Message Date
Will Hunt
00927175a2
Update matrix-bot-sdk to 0.6.0 (#417)
* Update matrix-bot-sdk to 0.6.0

* changelog

* More package updates

* Don't need to copy bindings anymore

* Expliclty require Node 16

* Drop node 14 test

* fix rust bindings fetch

* Update .github/workflows/main.yml

Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>

* Update main.yml

Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
2022-08-12 10:59:24 +01:00
Kim Brose
a79309071d
add Grafana dashboard (#407)
* add Grafana dashboard

* Create 407.misc

* Move hookshot-dashboard.json to contrib/

* Add Grafana dashboard to docs/metrics.md

* Update 407.misc

* Fix link to hookshot-dashboard.json

Co-authored-by: Will Hunt <will@half-shot.uk>

* Update hookshot-dashboard.json

* Update metrics.md

* Update hookshot-dashboard.json

- add generic event pushes
- add http requests
- shuffle some panels around

* update docs correctly as per review

* Update contrib/hookshot-dashboard.json

Co-authored-by: Will Hunt <will@half-shot.uk>
2022-08-11 17:09:33 +01:00
Frank Lanitz
e375a3965e
Add deeplink for registration.sample.yml to setup documentation (#374)
This hopefully make it easier to reach for users while reading the documentation.

Signed-off-by: Frank Lanitz <fl@flyingcircus.io>
2022-07-15 13:08:00 +00:00
Andrew Ferrazzutti
3dcb6e857a
Mention github login and github status in docs (#415)
* Mention `github status` in docs

instead of `github hastoken`, which was renamed.

Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>

* Document `github login`

Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
2022-07-14 10:57:19 -04:00
Will Hunt
7796f104cb
Add XML parser for generic webhook payloads (#410)
* Add support for decoding XML for webhooks

* Ensure all endpoints use the error middleware

* Dependencies

* changelog

* Describe form data in the documentation

* Reorder
2022-07-13 16:14:21 +01:00
Andrew Ferrazzutti
b491ad1e07
Fix typos in docs (#401)
* Fix typos in docs

* changelog
2022-07-11 09:37:06 -04:00
Will Hunt
b674fff486
Disable GET for webhooks (unless configured) (#397)
* Disable GET for webhooks (unless configured)

* Docs

* newsfile

* Update Config.ts
2022-07-07 21:52:59 +00:00
Will Hunt
42f02b1445
Add a warning when no action is given for GitLab (#398)
* Add a warning when no action is given for GitLab

* Add notice about webhooks being crap

* changelog
2022-07-07 17:47:27 +01:00
Will Hunt
ff1079aa3b
Fix floating values breaking generic webhooks (#396)
* Convert floats to strings for generic webhook payloads

* document the change

* Create 396.bugfix
2022-07-07 17:44:11 +01:00
Kim Brose
8f2015b605
Update webhooks.md (#381)
* Update webhooks.md

* Create 381.doc

* Capitalize Markdown

Co-authored-by: Christian Paul <christian@chrpaul.de>

Co-authored-by: Christian Paul <christian@chrpaul.de>
2022-06-27 09:49:18 +01:00
Tadeusz Sośnierz
86b9a83b97
Add Admin command from listing and disconnecting connections (#367)
* Add Admin command from listing and disconnecting connections

(Only lists Github for now).

* Require connectionManager permissions to manipulate connections

Gives connection management its own config section and switches
AdminRoom categories to be enums.

* Fail more descriptively if connectionManager is not up in time for adminRoom

* Fix Github API URLs (#366)

* Fix Github API URLs

* Add changelog entry

* Fixes

* Tidyup

Co-authored-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Tadeusz Sośnierz <tadeusz@sosnierz.com>

* Fix URLs *again*

* Block private repos from being publically bridged

* Ensure check looks at service type

* Finish up deleting connections impl

Co-authored-by: Tadeusz Sośnierz <tadeusz@sosnierz.com>
Co-authored-by: Will Hunt <will@half-shot.uk>
2022-06-08 15:50:09 +00:00
Will Hunt
ee2fd5bbcc
Add contributing file (#134)
* Add contributing file

* Rewrite and point at matrix-appservice-bridge

* Add documentation

* Ensure we install matrix-appservice-bridge when building docs

* Also install for release

* changelog

* add contrib file

* Remove artifact step, it doesn't render so nicely

* Update README.md
2022-06-08 15:30:46 +00:00
Will Hunt
21b6d79c3f
Support GitHub Enterprise (#364)
* Support GitHub Enterprise

* Add default config

* Fixes

* Hide enterprise key
2022-05-25 11:07:07 +01:00
Will Hunt
efb5f49bb8
Use https over git for install instructions (#355)
* Use https over git for install instructions

* Create 355.doc
2022-05-25 10:47:46 +01:00
Kim Brose
e9c6afdc44
Fix spacing of non-emoji icons in the docs navbar (#341)
* Fix spacing of non-emoji icons in the docs navbar

* Create 341.docs

* towncrier being picky
2022-05-09 14:54:15 +01:00
Will Hunt
bc29b78442
Allow overriding the results of an openID lookup for widgets for local development. (#326)
* Revert "Withdraw openid overrides change for this PR"

This reverts commit 561fb20471107827a5304eb3d4c4254bb215ae8d.

* Drop setting from sample config

* changelog

* Clarify config
2022-05-09 12:16:27 +01:00
Will Hunt
f56545bf7c
Add setup command for GitLab (#321)
* Cleanup gitlab auth command

* Add support for the `!hookshot gitlab project` command

* Improve docs

* changelog

* add new page

* Wording

Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>

* Remove useless comment

Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
2022-04-26 16:04:24 +01:00
Tadeusz Sośnierz
0ac4d84aa7 Implement listing and removing feeds from a room 2022-04-25 15:17:15 +02:00
Tadeusz Sośnierz
113cb2ee67 Flesh out feed setup docs 2022-04-25 15:17:15 +02:00
Will Hunt
c1ff3911f0
whoops 2022-04-25 13:33:10 +01:00
Half-Shot
cbb05df423 Remove done 2022-04-22 18:55:57 +01:00
Half-Shot
d5498f99f2 fix metric name 2022-04-22 18:54:42 +01:00
Half-Shot
0472db14e9 icon 2022-04-22 18:53:12 +01:00
Half-Shot
d76713f4f3 Add some metrics 2022-04-22 18:53:01 +01:00
Half-Shot
9db37e4dc3 Add skeleton docs 2022-04-22 18:48:39 +01:00
Will Hunt
bd58714c66
Improve metrics coverage (#312)
* Actually register the SDK metrics

* Add some useful metrics

* Update docs

* changelog
2022-04-19 11:24:59 +00:00
Will Hunt
7732a943de
Add figma to setup.md 2022-04-15 09:54:32 +01:00
Will Hunt
e1b5f989b9
Fail to start when widgets are configured without a listener (#298)
* Add note about listener configuration in widgets.md

* Add errors to check when widgets are not fully configured

* changelog

* Include widget listener in default config
2022-04-11 18:39:42 +01:00
Will Hunt
1ab442107c
Automatically add new labels to newly created issues (#292)
* Automatically add new labels to newly created issues

* changelog
2022-04-11 17:25:26 +01:00
Kim Brose
e8d2003868
Fix typos (#286)
* Fix typos

* Create 286.doc
2022-04-11 17:08:40 +01:00
SpiritCroc
7379346fc1
Generic webhook transform: allow specifying msgtype (#282)
* Generic webhook transform: allow specifying msgtype

* Update doc and changelog for msgtype webhook transform
2022-04-11 10:28:23 +01:00
Will Hunt
aa9e066530
Add Generic Webhooks Widget interface (#140)
* Start work on improved widget interface for admin room

* Add changes needed for InviteView

* More widget bits

* Lots more work to support setup widgets

* Redesign work

* Fix build order for web

* Remove unused invite code

* Update configs

* Cleanup

* Support widget branding

* Tidy up web app

* Support generic service config lookup

* Stronger typings for configuration

* Improve error text

* fix patch

* changelog

* First pass on documentation

* Fix tests

* fixes

* Don't require room state / admin rooms for room config requests

* Fix no render when secrets isn't provided

* rework if logic

* Fixes after feedback

* more review fixes

* Cleanup unused code

* fix indent

* Update matrix-appservice-bridge to 4.0.1

* Update widget API
2022-04-08 16:16:12 +01:00
Christian Paul
4060ded7f8
Minor grammar corrections in code and documentation (#267)
* setupWidget -> setUpWidget

* setup -> (to) set up; add full stops

* setupAdminRoom -> setUpAdminRoom

* it's -> its

* Create 267.feature

* log in to; Currently, ; full stops

* Improve copy of error messages

* Update 267.feature

* Rename 267.feature to 267.misc

Co-authored-by: Will Hunt <will@half-shot.uk>
2022-04-07 16:14:35 +01:00
Will Hunt
14abb011b6
Support hotlinking github issues and PRs (#277)
* Support hotlinking github issues and PRs

* changelog

* update sample config

* Update github_repo.md
2022-04-06 18:46:04 +01:00
Will Hunt
f8934fb1c7
monolithic should be false in worker mode 2022-04-05 18:01:38 +01:00
Will Hunt
b45681a84e
Add metrics: to metrics.md 2022-04-05 09:10:19 +01:00
Kim Brose
7ce1fd5753
Update github_repo.md (#245)
* Update github_repo.md

* Create 245.doc

* Clarify github_repo.md

Co-authored-by: Will Hunt <will@half-shot.uk>

Co-authored-by: Will Hunt <will@half-shot.uk>
2022-04-01 22:04:02 +01:00
Christian Paul
fca5f1f105
Update setup.md: Minor grammar corrections (#264)
* Update setup.md: Minor grammar corrections

* Create 264.doc
2022-04-01 14:22:23 +01:00
Half-Shot
1bd1330782 Fix versionotron again 2022-03-30 11:55:10 +01:00
Half-Shot
c3a5ac4de1 Fix script again 2022-03-30 11:45:43 +01:00
Half-Shot
c90495277d Fix path changer 2022-03-30 11:44:13 +01:00
Will Hunt
3cf1552ea7
Support versioning docs (#259)
* Setup versioned docs

* changelog

* correct version number
2022-03-30 11:36:37 +01:00
Will Hunt
9092ae5716
Clarify homeserver configuration and requirements in documentation (#243)
* clarify homeserver needs

* Apply suggestions from code review

Tweaks

Co-authored-by: Kim Brose <kim.brose@rwth-aachen.de>

* Create 243.doc

* Clarify "the homeserver which is hosting it"

Co-authored-by: Kim Brose <kim.brose@rwth-aachen.de>
2022-03-28 11:33:32 +01:00
Will Hunt
bade5be6eb
Move webhooks from / to /webhook (#227)
* Move webhooks from / to /webhooks

* fix doc

* Update docs

* Fix tests

* changelog

* Update sample config

* fixup config

* fix changelog

* commit config changes
2022-03-07 23:57:06 +00:00
Will Hunt
363d8aa02f
Refactor logging to be much more flexible and less noisy (#229)
* Add new logging config options

* Reduce logging noise

* Identify more sources of noise

* Add new colourize and json options for logging

* Update documentation

* changelog
2022-03-07 20:04:26 +00:00
Will Hunt
d9fe5357a9
Drop support for Node 12 (#228)
* Drop node 12 dependencies

* changelog
2022-03-07 20:01:51 +00:00
Will Hunt
46049cf528 Fix icon paths for style.css 2022-03-04 16:41:03 +00:00
Will Hunt
7837cbb0f2
Refactor JIRA to support on-prem (#187)
* JIRA refactors

* Support JIRA onprem

* Fix webhooks

* More JIRA docs --- PLEASE REWRITE MEEEE ---

* Drop manifest code for now

* Add on-prem instructions

* Remove incomplete command

* Update sample config

* Remove null url
2022-03-04 14:34:44 +00:00
Will Hunt
01d3d96f12
Add support for a "v2" webhook transformation API (#223)
* Add support for a "v2" webhook transformation API

* changelog
2022-03-03 19:16:17 +00:00
Will Hunt
ffd64cf2f5
Change references of half-shot/ to matrix-org/ (#216)
* Change references of half-shot/ to matrix-org/

* changelog
2022-03-02 15:42:06 +00:00