organicmaps/android
Sergiy Kozyr 8b233cb27d
[Android] Parse social pages links in POI editor (#1545)
* Moved Facebook, Instagram, Twitter, VK cleanup functions from "generator" to "indexer".
Added call to ValidateAndFormat_* functions on social links edit.
Fixed contact:line validation. Empty string is now correct value

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Fix build error

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Renamed 'contacts_processor' to 'validate_and_format_contacts'

Moved Validate*Page functions to validate_and_format_contacts.hpp/.cpp

Moved validate_and_format_contacts tests to a separate CPP file

PR comments fixes

Fixed iOS build

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Fixed XCode project formatting

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Moved regex's to static variables to reuse same regular expressions in validation and formatting functions.

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Refactoring of validate_and_format_contacts.cpp
* simplified if() statements
* use Url::FromString to skip HTTP(S) protocol checks
* get rid of webPath.back() function to exclude crashes
* Formatting

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2021-11-16 23:05:43 +01:00
..
assets [android] removed waste unused old atlas and a few old unused Android images. 2021-07-18 22:27:32 +02:00
flavors [android] Removed unnecessary debug log 2021-07-14 08:56:43 +03:00
gradle/wrapper [android] Update to the latest Android Gradle Plugin 2021-08-14 12:04:08 +03:00
jni [Android] Parse social pages links in POI editor (#1545) 2021-11-16 23:05:43 +01:00
res [android] Restored back accidentally removed "updated maps" indicator 2021-11-16 13:35:33 +01:00
script [3party][icu] Updated icu to 69.1 and migrated to submodule 2021-06-07 11:26:14 +03:00
src [android] Restored back accidentally removed "updated maps" indicator 2021-11-16 13:35:33 +01:00
.gitignore [android][ios] Upload metadata and screenshots to AppStore / GooglePlay 2021-08-14 09:54:00 +03:00
AndroidManifest.xml [android] Add a help button to the main toolbar 2021-11-04 00:00:19 +01:00
build.gradle [android] Removed unnecessary libs for x86 archs from apk 2021-11-11 09:52:06 +01:00
code_style_scheme.xml [android] Fixed c++ style in android studio code style scheme 2020-04-23 20:01:12 +03:00
debug.keystore Fixed configure.sh script and gh actions 2021-03-23 17:47:44 +01:00
gradle.properties [build] Disable parallel builds and reduce JVM heap 2021-11-13 11:26:34 +01:00
gradlew [android]: Secure Gradle version as suggested by linter 2021-03-14 19:20:35 +03:00
gradlew.bat [android]: Secure Gradle version as suggested by linter 2021-03-14 19:20:35 +03:00
HOW_TO_USE_GRADLE.txt Removed 'omim' from HOW_TO_USE_GRADLE.txt 2021-07-01 22:41:43 +02:00
ic_launcher-playstore.png [android][ios] New logo 2021-06-05 09:20:44 +03:00
multidex-config.txt [android] Revert to original chunk downloader 2021-08-23 09:17:07 +03:00
proguard-mwm.txt [android] Remove ads and tracking code 2021-03-06 09:00:01 +03:00