Page MenuHomePhabricator

ShreyTripathi (shrey)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Sep 22 2020, 2:44 AM (197 w, 3 d)
Availability
Available
LDAP User
Shrey Tripathi
MediaWiki User
Unknown

Recent Activity

Jan 8 2021

ShreyTripathi claimed T226804: Allow users to change their interface language from any page.
Jan 8 2021, 3:28 AM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Library-Card-Platform
ShreyTripathi added a comment to T226804: Allow users to change their interface language from any page.

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.

Jan 8 2021, 2:36 AM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Library-Card-Platform
ShreyTripathi added a comment to T226804: Allow users to change their interface language from any page.

@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 8 2021, 1:50 AM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Library-Card-Platform

Jan 5 2021

ShreyTripathi added a comment to T226804: Allow users to change their interface language from any page.

If possible, can I work on this issue?

Jan 5 2021, 1:23 AM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Library-Card-Platform
ShreyTripathi added a comment to T239722: Graph x axes should end at the filtered end date instead of always the present day.

Okay, then, I will find some other bugs to fix!

Jan 5 2021, 12:09 AM · The-Wikipedia-Library (Kanban), Wikilink-Tool

Jan 4 2021

ShreyTripathi added a comment to T239722: Graph x axes should end at the filtered end date instead of always the present day.

Hey there! Can I work on this task?

Jan 4 2021, 2:25 PM · The-Wikipedia-Library (Kanban), Wikilink-Tool

Dec 11 2020

ShreyTripathi added a comment to T239504: Disallow a user from applying to the same partner more than once (except for partners with collections or specific_title).

Can I work on this task?

Dec 11 2020, 3:22 AM · The-Wikipedia-Library (Kanban), Library-Card-Platform

Oct 19 2020

ShreyTripathi added a comment to T254904: Move My Library card titles to the top of the tile.

@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.

Oct 19 2020, 4:51 AM · Library-Card-Platform, The-Wikipedia-Library

Sep 29 2020

ShreyTripathi added a comment to T254904: Move My Library card titles to the top of the tile.

Is this task up for taking? Can I take up this task?

Sep 29 2020, 6:45 AM · Library-Card-Platform, The-Wikipedia-Library

Sep 25 2020

ShreyTripathi added a comment to T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.

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.

Sep 25 2020, 7:03 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform
ShreyTripathi added a comment to T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.

@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 25 2020, 3:49 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform

Sep 24 2020

ShreyTripathi added a comment to T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.

@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 24 2020, 5:26 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform

Sep 23 2020

ShreyTripathi added a comment to T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.

@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 23 2020, 2:56 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform
ShreyTripathi claimed T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.
Sep 23 2020, 12:52 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform

Sep 22 2020

ShreyTripathi placed T261219: Update AuthorizedUsers API to only list recently logged in Bundle users up for grabs.
Sep 22 2020, 5:44 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform
ShreyTripathi claimed T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.
Sep 22 2020, 4:53 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform
ShreyTripathi added a comment to T261219: Update AuthorizedUsers API to only list recently logged in Bundle users.

Hi! I am a new contributor to Wikimedia.
Can I take up this task?

Sep 22 2020, 2:47 AM · The-Wikipedia-Library (Kanban), good first task, Wikilink-Tool, Library-Card-Platform