openml / openml.org

New OpenML website
https://new.openml.org
BSD 3-Clause "New" or "Revised" License
24 stars 18 forks source link

Bugfixes for creating users / requesting passwords / ... #328

Closed josvandervelde closed 4 months ago

josvandervelde commented 4 months ago

The user list did not get updated, because only a single SqlAlchemy session was used. This lead to "user not found" errors when retrieving a user with a token. E.g. creating a new user, requesting a new password, ...

It probably broke after updating SQLAlchemy version. Currently, it is not recommended to work with a single session (it might have never been recommended). Changed into explicitely creating a Session, using a sessionmaker.

josvandervelde commented 4 months ago

I already deployed this to production, to make sure people can sign up again. I did this by changing to this branch on the prod server.

joaquinvanschoren commented 4 months ago

Well done! Thanks!

Joaquin Vanschoren, Ph.D., ir. Associate Professor Department of Mathematics and Computer Science Eindhoven University of Technology (TU/e) https://joaquinvanschoren.github.io/

On Sun, 10 Mar 2024 at 15:32, Jos van der Velde @.***> wrote:

I already deployed this to production, to make sure people can sign up again. I did this by changing to this branch on the prod server.

— Reply to this email directly, view it on GitHub https://github.com/openml/openml.org/pull/328#issuecomment-1987253001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANFAV2C5OL4CD3SGB4E44DYXRVHFAVCNFSM6AAAAABEO7J5IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGI2TGMBQGE . You are receiving this because your review was requested.Message ID: @.***>

josvandervelde commented 4 months ago

I've added some additional bugfixes to this PR, to make sure uploading datasets through the frontend works.

I've deployed the fix and it works! Just uploaded a new dataset.

There is a slight change in functionality, I think. Now the license has a default value: Public Domain (CC0). Previously, I think it was blank by default. I think this is fine - every dataset should have a license, and this CC0 makes sense by default. Thoughts? See https://www.openml.org/auth/upload-dataset