mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #3304] [MERGED] feat: Implement Push Notifications sync #3263
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3304
Author: @GeekCornerGH
Created: 3/4/2023
Status: ✅ Merged
Merged: 6/12/2023
Merged by: @BlackDex
Base:
main← Head:feature/push-notifications📝 Commits (1)
2d66292feat: Push Notifications📊 Changes
22 files changed (+526 additions, -70 deletions)
View changed files
📝
.env.template(+7 -0)➕
migrations/mysql/2023-02-18-125735_push_uuid_table/down.sql(+0 -0)➕
migrations/mysql/2023-02-18-125735_push_uuid_table/up.sql(+1 -0)➕
migrations/postgresql/2023-02-18-125735_push_uuid_table/down.sql(+0 -0)➕
migrations/postgresql/2023-02-18-125735_push_uuid_table/up.sql(+1 -0)➕
migrations/sqlite/2023-02-18-125735_push_uuid_table/down.sql(+0 -0)➕
migrations/sqlite/2023-02-18-125735_push_uuid_table/up.sql(+1 -0)📝
src/api/admin.rs(+15 -7)📝
src/api/core/accounts.rs(+72 -6)📝
src/api/core/ciphers.rs(+21 -5)📝
src/api/core/folders.rs(+3 -3)📝
src/api/core/mod.rs(+0 -33)📝
src/api/core/organizations.rs(+1 -1)📝
src/api/core/sends.rs(+16 -8)📝
src/api/mod.rs(+5 -0)📝
src/api/notifications.rs(+37 -6)➕
src/api/push.rs(+280 -0)📝
src/config.rs(+21 -0)📝
src/db/models/device.rs(+42 -1)📝
src/db/schemas/mysql/schema.rs(+1 -0)...and 2 more files
📄 Description
Implements the Push Notification feature
Resolves #2469
Push-demo.webm
Special thanks to @samb-devel for your help
How to test:
Get your keys from the Bitwarden website
Set environment variables to the required values:
PUSH_RELAY_URI is already configured to use default Bitwarden server.
Start the server, then test.
This was my first shot at Rust.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.