23 Commits

Author SHA1 Message Date
Andrew Ferrazzutti
e808002ad7 4.6.0 2023-11-20 11:14:52 -05:00
Andrew Ferrazzutti
4a1c449154
Update release script (#819)
* Update releaser script to check Cargo.toml version

* Update releaser script to check Cargo.lock version

* Update Cargo.toml/lock

* Let releaser script show actual branch to be on

* Echo releaser script errors to stderr

* Use unique exit codes for releaser script errors

* Add changelog
2023-09-26 21:15:14 +00:00
Will Hunt
38c34b671b
Update bot-sdk to 0.6.7-element-1 (#814)
* Update to bot-sdk 0.6.7-1

* Update cargo dependencies

* changelog
2023-09-11 13:37:17 +00:00
Andrew Ferrazzutti
958743365f
Update Cargo.lock (#803)
* Update Cargo.lock

* Changelog

* Update Cargo.toml
2023-08-04 13:11:25 +00:00
Will Hunt
3217b9eecf
Performance improvements to Feeds (#786)
* Various smaller changes

* Drop account data entirely

* Use max feed items

* Commit known working improvements

* Better status handlingh

* changelog

* Update changelog

* Add a note on Redis.

* Add proper HTTP tests

* Linty lint

* Tweaks

* New metrics woah

* Tweaks
2023-06-28 15:29:54 +00:00
Will Hunt
466ab6d5e3
Allow sanitized HTML from feed summaries (#738)
* Add a function to sanitize html output

* Allow some HTML in feed messages

* Update cargo

* changelog

* lint

* Saved a ton of code by just using ruma.

* Reverse order of rs:apply

* Lint

* Update src/Connections/FeedConnection.ts

Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>

* Apply suggestions from code review

Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>

* Add a test for partial html

---------

Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
2023-05-18 18:59:58 +00:00
Will Hunt
43176adf7a
Fallback to parsing feeds as atom format if rss format fails. (#721)
* Support atom feeds in rust parser

* Add an apply linting command

* Add changelog

* Fixup

* Add tests for atom feeds + remove redundant code

* Remove unused rss-parser

* Tests for all formats.

* Move hashing logic into rust to save cross-context calls

* lint my rust

* Use a String::from

* Ensure guids are not repeated
2023-04-25 15:45:55 +00:00
Will Hunt
eda6fc8c26
Use rss crate for RSS feed parsing (#709)
* Refactor annoying type difference

* Add rss

* Add support for parsing RSS feeds

* Add rss lib

* Add Cargo project

* Lint rust

* changelog

* Add support for new fields
2023-04-17 11:48:03 +00:00
Andrew Ferrazzutti
66a5d8bb57 1.8.1 2022-07-19 11:50:01 -04:00
Half-Shot
ded8be55e2 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
Half-Shot
a665d3b949 1.7.2 2022-06-08 16:51:57 +01:00
dependabot[bot]
a53400c132
Bump regex from 1.5.4 to 1.5.6 (#368)
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 12:13:54 +01:00
Half-Shot
ab4cabbd67 1.3.0 2022-03-30 12:04:47 +01:00
Half-Shot
de2528e75b Fix cargo lock 2022-03-30 11:40:31 +01:00
Will Hunt
632791be63
Refactor setup commands (#141)
* Ensure setup connection uses provisionConnection function

* Drop unused parameters from JiraProjectConnection

* Fix typo

* Convert ApiErrors into CommandError when possible

* Fix a stray bug

* changelog
2022-01-10 21:10:14 +00:00
Will Hunt
e6dd83ac5b
Support napi v2 (#111)
* Export a sensible user agent

* Completely rewrite rust portions to be napi v2 compatible

* Format rust files

* Only lint TS files when running lint-node

* Don't include autogenerated typings in the tree

* changelog

* Autofix generated rust dependencies due to a bug in napi@2

* Fix for multiple runs

* Fix format_util file name

* Make script generic

* lint
2022-01-02 01:54:57 +00:00
Will Hunt
b6e37947bd Refactor code to use BaseConnection and make the connectionIds simpler 2021-12-02 12:34:43 +00:00
Will Hunt
40a75fa4d3 Rename project 2021-11-22 16:02:07 +00:00
Will Hunt
933dd498af Lint 2021-11-22 11:15:47 +00:00
Will Hunt
9748fe09cf More tweaking 2021-11-21 16:51:04 +00:00
Will Hunt
175a2c592e Package tweaks 2021-11-21 13:21:58 +00:00
Will Hunt
39c6e81cbb Lots of changes 2021-11-21 12:34:56 +00:00