Commit graph

111 commits

Author SHA1 Message Date
vulet
3122361c6c chore(deps): upgrade matrix-js-sdk.
fix(e2ee): getContent() only summons m.relates_to for reactions.
2022-04-25 06:53:50 +00:00
vulet
3b16a0495c feat(cmd): stop flood/notify.
fix(cmd): bad return.
chore(deps): upgrade all.
2022-01-31 18:06:01 +08:00
vulet
35cec7751f
chore(deps): bump axios from 0.21.1 to 0.21.2
chore(deps): bump axios from 0.21.1 to 0.21.2
2021-09-15 14:36:06 +08:00
dependabot[bot]
9067ae600b
chore(deps): bump axios from 0.21.1 to 0.21.2
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-15 06:35:31 +00:00
vulet
25e49ffc78
chore(deps): bump matrix-js-sdk from 12.2.0 to 12.4.1
https://github.com/vulet/ligh7hau5/issues/11

https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing

Special thanks to @otrapersona!
2021-09-15 14:35:02 +08:00
dependabot[bot]
ccdcf69bea
chore(deps): bump matrix-js-sdk from 12.2.0 to 12.4.1
Bumps [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk) from 12.2.0 to 12.4.1.
- [Release notes](https://github.com/matrix-org/matrix-js-sdk/releases)
- [Changelog](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-js-sdk/compare/v12.2.0...v12.4.1)

---
updated-dependencies:
- dependency-name: matrix-js-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 20:25:01 +00:00
vulet
dded657009 chore(package): bump version. 2021-08-09 17:35:10 +08:00
vulet
06e0ce26a9 fix(archive): The latest version of the matrix-js-sdk dependency requires a Node version of at least: 12.9. Node 12 introduced TLSv1.3 as default, which axios then uses. This is causing the archive command to break, so the particular command will continue forward with TLSv1.2 for now. 2021-08-09 17:15:38 +08:00
vulet
6273452876 fix(e2ee): command-by-reaction/emote and reply by </mx-reply>.
chore(deps): upgrade matrix-js-sdk, and refactor for it. bump version.
2021-08-06 20:13:36 +08:00
vulet
44e4138b80 chore(all): bump version 2021-07-23 16:37:14 +08:00
vulet
be3e68f221 fix(nitter): missing threading.
fix(proxy): add into registrar.
2021-07-23 16:29:45 +08:00
vulet
b7e73fc533 refactor(proxy): w/ cycling, rm fallback.
refactor(config): adjust for cycling.
2021-07-23 14:02:32 +08:00
vulet
2f58d6bb84 chore(deps): update OLM dist. upgrade all. 2021-06-15 10:44:32 +08:00
vulet
472552c33b chore(cmd): add proxy shorthand 2021-06-07 15:44:21 +08:00
vulet
54631f5c2a refactor(invidious/nitter): add instance fallback. chore(readme): update instances. 2021-06-07 15:44:13 +08:00
dependabot[bot]
c7e3f26f60
chore(deps): bump ws from 7.4.3 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 22:30:38 +00:00
vulet
a371b7c501 fix(e2ee): self-react after decryption promise 2021-04-25 16:04:01 +08:00
vulet
39a88b2722 fix(notifications/timeline): low lengths. chore(config): add invidious.fdn.fr. 2021-04-25 15:53:23 +08:00
vulet
340fed6346 fix(feed): attached content on mentions 2021-03-01 14:06:28 +08:00
vulet
bfde4265c6 chore(all): bump version 1.2.2 2021-02-26 13:56:40 +08:00
vulet
50e9f808da fix(fediverse): move mentions array to string. allow events for error handling. 2021-02-26 13:54:30 +08:00
vulet
dddb8ad014 chore(deps): bump versions 2021-02-26 12:32:16 +08:00
vulet
1e8577f865 feat(fediverse): automatically attach mentions to reply. refactor(mentions): clean-up. 2021-02-26 12:21:41 +08:00
vulet
f37e2471c0 fix(10grans): forecast regression 2021-02-25 16:43:08 +08:00
vulet
7a9bac2bf4 fix(10grans): don't allow rain on tipbot 2021-02-25 11:31:55 +08:00
vulet
e916778c49 refactor(10grans): adjust forecast 2021-02-23 11:07:00 +08:00
vulet
14006d9209 fix(feed): don't throw on unknown notification types. 2021-02-23 11:06:23 +08:00
vulet
58ef31356a feat(10grans): add make-it-rain 2021-02-22 17:49:26 +08:00
vulet
fcadc5addc refactor(e2ee): session management in config 2021-02-21 19:07:56 +08:00
vulet
9da2d13dbf fix(feed): use domestic homeserver 2021-02-21 14:10:32 +08:00
vulet
a9073b0b9d fix(reactions): match redaction codepoint. && fix/styling(feed): bad pathing, cleanup. 2021-02-19 14:09:40 +08:00
vulet
58fe0c19d2
Introduce meta field (1.2.0)
This introduces a `content.meta` field to our Fediverse related `m.room.message` events on Matrix. The field is attached to events that are related to notifications, and timeline. The data includes: `['status', 'reblog', 'mention', 'redact', 'unreblog', 'account']` then followed by a notice ID or an account ID. The meta field is listened for, and once encountered, a self-reaction occurs with the related available commands. After the self-reaction, we then listen for a second reaction or (`m.annotation`), and if given, act on the command specified. The commands which are currently supported include: favorite (👏), reblog (🔃), and redact (🗑). A reply is also listened for, or `m.in_reply_to`. If a reply is encountered on an event with meta, then a reply is carried out splitting at [`</mx-reply>`](https://matrix.org/docs/spec/client_server/r0.6.1#m-room-message-msgtypes) , with reaction handling done at MSC2677.
2021-02-15 00:17:35 +08:00
vulet
1e2d159053 chore(fediverse): remove old commands 2021-02-14 16:06:18 +08:00
vulet
42563ebc35 feat(matrix/fediverse): allow users to directly reply on Fediverse posts from Matrix, using <mx-reply> on our new meta field.
feat(matrix/fediverse): allow users to favorite, reblog, and redact Fediverse posts from Matrix, using m.reaction on our new meta field.
feat(fediverse): add suggestions for follow/unfollow commands.
refactor(matrix/fediverse): add meta field for commands by reaction, and commands by reply.
refactor(fediverse): relax polling on timeline/notifs thru new handling.
2021-02-14 15:57:35 +08:00
vulet
430fb350c1 fix(429): our nitter instance it too populated, switch defaults until instance bounce handling. fix(styling): use checkmark in config. 2021-02-03 12:13:05 +08:00
vulet
695a3bd0ee chore(readme): styling 2021-02-01 21:21:53 +08:00
vulet
33a262990c chore(help): update help commands 2021-02-01 17:58:17 +08:00
vulet
1a7d361b5d
Introduce OLM Encryption (1.1.0)
This release includes breaking changes. The [`node-localstorage`](https://github.com/lmaccherone/node-localstorage) package was added and has replaced our use of [`file-system`](https://github.com/douzi8/file-system).  The [`OLM`](https://gitlab.matrix.org/matrix-org/olm) package has also been added, so that we can support users who live on homeservers which require e2ee on direct messaging. The [`matrix-js-sdk`](https://github.com/matrix-org/matrix-js-sdk/) has been upgraded 7 major versions. A re-run of `yarn` or `yarn install` to re-install dependencies is required.
2021-02-01 17:42:35 +08:00
vulet
35899957eb chore(all): update for OLM refactor 2021-02-01 17:15:01 +08:00
vulet
67b88f9c96 feat(e2ee): introduce OLM encryption. refactor(storage): moved from fs to localstorage. refactor(config): added as global to registrar. chore(npm): upgraded matrix-js-sdk from 2.4.6 release to 9.5.1 release. 2021-02-01 16:58:59 +08:00
vulet
0cd373fb8a chore(help): update commands 2021-01-17 23:15:26 +08:00
vulet
ef00f3c8d5 fix(auth): pass tokens on initial startup 2021-01-17 22:29:19 +08:00
vulet
a0d7852e90 fix(ignore): move cache 2021-01-17 21:48:05 +08:00
vulet
ab86f0a3e1 refactor(registrar): add initializers 2021-01-17 21:41:11 +08:00
vulet
c1b8e37e70 chore(deps): bump versions 2021-01-17 19:36:01 +08:00
vulet
854323cbc4 chore(config): add default client name 2021-01-17 19:25:24 +08:00
vulet
65b0a07c4a chore(readme): prefer token-based authentication 2021-01-17 19:18:17 +08:00
vulet
66e751abd5 chore(ignore): add matrix/fediverse auth 2021-01-17 18:05:13 +08:00
vulet
f69b52261a refactor(all): prefer token-based authentication 2021-01-17 17:58:02 +08:00
vulet
9e17440abc feat(proxy): add more handling 2021-01-15 01:10:53 +08:00