Commit graph

41299 commits

Author SHA1 Message Date
44aff764c6 [Android] Using Utils.openUri(...)
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-20 10:22:16 +03:00
f692cb4caf [Android] Added round corners for OSM Login bottom sheet
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-20 10:15:31 +03:00
6fb9dbc440 Fix compilation error
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-20 09:53:02 +03:00
7b2fedb93a Code formatting
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-20 09:45:33 +03:00
6371fe09ef
Apply suggestions from code review
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-20 09:39:35 +03:00
db1552c1bf Fixed landscape layout for OSM Login UI.
Set username+password bottom panel behaviour to expand by default.

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 20:00:48 +03:00
7cc56dd318 [Android] Build OAuth2 URL using native code instead of Java
Small changes according to PR comments

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:26:51 +03:00
c6a0ad53c3 Changed OSM login UI with 2 options: login+password or via browser.
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:03:21 +03:00
558b65398e [ios] fixed compilation error
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:03:21 +03:00
8edf155970 Improved tests for OSM OAuth2 URI parsing
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:03:21 +03:00
9081d45d9a Completed OAuth2 flow in OsmLoginFragment
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:03:21 +03:00
c1cf2b5c94 Implemented parsing of om://oauth2/osm/callback URLs
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:03:20 +03:00
cc32c18732 Added draft of "Login with OSM website" button
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-19 17:03:20 +03:00
David Martinez
4e8280f923 [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
David Martinez
c8139086d7 [android] Add "Operator: %@"
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
David Martinez
de97b28f81 [ios] Add "Operator: %@"
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
David Martinez
5f896689bd [strings] Add "operator"
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
David Martinez
50e0650799 [android][placepage] Add network to place page
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
David Martinez
dc29c0101d [ios][placepage] Add network to place page
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
David Martinez
91b2542fe0 [core] Add FMD_NETWORK metadata
[strings] Add "network"

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>

network
2024-08-19 11:00:49 -03:00
Alexander Borsuk
70e06eeeea [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-18 22:48:06 +02:00
ca279fb4bc [android] Hide preferences in voice settings when disabled
Signed-off-by: Gonzalo Pesquero <gpesquero@yahoo.es>
2024-08-18 22:38:20 +02:00
1177390c85 [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-18 22:02:16 +02:00
9e3f8531cd [strings] placepage_add_business_hours
This reverts commit a285b87a73.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-18 22:02:16 +02:00
40f86e9fe8 [bookmarks] [android] bring back AddBusiness to the PP
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-18 22:02:16 +02:00
MbTy1
0fa5669b0f Update types_strings.txt
add Hebrew @ Update no 6

Signed-off-by: MbTy1 <141584968+MbTy1@users.noreply.github.com>
2024-08-18 20:22:05 +02:00
David Martinez
f709aab7a9 [styles] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-17 20:11:03 -03:00
David Martinez
f2ca7ba17c [styles] Make ford-m.svg more visible
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-17 20:11:03 -03:00
Nic Pottier
04eb2d4cf4 formatting
Signed-off-by: Nic Pottier <nicpottier@gmail.com>
2024-08-17 19:18:07 +02:00
Nic Pottier
2d20501569 add additional url encoded test cases
Signed-off-by: Nic Pottier <nicpottier@gmail.com>
2024-08-17 19:18:07 +02:00
Nic Pottier
b39c0e0529 Try decoding geo URL coordinates before giving up on parsing
Signed-off-by: Nic Pottier <nicpottier@gmail.com>
2024-08-17 19:18:07 +02:00
Alexander Borsuk
4d07de2b85 Fixed wrongly selected bookmarks instead of search results
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-17 19:15:38 +02:00
David Martinez
ffd68c6956 [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-17 12:51:49 -03:00
David Martinez
f656da9294 [styles] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-17 12:51:49 -03:00
David Martinez
174aead102 [styles] Add amenity=social_facility
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-17 12:51:49 -03:00
David Martinez
5a86a5543d [styles] Cleanup community-m.svg
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-17 12:51:49 -03:00
fe3d937231 [android] Fix "FORWARD_RESULT_FLAG used while also requesting a result"
Fixes #8984
See c90c6bb "Fix SecurityException ..." (#7287)
See b2a6dd2 "Fix the crosshair (PICK_POINT) API" (#8910)

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-08-16 17:17:49 +02:00
Nic Pottier
d41181d043
[android] size vertically based on children (#8978)
* size vertically based on children, fixes #8600

Signed-off-by: Nic Pottier <nicpottier@gmail.com>

* align to top instead of center

Signed-off-by: Nic Pottier <nicpottier@gmail.com>

* center all items in bookmark list

Signed-off-by: Nic Pottier <nicpottier@gmail.com>

---------

Signed-off-by: Nic Pottier <nicpottier@gmail.com>
2024-08-16 17:17:04 +02:00
Alexander Borsuk
d24eb11dad [github] Fixed Obtainium typo
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-15 22:46:14 +02:00
fa18f73d9d [Android] Fixed always red speedometer in navigation mode
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-15 20:45:49 +02:00
2fe5ca32a2 [android] add permanently = true to the DeleteBmCategory
To delete files without moving them to the ./trash on android
(on iOS they will be moved to the ./trash dir)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
74035ab3c2 [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
ad8c322477 [strings] add strings related to the recently deleted feature
- clear
- recover
- recover all
- delete all
- recently deleted lists

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
5881612fe4 [ios] implement recently deleted feature UI (screen and view model tests)
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
f3d1cc63c2 [ios] add support for the recently deleted feature to the bookmark manager
- add and implement @protocol RecentlyDeletedCategoriesManager
- move the bmmanager observing method to the @protocol BookmarksObservable to make manager mokable
- add RecentlyDeletedCategory class as a lightweight version of the `CategoryData` to pass to it the swift
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
a639a94753 [bookmarks] [tests] unit tests for the recently deleted feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
ea7a17ba68 [bookmarks] delete category files by moving to the .Trash dir
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
dd8dd8ed96
[Android] Speed limit in navigation mode (#8897)
* Changed navigation UI to show speed and speed limit with '/' separator.

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

* Fixed speed limit display

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

* Removed red background for speedometer

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

* Renamed `isSpeedLimitExceeded` to `isSpeedCamLimitExceeded`.
Fixed speed value color when background is red.

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

* Update android/app/src/main/java/app/organicmaps/widget/menu/NavMenu.java

Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>

* Update android/app/src/main/java/app/organicmaps/widget/menu/NavMenu.java

Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>

---------

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2024-08-15 12:23:09 +02:00
Dwayne Bailey
9c4400eab1 [strings] Sort plural forms in CLDR order
Signed-off-by: Dwayne Bailey <dwayne@translate.org.za>
2024-08-15 12:12:49 +02:00
a6ffd22028
Add support for KMB files generated with latest MapsMe (#8935)
* Add support for KMB files generated with latest MapsMe app

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

* Update kml/serdes_binary.hpp

Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>

* Added KMB v9MM test case

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

* Introduced V9MM version. It has the same format as V8MM but with extra flag in tracks data.

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

* Inherit TrackDataV9MM from TrackDataV8MM

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

* Apply suggestions from code review

Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>

* Reduced log level to warning

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

* Changed V9MM format to read multiple geometries

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

* Added KMB V9MM multi-geometry test case.

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

* Update comment

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

* Code cleanup.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>

---------

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Co-authored-by: Viktor Govako <viktor.govako@gmail.com>
2024-08-15 09:54:28 +02:00