Commit Graph

873 Commits

Author SHA1 Message Date
Marcus Kida dcfe13ac36
Merge branch 'develop' into performance_experiments 2023-09-22 11:36:57 +02:00
Nathan Mattes 6e6341afb8 Run swiftgen 2023-09-21 00:05:26 +02:00
Nathan Mattes 5ac8d02b0b Re-add keys
This whole localization workflow is super annyoing and fragile.
2023-09-20 23:55:21 +02:00
Nathan Mattes a4ff32ef8c Update localizations 2023-09-20 23:21:13 +02:00
Nathan Mattes e041a7e086 Add Hashtag-Regex (IOS-141) 2023-09-20 16:29:30 +02:00
Nathan Mattes 0c5b3a64cf Adopt search to follow mastodon-logic (IOS-141)
as defined here: https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/features/compose/components/search.jsx#L280-L310
2023-09-20 16:03:46 +02:00
Nathan Mattes dd569fe0ac Put CondensedUserView into their own class (IOS-141) 2023-09-18 17:21:36 +02:00
Nathan Mattes ce37a8eb47 Copy condensed version of user-view to collection-view in search-history (IOS-141) 2023-09-18 17:05:29 +02:00
Nathan Mattes a7bab76f96 Add a cell for profiles in search results (IOS-141) 2023-09-18 16:12:42 +02:00
Nathan Mattes b74f17c6b6 Don't show follow-button for me (IOS-141) 2023-09-17 18:14:42 +02:00
Nathan Mattes 4378c1e971 Go to link (IOS-141)
It's either a profile (then show the profile) or a status (than show the status) or a link (then open the link in safari)
2023-09-17 16:57:15 +02:00
Nathan Mattes 7abc536d01 Add localization to "No such user"-alert (IOS-141) 2023-09-17 14:40:23 +02:00
Nathan Mattes 558f88e77a Sprinkle in some localization (IOS-141) 2023-09-17 13:34:08 +02:00
Nathan Mattes 1afecc85ea Show hashtag-page (IOS-141) 2023-09-16 18:39:33 +02:00
Nathan Mattes ed11d01267 Show up to three hashtags and up to three users (IOS-141) 2023-09-16 17:57:29 +02:00
Nathan Mattes 2e384f3cb5 WIP: Add some search-implementation and clean stuff (IOS-141)
Shame on me for such a big commit. I'm new to iOS-development, sorry :nerd:
2023-09-15 17:45:22 +02:00
Nathan Mattes e8509a063d Show title instead of "x" for clear-all-button (IOS-141)
Also: Move stuff around. It doesn't make sense for search-diffable-stuff to live in an enitrely different folder than the rest.
2023-09-15 11:38:12 +02:00
Nathan Mattes 97418db0b5 Update localizations 2023-08-28 13:01:01 +02:00
Nathan Mattes bbda8c41b6 Add post-visibility to notifications (#594) 2023-08-28 12:58:46 +02:00
Nathan Mattes 2957408c0a
Merge pull request #943 from nossipova/594-post-visibility
Show post visibility indicator
2023-08-28 12:29:10 +02:00
Nathan Mattes 075b8a739a Fix some warnings 2023-08-21 11:32:00 +02:00
Nathan Mattes a20f9a57c2 Add authentication to trends (#1104)
And clean up here and there.
2023-08-21 11:29:48 +02:00
Nathan Mattes cc2f7f0b8c
Hide activity indicator in case of no emojis (#1088) 2023-07-04 16:08:11 +02:00
Nathan Mattes e50b9e13a6
Add belarusian localization (#1083) 2023-07-04 10:26:30 +02:00
Nathan Mattes 0937849b4d Update localizables 2023-07-02 16:57:06 +02:00
Nathan Mattes c51f021b12
Merge pull request #1078 from j-f1/discard
Improve heuristic for skipping the post discard confirmation modal
2023-07-02 16:25:02 +02:00
Nathan Mattes 4b5151bb39 Get servers and choose one randomly for signup (IOS-171)
Server list from backend has a weight which plays a role in which server gets selected.
mastodon.social is the fallback in case something goes wrong
2023-07-02 14:43:49 +02:00
Nathan Mattes fcb5275dc8 Use download of default servers (IOS-171) 2023-07-02 14:26:21 +02:00
Nathan Mattes 18895a373b Download default servers (IOS-171) 2023-07-02 12:39:27 +02:00
Jed Fox f8617ac8f2
Don’t insta-discard if there is a CW/poll/attachment 2023-06-30 17:44:44 -04:00
Jed Fox dd953d69ea
Fix comparison of current content with initial content 2023-06-30 17:38:55 -04:00
Jed Fox c7455a20b5
Remove unused `DiscardPostContent` strings 2023-06-30 17:38:55 -04:00
Nathan Mattes 38434bde50 Update strings 2023-06-28 13:46:26 +02:00
Jed Fox 5cf681e2d7
Set a solid background on the blurhash view in case it doesn’t load (#1069) 2023-06-26 11:08:18 +02:00
Nathan Mattes 7b08403035 Add menu-action to untranslate a translated status (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes d455da85d2 Add follow/unfollow-option to user-section (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 9b422a95ac Sprinkle in some localization (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 6b2fe91112 Put existing actions into their section (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 846fa44369 Refactor action-menu to better support sections (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes c5bba298ac Improve log statement
🤦

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-06-13 15:11:50 +02:00
Nathan Mattes 001404b1ae Slightly refactor authentication migration 2023-06-13 15:11:50 +02:00
Nathan Mattes aede20f2c8 Mark migration as succesful only in case of success 2023-06-13 15:11:50 +02:00
Nathan Mattes 183f303065 Move extension to its own file 2023-06-13 15:11:50 +02:00
Marcus Kida 73909005de Fix migration issues with duplicate persistent store 2023-06-13 15:11:50 +02:00
Marcus Kida 55afa02b52 Try migrating old auth to keychain 2023-06-13 15:11:50 +02:00
Marcus Kida 4c9c34b6ce Migrate legacy authentications 2023-06-13 15:11:50 +02:00
Nathan Mattes c5cfca93ea Download not one but all authenticated users at start 2023-06-13 14:47:43 +02:00
Nathan Mattes aa9a6ee701 Make account switching work again 2023-06-13 14:47:43 +02:00
Marcus Kida 1bb8e64574 Fix TabBar avatar loading 2023-06-13 14:47:43 +02:00
Nathan Mattes ca61d29ae2 Download user when we need them 2023-06-13 14:47:43 +02:00
Marcus Kida 06c72a022a Persist Authentication in Keychain 2023-06-13 14:47:43 +02:00
Marcus Kida d570d3ef09 Replace MastodonAuthentication to not be backed by CoreData 2023-06-13 14:47:43 +02:00
Marcus Kida c94f0126b7 Switch CoreData to In-Memory Store 2023-06-13 14:47:43 +02:00
Jed Fox 3a9e1aa716
+ backdrop for play triangle 2023-06-04 17:11:30 -04:00
Jed Fox 10303eee37
Move “play video” image to SwiftUI, adjust to match design spec 2023-06-04 16:39:59 -04:00
Jed Fox 290a62aa5e
Refactor: isGIF → mediaType 2023-06-04 16:17:34 -04:00
Jed Fox 5ff25e31d3
Rename: MediaBadgesContainer → InlineMediaOverlayContainer 2023-06-04 16:15:05 -04:00
Nathan Mattes 8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +02:00
Nathan Mattes ddf0afcc6d
Merge pull request #1044 from mastodon/ios-157-popular-on-mastodon
Better UI/UX for suggestions for new users (IOS-157)
2023-05-25 15:42:11 +02:00
Nathan Mattes 7a9c002fe8 Simplify overly complicated init (IOS-157)
Thank you @kimar!
2023-05-25 15:30:45 +02:00
Nathan Mattes 02d305e482 Update localizations (before release) 2023-05-25 14:50:30 +02:00
Nathan Mattes 71d8cfb485 Fix name for development (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 1a0ab4607c Refresh hometimeline (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 25e4b732ed Sprinkle in some localization (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 1a1b2d44a4 Download (and cache) requested follows (IOS-157)
Thanks to @kimar for pointing this out!
2023-05-25 14:42:00 +02:00
Nathan Mattes f1777376f4 Update title for suggestion-screen (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 58e5686460 Extract follow-button into its own file (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 44f6fc9a5c Add request-follow/pending-states to follow-button (IOS-157, IOS-140) 2023-05-25 14:42:00 +02:00
Nathan Mattes a2729b17c5 Minor UI-improvements in UserView (IOS-157)
Make avatar-image bigger, fix position of follow-button
2023-05-25 14:42:00 +02:00
Nathan Mattes b3ff75b7f9
Add Greek Localization (#1050) 2023-05-20 13:57:09 +02:00
Natalia Ossipova e397191773 Show visibility icon also in notification view 2023-05-17 14:07:43 +02:00
Natalia Ossipova 00a8c7523b Merge branch 'develop' into 594-post-visibility 2023-05-17 13:11:13 +02:00
Marcus Kida 3a05799df8
Remember notifications tab after app restart (#1048) 2023-05-15 14:12:41 +02:00
Jed Fox 88d54b6151
Fix crash when a server has an emoji category named after its domain (#1045) 2023-05-15 09:35:08 +02:00
Nathan Mattes 774b7830d5 Update localizations before release 2023-05-10 16:26:23 +02:00
Marcus Kida e7fe60f7d0
Fix broken code 2023-05-09 16:16:31 +02:00
Marcus Kida 141d3561dd
Only update current active user in-memory state 2023-05-09 16:07:08 +02:00
Marcus Kida 5dde21c2ae
Fix typo 2023-05-09 16:05:32 +02:00
Marcus Kida 3e6d75e1b5
Update in-memory following/blocking states upon (un)follow/block action (IOS-140) 2023-05-09 16:03:37 +02:00
Marcus Kida b8744c24fc
Fix UserView follower count label not supporting dynamic type (IOS-140) 2023-05-09 15:47:03 +02:00
Marcus Kida c7c635d32a
Implement MastodonAccountInMemoryCache (I)OS-140) 2023-05-09 11:15:28 +02:00
Marcus Kida 9d2e8eca16
Improve UserView button behavior (IOS-140) 2023-05-08 17:24:41 +02:00
Marcus Kida 096b1200b0
Improve follow/unbutton behavior (IOS-140) 2023-05-08 16:41:29 +02:00
Marcus Kida 92704dc7f7
Implement fetching of following / blocking for user list buttons (IOS-140) 2023-05-08 15:24:01 +02:00
Marcus Kida 4de184c85f
Merge branch 'develop' into IOS-140_Verified_Links 2023-05-05 15:40:46 +02:00
Nathan Mattes 96e9d8e5ad
Merge pull request #993 from mastodon/ios-37-hashtag-widget
Hashtag-Widget (IOS-152)
2023-05-05 15:35:57 +02:00
Nathan Mattes 0fbe54d368 Use colors from assets (IOS-152) 2023-05-05 15:15:37 +02:00
Marcus Kida f63b56bbf2
Make NSAttributedString extension allow multiple palceholder string replacements (IOS-140) 2023-05-05 14:48:02 +02:00
Marcus Kida 2f4ce19983
Fix verified link priority (IOS-140) 2023-05-05 14:47:38 +02:00
Marcus Kida 622953c649
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView+ViewModel.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:28:12 +02:00
Marcus Kida de336e9341
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:26:36 +02:00
Nathan Mattes d406dcd553 Use better strings in strings-files, too (IOS-152) 2023-05-05 12:29:46 +02:00
Marcus Kida 40db0e36c0
Add missing L10n (IOS-140) 2023-05-05 10:07:47 +02:00
Marcus Kida 313d5e2d8a
Update colors for UserView (IOPS-140) 2023-05-04 11:56:34 +02:00
Marcus Kida d1d9e86244
Add missing L10n for IOS-140 2023-05-04 11:39:57 +02:00
Nathan Mattes e6e691b7aa Scroll enabled for large display zoom only (#1009) 2023-05-04 10:48:59 +02:00
Nathan Mattes 4066b26030 Put actions in scrollView (#1009) 2023-05-04 10:48:59 +02:00
Nathan Mattes 1829793ac5 Locale notfound/placeholder-texts (IOS-37) 2023-05-02 21:36:16 +02:00
Nathan Mattes 49307a316f Add localization (IOS-37) 2023-05-02 21:36:16 +02:00
Nathan Mattes a99f3a152b
Change text for alternative server-button (IOS-153) (#1030) 2023-05-02 20:20:13 +02:00