Skip to content

Fix event listener - #416

Merged
sdb9696 merged 1 commit into
masterfrom
feat/listen_fcm_v1
Aug 29, 2024
Merged

Fix event listener#416
sdb9696 merged 1 commit into
masterfrom
feat/listen_fcm_v1

Conversation

@sdb9696

@sdb9696 sdb9696 commented Aug 29, 2024

Copy link
Copy Markdown
Member

The deprecated fcm api stopped the event listener working.
This PR migrates to the new version of firebase-messaging to support the new FCM HTTP v1 api.

@gitguardian

gitguardian Bot commented Aug 29, 2024

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
13592132 Triggered Generic High Entropy Secret 9d6c8d0 tests/fixtures/ring_listen_credentials.json View secret
13592133 Triggered Google API Key 9d6c8d0 ring_doorbell/const.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@sdb9696 sdb9696 added the bugfix Label for PRs that fix a bug label Aug 29, 2024
@sdb9696 sdb9696 added this to the 0.9.2 milestone Aug 29, 2024
@sdb9696 sdb9696 changed the title Fix listener - upgrade firebase-messaging to support new fcm v1 api v1 Fix event listener Aug 29, 2024
@sdb9696
sdb9696 merged commit fabb2ec into master Aug 29, 2024
@sdb9696
sdb9696 deleted the feat/listen_fcm_v1 branch August 29, 2024 14:00
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 77.186% (-0.8%) from 77.98%
when pulling 9d6c8d0 on feat/listen_fcm_v1
into d3fb7b9 on master.

@sdb9696 sdb9696 mentioned this pull request Aug 29, 2024
sdb9696 added a commit that referenced this pull request Aug 29, 2024
## [0.9.2](https://github.com/tchellomello/python-ring-doorbell/tree/0.9.2) (2024-08-29)

[Full Changelog](0.9.1...0.9.2)

**Release highlights:**

- Fixes the broken event listener by migrating to the new `firebase-messaging` library to support FCM HTTP v1 api
- **breaking** - the `RingEventListener` will only support async queries. Hence `start` and `stop` are now async defs

**Fixed bugs:**

- Fix event listener [\#416](#416) (@sdb9696)
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Label for PRs that fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants