ok i switched to token based auth like in submit-listens as of now for testing
thanks @fettuccinae:matrix.org for helping me out!
* like in `submit-listens, * submit-listens` as
* like in `submit-listens, * submit-listens`, * endpoint as of
Now while the auth works and I am able to test the endpoint, but when I am using current_user, it doesnt work as it considers it anonymous user and has no id attribute
It considers that I'm not logged in even if I authenticate with token
Looks like i'll have to find a easy to login and then test in postman
Can someone pls help me out with it?
lucifer
pite has quit
Kladky joined the channel
lucifer[m]
suvid: add a simple html button and dropdown on any page in your local lb frontend code and use it to test your endpoints.
holycow23: remind me, did you want me to help resolve a particular issue on the genre activity PR or just generally review?
holycow23[m] joined the channel
holycow23[m]
I have made the PR but not sure about the working of the entire stats, I just followed all the steps you had asked
* lucifer: I have
lucifer[m]
i see, did you try testing it on your wolf setup?
holycow23[m]
If you could help me with the steps to test the entire thing on wolf
No, I haven't tested it right now, could you help me with the steps to start the test
lucifer[m]
okay, i'll take a look.
monkey: hi! do you think there is value in showing the users the original name of the file users upload for a listens import?
sure.
monkey[m] joined the channel
monkey[m]
Hi! Yes I think that would potentially be very useful.
Looking at my spotify exports for example there are many files I would need to upload, this would help keep track
Probably also useful to have the timestamps for the first and last listen for that file
suvid[m]
lucifer: could you also clarify the schema part for the new table?
lucifer[m]
I was thinking we would store only the name of the zip file uploaded.
suvid[m]
Lemme find the msg I sent above
lucifer[m]
share your current schema
suvid[m]
<suvid[m]> "Also, lucifer what should be the..." <- > <@suvid:matrix.org> Also, lucifer what should be the schema for the user_data_import table?... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
lucifer: I am planning to store file path in the schema, so do I also need to store the file name as well explicitly?