Commons app mirror
Find a file
Ritika Pahwa 81030d1e78
5136: Fix retried uploads stuck in queued state (#5272)
* fix stuck uploads

* automate retries for failed uploads once the user returns to the app

* UploadWorker: modify PendingIntent flag and Android version code

* MainActivity: remove automatic retry logic

* Revert "MainActivity: remove automatic retry logic"

* set work request as expedited

* handle notification for foreground service on older versions of Android

* set backoff criteria for work requests

* enqueue failed uploads for a retry

* revert "enqueue failed uploads for a retry"

* limit the number of retries for a failed upload

* add a popup that suggests users to switch to unrestricted battery usage mode

* take users to the battery settings page on the first big upload

* take users to battery optimisation settings page using the standard intent

* add instructions to the battery optimisation settings popup

* remove the first usage of fr.free.nrw.commons from the popup

* comply with the wording in the OS settings

* modify battery optimisation popup instructions, add comments and rename firstBigUploadSet

* add filename to the retry log statement

* update database version

* make battery optimisation dialog appear only on Android 6 and above

* use foreground service instead of setting work request as expedited

* fix retried uploads stuck in queued state

* use MIN_BACKOFF_MILLIS constant instead of using the number 10 and add comments

* factorise the creation of the new OneTimeWorkRequest at one place

* ensure work requests are in accordance with the unit tests

* forbid retries for images which have got uploaded without caption

* add a TODO for the suggestion related to retries

* revert "forbid retries for images which have got uploaded without caption"
2023-09-09 22:46:13 +05:30
.github Bump actions (#5229) 2023-07-25 17:53:24 +09:00
.idea Fixes #4437 - Changed indentation on files with 2 spaces to 4 spaces (#4462) 2021-06-21 12:33:11 +09:00
app 5136: Fix retried uploads stuck in queued state (#5272) 2023-09-09 22:46:13 +05:30
data-client Fix:5175 Upgraded Minimum SDK Version, Compile and Target SDK Version (#5177) 2023-03-16 18:02:35 +09:00
design Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
gradle/wrapper Merge changes from 3.1-release (#4629) 2021-09-16 23:09:29 +10:00
update-license-info Merge "commons" into the project root directory 2016-07-02 16:48:57 +09:00
.gitignore #3492 Add inspections to git - add inspection profile (#3631) 2020-04-08 15:50:41 +03:00
build.gradle Update jacoco and github actions (#4639) 2021-09-20 22:39:54 +10:00
CHANGELOG.md Changelog for v4.1.0 2023-04-30 19:07:32 +05:30
CONTRIBUTING.md Update CONTRIBUTING.md (#4113) 2020-12-31 00:11:09 +09:00
COPYING Relicense to Apache License 2013-04-23 21:16:43 +05:30
CREDITS Add Sean to credits 2020-06-26 18:05:21 +10:00
dependency-injection.md Use JSON SPARQL query for fetching nearby places (#2398) 2019-02-06 10:40:30 +05:30
find-broken-strings-variables.sh Updated path 2016-10-26 19:56:49 +09:00
gitutils.gradle Fix for issue #1157 Added try-catch block in getBuildVersion function in gitutils.gradle … (#1158) 2019-01-03 20:18:42 +05:30
gradle.properties Fix #5182 Switch From Mapbox to MapLibre (#5184) 2023-03-31 09:31:58 +09:00
gradlew Update gradle from 4.0-rc-1 to 4.0.1 2017-07-19 17:14:37 +09:00
gradlew.bat Update gradle from 4.0-rc-1 to 4.0.1 2017-07-19 17:14:37 +09:00
jacoco.gradle Fix Instrumentation Tests (#4832) 2022-04-26 21:09:15 +10:00
nr-commons.keystore.enc Automate releases (part 1) (#2111) 2018-12-14 21:07:03 +05:30
play.p12.enc Integrate gradle play publisher for automatic alpha releases (#2116) 2018-12-14 23:53:05 +05:30
README.md Added changes to readme.md + comments. (#5230) 2023-06-07 10:31:53 +09:00
RELEASE-CHECKLIST.md Update RELEASE-CHECKLIST 2013-04-27 00:58:19 +05:30
settings.gradle With data-client added as library module (#3656) 2020-04-15 11:00:13 +01:00
sign.sh Fix Codacy Issues + remove unused patch 2017-03-23 17:51:13 +00:00

Wikimedia Commons Android app

GitHub issue custom search Build status Preview the app codecov

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons. Download the app here, or view our website.

Initially started by the Wikimedia Foundation, this app is now maintained by grantees and volunteers of the Wikimedia community. Anyone is welcome to improve it, just choose among the open issues and send us a pull request! :-)

Get it on F-Droid Get it on Google Play

Documentation

Our documentation repository contains extensive documentation for users, contributors, and developers alike:

Contributors

Thank you all for your work!


misaochan

translatewiki

neslihanturan

yuvipanda

nicolas-raoul

domdomegg

maskaravivek

psh

brion

ashishkumar468

whym

akaita

madhurgupta10

veyndan

ujjwalagrawal17

macgills

dbrant

vanshikaarora

sandarumk

tanvidadu

cypherop

tobias47n9e

hismaeel

tshradheya

addshore

knight-shade

siebrand

sivaraam

Bluesir9

kbhardwaj123

.. and many more.

License

This software is open source, licensed under the Apache License 2.0.