* 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>
* 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>
* Add support for decoding XML for webhooks
* Ensure all endpoints use the error middleware
* Dependencies
* changelog
* Describe form data in the documentation
* Reorder
* 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>
* 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>
* Update webhooks.md
* Create 381.doc
* Capitalize Markdown
Co-authored-by: Christian Paul <christian@chrpaul.de>
Co-authored-by: Christian Paul <christian@chrpaul.de>
* 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>
* 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
* Get UserAgent from package.json (#359)
* Add changelog entry
* Update changelog.d/359.bugfix
Be more precise about which UserAgent it is
Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
* Rename changelog file to refer to its PR number
* Update changelog with issue number and credit
Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
* Refactor RoomConfigView slightly to reduce duplication
* Add Feed configuration widget
* Drop an unused parameter in FeedConnection
Co-authored-by: Will Hunt <will@half-shot.uk>
* Add a key to connection listing in RoomConfigView
Co-authored-by: Will Hunt <will@half-shot.uk>
* Be more explicit when checking for feeds enabledness
Co-authored-by: Will Hunt <will@half-shot.uk>
* Erase state when removing FeedConnection
* Tone down logging in FeedReader
* Strenghten validation of feed URLs
* Drop an unnecessary non-null assertion
* Allow adding labels to feeds
* Add changelog for #345
* Fix lint-found errors
* Improve feed setup widget changelog
Co-authored-by: Will Hunt <will@half-shot.uk>
* Validate feed URLs with HEAD if possible
* Don't log.error feed validation failures in SetupConnection
* Remove extra space
Co-authored-by: Will Hunt <will@half-shot.uk>
* Wrap errors from FeedConnection.provisionConnection in ApiErrors
Co-authored-by: Tadeusz Sośnierz <tadeusz@sosnierz.com>
Co-authored-by: Will Hunt <will@half-shot.uk>
* 1.6.1
* Add new error type for validation errors
* Validate state for GitHubRepo properly
* Add tests to check labels
* Also check GitLab repo
* changelog
* add mock store
* remove nullable
* Be less strict for existing state
* Improve test coverage
* Improve expect error text
* ValidationApiError now takes falsey objects and errors on them
* Remove UserTokenMockStore
* Actually commit the new tests
* Whoops we need to include github
* Use node:16-slim for final image build
* changelog
* Add ignore scripts to final install step
* Copy matrix-sdk-crypto-nodejs built files
* Add workaround to build images foo crypto-nodejs
* chmod +x
* require bash for builds
* Add apt install to hopefully make the rust bits build for arm
* Fix missing multilib (#349)
* Update and rename 336.misc to 339.bugfix
Co-authored-by: Paul Tötterman <ptman@users.noreply.github.com>