apps-android-commons/app/src/main/java/fr/free/nrw/commons
Jiaweeeeeen 3488644938
Fix issue #4962, remove trailing whitespace in caption field when set to uploadMediaDetails (#5085)
* add methods to check and remove trailing whitespace

* fix filter to check and remove trailing whitespace

* fix filter to check and remove trailing space first

* add test and fix filter() and removeTrailingWhitespace()

* caption trailing whitespace: change solution to remove trailing whitespaces when set to uploadMediaDetails

* update code documentation

* add more tests include instance tab, carriage return and Japanese whitespace

* Caption field: Stop blocking Japanese Space, convert to English Space when set to uploadMediaDetails

* Change method name from convertJapSpaceToEngSpace to convertIdeographicSpaceToLatinSpace

* Change pattern name from JapSpacePattern to ideographicSpacePattern
2022-10-30 18:58:15 +09:00
..
actions Fix 4615: Option for editing caption and description (#4672) 2021-12-06 22:50:54 +03:00
auth Tutorial removed from log out state (#4479) 2021-06-29 18:12:30 +09:00
bookmarks Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
campaigns Refactor: Campaign model (#4852) 2022-04-28 17:35:07 +03:00
category Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
concurrency Fix #2593: Migrate to androidX (#2594) 2019-03-16 11:22:37 +00:00
contributions Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
coordinates Add CoordinateEditHelper Unit Tests (#4796) 2022-02-09 01:31:01 +10:00
customselector 4664: Moved FolderFragment to ViewBinding (#5089) 2022-10-29 18:33:33 +09:00
data Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
db [GSoC 2022] Improve custom picker (all features) (#5035) 2022-09-16 18:14:16 +09:00
delete Fixed - #4844 : In peer review, deletion proposal is sent even if no reason is chosen (#4862) 2022-03-07 17:52:04 +09:00
description Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
di [GSoC 2022] Improve custom picker (all features) (#5035) 2022-09-16 18:14:16 +09:00
explore 4664: Moved PageableMediaFragment to ViewBinding (#5090) 2022-10-29 18:33:43 +09:00
feedback Init Commit (#4907) 2022-03-20 18:43:33 +09:00
filepicker [GSoC 2022] Improve custom picker (all features) (#5035) 2022-09-16 18:14:16 +09:00
kvstore Merge branch '2.12-release' 2020-01-30 02:31:59 +10:00
location Added advanced query support in Nearby (#4714) 2021-12-14 01:41:33 +10:00
LocationPicker Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
logging Add an else case where crash logs are null means there is no crash (#4506) 2021-07-15 01:05:04 +10:00
media [GSoC 2022] Improve custom picker (all features) (#5035) 2022-09-16 18:14:16 +09:00
mwapi Displaying Category image and Description (#4531) 2022-01-20 15:19:57 +09:00
navtab In app feedback (#4845) 2022-03-20 12:10:25 +09:00
nearby 4664: Moved AdvanceQueryFragment to ViewBinding (#5091) 2022-10-29 18:33:50 +09:00
notification Refactor: notification models (#4866) 2022-04-28 18:23:44 +03:00
profile #4730 - Nothing happens on clicking media in the Contribution tab of User's Profile (#4736) 2022-04-18 16:17:40 +03:00
quiz Removed next button in quiz (#4382) 2021-06-27 18:34:33 +09:00
recentlanguages Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
repository Fixes 4620 : Editing categories of an existing picture: Reuse categories selection UI from the Upload Wizard (#4928) 2022-04-11 19:30:21 +09:00
review Fixed #4906 : Peer review: "thank the contributor" should show snackb… (#4914) 2022-04-25 22:48:43 +03:00
settings Fixes 4544 : Language selection: history (#4880) 2022-03-23 16:33:54 +09:00
theme fix:App should respect device font-size (#4306) 2021-04-06 17:47:38 +09:00
ui Pasted text should have fonts unified (for Caption/Description) (#4667) 2021-12-06 21:59:44 +03:00
upload Fix issue #4962, remove trailing whitespace in caption field when set to uploadMediaDetails (#5085) 2022-10-30 18:58:15 +09:00
utils [GSoC 2022] Improve custom picker (all features) (#5035) 2022-09-16 18:14:16 +09:00
widget Todo for user (#3851) 2020-08-17 21:30:46 +10:00
wikidata Fixed 4616 : Option for editing depictions (#4725) 2022-03-22 14:33:43 +09:00
AboutActivity.java Fixes : #4273 Add link to user guide in About (#4882) 2022-03-20 07:50:25 +05:30
BasePresenter.java #3756 Convert SearchDepictionsFragment to use Pagination (#3758) 2020-05-28 14:10:04 +03:00
BetaConstants.kt Fixed #4532 Items media in beta version are showing now (#4551) 2022-01-19 18:10:55 +03:00
CommonsAppAdapter.java Optimize imports (#3272) 2019-12-06 17:51:36 +09:00
CommonsApplication.java Merge 4.0-release into master (#5028) 2022-08-08 15:51:07 +10:00
License.java Fix #2593: Migrate to androidX (#2594) 2019-03-16 11:22:37 +00:00
MapController.java Explore nearby pictures (#4910) 2022-04-14 18:28:17 +10:00
Media.kt Review category issues (#4897) 2022-03-17 19:12:30 +09:00
MediaDataExtractor.kt Fix 4615: Option for editing caption and description (#4672) 2021-12-06 22:50:54 +03:00
MvpView.java Show campaigns (#2113) 2018-12-15 02:55:53 +10:00
OkHttpConnectionFactory.java Increase chunk size to 1MB (#4011) 2020-11-09 19:41:49 +10:00
Urls.kt Fixes : #4273 Add link to user guide in About (#4882) 2022-03-20 07:50:25 +05:30
Utils.java Fix Wiki Love Monuments year (#5049) 2022-09-18 15:50:44 +09:00
ViewHolder.java Refactored to move out nearby adapter from the activity 2017-04-02 22:21:05 +05:30
ViewPagerAdapter.java Remove duplicate ViewPagerAdapter (#4222) 2021-02-15 21:50:30 +09:00
WelcomeActivity.java 4664: Moved WelcomeActivity to ViewBinding (#5063) 2022-10-29 17:50:10 +09:00
WelcomePagerAdapter.java code-quality: remove CDATA and <u> tags from string.xml (#3310) 2020-02-17 00:34:46 -07:00