174 Commits

Author SHA1 Message Date
shannon
48a053668b Add Hungarian
Fixes: Newly supported languages (Hungarian) #1344
2024-11-20 10:07:04 -05:00
shannon
082f5e6ce3 Fully initialize AuthenticationServiceProvider from within init
contributes to iOS-319
2024-11-19 12:10:38 -05:00
shannon
54d04aed4e Continue to make MastodonAuthenticationBox the standard form of passing user information
Further simplify the AuthenticationViewModel and the public interface of AuthenticationServiceProvider.

Publish currentActiveUser from AuthenticationServiceProvider instead of assuming all callers know to take the first in the list as the active one.

contributes to iOS-319
2024-11-19 12:09:55 -05:00
shannon
40ec6e94b2 Move a very specific extension to the one file that uses it
contributes to iOS-319
2024-11-19 12:09:05 -05:00
shannon
9ed9c79f25 Begin moving filesystem cache responsibility into PersistenceManager
contributes to iOS-319
2024-11-19 12:08:22 -05:00
shannon
35f1280904 Make view models @MainActor 2024-11-15 14:15:01 -05:00
shannon
c4442fe8a9 Fix crash on launch due to infinite loop
And more honestly about singletons.
2024-11-15 12:25:58 -05:00
shannon
77f3c5a64d Combine AuthenticationService into AuthenticationServiceProvider
Also, AppContext, APIService, and AuthenticationServiceProvider are now more obviously singletons.

And AuthenticationServiceProvider can now be asked for the current active user, instead of every caller assuming the first element of a list of users is the active user.
2024-11-14 16:30:51 -05:00
shannon
5dcc64b094 Simplify MasotodonAuthenticationBox 2024-11-14 11:17:22 -05:00
shannon
fdca50179e Wait for authentications to be available before trying to use them.
The prior fix for memory corruption problems in authentications had caused the app to launch to the new user screen every time.
2024-10-30 14:41:48 -04:00
shannon
20f7d761bd Increasing thread safety for authentications.
Attempting to fix multiple crashes associated with the call to persist() triggered by the authentications setter called in restore().
2024-10-30 14:41:48 -04:00
Marcus Kida
cd2a5d4b6b
Update L10n 2024-10-08 09:54:34 +02:00
Marcus Kida
bff3afb3a4
Add missing # symbol (IOS-287) 2024-07-24 14:36:32 +02:00
Marcus Kida
b252536613
Fix MastodonIntent is unable to load data due to missing credentials 2024-07-18 11:53:47 +02:00
Nathan Mattes
b2dbcc8095 Merge branch 'develop' into ios-192-profile-about
# Conflicts:
#	Mastodon/Protocol/Provider/DataSourceProvider+NotificationTableViewCellDelegate.swift
#	Mastodon/Scene/Notification/NotificationTimeline/NotificationTimelineViewController+DataSourceProvider.swift
#	MastodonSDK/Sources/MastodonCore/DataController/FeedDataController.swift
#	MastodonSDK/Sources/MastodonUI/View/Content/StatusView+Configuration.swift
2024-01-31 15:36:53 +01:00
Nathan Mattes
35bc04be51
update strings (#1219) 2024-01-31 10:04:22 +01:00
Nathan Mattes
c3d40d260d Use accounts for shortcut-extension (IOS-192)
This is broken atm, see #1204
2024-01-05 11:29:25 +01:00
Nathan Mattes
ed426a950c Update strings 2023-11-15 12:52:07 +01:00
Nathan Mattes
38b4ab062e Add Armenian Localization (#1147) 2023-11-10 11:05:17 +01:00
Nathan Mattes
6df7cf8a80 Don't use core data in memory (for now) 2023-10-11 15:52:05 +02:00
Marcus Kida
dcfe13ac36
Merge branch 'develop' into performance_experiments 2023-09-22 11:36:57 +02:00
Nathan Mattes
a4ff32ef8c Update localizations 2023-09-20 23:21:13 +02:00
Nathan Mattes
97418db0b5 Update localizations 2023-08-28 13:01:01 +02:00
Nathan Mattes
e50b9e13a6
Add belarusian localization (#1083) 2023-07-04 10:26:30 +02:00
Nathan Mattes
38434bde50 Update strings 2023-06-28 13:46:26 +02:00
Marcus Kida
55afa02b52 Try migrating old auth to keychain 2023-06-13 15:11:50 +02:00
Marcus Kida
d570d3ef09 Replace MastodonAuthentication to not be backed by CoreData 2023-06-13 14:47:43 +02:00
Nathan Mattes
02d305e482 Update localizations (before release) 2023-05-25 14:50:30 +02:00
Nathan Mattes
b3ff75b7f9
Add Greek Localization (#1050) 2023-05-20 13:57:09 +02:00
Marcus Kida
c7c635d32a
Implement MastodonAccountInMemoryCache (I)OS-140) 2023-05-09 11:15:28 +02:00
Nathan Mattes
48a14bc63c Show followed hashtags by default (IOS-37) 2023-05-02 21:35:41 +02:00
Nathan Mattes
24b1602972 Search online for hashtags (IOS-37) 2023-05-02 21:35:41 +02:00
Nathan Mattes
d3680618da Add relevant base-classes for Hashtag-Widget (IOS-37) 2023-05-02 21:35:40 +02:00
Nathan Mattes
330555dbee Update strings 2023-04-19 22:49:21 +02:00
Nathan Mattes
a53792507e Update localized strings 2023-03-27 17:13:27 +02:00
Nathan Mattes
2b2a879905
Merge pull request #900 from j-f1/set-intent-url
Intent: Set the `url` property of the Post object before returning it
2023-02-07 20:26:38 +01:00
Jed Fox
a56477b896
Further tweak 2023-02-07 13:47:30 -05:00
Jed Fox
2374a6552b
Clarify the logic for setting the URL 2023-02-07 13:37:36 -05:00
Jed Fox
c93bfa7329
Set the url property of the Post object before returning it 2023-02-07 13:35:17 -05:00
Marcus Kida
736c3b515f
fix(Widget): User lookup for widget does not yield correct result 2023-02-07 12:36:13 +01:00
Marcus Kida
8438bbc032
chore(Widget): Rename MultiFollowersCountSmallIntent -> MultiFollowersCountIntent 2023-01-31 14:55:59 +01:00
Marcus Kida
9eb26d4ed8
feat(Widget): Implement MultiFollowersCountWidget for single Column 2023-01-31 14:37:49 +01:00
Marcus Kida
1558579a86
feat(Widget): Implement LightChartView for Small FollowerCount 2023-01-30 11:21:04 +01:00
Marcus Kida
5a3636cb22
feat(Widget): Implement FollowersCountIntent 2023-01-24 11:15:21 +01:00
Jed Fox
0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
Nathan Mattes
f3d71d982a Update strings 2022-12-19 12:07:16 +01:00
CMK
972b82268a feat: new i18n languages. Czech (cs) and Slovenian (sl) 2022-11-16 19:56:16 +08:00
Nathan Mattes
b5943d48cf Generate new localized strings 2022-11-09 07:37:37 +01:00
CMK
78ce26b889 fix: manually bump the version to workaround auto version management not working issue 2022-11-08 14:17:43 +08:00
CMK
eb86b5a9d8 chore: update to version 1.4.7 2022-11-04 12:26:38 +08:00