Commit Graph

632 Commits

Author SHA1 Message Date
Chase Carroll 52fa05b0fc Add UIWindow subclass to display all touches. 2022-12-05 10:21:29 -05:00
Jed Fox 41e9cfa80d
Fix i18n formatting for a11y.plural.count.characters_left 2022-12-03 14:18:39 -05:00
Jed Fox 4f8ca8d481
Use a non-opaque background color for the image view 2022-12-03 14:07:43 -05:00
Jed Fox 1642839084
Force card into large mode if it has an embed 2022-12-03 14:03:53 -05:00
Jed Fox 285fbd4247
Fix divider not visible in compact cards 2022-12-03 14:02:22 -05:00
Jed Fox 3c806393a3
Fix core data update 2022-12-03 14:00:01 -05:00
Jed Fox 7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox 1379cdc448
Disable cards in notifications
both to save space and because I’m too lazy to wire up the delegate methods for the menu
2022-12-03 13:41:51 -05:00
Jed Fox 17b39da316
Add “Copy,” “Share,” and “Share Link in Post” actions to cards 2022-12-03 13:38:32 -05:00
Jed Fox 3661b5ce90
Refactor compose intialization
- split ComposeContentViewModel.Kind into Destination (top level/reply) and an initial content string
- replies get the mentions prepended to the initial content string
2022-12-03 13:25:07 -05:00
Jed Fox 348e176f89
slight code reorg 2022-12-03 11:30:44 -05:00
Jed Fox e46c25892d
Add label to the “load embed” button 2022-12-03 11:30:44 -05:00
Jed Fox c67e6ce45e
Fix white flash in dark mode 2022-12-03 11:27:51 -05:00
Jed Fox 7944ec6399
Load embed web view only on tap (for privacy) 2022-12-02 23:29:14 -05:00
Jed Fox 5932d00f2f
add a divider between the image and the text in the card 2022-12-02 22:56:12 -05:00
Jed Fox 946d47abdd
Fix highlight behavior 2022-12-02 22:35:18 -05:00
Jed Fox a29e88b60b
Fix web view reuse 2022-12-02 22:10:35 -05:00
Jed Fox 1c5b66f7e7
Embed a web view for viewing content inline 2022-12-02 20:35:11 -05:00
Marcus Kida ac76e7f435
feat: Implement translation of reposts 2022-12-02 23:15:07 +01:00
Marcus Kida d5be87992d
feat: Implement /translate endpoint 2022-12-02 23:15:07 +01:00
Marcus Kida 9affb0f637
feat: Implement `translatedContent` which can be used to replace the StatusView content 2022-12-02 23:15:06 +01:00
Jed Fox 16a814a27c
Cap the height of the status card 2022-12-02 16:02:05 -05:00
Jed Fox 52f5213990
Allow a little bit of variance from square for compact layout 2022-12-02 15:54:02 -05:00
Marcus Kida a6ff6e7cec
chore: Update localizable strings for follow tags 2022-12-02 11:06:15 +01:00
CMK b15ae5e50f
Merge pull request #717 from mastodon/fix-issue-660
Workaround paste crash on iOS 14.x issue
2022-12-02 13:40:47 +08:00
Nathan Mattes 8ed451e858
Merge pull request #711 from j-f1/search-and-explore
Rename second tab to “Search and Explore”
2022-12-01 21:42:44 +01:00
Marcus Kida 6c2fabaa03
chore: Fix hashtag follow button style 2022-12-01 14:52:55 +01:00
Marcus Kida bf5a091798
chore: Improve Tag.predicate(name:) case-insensitivity 2022-12-01 14:24:54 +01:00
Marcus Kida 270bb6a1ed
fix: Update HashtagTimelineHeaderView if follow state changes 2022-12-01 12:38:23 +01:00
Marcus Kida 75dc530dcf
chore: Implement FollowedTagsViewModel+DiffableDataSource 2022-12-01 11:39:02 +01:00
Marcus Kida 0c571a2df6
fix: Localizable string issues 2022-12-01 10:55:00 +01:00
Marcus Kida 6a9b29e4a6
chore: Add missing L10n 2022-12-01 10:54:59 +01:00
Marcus Kida f112e68e79
chore: Add L10n for Followed Tags 2022-12-01 10:54:59 +01:00
Marcus Kida ba26dd2076
feat: Implement navigating followed tags 2022-12-01 10:54:59 +01:00
Marcus Kida 855d2cbacd
feat: Implement followed tags overview 2022-12-01 10:54:59 +01:00
Marcus Kida b9e4c69576
feat: Implement follow/unfollow tag functionality 2022-12-01 10:54:59 +01:00
Marcus Kida b020f566f4
feat: Implement real numbers of HashtagTimelineHeader 2022-12-01 10:54:59 +01:00
Marcus Kida 178a6e503a
feat: Implement layout for hashtag timeline header view 2022-12-01 10:54:58 +01:00
Marcus Kida b7458dfc7b
feat: Implement hashtag button on Profile 2022-12-01 10:54:58 +01:00
CMK fd9a253fac fix: workaround paste crash on iOS 14.x issue 2022-12-01 15:29:56 +08:00
Jed Fox 2003e4987c
Rename second tab to “Search and Explore” 2022-11-30 09:09:24 -05:00
Marcus Kida 7aed050ded
Merge pull request #600 from woxtu/nil-coalescing
Remove redundant nil coalescing
2022-11-29 14:41:52 +01:00
Marcus Kida 248d0a5570
fix: Text in compose post is not selectable, focussable, pastable 2022-11-29 11:51:28 +01:00
Marcus Kida e8bccb7eb7
Merge pull request #702 from kylebshr/kb/button-targets
Space buttons instead of stretching
2022-11-28 16:11:12 +01:00
Kyle Bashour 61a07e9a5b Layout improvements 2022-11-27 21:00:03 -08:00
Kyle Bashour 176067800c Add card when merging 2022-11-26 23:42:02 -08:00
Kyle Bashour 8a8ecb0b68 Improve layout 2022-11-26 22:05:43 -08:00
Kyle Bashour 3a90b1c865 Change name and improve a11y 2022-11-26 21:47:49 -08:00
Kyle Bashour 03918301fb Space buttons instead of stretching 2022-11-26 19:26:10 -08:00
Kyle Bashour 4616d40519 More spacing 2022-11-26 19:22:05 -08:00
Kyle Bashour 439217d0e1 Constraints work 2022-11-26 19:21:47 -08:00
Sven Weidauer a247bfc91f Remove dead code. 2022-11-26 16:38:02 +01:00
Sven Weidauer bf741a3f63 Merge remote-tracking branch 'upstream/develop' into fix-warnings 2022-11-26 16:08:26 +01:00
Marcus Kida 54a75d4138
feat: Delete Status and Notification Feeds for Blocked/Muted Users 2022-11-26 08:02:30 +01:00
Marcus Kida 803571bb81
chore: Revert CoreData 5 and update Block / Mute Database interactions 2022-11-26 08:02:30 +01:00
Marcus Kida bb30aae322
feat: Update block/mutes on block/mute action 2022-11-26 08:02:30 +01:00
Marcus Kida b1d92c69bd
chore: Don't recursively iterate through blocks/mutes 2022-11-26 08:02:29 +01:00
Marcus Kida 12cb8cf8d6
feat: Implement blocks/mutes pagination using link header 2022-11-26 08:02:29 +01:00
Marcus Kida 9c86dfe166
chore: Remove limit query for GET Block/Mute 2022-11-26 08:02:29 +01:00
Marcus Kida 6be1e502b7
chore: Use MastodonUser.predicate in APIService+Mute 2022-11-26 08:02:29 +01:00
Marcus Kida 65ed6650e8
feat: Implement deletion of records for blocked users 2022-11-26 08:02:29 +01:00
Marcus Kida ac5e68b74b
feat: Delete Users / Statuses on Mute 2022-11-26 08:02:28 +01:00
Kyle Bashour 00af336298 Remove some debugging 2022-11-25 20:20:26 -08:00
Kyle Bashour 3a732b688c Better layout 2022-11-25 20:16:42 -08:00
Kyle Bashour ba7955bdb5 Handle taps 2022-11-24 07:48:07 -08:00
Kyle Bashour f8d1afc7e4 Working pretty well 2022-11-23 21:51:39 -08:00
Kyle Bashour 595b46e96e Add card persistence 2022-11-23 20:03:45 -08:00
Kyle Bashour a4cab15d86 Make it compile 2022-11-23 19:03:54 -08:00
Kyle Bashour d0f1bb82f7 Merge branch 'develop' into kb/link-previews
# Conflicts:
#	MastodonSDK/Package.swift
2022-11-23 18:42:16 -08:00
CMK 366287a9f8 fix: use singleton AppContext to workaround reentry problem 2022-11-23 14:16:28 +08:00
CMK a45fa65802 chore: set minimal size limit for photo to 1MiB 2022-11-23 12:27:46 +08:00
CMK f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08:00
CMK c6b2f730d2
Merge pull request #592 from j-f1/live-text
Add Live Text support to images
2022-11-22 13:14:38 +08:00
Marcus Kida 12bfff8b00
Merge pull request #579 from woxtu/patch
Fix typos
2022-11-21 17:31:05 +01:00
Jed Fox 228a9a1798
Revert auto-formatter changes to file 2022-11-21 08:46:49 -05:00
Jed Fox 45c35ab146
Merge remote-tracking branch 'upstream/develop' into live-text 2022-11-21 08:41:05 -05:00
Jed Fox 788bdb14f8
Remove duplicate timestamps 2022-11-21 08:40:04 -05:00
Jed Fox 82da37e1e7
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-21 08:39:08 -05:00
CMK 2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
CMK 73f7814e87
Merge pull request #634 from mastodon/fix/auto-complete
Fix hashtag auto complete issue
2022-11-19 01:01:27 +08:00
CMK ce076b264b fix: hashtag auto complete issue 2022-11-19 00:56:44 +08:00
Jed Fox f0bf9c6937
Bump the timeout interval for all requests to 60s 2022-11-18 10:55:25 -05:00
CMK 31699ea9fc chore: update i18n resources 2022-11-18 19:04:22 +08:00
Nathan Mattes d4eabf95d1
Merge pull request #622 from painhapp/refactorPinToParent
[Refactor] Use UIView extension to create constraints (to parent view)
2022-11-17 23:19:03 +01:00
Nathan Mattes 96c3e17531 Fix some warnings 2022-11-17 23:16:21 +01:00
Stefan Painhapp 9e65ccfd7e Pin plusCircleImageView to checkmarkBackgroundView 2022-11-18 01:56:39 +09:00
Stefan Painhapp bf01ef80f6 Revert changes in NotificationView 2022-11-18 01:54:03 +09:00
Stefan Painhapp abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
CMK 095881c5d5
Merge pull request #616 from painhapp/videoLayoutConstraints
Fix Video Player Constraints issue
2022-11-17 23:42:55 +08:00
Marcus Kida d93d094734
Merge pull request #618 from mastodon/fix-compose-content-validate
Fix compose content could not post media only issue
2022-11-17 13:53:48 +01:00
CMK be255ff53b fix: compose content could not post media only issue 2022-11-17 20:41:55 +08:00
Stefan Painhapp d8164c2bc9 Fix Video Player Constraints issue 2022-11-17 14:26:40 +09:00
Jed Fox c34f0b4f11
Color the verified link’s header green as well to match the website 2022-11-16 20:45:11 -05:00
Jed Fox c6826542f9
Add a “Joined” cell to the top of the About tab to match the web version 2022-11-16 20:26:26 -05:00
David Godfrey 5c508dfce0 Sort emoji alphabetically, and into sections 2022-11-17 00:20:02 +00:00
CMK 8b7b6c4067 fix: configure header code not dispatch on UI thread issue 2022-11-16 22:31:21 +08:00
CMK 972b82268a feat: new i18n languages. Czech (cs) and Slovenian (sl) 2022-11-16 19:56:16 +08:00
CMK ea7972c789 chore: update i18n resources 2022-11-16 19:06:09 +08:00
CMK c2bb14eaab
Merge pull request #520 from j-f1/account-switcher-a11y
Improve accessibility of the account switcher
2022-11-16 18:51:17 +08:00
CMK 6384a77697 chore: remove large logo 2022-11-16 18:45:36 +08:00
CMK 7ca0792b5b feat: update purple logo 2022-11-16 18:41:17 +08:00
woxtu 675df849e3 Remove redundant nil coalescing 2022-11-16 12:21:08 +09:00
Nathan Mattes d86d613b4a Remove todos (#540)
After discussion they will be taken care of when we rework the onboarding (spoiler)
2022-11-15 23:51:24 +01:00
Nathan Mattes 26d918a28f Fix build (again)
This time, it's by hand because why not :D
2022-11-15 23:29:33 +01:00
Nathan Mattes 082e0933d2 Slash some todos (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes cf2f7850b7 Sprinkle in some localization (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes ea78f884ab Download and show server list (#540) 2022-11-15 23:29:32 +01:00
Nathan Mattes e05b595aed Remove obsolete package 2022-11-15 23:29:32 +01:00
Nathan Mattes 26d7287319 Add what needs to be done for better onboarding (#540) 2022-11-15 23:27:24 +01:00
Marcus Kida eb26a4d6c3
fix: Improve media inline appearance 2022-11-15 15:44:51 +01:00
Jed Fox 6ec16d5a81
Adjustments for new i18n workflow 2022-11-15 07:00:15 -05:00
Jed Fox 527f6f0dfa
Adjustments for new i18n workflow 2022-11-15 06:58:43 -05:00
Marcus Kida 92ab45f650
Merge pull request #556 from nossipova/519-toot-menu
Remove mute/block/report from menu for own toots
2022-11-15 07:44:58 +01:00
Jed Fox 23b9ff39ce
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-14 22:35:42 -05:00
Jed Fox 69d2071570
Merge remote-tracking branch 'upstream/develop' into account-switcher-a11y 2022-11-14 22:33:55 -05:00
Jed Fox ac28c2ee4f
Add Live Text support to MediaPreviewImageView 2022-11-14 20:44:47 -05:00
Jed Fox 35f6732ad9
update generated files 2022-11-14 20:10:05 -05:00
Nathan Mattes 9e912be7c4 Fix build
Happened due to localization, we changed the workflow, but didn't consider another pr. so boom.
2022-11-14 23:19:53 +01:00
Kyle Bashour ae24f95e31 wip 2022-11-14 13:26:25 -08:00
Jed Fox 6c97a74804
./update_localization.sh 2022-11-14 14:45:42 -05:00
Jed Fox 66a08e5a4e
Merge remote-tracking branch 'upstream/develop' into multiline-content-warning 2022-11-14 14:07:53 -05:00
Jed Fox 6326e35266
Merge remote-tracking branch 'upstream/develop' into account-switcher-a11y 2022-11-14 14:03:57 -05:00
Jed Fox 8e12d77a96
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-14 14:03:02 -05:00
Nathan Mattes 84ffa3ba56
Merge pull request #564 from ReactiveRaven/feature/validated-fields
Visual indication of validated URL
2022-11-14 19:39:17 +01:00
CMK b6ed347afc
Merge pull request #584 from mastodon/fix-reply-visibility
Fix reply visibility not inherit issue
2022-11-15 02:13:38 +08:00
CMK 220fd6ae02 feat: improve the i18n workflow 2022-11-15 01:44:28 +08:00
Jed Fox b2e448d67c
Merge remote-tracking branch 'upstream/develop' into multiline-content-warning 2022-11-14 08:49:15 -05:00
Jed Fox 97b6a3de4c
Merge remote-tracking branch 'upstream/develop' into account-switcher-a11y 2022-11-14 08:45:36 -05:00
Marcus Kida 548543a8c0
chore: Move updateActiveUserAccountPublisher to AuthenticationService 2022-11-14 14:15:28 +01:00
Marcus Kida 51c7034dc4
Merge pull request #585 from mastodon/fix-authenticated-user-profile-reload
Fix authenticated user account not reloaded
2022-11-14 14:08:31 +01:00
Marcus Kida a2f2fb83cd
Fix authenticated user account not reloaded 2022-11-14 13:12:16 +01:00
CMK 0a68059122 Merge branch 'develop' into fix-reply-visibility 2022-11-14 19:59:19 +08:00
CMK 0612d97227 Merge branch 'develop' into compose-a11y 2022-11-14 19:47:28 +08:00
CMK 591acb4c2c feat: restore keyboard shortcut for compose scene 2022-11-14 19:43:32 +08:00
CMK af0dc45d1b feat: update i18n string 2022-11-14 19:27:09 +08:00
CMK bc428486ae chore: update i18n resources 2022-11-14 19:20:14 +08:00
CMK 25f4a6b082 feat: restore post compose limit 2022-11-14 19:14:46 +08:00
CMK 2b2707c600 feat: add throttle for post compose auto-complete query 2022-11-14 18:53:09 +08:00
CMK 7e7f41112e fix: visibility missing bind back to source issue 2022-11-14 18:41:54 +08:00
woxtu a36a303532 Fix typos 2022-11-14 02:53:59 +09:00
CMK 81bc8eb662 fix: video may in portrait mode issue 2022-11-14 01:19:39 +08:00
CMK 1e71f0c147 feat: restore media description text field 2022-11-14 00:57:44 +08:00
CMK 91bfc8ad5a feat: add paste image input for post compose scene 2022-11-13 22:57:35 +08:00
CMK 1e8bb1dca2 Merge branch 'develop' into feature-compose-media 2022-11-13 22:41:34 +08:00
CMK 26c6b8f2ee chore: code clean up 2022-11-13 22:40:36 +08:00
CMK b47f8ead37 fix: compile issue 2022-11-13 22:40:26 +08:00
CMK f80b751d93 feat: camera and file attachment input 2022-11-13 22:40:03 +08:00
CMK 929a27d572 feat: [WIP] restore publish button and compose pre-insert content 2022-11-13 22:08:26 +08:00
CMK 88307057c0 feat: restore emoji picker for post compose 2022-11-13 19:42:50 +08:00
CMK e7ef0f79c7 feat: restore auto-complete for compose scene content input 2022-11-13 16:04:29 +08:00