that login flow should work with 'www.last.fm' replaced by 'listenbrainz.org'
2023-01-27 02747, 2023
kepstin
note that this requires a desktop client that lets you change the domain to use for last.fm api in its configuration, since listenbrainz.org does not accept last.fm api requests over http and (obviously) doesn't have a tls cert that claims to be 'www.last.fm', so dns substitution will not work.
kepstin: thanks for the reply! I'll try out those end-points. I knew I'd have issues with TLS, so I simply patched the source code in-place so that it points to ListenBrainz instead of Last.fm.
2023-01-27 02722, 2023
avalos
What I'm trying to connect is Supysonic, which has a configuration web UI that allows linking to a Last.fm account.
2023-01-27 02711, 2023
avalos
> oh, i see. only the desktop auth flow is implemented,
2023-01-27 02722, 2023
avalos
Does that mean I can't connect a web app?
2023-01-27 02706, 2023
vibhoo_24 has quit
2023-01-27 02755, 2023
rozlav has quit
2023-01-27 02717, 2023
jivte joined the channel
2023-01-27 02741, 2023
jivte
monkey: Hey if u have time today can u review my pr's
2023-01-27 02714, 2023
jivte
bcz the work for playlist is complete only need ur help to improve it further :)
2023-01-27 02716, 2023
monkey
Sorry, I'm away from computer today. Might have time late next week
2023-01-27 02746, 2023
jivte
cool no problem :)
2023-01-27 02701, 2023
jivte has quit
2023-01-27 02738, 2023
mayhem
LB Android team. We had a user leave a comment and rate the app 3 stars with this review: "Crasht leider auf meinem Gerät (Samsung M21). Freue mich darauf, wenn das ding dann läuft, besonders der lokale Musikplayer ist eine gute Idee."
2023-01-27 02706, 2023
mayhem
Crashes on my devices (samsun m21). Looking forward to when its running because the local music player is a great idea."
2023-01-27 02728, 2023
mayhem
your excitements seems to be doing well!
2023-01-27 02739, 2023
alastairp
avalos: hi, right. we don't actually have oauth for submitting listens to LB yet. where did you see that only the desktop auth flow is implemented?
2023-01-27 02715, 2023
alastairp
MusicBrainz should support both desktop and web flow, for submitting to LB we have a random user token that a user can copy/paste from their profile
2023-01-27 02708, 2023
alastairp
oh sorry - I'm reading back further, I think you're talking about our implementation of the last.fm auth flow in LB, is that right?
2023-01-27 02745, 2023
alastairp
I'll double check the guidelines that you linked to
2023-01-27 02724, 2023
Maxr1998_ joined the channel
2023-01-27 02728, 2023
Maxr1998 has quit
2023-01-27 02718, 2023
notlake joined the channel
2023-01-27 02720, 2023
notlake has quit
2023-01-27 02751, 2023
vibhoo_24 joined the channel
2023-01-27 02721, 2023
Lotheric_ is now known as Lotheric
2023-01-27 02724, 2023
vibhoo_24 has quit
2023-01-27 02740, 2023
yvanzo
mayhem: Do you want (or not) to have another look at Weblate ToS before I submit them the suggested changes?
(the big grey section is a basic artist without any incs)
2023-01-27 02728, 2023
vibhoo_24 has quit
2023-01-27 02706, 2023
alastairp
reosarevok: cool, is that json-schema?
2023-01-27 02722, 2023
rishav_a2z has quit
2023-01-27 02742, 2023
vlipper joined the channel
2023-01-27 02705, 2023
vlipper has quit
2023-01-27 02725, 2023
jivte has quit
2023-01-27 02751, 2023
rozlav joined the channel
2023-01-27 02742, 2023
vibhoo_24 joined the channel
2023-01-27 02726, 2023
vibhoo_24 has quit
2023-01-27 02736, 2023
alastairp
hi bitmap, can you ping me when you're up? I want to create a new database in the cluster
2023-01-27 02725, 2023
alastairp
Freso: hi there, were you able to get some admin docs for the ircbot/chatlogs site written?
2023-01-27 02743, 2023
alastairp
zas: hi, when specifying the port that a new service listens on, should I select an unused port in constants.sh and use the `PORT_LIST` variable to substitute it in place (e.g. in services.sh)? I see many places in our config files where ports are explicitly written, or aren't listed in PORT_LIST
2023-01-27 02719, 2023
zas
alastairp: yes, it would be better, the idea behind PORT_LIST was to avoid potential conflicts
2023-01-27 02749, 2023
zas
new server "mingus" is now up and running, it will be used to host discourse (and to test upgrades)
2023-01-27 02753, 2023
alastairp
OK, I'll use it! thanks
2023-01-27 02714, 2023
alastairp
(port_list, not mingus)
2023-01-27 02726, 2023
alastairp
Mingus Mingus Mingus Mingus Mingus <- good album
2023-01-27 02738, 2023
reosarevok
alastairp: it's openapis slightly weird version of it
2023-01-27 02755, 2023
reosarevok
I think "nullable" is not standard
2023-01-27 02701, 2023
jasje has quit
2023-01-27 02706, 2023
alastairp
reosarevok: once again they have something slightly different to everyone else, huh? :)
2023-01-27 02720, 2023
alastairp
reosarevok: is the json-schema useful in other places though? Do we have one?
2023-01-27 02740, 2023
alastairp
(did we have one before now)
2023-01-27 02753, 2023
reosarevok
Apparently version 3.1 of openapi should be compatible but is still not widely supported
2023-01-27 02709, 2023
reosarevok
And we did not have one, but it hopefully will be useful
2023-01-27 02715, 2023
alastairp
yeah
2023-01-27 02752, 2023
alastairp
I did some experiments with monkey ages back about autogenerating typescript classes from jsonschema, for example. I can believe that'll be useful for some people
2023-01-27 02729, 2023
alastairp
s/classes/types/
2023-01-27 02756, 2023
alastairp
hi zas, if you have time can you please look at 2 PRs I have open on docker-server-configs? one to delete old AB code, one to add brainzbot to docker infra
2023-01-27 02737, 2023
alastairp
thanks yvanzo for the AB approval
2023-01-27 02715, 2023
bitmap
alastairp: hey, I'll document how to update the configuration for you
bitmap: which is current master? (how can I tell?)
2023-01-27 02709, 2023
alastairp
I see your examples use floyd
2023-01-27 02729, 2023
bitmap
yeah, right now it's floyd
2023-01-27 02742, 2023
bitmap
there is a postgres function that can tell you for sure
2023-01-27 02750, 2023
alastairp
bitmap: `createdb: error: database creation failed: ERROR: source database "template1" is being accessed by other users`
2023-01-27 02718, 2023
bitmap
oh, right
2023-01-27 02722, 2023
bitmap
I think that should be template0
2023-01-27 02725, 2023
alastairp
can we use temeplate0?
2023-01-27 02733, 2023
alastairp
right, let me try that one
2023-01-27 02726, 2023
bitmap
maybe it won't let you connect using template0
2023-01-27 02715, 2023
alastairp
it allowed me to make it with template0
2023-01-27 02726, 2023
bitmap
I think there's also a database named 'postgres' you can connect to
2023-01-27 02732, 2023
bitmap
oh, good
2023-01-27 02734, 2023
alastairp
(I was using `createdb`, not connecting with psql
2023-01-27 02735, 2023
alastairp
)
2023-01-27 02720, 2023
bitmap
the pg function I referenced earlier is `select pg_is_in_recovery();` which will only return true on standbys
2023-01-27 02729, 2023
bitmap
the cluster information is also stored in repmgr
2023-01-27 02742, 2023
bitmap
sudo -u postgres repmgr -f /etc/repmgr.conf cluster show
2023-01-27 02752, 2023
alastairp
you need to run this on the primary, correct?
2023-01-27 02716, 2023
bitmap
you can can the repmgr command from either
2023-01-27 02719, 2023
bitmap
can run*
2023-01-27 02706, 2023
alastairp
is that inside the postgres container, or just locally?
2023-01-27 02721, 2023
bitmap
inside the container, yeah
2023-01-27 02740, 2023
alastairp
I see it, thansk
2023-01-27 02716, 2023
alastairp
I opened a PR to add details to docker-postgres-cluster
2023-01-27 02726, 2023
bitmap
something I forgot to mention in the doc: if you want to connect to this database through the standby, you have to update the same configuration files inside the standby container too
2023-01-27 02738, 2023
alastairp
ah, got it. Any preference for which one to use? In this case we have the ircbot writing (so it needs to be the primary?) and the web interface reads (so it could be either?), but the admin of the web interface can write (so it needs to be the primary?)