mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #522] Web: User account & account sync #399
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#399
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?
Originally created by @binwiederhier on GitHub (Nov 29, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/522
This ticket is meant to allow users to log in and sync account settings (as opposed to the current browser-store only feature).
@binwiederhier commented on GitHub (Dec 2, 2022):
I have been working on this. It's very very very rough. Code here: https://github.com/binwiederhier/ntfy/pull/526 -- It's like 20% done and very bad code.
Here are some raw notes.
@binwiederhier commented on GitHub (Dec 3, 2022):
Implemented this:
This can now be used in the UI to log in and sync the config and subscriptions. I have it working to sync the language already. But it's really rough.
Server-side it's a few more tables, though I am contemplating collapsing all the tables into just one more column in the user table called settings and just storing a JSON blob in that.
@binwiederhier commented on GitHub (Dec 9, 2022):
Current progress:
https://user-images.githubusercontent.com/664597/206604453-ec679164-4fde-409c-bfa8-93a80459e039.mp4
Current ideas for API endpoints:
@ngerstle commented on GitHub (Feb 5, 2023):
I'm curious- does this imply that a single user has the same subscriptions on all clients they log in with?
(Personally, I would prefer not to sync in all cases- I can see having subscriptions to different topics on different devices- this could be handled by using different accounts for different devices, but I'm not sure that's sustainable?)
@RokeJulianLockhart commented on GitHub (Feb 6, 2023):
@ngerstle, all that would be necessary would be different device profiles per account.