!KQaqifczWbCaidLETg:matrix.org

ntfy

2137 Members
This is a room to talk about ntfy | More rooms: https://matrix.to/#/#ntfy-space:matrix.org | Website: https://ntfy.sh/ | GitHub: https://github.com/binwiederhier/ntfy | Docs: https://ntfy.sh/docs/ | This room is bridged from Discord: https://discord.com/invite/cT7ECsZj9w148 Servers

Load older messages


SenderMessageTime
16 Apr 2024
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪 But GETs! 00:33:25
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪 So I think that means it's not an attack, just a good old fashioned bug 00:35:33
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪 I couldn't find anything else. But I turned on debug logging now. Let's hope the logging doesn't bring the server down lol 00:57:59
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪 Around 100 log lines per second. That's a lot of logs 00:58:49
@cirae:matrix.circenn.winCiraeWhen ntfy uses the webpush do you know what ports(?) it's doing it over? I was reading the linked doc, but honestly I'm not absorbing any of it right now lol03:01:32
@cirae:matrix.circenn.winCiraeI added a network policy to the pod, but it apparently needs more ports than I thought03:03:20
@_discord_771884149190950932:t2bot.iowunter8 Webpush shouldn't require any additional ports. ntfy will make an outbound request to the web push provider server (e.g., Google's server, Apple's server, etc.) to send a notification. Then the web push provider server will connect to the client device/browser 03:04:57
@cirae:matrix.circenn.winCiraegotcha. I'll have to fight with it some more tomorrow03:14:33
@searchstar:matrix.orgsearchstarHello, I'm using ntfy progressive web app, but it does not show the number of unread notifications there. Does anyone know why? I'm using KDE plasma on ArchLinux. It must be because I misconfigured something because there is unread count in the MacOS screenshot in the ntfy official website.09:22:32
@tst2000:nope.chat@tst2000:nope.chat left the room.04:48:42
@searchstar:matrix.orgsearchstarimage.png
Download image.png
09:22:50
@searchstar:matrix.orgsearchstar * Hello, I'm using ntfy progressive web app, but it does not show the number of unread notifications there. Does anyone know why? I'm using KDE plasma on ArchLinux. It must be because I misconfigured something because there is unread count in the MacOS screenshot in the ntfy official website: https://docs.ntfy.sh/subscribe/pwa/ 09:22:53
@searchstar:matrix.orgsearchstarI can't find ntfy in the KDE notification settings, but I have configured firefox to show notification badges there.09:24:43
@_discord_661229818335068171:t2bot.ioernestfloyd.itcg.global joined the room.10:11:23
@_discord_738412266134700104:t2bot.ioarthur3378 hello How can I receive web push with ntfy service, please explain a simple web app and how to connect it to ntfy, thank you 10:25:34
@_discord_1051328466848579765:t2bot.iobeside7673 joined the room.12:05:57
@_discord_1051328466848579765:t2bot.iobeside7673 Hi, I was playing around trying to get message templating to work, but I needed some stringContains type function. I stumbled across regexMatch for go templates, used like {{if .someString | regexMatch "regexpattern"}}true{{else}}false{{end}} 12:14:09
@_discord_1051328466848579765:t2bot.iobeside7673 * Hi, I was playing around trying to get message templating to work, but I needed some stringContains type function. I stumbled across regexMatch for go templates, used like

{{if .someString | regexMatch "regexpattern"}}true{{else}}false{{end}}
12:14:26
@_discord_1051328466848579765:t2bot.iobeside7673 * Hi, I was playing around trying to get message templating to work, but I needed some stringContains type function. I stumbled across regexMatch for go templates, used like

{{if .someString | regexMatch "regexpattern"}}true{{else}}false{{end}}

Is the "regexMatch" function supported natively in ntfy go templates? No matter how I try it returns a "invalid request: could not parse template" error when trying to send a message with it.
12:16:24
@_discord_771884149190950932:t2bot.iowunter8 This says badges are only supported on Windows and Mac: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Display_badge_on_app_icon 12:19:32
@_discord_771884149190950932:t2bot.iowunter8 It looks like that functionality (stringContains) is not built in. Neither is regexMatch. So we'll probably add some function mappings as described here: https://stackoverflow.com/a/72567485

I think it makes sense to make "contains", "hasPrefix", and "hasSuffix" available in the templates
12:30:20
@_discord_771884149190950932:t2bot.iowunter8 I'm not sure what you mean. Can you elaborate? 12:30:43
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪 Yeah nothing is built in by default, but we could add some common things like prefix suffix or contains functions. 13:09:49
@searchstar:matrix.orgsearchstar
In reply to @_discord_771884149190950932:t2bot.io
This says badges are only supported on Windows and Mac: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Display_badge_on_app_icon
What a pity...
13:09:55
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪
root@ntfy:/var/log# ls -alh ntfy.log
-rw------- 1 ntfy ntfy 5.2G Apr 16 13:47 ntfy.log


Well that's a lot of logs.
13:48:13
@_discord_805503024041558048:t2bot.iobinwiederhier 🇩🇪 So that'll be 10-15G logs per day. I estimated 5G conservatively. They do compress well though, so let's see. 13:48:58
@_discord_200749791368577033:t2bot.iogingervitiz hello, I am a ntfy Pro subscriber and can't seem to sign into the web app, the credentials i have saved in my password manager arent working and I don't see a way to reset my password. am I missing something? 17:13:02
@_discord_1020094205974040698:t2bot.ioskycrafter0 joined the room.17:42:26
@lukas:lw1.at@lukas:lw1.at left the room.17:46:41
@_discord_771884149190950932:t2bot.iowunter8 Can you publish/subscribe to reserved topics using your credentials with something like curl? That would be another way to test the credentials themselves vs a problem with the web UI 17:55:50

There are no newer messages yet.


Back to Room ListRoom Version: 6