Skip to content

Update master with backend overhaul branch #2829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Apr 2, 2019

Conversation

maskaravivek
Copy link
Member

@maskaravivek maskaravivek commented Apr 1, 2019

  • Merge backend-overhaul to master branch.
  • Bump library version to use updated model classes.

dbrant and others added 6 commits March 22, 2019 23:36
…#2642)

* Remove remaining unnecessary API version check.

* Roll up sleeves.

* Add and integrate the beginnings of app adapter.

* Remove vestigial event logging logic.

Event logging is no longer used in this app.

* Beginnings: remove StringUtils and associated redundancies.

* Remove redundant capitalize() method.

* Remove redundant urlEncode() method.

* Remove redundant (and incomplete) language lists.

* Remove redundant usages of SimpleDateFormat.

* Remove redundant json type adapter.

* Remove redundant MW error model classes.

* Rip out redundant MW model classes.

* Pass SessionManager into AppAdapter instead of injecting.

* Wire up more of the AppAdapter.

* Remove redundant Gson initialization and type adapters.

* Rip out PageTitle.

This was being used in some slightly incorrect/unexpected ways.

* Don't need static WikiSite.
@maskaravivek maskaravivek changed the title Update overhaul branch with latest master Update master with backend overhaul branch Apr 1, 2019
@codecov-io
Copy link

Codecov Report

Merging #2829 into master will decrease coverage by 0.39%.
The diff coverage is 1.44%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #2829     +/-   ##
========================================
- Coverage    3.83%   3.43%   -0.4%     
========================================
  Files         267     246     -21     
  Lines       12536   12154    -382     
  Branches     1082    1064     -18     
========================================
- Hits          481     418     -63     
+ Misses      12022   11705    -317     
+ Partials       33      31      -2
Impacted Files Coverage Δ
.../free/nrw/commons/category/CategoryImageUtils.java 0% <ø> (ø) ⬆️
.../java/fr/free/nrw/commons/auth/SessionManager.java 0% <ø> (ø) ⬆️
...fr/free/nrw/commons/review/ReviewPagerAdapter.java 0% <ø> (ø) ⬆️
...r/free/nrw/commons/review/ReviewImageFragment.java 0% <ø> (ø) ⬆️
...n/java/fr/free/nrw/commons/CommonsApplication.java 0% <0%> (ø) ⬆️
...a/fr/free/nrw/commons/OkHttpConnectionFactory.java 0% <0%> (ø)
...va/fr/free/nrw/commons/campaigns/CampaignView.java 0% <0%> (ø) ⬆️
.../java/fr/free/nrw/commons/WelcomePagerAdapter.java 0% <0%> (ø) ⬆️
...ava/fr/free/nrw/commons/review/ReviewActivity.java 0% <0%> (ø) ⬆️
.../java/fr/free/nrw/commons/di/NetworkingModule.java 0% <0%> (ø) ⬆️
... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23c23cc...3d1081d. Read the comment docs.

@maskaravivek
Copy link
Member Author

Have tested most of the flows in the app and things work fine for me except the Peer review activity. The image doesn't load in peer review activity. I checked on existing master and it has the same issue. From the logs, it seems that the API is giving the expected response.

I am going ahead and merging this to master so that we can work on top of it.

@maskaravivek maskaravivek merged commit dcbf076 into commons-app:master Apr 2, 2019
@domdomegg domdomegg mentioned this pull request Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants