lucifer: ahhh, yes. I was confused about that last night.
lucifer: also a regression has snuck in -- new user logins are no longer working. the login_id column doesn't get set anymore.
HemangMishra[m] has quit
julian45[m] joined the channel
julian45[m]
monkey: zas : since you two commented on the doc I introduced in last week's meeting, just wanted to let you know that I made some changes to it^, so I'd appreciate it if you could take a second look
^Added a proposal section before the tool descriptions, changed tool rankings, added some details to one of the tool descriptions
lucifer: it's already present in listenbrainz db, do you mean create it in mb ?
lucifer[m]
mayhem: the user.login_id = str(uuid.uuid4()) is not needed. i think if you just delete your local user table and recreate it everything should work fine
setting login_id for existing users will cause the user to logout from all other sessions. for instance, if you log in on chrome you get logged out on firefox etc.
mayhem[m]
I did recreate everything and it didn't work.
I can try it again.
lucifer[m]
mayhem: the if check inside the peewee.DoesNotExist looks wrong.
you are disallowing any non-admin user from creating an account
do you want to restrict registration on the server?
mayhem[m]
only users who have a (blank) row in the user table are allowed to log in.
account creation is entirely manual by the admin.
lucifer[m]
i see. so you need to set login_id when creating the blank row.
mayhem[m]
oki.
lucifer[m]
do you have an admin panel view to create users yet or should i add it and set it up?
mayhem[m]
I have it.
what would be a good way to add this UUID for when the user is created?
since the admin view is automated, I can't control the creation of records.
BrainzGit
[listenbrainz-server] 14MonkeyDo merged pull request #3166 (03master…duplicate-notify): LB-1742 Notify user if they're adding a duplicate to a playlist https://github.com/metabrainz/listenbrainz-serv...
lucifer[m]
gimme a sec
pushed changes, mayhem
i set the default in the peewee model itself.
mayhem[m]
thank you!!
mayhem[m] uploaded an image: (11KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/ekTrEqmdWwrOvMWgARyfxDEa/image.png >
lolololol
reosarevok[m] joined the channel
reosarevok[m]
Is that field enabled when visiting from Germany?
monkey[m] joined the channel
monkey[m]
Faxe number = 10%
monkey[m] uploaded an image: (936KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/mPNUqiLQqpkbEGliDpLopdrk/image.png >
(and yes, this is a 1 liter can)
lucifer[m]
salaxceitor: the table needs to be in listenbrainz timescale db
salaxceitor[m]
lucifer: let me check
it's present in listenbrainz_ts -> public -> background_worker_state
lucifer or mayhem : can one of you run the sql script that came with the "pause account" PR please? Currently getting 500 error when accessing beta as the column is missing in the DB
mayhem[m]
k
monkey[m]
(sorry, having food)
mayhem[m]
done.
monkey[m]
Updating LB prod
BrainzGit
[listenbrainz-server] 14dependabot[bot] opened pull request #3182 (03master…dependabot/npm_and_yarn/dompurify-3.2.4): Bump dompurify from 2.5.8 to 3.2.4 https://github.com/metabrainz/listenbrainz-serv...
monkey[m]
^ Gotta review all uses of Dompurify in the PR before merging, just FYI
[musicbrainz-server] 14mwiencek merged pull request #3467 (03master…mbs-13925): MBS-13925: Instrument name erroneously displayed in link type autocomplete https://github.com/metabrainz/musicbrainz-serve...