Kim Brose
bca1b0b0ec
Fix typo ( #447 )
2022-08-22 10:57:52 +01:00
Half-Shot
e8c6a68e8c
2.0.1
2.0.1
2022-08-22 10:56:00 +01:00
Will Hunt
10e4e88431
Remove --no-script from yarn ( #448 )
...
* Remove --no-script from yarn
As it turns out, we need to run the script to build the all important
crypto modules that we don't use. The --no-script is intended to avoid
us trying to build the project, but in practise I think this does more
harm than good (we don't seem to build when the production flag is used)
* changelog
2022-08-22 10:52:48 +01:00
Half-Shot
ae5bf24926
2.0.0
2.0.0
2022-08-22 10:04:06 +01:00
Will Hunt
f8b0dc40b9
Fix GitLab setup command ( #445 )
...
* Properly log errors in the console for unknown faults
* Fix wrong this in bind
* bugfix
2022-08-22 10:02:22 +01:00
Justin Carlson
49bc94e9ad
Add query parameter to scope room config widget to a particular service ( #441 )
...
* Add query parameter to scope room config widget to a particular service
* Add changelog
2022-08-18 10:47:03 -04:00
Will Hunt
00e5bfe332
Fix markdown paragraphs not rendering properly ( #443 )
...
* Fix markdown paragraphs not rendering properly
* changelog
2022-08-18 15:41:07 +01:00
Will Hunt
52b6033908
Validate figma access token + cleaner errors ( #440 )
...
* Validate figma access token + cleaner errors
* fix import
* changelog
* fix typo
* Apply suggestions from code review
Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
2022-08-12 15:38:22 +01:00
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
Will Hunt
e487b48b2a
Skip already handled GitHub events ( #429 )
...
* Skip already handled GitHub webhooks
* Create 429.bugfix
* tidy up
2022-08-12 10:59:03 +01:00
Justin Carlson
b0eaa8b3b0
Reorder dockerfile to optimize rebuilds ( #438 )
...
* Reorder dockerfile to optimize rebuilds
* Add changelog
2022-08-11 18:11:55 +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
Andrew Ferrazzutti
e9613225be
Add GitHub widget ( #420 )
...
* Add GitHub widget
Also make assorted fixes to help push this along
* Remove unused import
* Resolve new linter warnings
* Undo testing-only change
Didn't mean to commit this
* Use "org/repo" as GitHub repo names in widget
* Update src/ConnectionManager.ts
Co-authored-by: Will Hunt <will@half-shot.uk>
* Don't use null assertions
* Use block scope in switch cases
* Fix some BridgeAPI imports
* Actually validate connection state
* Return only GitHub repos with admin permissions
Co-authored-by: Will Hunt <will@half-shot.uk>
2022-07-29 10:05:21 -04:00
Andrew Ferrazzutti
c719f1b926
Share code for tracking config via state events ( #418 )
...
* Share code for tracking config via state events
This should prevent forgetting to add state event handlers in new or
existing connection types.
* Address review feedback
* Mark GitLabRepoConnection as an IConnection
* Remove unused imports
* Tighten typing for JiraProjectConnectionState
2022-07-29 09:57:58 -04:00
Andrew Ferrazzutti
b118a8e606
Fix some docstrings ( #428 )
...
* Fix some docstrings
* changelog
2022-07-28 10:33:28 -04:00
Christian Paul
1018ca119f
Fix typo: propetyKey -> propertyKey ( #424 )
2022-07-27 12:23:49 +01:00
Will Hunt
681ab8ebff
Add signoff check ( #427 )
...
* Add signoff check
* develop
* Rename
* test
* test data
* Fix
* pin to ref
* changelog
* Use backend-meta
2022-07-27 12:23:17 +01:00
Will Hunt
650397d843
Create CODEOWNERS and PR template ( #425 )
...
* Create CODEOWNERS
* Create pull_request_template.md
* Create 425.misc
2022-07-25 14:54:39 +01:00
Andrew Ferrazzutti
66a5d8bb57
1.8.1
1.8.1
2022-07-19 11:50:01 -04: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
6516364f3d
Add clean scripts ( #414 )
...
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
2022-07-14 10:58:31 -04: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
Andrew Ferrazzutti
eac6819a58
Don't say nothing to no GitHub connections ( #416 )
...
* Don't say nothing to no GitHub connections
Allow the message of "No GitHub bridges" to be sent.
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
* Changelog
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
* "Github" -> "GitHub" in `list-connections`
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
2022-07-14 09:55:46 -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
d4f701c871
Disallow some empty config URL settings ( #412 )
...
* Disallow some empty config URL settings
If these settings are meant to be unspecified, then their entire parent
sections (`widgets` & `generic`) should be unspecified.
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
* Convert some config URL strings to URL objects
This allows both parsing and easier crafting of relative URLs.
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
* Dump parsed URLs to default config
Also implement getters to return stringified URLs, instead of having to
store a URL's string representation directly.
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
2022-07-13 08:39:23 -04:00
Andrew Ferrazzutti
c46cc71de8
Use the admin widget in admin rooms ( #411 )
...
Fixes #308
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
2022-07-13 08:34:50 -04:00
Half-Shot
ded8be55e2
1.8.0
1.8.0
2022-07-11 18:13:10 +01:00
Will Hunt
c68bcafeb6
Automatically reconfigure GitHub notifications when a token is updated. ( #388 )
...
* Refactor methods
* changelog
* Tweaks
2022-07-11 17:08:09 +00:00
Will Hunt
74a3611134
Allow the same GitLab repo to be bridged to multiple rooms ( #406 )
...
* Check matching roomId when checking for existing GitLab repos
* changelog
* Don't need to cast
2022-07-11 16:56:42 +01:00
Damien Gaignon
1d0b2adc8a
Fix link in AdminRoom ( #384 )
...
* Fix link in AdminRoom
Signed-off-by: Damien Gaignon <damien.gaignon@gmail.com>
* Add 384.bugfix file
* Add full stop to changelog entry
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
2022-07-11 09:48:06 -04:00
Andrew Ferrazzutti
18df8eb8b6
Stringify provision connection data object in logs ( #404 )
...
* Stringify provision connection data object in logs
Otherwise, it may get logged as [object Object]
* changelog
2022-07-11 09:41:11 -04:00
Andrew Ferrazzutti
3199f0c87b
Allow proper responses to widget-setup commands ( #403 )
...
* Allow proper responses to widget-setup commands
* changelog
2022-07-11 09:40:37 -04:00
Andrew Ferrazzutti
b491ad1e07
Fix typos in docs ( #401 )
...
* Fix typos in docs
* changelog
2022-07-11 09:37:06 -04:00
dependabot[bot]
8b31a4bfe8
Bump moment from 2.29.2 to 2.29.4 ( #400 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-08 00:06:23 +01: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
84f1e3bfe3
Test against Node 18 ( #399 )
...
* Test on Node 18
* Drop mistakenly commited file
* Create 399.misc
2022-07-07 21:52:51 +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
Will Hunt
ab59fe4e98
Dockerfile: Move --pure-lockfile to yarn (install) ( #391 )
...
* Move --pure-lockfile to yarn (install)
* Debug rust
* Update Dockerfile
2022-07-06 12:49:26 +01:00
Will Hunt
7c415ad376
Revert "Add docker auto-build for ARM64 ( #373 )" ( #392 )
...
This reverts commit ea6382faa13c97b75b1b940dc1d709fcfa9023a0.
2022-06-30 12:01:33 +01:00
Brendan Abolivier
d940e79b39
Mention RSS/Atom feeds in the list of supported platforms ( #389 )
...
* Mention RSS/Atom feeds in the list of supported platforms
* Changelog
2022-06-29 14:31:36 +01:00
Will Hunt
f7b652a0b5
Remove transformation function from webhook rooms when it's removed from the state ( #383 )
...
* Clear transformationFunction when state omits it.
* Create 383.bugfix
2022-06-28 09:10:37 +01:00
Will Hunt
c36a5e7d60
Fix oauth login urls for GitHub cloud having the wrong domain ( #377 )
...
* Ensure we use a single function for generating oauth urls
* Add tests
* changelog
* Fix test
2022-06-27 15:17:01 +01:00
Damien Gaignon
5e63508f49
Fix Webhook command ( #379 )
...
* Fix Webhook command
Signed-off-by: Damien Gaignon <damien.gaignon@gmail.com>
* Add 379.bugfix
* Words
Co-authored-by: Will Hunt <will@half-shot.uk>
2022-06-27 14:15:25 +00: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
Arthur Brugière
ea6382faa1
Add docker auto-build for ARM64 ( #373 )
...
* Add docker auto-build for ARM64
* Add changelog for ARM64 build PR
* Add needed QEMU action for ARM64 build
* Bump docker's action + apply all to 'latest' workflow too
* Clarify feature
Co-authored-by: Will Hunt <will@half-shot.uk>
2022-06-17 10:26:34 +01:00
Jason Robinson
541e602174
Add a .node-version file ( #376 )
...
Add it with 16. Helps people like me running avn for the right node version to be activated - https://github.com/wbyoung/avn
2022-06-17 09:20:23 +01:00
Half-Shot
a60acd5227
1.7.3
1.7.3
2022-06-09 15:01:23 +01:00
Will Hunt
58b08c95d4
Reinstate login commands for GitHub ( #372 )
...
* Reinstate login commands for GitHub
* Create 372.bugfix
* Use proper enums
2022-06-09 15:00:14 +01:00
Half-Shot
a665d3b949
1.7.2
1.7.2
2022-06-08 16:51:57 +01:00