* Update dependencies
* Node 22 is now the new minimum version.
* changelog.
* Begin porting eslint to new config format.
* Make linter happy.
* Update reqwest to fix SSL issue?
* Fix test types
* quick check on ubuntu LTS 24.04
* Change cache key
* update rust action
* revert mocha due to esminess
* Remove the only usage of pqueue
* Use babel for TS transformations to get around ESM import bug.
* Dependency bundle upgrade
* Drop babel, not actually used.
* lint
* lint
* update default config (mostly sections moving around)
* Deprecate legacy sled store
* Add e2ee test
* Add support for e2ee testing in e2e environment
* Tidy up redis support
* Attempt to get test working
* cleanup test
* opportunistic lint
* tiny bit of cleanup
* remove ref
* tweak to homerunner
* switch to nightly images for Synapse (to test E2EE)
* use nightly
* newsfile.
* Update bot sdk to support authenticated media (now that Synapse requires it)
* fix typings
* MatrixError
* one more
* Graduate the encryption property to stable.
* update test config
* Update encryption docs.
* fix some old config bits
* Add dynamic imports for room configs.
* Try to move code editor to imports
* Load code editor on demand to save a bundle load.
* Load fonts from npm
* changelog
* lint
* Add logic to enable generic hook expiry
* Add storage for hook expiry warnings.
* Migrate generic hooks / add expiry field
* Allow reporting a specific error and status code for generic webhooks
* Report the specific error when a message fails to send
* Refactor input class to better support datetime
* Remove single use of innerChild
* Add UI support for expiry configuration
* Add new packages
* Add warnings when the timer is about to expire.
* Add send expiry notice config option
* lint
* document new option s
* Fixup test
* Add tests for expiry
* Add textual command for setting a duration on a webhook.
* Add e2e test for inbound hooks.
* changelog
* Add a configuration option to force webhooks to expire.
* update config.sample.yml
* fix field not working
* Initial support for outbound webhooks.
* Refactor outbound into it's own connection type.
* Add support for media / encrypted media.
* Ensure we configure a sensible User Agent
* Add a test for outbound webhooks
* Checkpoint for feature completeness.
* Lint tidy
* Finish up media tests.
* changelog
* Add outbound documentation
* update default config
* fix tests
* Fix GitLab's ready for review hook
As far back as I could go in the docs (GitLab 14.10),
the keys for changes have been `previous` and `current`.
There is a `draft` change that
we can use directly
instead of guessing from the title.
The type of the value depends on
the key of the change.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
* Add changelog
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
---------
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Co-authored-by: Will Hunt <will@half-shot.uk>
* Fix a namespace conflict.
* Add support for edits.
* Couple of bugfixes.
* changelog
* Support pkcs1 format keys.
* Add docs for official API.
* couple of cleanups
* Revert "Support pkcs1 format keys."
This reverts commit 157cc4ac1269ecdeb64529c51b79d11463cdbbfd.
* Split out queue and cache config
* Update usages of cache config,
* Update default
* Cleanup
* Make queue optional.
* config updates.
* changelog
* update spec config
* Update tests
* tweak import
* Update default config.
* fixup test
* Update config.sample.yml
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
Signed-off-by: Will Hunt <will@half-shot.uk>
* Update encryption.md
Signed-off-by: Will Hunt <will@half-shot.uk>
* Clear up worker config
Signed-off-by: Will Hunt <will@half-shot.uk>
* Update src/config/Config.ts
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
Signed-off-by: Will Hunt <will@half-shot.uk>
* update helm config
* move UserTokenStore.ts
* Port all the imports to new path.
* Port RSA handling to rust.
* Add tests.
* linting
* lint rust
* Remove unwraps / panics
* fix build script
* Ensure we store and check with algorithm and key was used.
* quieten false deadcode warnings
* changelog
* fix test imports
* lazy mock out UTS
* Refactor so that UserTokenStore is initiated by the time Bridge is created.
* update defaults
* replace if with match
* Use the magic of ?
* fmt
---------
Signed-off-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
* Ensure atom feeds hash and prefix
* Add some fixing code for this.
* Remove feed fixer
* Refactor RSS feed tests a bit
* Add tests to ensure hashes do not change
* changelog
* Backoff RSS requests if a url repeatedly fails.
* Increase max backoff time to a day
* Add backoff for failing feeds.
* Remove unused finally
* Add this.feedLastBackoff
* Rewrite in rust.
* linting
* pop
* Optimise backoff function further
* Drop only!
* fix test
* lint
* lint further
* Better comments
* Fix urls calculation
* Remove testing URL
* Add some variance to speed up while loop
* correct comment
* Follow the advice and use a VecDeque as it's slightly faster.
* Vastly better shuffle method
* Speed up checking for previous guids.
* fix hasher function
* lint
* Content doesn't need to be calculated twice.
* Slightly more efficient iteration
* Improve performance of backoff insertion
* Configure feed reader
* lint
* Ensure appending and removing from the queue works as expected.
* Ensure we do keep urls that have been removed.
* lint
* Inc/dec metrics as queue items are added/deleted.
* Add comment
* tidy up
* Fix widget client only talking to localhost
* Improve error text around widget communication.
* changelog
* Remove unused.
* Simplify code by using a context for bridge API.
* Update setup.md
Add relevant information related to webhooks resource endpoint, allows for less confusion and going back and forth between docs
Signed-off-by: Srilokh Karuturi <75606167+srilokhkaruturi@users.noreply.github.com>
* Create 879.doc
Signed-off-by: Will Hunt <will@half-shot.uk>
---------
Signed-off-by: Srilokh Karuturi <75606167+srilokhkaruturi@users.noreply.github.com>
Signed-off-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Will Hunt <will@half-shot.uk>
* Add command to list feeds in YAML format
* Add line breaks
* Add changelog
* Add a period in the help
* Add $URL to templates and add feed list format docs
* Use an optional arg on yaml list instead of a separate function
* Update changelog to include JSON format