Skip to content

Migrate all APIs to retrofit #3026

Closed
Closed
@maskaravivek

Description

@maskaravivek

Summary:

This is a subtask to track network layer refactoring as part of #1092.

  • getAuthCookie > PR raised
  • login > PR raised
  • getEditToken > PR raised
  • getWikidataCsrfToken > PR raised
  • getCentralAuthToken > PR raised
  • fileExistsWithName
  • pageExists
  • findThumbnailByFilename
  • getCategoryImages
  • getSubCategoryList
  • getParentCategoryList
  • searchCategory
  • uploadFile > PR raised
  • edit > PR raised
  • prependEdit > PR raised
  • appendEdit > PR raised
  • wikidatCreateClaim > PR raised
  • addWikidataEditTag > PR raised
  • fetchMediaByFilename
  • searchCategories
  • allCategories
  • getNotifications
  • markNotificationAsRead > PR raised
  • searchTitles
  • revisionsByFilename
  • existingFile
  • logEvents
  • isUserBlockedFromCommons

Suggested test flows (by misaochan) for backend-overhaul branch:

  • Log in, upload a picture. Make sure the upload does not fail and that it is associated with the correct account (check this in Commons). Log out, then log in to a different account. Repeat the process. Log out, then log back in to the original account. Repeat the process for the last time.
  • Test with 2FA account if you have one
  • Try uploading a file that already exists or a title that already exists
  • Test notifications
  • Test Achievements
  • (After Vivek reports this is fixed): Test Wikidata edits from Nearby

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions