1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-02-02 18:36:44 +01:00

6966 Commits

Author SHA1 Message Date
Eugen Rochko
cb49ebec68 New translations localizable.stringsdict (Czech) 2025-01-31 17:52:12 +01:00
Eugen Rochko
31a73014d9 New translations app.json (Czech) 2025-01-31 17:52:11 +01:00
Eugen Rochko
7d21131fc6 New translations localizable.stringsdict (Turkish) 2025-01-25 03:30:46 +01:00
Eugen Rochko
965bdd5861 New translations app.json (Spanish) 2025-01-17 23:29:04 +01:00
Eugen Rochko
17f49ea4fb New translations app.json (Vietnamese) 2025-01-12 08:36:56 +01:00
Eugen Rochko
8435182074 New translations app.json (Portuguese) 2025-01-11 19:33:49 +01:00
Eugen Rochko
09082939e3 New translations localizable.stringsdict (Portuguese, Brazilian) 2025-01-11 18:31:41 +01:00
Eugen Rochko
8b37cf9864 New translations localizable.stringsdict (Portuguese) 2025-01-11 18:31:40 +01:00
Eugen Rochko
734f1c4ca8 New translations ios-infoplist.json (Portuguese) 2025-01-11 18:31:39 +01:00
Eugen Rochko
6bc6a2c2c2 New translations app.json (Portuguese) 2025-01-11 18:31:38 +01:00
Eugen Rochko
3050c4ce7e New translations intents.stringsdict (Portuguese) 2025-01-11 18:31:37 +01:00
Eugen Rochko
c8d50dc279 New translations app.json (Czech) 2025-01-05 10:25:48 +01:00
Eugen Rochko
aca56e9304 New translations localizable.stringsdict (Hungarian) 2025-01-03 12:09:13 +01:00
Eugen Rochko
e7cccdd834 New translations app.json (Hungarian) 2025-01-03 12:09:12 +01:00
shannon
f04699960f Add NotificationGroup struct 2024-12-19 15:21:30 -05:00
shannon
9a7b3215e0 Update localizations 2024.12-6951 2024.12 2024-12-18 11:12:21 -05:00
shannon
60dadbbd92 Merge branch 'l10n_develop' into develop 2024-12-18 11:10:18 -05:00
shannon
804a5d0fda Control the height of the compose window a little better.
Avoids the known hang, which was caused by getting stuck in a loop setting the frame back and forth over and over. Looked like it was adding and then removing (and then adding, etc) the height of a single line of text. Possible the username was shifting back and forth between truncating and wrapping, but have not confirmed that.

Fixes #705 IOS client consistently hangs when writing new post at ~= 150 chars
2024.12-6946
2024-12-18 10:52:39 -05:00
shannon
7961514160 Make taps on the author view either activate the buttons or show the author, never open the post in thread view.
Fixes IOS-143
2024.12-6945
2024-12-17 15:10:29 -05:00
shannon
f28751872d Adjust HitTestExpandedButton to MinimumHitTargetButton, which enforces minimum hit target size of 44x44
Contributes to IOS-143
2024-12-17 15:08:13 -05:00
shannon
d84b5474c4 Only adjust scroll offset if new tableview contents does contain the expected anchoring index path. 2024-12-17 12:59:35 -05:00
shannon
99fad6fb23 Renaming for clarity 2024-12-17 12:55:28 -05:00
shannon
a5ca642a7f Correctly update tableview when height of cell changes, to avoid scrolling problems later. 2024-12-17 12:52:20 -05:00
shannon
34cf069c20 Fix crucial typo so that we filter the incoming records, not the existing ones. 2024.12-6940 2024-12-17 08:44:08 -05:00
shannon
335e682dc2 Avoid a “publishing changes during view updates” warning. 2024.12-6939 2024-12-16 15:40:55 -05:00
shannon
9de3ae09b9 Perform content validity checks on main queue.
Using global background queue was handing the character counting work to a different thread every time the text changed. Forcing it always onto the same background queue would be another option, but main seems to feel fast enough and is safer because of all the view-related things downstream.

Contributes to #705 IOS client consistently hangs when writing new post at ~= 150 chars
2024-12-16 15:37:14 -05:00
shannon
eb5433ec2b Do not allow setting FeedController’s records from outside the class.
Because we want to be certain that incoming records are always correctly filtered.

Fixes #1354 [BUG] Mastodon iOS App Ignores "Hide completely" Filter action Setting
2024-12-16 14:29:33 -05:00
shannon
d5e8300066 Restore blur to cover content warned GIFs
Also, do not create a player view until actually needed (lazy var caused one to be created during prepareForReuse(), just to be able to call removeFromSuperview() on it).

Fixes  #1377 [BUG] Content warning for gifs doesn't blur consistently
2024-12-16 11:43:24 -05:00
Gokul
e4214f78a5
Show profile view when tapped author name in home feed (#1380)
Show profile when tap AuthorName
2024.12-6935
2024-12-16 09:53:07 -05:00
shannon
54ee5603b5 Add indication of publishing progress to the publish button.
Contributes to  #846 Toot lost in poor network conditions
2024.12-6934
2024-12-13 16:41:52 -05:00
shannon
a992c3ae2b Better clean up after failure or automated cancelation of post
Contributes to  #846 Toot lost in poor network conditions
2024-12-13 15:38:05 -05:00
shannon
1b4852c9b0 Do not dismiss compose window until post success is confirmed
Contributes to  #846 Toot lost in poor network conditions
Contributes to  #1215 [BUG] New posts fail to publish
2024-12-13 15:36:34 -05:00
shannon
2a7c8154d0 Add explanatory comment 2024-12-13 13:42:07 -05:00
shannon
5ccf30c39e Add TODO note 2024-12-13 13:41:41 -05:00
shannon
613b7feee8 Avoid warning about accessing visibleCells during tableview updates 2024-12-13 13:39:53 -05:00
shannon
1a79ec064b Some error handling improvements for the post publishing process
Contributes to #1215 [BUG] New posts fail to publish
Contributes to  #1317 Every time I try to add images from my Akkoma , the app freezes
2024-12-13 13:32:35 -05:00
shannon
ffc6e0ebaf Clearer naming (“nanosPerUnit” instead of “second”) 2024-12-13 13:17:59 -05:00
shannon
51591c9524 Refetch account info when returning to profile screen
This is almost certainly a duplication of effort when navigating to the profile screen initially, for now, but it means the account details are up to date after you’ve followed/unfollowed, etc, from pages in the same navigation stack.

Fixes IOS-344
2024.12-6926
2024-12-11 16:39:40 -05:00
shannon
957c1da6d0 Stop the refresh control when update is complete.
Fixes IOS-348
2024-12-11 16:39:40 -05:00
shannon
386196158b Update the avatar in the profile tab button whenever the active account switches
Fixes IOS-347
2024-12-11 16:39:40 -05:00
shannon
fee51ace09 Fetch all accounts much less often 2024-12-11 16:39:40 -05:00
shannon
f1391cecce Only need to subscribe to updateActiveUserAccountPublisher once, not every time the user is fetched. 2024-12-11 13:35:38 -05:00
shannon
df969abd6a Do not bother fetching relationship to account that is me 2024-12-11 13:34:33 -05:00
shannon
49938d4cbf Add comment 2024-12-11 13:33:40 -05:00
shannon
131e116fc0 Additional clarification about user fetching me vs. not me, and do not cache accounts that are not me 2024-12-11 13:33:27 -05:00
Eugen Rochko
e7bca72d1f New translations localizable.stringsdict (German) 2024-12-11 18:54:14 +01:00
Eugen Rochko
b96e960672 New translations app.json (German) 2024-12-11 18:54:12 +01:00
Eugen Rochko
f4b9950191 New translations app.json (German) 2024-12-11 17:31:19 +01:00
shannon
dbd05377b8 Add placeholder usage to AvatarImageView in hopes of avoiding showing incorrect avatar image 2024.12-6918 2024-12-10 14:12:47 -05:00
shannon
ca6ecd13aa Make sure not to display an image that belongs to a different post
The key change here is to store the image subscription in the MediaView’s disposeBag rather than the configuration’s, so that it is properly disposed of in the MediaView’s prepareForReuse().

For good measure, also adding MainActor on prepareForReuse and actual cancellation of all subscriptions before releasing them.

Fixes #1374 [BUG] Posts can load the wrong images
2024-12-10 11:16:43 -05:00