Commit graph

40483 commits

Author SHA1 Message Date
Alexander Borsuk
19278cf97b [github] Fix warning about deprecated action
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 08:46:52 +03:00
Alexander Borsuk
ef5d3fa80f [tools] Fallback to Google Translations if DeepL fails
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 08:46:08 +03:00
921cdaad34 [oauth2] I accidentally removed OAuth2 application from master.apis.dev.openstreetmap.org
Have to create new one and update Debug credentials

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
d390e7bfb9 [ios] Removed 'retain' modificator
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
fadf94082f [ios] Changed link handling with NSLinkAttributeName
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
3a1b79a41a [qt] Revert string initialization
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
5a85c39c11 [ios] Removed calls to NSUserDefaults.synchronize method all over the code
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
388217fa58 Formatting
Removed EditorHostFragment.clearNoobAlertFlag() method

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
491bb5db68 [strings] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
ceabec5704 [strings] Translated strings using tools/python/translate.py script
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
3984ff34b1 [ios] Removed debug method
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
e31a5864e7 [strings] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
838b7f55f9 [strings] Replaced 'alert_reauth_title' with 'login_osm'
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
772d4cce70 Renamed HttpClient::m_handleRedirects to HttpClient::m_followRedirects
Made updates all over the code

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
76b85c4594 [iOS] Moved new alert to viewDidLoad method
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
d459723336 [ios] Added comments
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
df2e7e1748 [ios] Fixed OSM login alert UI
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
bf5ffcec89 [strings] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
e893f6189a [ios] Added blue color for link inside MWMOsmReauthAlert
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
411431164f [strings] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
b08b563bd0 [iOS] Updated alert strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
25c548c96f [ios] Added new alert for OSM re-auth action
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
b39ae99736 [strings] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
0fe8e9ac7f [Strings] Updated new texts
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
39723f5d08 [string] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
56bff3f3ba [Android] Re-login dialog improvements
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
a127cf7c96 [Android] Added alert for previously authenticated users to re-login
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
c08109e89a Fixing DEV credentials for Debug builds
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
Alexander Borsuk
641de1ea1b Workaround for hanging OSM_auth_tests on Mac
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 08:45:39 +03:00
Alexander Borsuk
5e1b40dca2 Revert OpenStreetMap.org auth test workaround
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 08:45:39 +03:00
0f2a75d652 Fixed test with new reset password behaviour of the server
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
a76f6191ba Revert "[MacOS] Fix HttpSessionManager main queue issue"
This reverts commit 117527f2c7ef4a7335cc8a3c87227a63ba29208f.

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
4e5c0a494d [MacOS] Fix HttpSessionManager main queue issue
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
427a297022 [macos] Workaround to fix HttpClient tests
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
c2214042e4 [iOS] Reverted back main queue
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
04b613137c [iOS] Removed MWMAuthorizationWebViewLogin from storyboard
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
3b59cec961 [Linux] Fixing handling redirects with curl
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
35af86db77 [MacOS] Fixed tests on MacOS
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
75851f8785 [iOS] Fixed logout action
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
98e2e328b5 Added OAuth2 flow test
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
9494704c38 Fixed unit tests
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
1a7209f075 [Android] Migrated from OAuth1 to OAuth2. No UI changes
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
89ef642eef [iOS] Fixed handling of redirects
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
20e85babbf [iOS] Fixed compilation errors. Removed social networks authentication with WebView
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
1384ad8a2d Migration from OAuth1 to OAuth2
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
583bb53bbe
[github] Update FUNDING.yml
See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository#about-funding-files

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-04-04 08:39:36 +03:00
104b3ceb4c [styles] Removed shop=vacant
Signed-off-by: map-per <map-per@gmx.de>
2024-04-04 00:07:54 -03:00
Osyotr
e7c10c4eaa Call fseek64 only with MSVC
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-03 08:06:25 +02:00
Osyotr
0989641208 Always seek to end of file when opening in append mode
C standard does not guarantee that file opened in append mode is seeked to the end.
In particular, MSVC CRT does not do that, so ftell64 always returns 0.
Fixes some tests on Windows.

Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
2024-04-03 08:06:25 +02:00
Alexander Borsuk
506e2481cc Fixed UTF16 => UTF8 DebugPrint conversion
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-03 08:05:00 +02:00