Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Notifier] Add Matrix bridge #1374

Merged
merged 3 commits into from
Feb 14, 2025
Merged

[Notifier] Add Matrix bridge #1374

merged 3 commits into from
Feb 14, 2025

Conversation

chii0815
Copy link
Contributor

@chii0815 chii0815 commented Jan 8, 2025

Q A
License MIT
Doc issue/PR symfony/symfony-docs#...

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 8, 2025 18:05
Copy link

github-actions bot commented Jan 8, 2025

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1374/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1374/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'symfony/matrix-notifier:^7.3'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

auto-merge was automatically disabled January 8, 2025 18:15

Head branch was pushed to by a user without write access

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 8, 2025 18:15
Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

auto-merge was automatically disabled January 9, 2025 17:23

Head branch was pushed to by a user without write access

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 9, 2025 17:24
@chii0815 chii0815 requested a review from OskarStark January 9, 2025 17:26
fabpot added a commit to symfony/symfony that referenced this pull request Feb 14, 2025
This PR was squashed before being merged into the 7.3 branch.

Discussion
----------

[Notifier] Add Matrix bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| License       | MIT

Docs PR: symfony/symfony-docs#20548
Recipe PR: symfony/recipes#1374

Added a new notifier bridge for Matrix Synapse.

Whats implemented in this?
- sends message to roomID when roomID or userID or roomAlias (see above) is given as recipient
- fetches roomID of private room when userID is given as recipient, if no room is available it will be created and the recipiant will be invited to join
- fetches roomID when roomAlias is given as recipient

Whats not implemented at the moment?
- end-to-end encryption, all messages will be unencrypted even if E2E enabled in the room.

Commits
-------

af8b15d [Notifier] Add Matrix bridge
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Feb 14, 2025
This PR was squashed before being merged into the 7.3 branch.

Discussion
----------

[Notifier] Add Matrix bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| License       | MIT

Docs PR: symfony/symfony-docs#20548
Recipe PR: symfony/recipes#1374

Added a new notifier bridge for Matrix Synapse.

Whats implemented in this?
- sends message to roomID when roomID or userID or roomAlias (see above) is given as recipient
- fetches roomID of private room when userID is given as recipient, if no room is available it will be created and the recipiant will be invited to join
- fetches roomID when roomAlias is given as recipient

Whats not implemented at the moment?
- end-to-end encryption, all messages will be unencrypted even if E2E enabled in the room.

Commits
-------

af8b15d0d7d [Notifier] Add Matrix bridge
symfony-splitter pushed a commit to symfony/notifier that referenced this pull request Feb 14, 2025
This PR was squashed before being merged into the 7.3 branch.

Discussion
----------

[Notifier] Add Matrix bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| License       | MIT

Docs PR: symfony/symfony-docs#20548
Recipe PR: symfony/recipes#1374

Added a new notifier bridge for Matrix Synapse.

Whats implemented in this?
- sends message to roomID when roomID or userID or roomAlias (see above) is given as recipient
- fetches roomID of private room when userID is given as recipient, if no room is available it will be created and the recipiant will be invited to join
- fetches roomID when roomAlias is given as recipient

Whats not implemented at the moment?
- end-to-end encryption, all messages will be unencrypted even if E2E enabled in the room.

Commits
-------

af8b15d0d7d [Notifier] Add Matrix bridge
@OskarStark OskarStark requested a review from fabpot February 14, 2025 11:49
@OskarStark OskarStark changed the title [Notifier] Add Matrix Synapse bridge [Notifier] Add Matrix bridge Feb 14, 2025
@fabpot fabpot disabled auto-merge February 14, 2025 12:05
@fabpot fabpot merged commit f4739b6 into symfony:main Feb 14, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants