mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
* Feature/refractor uploads [WIP] (#2887) * Fix duplicate param information (#2515) * Bug fix issue #2476 (#2526) * Added wikidataEntityID in all db versions, handled db.execSql via method runQuery * Versioning and changelog for v2.10.2 (#2531) * Update changelog.md * Versioning for v2.10.2 * Update changelog.md * Bugfix/issue 2580 (#2584) * Corrected string placedholders in certain string files * Corrected string placedholders in certain string files[Bug fix #2580] * Bug Fix #2585 (#2647) * Bug Fix #2585 * Added null checks on view in SearchImageFragment when updating views from external sources * Disposed the disposables in SearchActivity and SearchImageFragment when no longer in active lifecycle * use FragmentUtils to verify fragment active state * Bug Fix issue #2648 (#2678) * Bug Fix issue #2648 * Handled external storage permission before file download * * Removed redudant check for permission in MediaDetailPagerFragment (Dexter already does that) * Removed duplicate code in PermissionUtil$checkPermissionsAndPerformAction, used the existing function with conditional extra parameters * string name typo correction * BugFix issue #2652 (#2706) * Addded null check on bookmark before operating on it * BugFix issue #2711 (#2712) * Added null checks in OkHttpJsonApiClient$searchImages MwQueryResponse * BugFix #2718 (#2719) * Handled null auth cookies * Fix #2791: NPE when nominating for deletion and leaving screen (#2792) * Bug Fix issue #2789 (#2790) * Handled Illegal State Exception for non existent appropriate view parents in ViewUtils$showShortSnackbar * BugFix #2720 (#2831) BugFix deprecated licenes #2720 * ui fixes, wip, upload * *Issue #2886, BugFix #2832[wip] * updated UploadActivity code * modified ui * Updated UploadPresenterTest * * updated interfaces names to follow names suffixed with Contract * added test cases * card view elevation * view pager disabled swipe * bug fix, duplicate image * used existing non-swipable view pager * Avoid image view resize with keyboard, added adjustPan and stateVisible as softinputMode for UploadActivity * retain UploadBaseFragment instances on orientation changes * * Added test cases for UploadMediaPresenter * Injected io and main thread schedulers * categories presenter test cased wip * Added CategoriesPresenter test * * Added the logic to show open map (with to be uploaded image's coordinates while uploading image) * codacy suggested changes * added java docs * Added travis_wait fot android-wait-for-emulator * ranamed interface onResponseCallback to Callback * * Added api to delete picture in UploadModel * cleanUp in UploadModel. once upload has been initiated * Removed unused methods from UploadModel and the corresponding test class * * Added tests for UploadPresenter * Travis suggested changes * Addded copy previous title and description * * Made the upload add descriptions visible when keyboard visible * add description request focus only when user manually requests it * Added JavaDocs, review suggested changes * Fix dagger injection * use DialogUtil to show info in descriptions * use activity context for DialogUtil * Minor changes * Bug fix, reduced the add description edit text clickable bound (#2973) * Bugfix/uploads (#3000) * merged with master * BugFix IllegalStateException * setRetainState(true), not required with FragmentStatePagerAdapter * Increase the ViewPager's Offscreen Limit, we want all the fragments to be active * BugFix, clear selected categoris for previous upload session * Clear Selected Categories * Addded JavaDocs for CategoriesModel * Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java * Added class level JavaDoc UploadRemoteDataSource * Added class level JavaDoc for UploadRepository * Added JavaDocs for ThumbnailsAdapter * Added JavaDocs for MediaLicensePresenter, CategoriesPresenter * Removed null check on category query * Show default catgeories based on image title and gps location when category text empty * Allow search for empty category search * Attached image scale listener to upload media image * Bug fix, reduced the add description edit text clickable bound * Fix memory leak (#3001) * Bugfix/uploads (#3002) * merged with master * BugFix IllegalStateException * setRetainState(true), not required with FragmentStatePagerAdapter * Increase the ViewPager's Offscreen Limit, we want all the fragments to be active * BugFix, clear selected categoris for previous upload session * Clear Selected Categories * Addded JavaDocs for CategoriesModel * Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java * Added class level JavaDoc UploadRemoteDataSource * Added class level JavaDoc for UploadRepository * Added JavaDocs for ThumbnailsAdapter * Added JavaDocs for MediaLicensePresenter, CategoriesPresenter * Removed null check on category query * Show default catgeories based on image title and gps location when category text empty * Allow search for empty category search * Attached image scale listener to upload media image * Bug fix, reduced the add description edit text clickable bound * Added tooltip in Title in UploadMediaFragment * BugFix recent categories * Updated test methods * Bugfix/uploads (#3011) * merged with master * BugFix IllegalStateException * setRetainState(true), not required with FragmentStatePagerAdapter * Increase the ViewPager's Offscreen Limit, we want all the fragments to be active * BugFix, clear selected categoris for previous upload session * Clear Selected Categories * Addded JavaDocs for CategoriesModel * Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java * Added class level JavaDoc UploadRemoteDataSource * Added class level JavaDoc for UploadRepository * Added JavaDocs for ThumbnailsAdapter * Added JavaDocs for MediaLicensePresenter, CategoriesPresenter * Removed null check on category query * Show default catgeories based on image title and gps location when category text empty * Allow search for empty category search * Attached image scale listener to upload media image * Bug fix, reduced the add description edit text clickable bound * Added tooltip in Title in UploadMediaFragment * BugFix recent categories * Updated test methods * Avoid memory leak, free the adpater in MediaLicenseFragment.onDestroyView * bugfix/uploads (#3012) * merged with master * BugFix IllegalStateException * setRetainState(true), not required with FragmentStatePagerAdapter * Increase the ViewPager's Offscreen Limit, we want all the fragments to be active * BugFix, clear selected categoris for previous upload session * Clear Selected Categories * Addded JavaDocs for CategoriesModel * Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java * Added class level JavaDoc UploadRemoteDataSource * Added class level JavaDoc for UploadRepository * Added JavaDocs for ThumbnailsAdapter * Added JavaDocs for MediaLicensePresenter, CategoriesPresenter * Removed null check on category query * Show default catgeories based on image title and gps location when category text empty * Allow search for empty category search * Attached image scale listener to upload media image * Bug fix, reduced the add description edit text clickable bound * Added tooltip in Title in UploadMediaFragment * BugFix recent categories * Updated test methods * Avoid memory leak, free the adpater in MediaLicenseFragment.onDestroyView * BugFix Illegal State Exception in ViewpPagerAdapter * Remove irrelevant comment * merge conflict with strings (#3016)
244 lines
10 KiB
XML
244 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="fr.free.nrw.commons">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
|
|
<uses-permission android:name="android.permission.REORDER_TASKS" />
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
|
|
<uses-permission android:name="com.google.android.apps.photos.permission.GOOGLE_PHOTOS" />
|
|
<uses-permission android:name="android.permission.READ_LOGS" />
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER"/>
|
|
|
|
|
|
<!-- Needed only if your app targets Android 5.0 (API level 21) or higher. -->
|
|
<uses-feature android:name="android.hardware.location.gps" />
|
|
|
|
<application
|
|
android:name=".CommonsApplication"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/LightAppTheme"
|
|
android:largeHeap="true"
|
|
android:supportsRtl="true"
|
|
tools:replace="android:appComponentFactory"
|
|
android:appComponentFactory="commons"
|
|
tools:ignore="GoogleAppIndexingWarning">
|
|
|
|
<activity android:name="org.acra.dialog.CrashReportDialog"
|
|
android:process=":acra"
|
|
android:launchMode="singleInstance"
|
|
android:excludeFromRecents="true"
|
|
android:finishOnTaskLaunch="true" />
|
|
|
|
<activity android:name=".auth.LoginActivity">
|
|
<intent-filter>
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".WelcomeActivity" />
|
|
|
|
<activity
|
|
android:name=".upload.UploadActivity"
|
|
android:configChanges="orientation|screenSize|keyboard"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:windowSoftInputMode="adjustResize"
|
|
>
|
|
<intent-filter android:label="@string/intent_share_upload_label">
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="image/*" />
|
|
<data android:mimeType="audio/ogg" />
|
|
</intent-filter>
|
|
<intent-filter android:label="@string/intent_share_upload_label">
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="image/*" />
|
|
<data android:mimeType="audio/ogg" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".contributions.MainActivity"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|screenSize|keyboard" />
|
|
<activity
|
|
android:name=".settings.SettingsActivity"
|
|
android:label="@string/title_activity_settings" />
|
|
<activity
|
|
android:name=".AboutActivity"
|
|
android:label="@string/title_activity_about"
|
|
android:parentActivityName=".contributions.MainActivity" />
|
|
|
|
<activity
|
|
android:name=".auth.SignupActivity"
|
|
android:label="@string/title_activity_signup" />
|
|
|
|
<activity
|
|
android:name=".notification.NotificationActivity"
|
|
android:label="@string/navigation_item_notification" />
|
|
|
|
<activity android:name=".quiz.QuizActivity"
|
|
android:label="@string/quiz"/>
|
|
|
|
<activity android:name=".quiz.QuizResultActivity"
|
|
android:label="@string/result"/>
|
|
|
|
<activity
|
|
android:name=".category.CategoryImagesActivity"
|
|
android:label="@string/title_activity_featured_images"
|
|
android:parentActivityName=".contributions.MainActivity"
|
|
android:configChanges="orientation|screenSize|keyboard"/>
|
|
|
|
<activity
|
|
android:name=".category.CategoryDetailsActivity"
|
|
android:label="@string/title_activity_featured_images"
|
|
android:parentActivityName=".contributions.MainActivity" />
|
|
|
|
<activity
|
|
android:name=".explore.categories.ExploreActivity"
|
|
android:label="@string/title_activity_explore"
|
|
android:parentActivityName=".contributions.MainActivity"
|
|
android:configChanges="orientation|screenSize|keyboard" />
|
|
|
|
<activity
|
|
android:name=".explore.SearchActivity"
|
|
android:label="@string/title_activity_search"
|
|
android:launchMode="singleTop"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:parentActivityName=".contributions.MainActivity"
|
|
/>
|
|
|
|
<activity
|
|
android:name=".achievements.AchievementsActivity"
|
|
android:label="@string/Achievements" />
|
|
|
|
<activity
|
|
android:name=".bookmarks.BookmarksActivity"
|
|
android:label="@string/title_activity_bookmarks" />
|
|
|
|
<activity
|
|
android:name=".review.ReviewActivity"
|
|
android:label="@string/title_activity_review" />
|
|
|
|
<service android:name=".upload.UploadService" />
|
|
<service
|
|
android:name=".auth.WikiAccountAuthenticatorService"
|
|
android:exported="true"
|
|
android:process=":auth">
|
|
<intent-filter>
|
|
<action android:name="android.accounts.AccountAuthenticator" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
android:resource="@xml/authenticator" />
|
|
</service>
|
|
<service
|
|
android:name=".contributions.ContributionsSyncService"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.content.SyncAdapter" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.content.SyncAdapter"
|
|
android:resource="@xml/contributions_sync_adapter" />
|
|
</service>
|
|
<service
|
|
android:name=".modifications.ModificationsSyncService"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.content.SyncAdapter" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.content.SyncAdapter"
|
|
android:resource="@xml/modifications_sync_adapter" />
|
|
</service>
|
|
|
|
<service
|
|
android:name="org.acra.sender.SenderService"
|
|
android:exported="false"
|
|
android:process=":acra" />
|
|
|
|
<provider
|
|
android:name=".filepicker.ExtendedFileProvider"
|
|
android:authorities="${applicationId}.provider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/provider_paths" />
|
|
</provider>
|
|
<provider
|
|
android:name=".contributions.ContributionsContentProvider"
|
|
android:authorities="${applicationId}.contributions.contentprovider"
|
|
android:exported="false"
|
|
android:label="@string/provider_contributions"
|
|
android:syncable="true" />
|
|
<provider
|
|
android:name=".modifications.ModificationsContentProvider"
|
|
android:authorities="${applicationId}.modifications.contentprovider"
|
|
android:exported="false"
|
|
android:label="@string/provider_modifications"
|
|
android:syncable="true" />
|
|
<provider
|
|
android:name=".category.CategoryContentProvider"
|
|
android:authorities="${applicationId}.categories.contentprovider"
|
|
android:exported="false"
|
|
android:label="@string/provider_categories"
|
|
android:syncable="false" />
|
|
|
|
<provider
|
|
android:name=".explore.recentsearches.RecentSearchesContentProvider"
|
|
android:authorities="${applicationId}.explore.recentsearches.contentprovider"
|
|
android:exported="false"
|
|
android:label="@string/provider_searches"
|
|
android:syncable="false" />
|
|
|
|
<provider
|
|
android:name=".bookmarks.pictures.BookmarkPicturesContentProvider"
|
|
android:authorities="${applicationId}.bookmarks.contentprovider"
|
|
android:exported="false"
|
|
android:label="@string/provider_bookmarks"
|
|
android:syncable="false" />
|
|
|
|
<provider
|
|
android:name=".bookmarks.locations.BookmarkLocationsContentProvider"
|
|
android:authorities="${applicationId}.bookmarks.locations.contentprovider"
|
|
android:exported="false"
|
|
android:label="@string/provider_bookmarks_location"
|
|
android:syncable="false" />
|
|
|
|
<receiver android:name=".widget.PicOfDayAppWidget">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/pic_of_day_app_widget_info" />
|
|
</receiver>
|
|
|
|
<uses-library android:name="org.apache.http.legacy" android:required="false" />
|
|
|
|
</application>
|
|
|
|
</manifest>
|