User Details
- User Since
- Sep 22 2020, 2:44 AM (197 w, 3 d)
- Availability
- Available
- LDAP User
- Shrey Tripathi
- MediaWiki User
- Unknown
Jan 8 2021
Also, I seem to be unable to login on localhost. Whenever I click login, I get an error screen which says:
IntegrityError at /oauth/callback/ (1062, "Duplicate entry '64010842' for key 'username'")
I tried finding out where this error is coming from, but couldn't find anything that could have caused this. A possible origin seems be the _get_and_update_user_from_identity function at /TWLight/users/oauth.py, line 138, but I don't exactly know how is that causing the error.
@Samwalton9 Really sorry for the late response! Can we use the same language translation drop-down menu on the nav-bar for users, that has been used in the preferences section of the user page? (The black outlined area in the attached image, which has been taken from https://wikipedialibrary.wmflabs.org/users/)
Or do we have to make it like the one @AVasanth_WMF mentioned (from inventaire.io)?
Jan 5 2021
If possible, can I work on this issue?
Okay, then, I will find some other bugs to fix!
Jan 4 2021
Hey there! Can I work on this task?
Dec 11 2020
Can I work on this task?
Oct 19 2020
@Samwalton9 Can you please guide me how can I access a page with a My Library Card? I am quite confused as to how to approach this task, since I don't have any Library Card, and I will not be able to access a user who has one.
Sep 29 2020
Is this task up for taking? Can I take up this task?
Sep 25 2020
Never mind, I found a fix to the issue I was facing! The problem was that after setting self.editor.user.last_login to today's date, self.editor and self.editor.user needed to be saved separately. So I had to add an extra line self.editor1.user.save() to the test. This works (maybe) because editor.user is an entirely different object (please correct me here if I am wrong).
In addition, I have also added another test to check that the users who have not logged in the past two weeks are not listed.
Please review the changes in the commit to the pull request I created, and/or suggest relevant changes.
@Samwalton9 I tried updating self.editor1.user.last_login to today's date, but that still fails the test. Lines 1195-1204 in tests.py now look like this:
bundle_partner_1 = PartnerFactory(authorization_method=Partner.BUNDLE) bundle_partner_2 = PartnerFactory(authorization_method=Partner.BUNDLE)
Sep 24 2020
@Samwalton9 I have created a pull request at https://github.com/WikipediaLibrary/TWLight/pull/534.
I have added the relevant code, but one of the existing tests is failing. I have described this in more detail over there. Please check it out and suggest the relevant changes.
Sep 23 2020
@Samwalton9 Sorry for the novice question, but I am unable to create a superuser for the example data. Can you please help me out?
Also, this is the place for further communication, right?
Sep 22 2020
Hi! I am a new contributor to Wikimedia.
Can I take up this task?