Open lazyest opened 3 months ago
I think we can have the backend accept an url signed by the client token and return the message(s) specified in the signature even if you don't have that token. Something like /message/external?id=123&client_id=3&sig=$(HMAC(token, join("&", sort(query))))
If we want we can add even more things like expiration time, etc.
@jmattheis Are you interested in this? I can write the backend part
I'm not sure I 100% understand this request. Is this some kind of permalink to a specific message. e.g. localhost:8080/#/messages/21?id=5 where 21 is the app id and 5 is the message id?
Does this even need a backend change?
I think what they meant is an url they can share a message to other people (so not the same user)
Hmm this seems along the lines of multi user support which gotify doesn't really do. I don't expect this to be a feature many users want, so I'd wait for some other users feedback.
from my point of view it will be enough to have it for one user only, we didn't manage how mulituser work so all using same user ;) but sharing particular event with direct link is a request
I could create a branch and write a solution for the current version but I'm not very interested in keeping it maintained if it is not merged into master. I want to respect mattheis' decision on whether to merge it. It should not be too hard to maintain yourself if you have basic skills in Go and TS, and since Gotify codebase is mostly stable now probably a simple git pull
will do in most cases. Let me know if you want to do that.
maybe its not so useless feature and it will be applied for whole product? ;)
I would implement it mainstream if this is my personal project but I would like to defer to the actual creator on his wishes here.
You're damn right :) From my point I'm just humble asking for some useful feature
I'm looking for it now. I have some data on my server need to push to a group of people since I don't want they delete message, something read-only. I think it's useful.
From my perspective its useful to send a link to some event to colleague and I don't see easy way of doing this now
It will be nice to have a direct link for every event and provide some button to copy it in every event. Maybe just near removing button?
Now its boring to describe or copy-paste text from page.