62 Commits

Author SHA1 Message Date
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
Will Hunt
b07aaedd04
Send a notice to a room when a GitHub issue has been labeled matching a includesLabel (#176)
* Send a notice when an issue has been labeled

* Don't show labeled events for new issues

* Docs improvements
2022-01-18 10:50:00 +00:00
Kim Brose
3e36cd7092
review setup.md#Permissions (#171) 2022-01-14 18:26:22 +00:00
Will Hunt
5b294bc05f
Add support for a tiered permission system (#167)
* Add basic permission model

* Add permission mapping implementation

* Start integrating config checks

* Add permission checking for commands

* Add warnings for legacy behaviour

* changelog

* Linting

* Fix config build step

* Tests

* Add documentation

* Add complete tests

* Add documentation

* Add room for room membership permissions

* Fixup error

* Update sampleConfig
2022-01-14 17:44:15 +00:00
Will Hunt
e2b4b584e5
Add some icons to the documentation for various platforms (#168)
* Add some icons to the documentation for various platforms

* changelog
2022-01-13 01:29:14 +00:00
Kim Brose
6d7112ae07
Update setup.md (#155) 2022-01-11 22:26:18 +00:00
Will Hunt
8f2cf779ac
Further docs clarifications (#150)
* Clarify secret token.

* Fix list in Jira.
Fixes #146

* Try to clarify the GitHub docs a bit. Fixes #148

* Add documentation on Docker config validation.
Fixes #152

* Update docs/setup/jira.md

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

Co-authored-by: Kim Brose <kim.brose@rwth-aachen.de>
2022-01-11 18:44:16 +00:00
Kim Brose
2a676afca0
fix more typos (#142)
* fix more typos

* Update jira.md
2022-01-10 23:26:45 +00:00
Half-Shot
05852d9de8 Clarify passkey for docker
Fixes #133
2022-01-08 15:11:24 +00:00
Will Hunt
675456dd72
Figma Support (#105)
* Add support for Figma files

* tweaks

* Final pieces needed for support

* Documentation

* Add config check

* Support using an alternative userId for Figma (to support legacy bots)

* Reinstate key fixer

* lint
2022-01-06 17:13:58 +00:00
Will Hunt
cdd05e7aeb
Explain that OAuth requests go through the webhooks listener (#132)
* Explain that OAuth requests go through the webhooks listener

* Create 132.doc
2022-01-06 13:39:08 +00:00
Half-Shot
77ef81474c changelog 2022-01-06 13:37:34 +00:00
Half-Shot
3416f9eefd Merge remote-tracking branch 'pnf/patch-1' 2022-01-06 13:36:33 +00:00
Will Hunt
5e497d7371
Support html key on generic webhooks (#130)
* Add support for `html` key on generic webhooks

* Document key

* changelog

* Add tests
2022-01-06 13:20:29 +00:00
Will Hunt
7be3458e8d
Add config validator (#125)
* Add config validator

* Add docs
2022-01-04 17:59:08 +00:00
Will Hunt
d860b9acd1
Docs and config improvements (#124)
* Don't suggest to bind widgets in config

* Don't support 'appservice' just yet for the listener service.

* Add config validator

* Clarify listener configuration

* Improve text of webhooks docs

* Update config sample

* Revert "Add config validator"

This reverts commit b422b3da3d246f9eb1a6b47641ea4c1315252c2c.

* changelog
2022-01-04 17:49:59 +00:00
Will Hunt
4388930a15
Switch to build script (#121)
* Switch to build script

* temp: export the result of the types build

* changelog

* Get output result

* Remove debug code

* Fix warning visibility

* Move the web build between the rust steps.

* Add debugging again

* Close file, and await promises

* drop the dumb cat
2022-01-04 00:04:27 +00:00