Commit Graph

852 Commits

Author SHA1 Message Date
Marcus Kida 903d789b53
chore: Remove unused code 2022-12-13 07:07:56 +01:00
Marcus Kida 85f4c454a3
chore: Refactor code and apply PR improvements 2022-12-13 06:56:07 +01:00
Marcus Kida 8f32e1a80e
Update MastodonSDK/Sources/MastodonSDK/Entity/Mastodon+Entity+Translation.swift
Co-authored-by: Jed Fox <git@jedfox.com>
2022-12-12 16:53:41 +01:00
Marcus Kida cb2765fd0f
chore: Replace instance by server in strings 2022-12-12 16:43:54 +01:00
Marcus Kida 2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option 2022-12-12 16:41:13 +01:00
Marcus Kida 58dcadf642
feat: Implement error-handling for translation 2022-12-09 16:12:13 +01:00
Marcus Kida fda3ae1516
chore: Update translated footer alignment 2022-12-07 17:10:32 +01:00
Marcus Kida da3c9a42ec
fix: Don't make isCurrentlyTranslating depend on translatedFromLanguage 2022-12-07 17:03:09 +01:00
Marcus Kida 7368e487af
chore: Add L10n for status translation 2022-12-07 16:32:51 +01:00
Marcus Kida 671b0e33f4
chore: Code-style adjustments 2022-12-07 16:03:52 +01:00
Marcus Kida bfdb2e2de9
chore: Update translated status footer style 2022-12-07 16:00:18 +01:00
Marcus Kida dc174b4b6d
feat: Implement translation progress indicator on status 2022-12-07 15:52:38 +01:00
Marcus Kida 1020ca531a
feat: Implement status translation info footer and reversion 2022-12-07 15:41:33 +01:00
Chase Carroll 34b3d7d559 Fix file header 2022-12-07 07:20:08 -05:00
Chase Carroll 08ec662e22 Fixing case where events aren't forwarded 2022-12-07 07:19:48 -05:00
Chase Carroll 6f09034668 Tweak touch view border color 2022-12-06 14:42:25 -05:00
Chase Carroll b634d2b844 Add extra contrast on the touch views
Felt like they needed to stand out just a bit more in light mode.
2022-12-06 11:23:04 -05:00
Chase Carroll 5648b13517 Tidy up. 2022-12-05 20:22:50 -05:00
Chase Carroll 7f58422900 Add debug menu option
Puts an option in the debug menu for toggling on/off visible touches.
2022-12-05 10:32:10 -05:00
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
Rose 8f61562355 Fix compiler warnings
Including fixing some deprecations
2022-11-21 10:12:54 -05: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
David Godfrey 082ddc38e2 Merge remote-tracking branch 'theirs/develop' into feature/validated-fields 2022-11-12 14:45:49 +00:00
David Godfrey 197e180ccd Refactor verified alert to use edit menu 2022-11-12 14:42:00 +00:00
David Godfrey 72873fbfc1 Use localisable strings in verified modal 2022-11-12 02:40:19 +00:00
Kyle Bashour daeb2ef70f wip 2022-11-11 18:35:18 -08:00
David Godfrey b0a0aa268f Rename validated to verified in profile field code 2022-11-12 02:10:16 +00:00
David Godfrey 35775a5b43 Alert validation time on tapping field checkmark, make validated field links green 2022-11-12 01:53:12 +00:00
David Godfrey c3009d6009 Add visual indication that a url has been validated in a profile's fields 2022-11-11 20:34:26 +00:00
woxtu 9322a0abc8 Replace a deprecated method 2022-11-12 00:33:18 +09:00
CMK f7d0186bf3 feat: add compress progress display. Set video compress config to 720p at 60 fps 2022-11-11 21:28:19 +08:00
CMK 0100d8cbab feat: compress video before upload 2022-11-11 19:02:44 +08:00
CMK 088e6f05ec feat: upload media in queue 2022-11-11 18:10:13 +08:00
Natalia Ossipova 38221e0599 Remove mute/block/report from menu for own toots (#519) 2022-11-10 17:17:22 +01:00
CMK d6b90f40bd feat: add simple progress remain time estimate 2022-11-10 18:36:36 +08:00
CMK fec7db2f41 Merge branch 'develop' into feature-compose-media 2022-11-10 16:27:49 +08:00
Jed Fox ed9911ca76
Rename tab to “Notifications” 2022-11-09 17:30:57 -05:00
Jed Fox c2232a596d
Improve accessibility labels for reply/reblog posts 2022-11-09 16:59:02 -05:00
Jed Fox 393e4632da
Add secondary actions to notifications 2022-11-09 16:33:54 -05:00
Jed Fox b3bc6dc273
Add accessibility labels to notifications, only have 1 element per notification 2022-11-09 15:50:36 -05:00
Jed Fox 8e7bdd4aec
Allow content warning descriptions to be on multiple lines 2022-11-09 14:01:49 -05:00
Nathan Mattes ceee4bcf48
Merge pull request #502 from j-f1/a11y-post-links
Add accessibility actions for links/mentions/hashtags in posts
2022-11-09 15:47:49 +01:00
Jed Fox 2ca6c2badf
Merge remote-tracking branch 'upstream/develop' into account-switcher-a11y 2022-11-09 07:42:25 -05:00
Nathan Mattes b5943d48cf Generate new localized strings 2022-11-09 07:37:37 +01:00
Jed Fox 60b69ca2e5
Add real localization keys 2022-11-08 13:50:23 -05:00
Jed Fox eef012678b
Merge remote-tracking branch 'upstream/develop' into compose-a11y 2022-11-08 13:42:03 -05:00
Jed Fox b2d26078c1
Update localization 2022-11-08 13:37:55 -05:00
Jed Fox 24c426f7f3
Add localization info 2022-11-08 13:30:17 -05:00
Nathan Mattes 21800a4c81 Add optionSet for reblog again (#365) 2022-11-08 16:38:01 +01:00
Nathan Mattes 00ab7ac2b0 Remove RelationshipActionOption for reblogs again (#365) 2022-11-08 16:38:01 +01:00
Nathan Mattes 143a9b3294 Get rid of SwiftyJSON
it's not used anymore.
2022-11-08 16:38:01 +01:00
Nathan Mattes 746d70f3e0 [WIP] Show show/hide-reblog-menu-entry only for people you already follow (#365)
Please consider this WIP, as the breaks the ProfileRelationshipActionButton, somethingsomething RelationshipActionOptionSet for whatever reason, I assume.

Also: fixed some typos and warnings.
2022-11-08 16:38:01 +01:00
Nathan Mattes 1ac9e5c730 Fix build (again) (#365)
🤦
2022-11-08 16:38:01 +01:00
Nathan Mattes ee523c098e Make show/hide reblogs finally work (#365)
oh, and also indent to 4 spaces.

I needed some time to wrap my head around the data model and especially the various view-models, but hey, in the end it works. I still feel like this "I have no idea what I'm doing"-dog :D
2022-11-08 16:38:01 +01:00
Nathan Mattes 18720a9a51 Add localized strings (#365) 2022-11-08 16:38:01 +01:00
Nathan Mattes 28749b5029 Fix build (#365)
🙈
2022-11-08 16:38:01 +01:00
Nathan Mattes b719d84d3f [WIP] Toggle showReblogs-status on mastodon-server 2022-11-08 16:38:01 +01:00
Nathan Mattes ce0e56b84e Add showsReblog to CoreData/persistence (#365) 2022-11-08 16:38:01 +01:00
Nathan Mattes ff65f50689 Add menu-entry for show/hide reblogs (#365)
translations are still missing, as well as viewModel/networking-stuff.
2022-11-08 16:38:01 +01:00
Jed Fox 99b59dde70
Merge remote-tracking branch 'upstream/develop' into a11y-post-links 2022-11-08 10:15:10 -05:00
CMK bdedd54318 feat: bind the thumbnail and trigger media upload task 2022-11-08 19:40:58 +08:00
CMK fc3750c377 feat: add mediaView for compose scene 2022-11-08 16:39:19 +08:00
Jed Fox aa87340345
set up translations for link labels 2022-11-07 18:21:19 -05:00
Jed Fox 549739b6cb
Add new strings to Localization folder 2022-11-07 06:26:28 -05:00
Jed Fox 022f8c1115
Clarify meaning of character counter 2022-11-06 20:52:22 -05:00
Jed Fox 7ac9e7c564
Add description to compose content toolbar container 2022-11-06 20:52:22 -05:00
Jed Fox 7a3b9205e5
Add missing labels to compose toolbar 2022-11-06 20:52:22 -05:00
Jed Fox d489943b45
Improve ComposeContentView.avatarView label 2022-11-06 20:52:22 -05:00
CMK a7cbbc0239 fix: compile failure issue 2022-11-04 13:28:09 +08:00
Jed Fox 1ce756a849
Add accessibility actions for links/mentions/hashtags in posts 2022-11-03 14:59:58 -04:00
Jed Fox ceece731a4
Use LPLinkMetadata to improve sharing behavior 2022-11-03 11:18:09 -04:00
Jed Fox d7739340f2
Merge remote-tracking branch 'upstream/develop' into post-author-a11y 2022-11-01 09:40:01 -04:00
CMK 0b0d7fcd48 chore: cherry pick 00eddc2aae from feature-post-edit branch 2022-11-01 14:34:00 +08:00
CMK 060aec6bcb Merge branch 'release-1.4.6' into feature/package-refactor
# Conflicts:
#	.arkana.yml
#	AppShared/Info.plist
#	Documentation/Setup.md
#	Gemfile
#	Gemfile.lock
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	MastodonSDK/Package.swift
#	MastodonSDK/Sources/MastodonCore/AppSecret.swift
#	MastodonSDK/Sources/MastodonCore/Service/Notification/NotificationService.swift
#	Podfile
#	Podfile.lock
2022-11-01 14:14:00 +08:00
Jed Fox 211ff344fb
Update reply button labelling to match the others 2022-10-31 15:07:27 -04:00
Jed Fox 98b87a0b20
fix removing status metric view from a11y heirarchy 2022-10-31 13:20:53 -04:00
Jed Fox 4da11c9dfb
Mark the spoiler overlay view as a button 2022-10-31 13:15:29 -04:00
Jed Fox 8f3caba089
Remove the status metric view from the accessibility hierarchy 2022-10-31 12:40:18 -04:00
Jed Fox 3876855bc9
Move the post author information to a custom subview that handles accessibility 2022-10-31 12:01:14 -04:00
Jed Fox 87e05ecdab
Add support for UIAccessibilityCustomAction in MastodonMenu 2022-10-31 11:32:31 -04:00
CMK a7d5e23406 feat: [WIP] restore compose status publish function with background task support 2022-10-31 20:41:19 +08:00
CMK 668a1d28e2 fix: AccountList scene not display items issue 2022-10-31 14:47:13 +08:00
CMK 3100c59a3b feat: restore content warning input with black-yellow strip edges 2022-10-28 19:06:18 +08:00
CMK b12825a96a feat: restore compose poll expire option 2022-10-26 18:58:25 +08:00
CMK 0a3f19bdd3 feat: restore compose poll options 2022-10-26 18:35:10 +08:00
CMK 44a8b818e4 feat: [WIP] restore compose poll view 2022-10-21 19:12:44 +08:00
CMK f1b5c52815 feat: restore the compose toolbar layout using SwiftUI 2022-10-18 19:01:31 +08:00
CMK 4367e8eaba feat: [WP] restore the content compose via SwiftUI and support expandable reply view for compose scene 2022-10-11 18:31:40 +08:00
CMK 02e3ad9a16 chore: [WIP] restore the replyTo entry for compose 2022-10-10 19:14:52 +08:00
CMK 56f04db40f chore: fix compile issue 2022-10-09 21:40:02 +08:00
CMK bb5c999bea chore: [WIP] inject AuthContext into ViewModel 2022-10-09 20:07:57 +08:00
CMK f73241caee chore: inject AuthContext 2022-10-08 15:16:10 +08:00
CMK db86bce8cf fix: Podfile target issue 2022-10-08 14:04:49 +08:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +08:00
CMK 64f3d2fe3a chore: [WIP] move core logic into package 2022-09-30 19:28:09 +08:00
nyaxix 213ef94ec5 Add bookmarking and bookmarks view
Based heavily on the work for favorites.

Adds bookmarking functionality to the application. The status view has been updated to include a bookmark button that can bookmark/unbookmark a status. The profile page has been updated to include a button in the header to navigate to a page that lists your bookmarks.
2022-08-14 17:51:36 -05:00
CMK c58f3a2be8 chore: rearrange project package dependency to resolve packet signature issue 2022-07-27 19:46:42 +08:00
CMK 78b2259b8f chore: replace CocoaPods-Keys with Arkana 2022-07-15 11:34:16 +08:00
CMK d4ed7105da chore: update i18n resources 2022-07-15 04:19:44 +08:00
CMK 4bebdf7edf
Merge pull request #467 from mastodon/fix-ui-appearance
Fix some UI appearance issues
2022-07-15 04:14:10 +08:00
CMK 65dcf7d6c2 fix: discovery For You profile card has the same color in the true dark mode issue 2022-07-15 03:32:23 +08:00
CMK 0be721be3b feat: update follow request UI 2022-07-13 17:44:47 +08:00
CMK ee497e9046 chore: update i18n resources 2022-07-01 14:03:26 +08:00
CMK 43c8cd51b6 Merge branch 'feature-purple-tint' into release-1.4.5
# Conflicts:
#	AppShared/Info.plist
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon/Info.plist
#	MastodonIntent/Info.plist
#	MastodonTests/Info.plist
#	MastodonUITests/Info.plist
#	NotificationService/Info.plist
#	ShareActionExtension/Info.plist
2022-07-01 14:01:16 +08:00
CMK 26a44b93f2 chore: use i18n words for follow request action 2022-06-30 15:58:09 +08:00
CMK dd87330a0f chore: update i18n resources 2022-06-30 15:53:05 +08:00
CMK 8a5d26dc38 feat: add follow request notification UX. resolve #390 #458 2022-06-30 15:02:24 +08:00
CMK 68c5a8f5d6 Merge branch 'develop' into feature/notification-friendship 2022-06-29 14:42:35 +08:00
CMK bcfdaf2ca7 feat: add interaction for follow request notification 2022-06-28 19:00:39 +08:00
CMK 34b3cad365 Merge branch 'release-1.4.4' into feature-purple-tint
# Conflicts:
#	AppShared/Info.plist
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon/Info.plist
#	MastodonIntent/Info.plist
#	MastodonTests/Info.plist
#	MastodonUITests/Info.plist
#	NotificationService/Info.plist
#	ShareActionExtension/Info.plist
2022-06-14 14:28:35 +08:00
CMK 5c0b50701f chore: update i18n resources 2022-06-14 14:12:43 +08:00
CMK b0027ebcf6 fix: profile fields cannot display issue. Fix race condition in edit fields workflow 2022-06-14 13:44:32 +08:00
CMK 930c175ce3 feat: update poll tint color 2022-06-14 13:16:54 +08:00
CMK 69d790c45d feat: allow select accounts for SendPost Siri shortcut intent. resolve #446 2022-06-09 18:09:28 +08:00
Sven Weidauer 1b97feba62 Warning fixes 2022-06-06 13:42:27 +02:00
CMK 1f13012812 chore: update dark style for tint color 2022-06-05 16:31:56 +08:00
CMK 0fe067420f Merge branch 'release-1.4.3' into feature-purple-tint
# Conflicts:
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
2022-06-02 18:58:21 +08:00
CMK 5394ba93a4 fix: paragraph spacing may lost issue 2022-06-02 18:37:24 +08:00
CMK daf96915d2 chore: update i18n resources 2022-06-02 17:52:03 +08:00
CMK 0c8e7d2cea feat: update to new purple tint color 2022-06-02 17:48:18 +08:00
CMK fceee88ea6 fix: notification includes admin mod type issue
ref: https://github.com/mastodon/mastodon/pull/17767
2022-05-27 00:00:27 +08:00
CMK ad63c512df fix: refactor the profile UI to fix internal AutoLayout crash issue. resolve #440 2022-05-26 23:19:47 +08:00
CMK 503fcfab2a chore: [WIP] refactor profile UI 2022-05-26 02:51:02 +08:00
CMK b221599677 chore: update i18n resources 2022-05-23 12:10:55 +08:00
CMK 2878134551 chore: update timestamp style. Only display time ago style in one week 2022-05-23 12:09:44 +08:00
CMK e1c670a7ed chore: update i18n resources 2022-05-23 11:03:34 +08:00
CMK f87a6096d7 chore: add Finnish language 2022-05-19 11:21:40 +08:00
CMK 4b5c15e23a chore: update i18n resources 2022-05-19 10:55:05 +08:00
CMK e119a06bba chore: using i18n strings 2022-05-17 23:27:58 +08:00
CMK 05c5b77bbd chore: update i18n resources 2022-05-17 22:36:58 +08:00
CMK e1710299d5 feat: add reblogged by and favorited by user list entry for status 2022-05-17 22:09:43 +08:00
CMK 57c40b9050 feat: add familiar followers list 2022-05-17 18:49:29 +08:00
CMK ce59a18d3e feat: add custom emoji and Dynamic Type supports for familiar followers component 2022-05-17 17:40:19 +08:00
CMK bfd892e84e fix: status view header icon layout trimmed under "Accessibility XXXL" size issue 2022-05-17 17:03:19 +08:00
CMK 531f71b77d feat: add familiar followers UI component for ProfileCard 2022-05-16 19:42:41 +08:00
CMK 945f05703b feat: add familiar followers endpoint 2022-05-16 19:42:41 +08:00
CMK 00cc131dd2 feat: update report API endpoint 2022-05-16 16:14:41 +08:00
CMK 384e0aff87 chore: update i18n resources 2022-05-13 18:42:25 +08:00
CMK 02f383129f chore: update strings mapping and i18n resources 2022-05-13 12:46:37 +08:00
CMK 70a6e11d30 chore: use i18n strings for report flow 2022-05-11 21:10:10 +08:00
CMK 11762100eb chore: update i18n resources 2022-05-11 20:55:37 +08:00
CMK 3672db37f0 Merge branch 'develop' into feature-report-flow
# Conflicts:
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
2022-05-11 20:55:01 +08:00
CMK 945241e730 fix: NewsView image layout not fixed issue 2022-05-11 18:39:34 +08:00
CMK 590aa1336e chore: update i18n resources 2022-05-11 15:02:47 +08:00
CMK 8aa8825269 chore: suppress warnings 2022-05-07 11:42:10 +08:00
CMK ca0a697cd0 chore: update navigation bar button item assets 2022-05-06 15:17:26 +08:00
CMK f385658d70 feat: update tabBar UI 2022-05-06 14:29:34 +08:00
CMK 589c3e8307 chore: update i18n resources 2022-04-29 18:46:24 +08:00
CMK 2a8305a6a0 fix: workaround post render crash issue #404 2022-04-29 18:45:08 +08:00
CMK b2b81e27e8 feat: add Chinese Traditional, Galician, Italian, and Turkish languages 2022-04-29 15:34:23 +08:00
CMK 64a87a7aab feat: add Sorani (Kurdish) language 2022-04-29 15:25:39 +08:00
CMK c58315b8bd chore: update i18n resources 2022-04-29 15:05:22 +08:00
CMK 60a69cff20 chore: rearrange package dependency to fix CI build issue 2022-04-29 14:38:18 +08:00
CMK 285618d081 fix: CI build issue 2022-04-29 13:54:20 +08:00
CMK 0548aa5f56 feat: add Community tab into discovery scene 2022-04-29 13:35:03 +08:00
CMK afc424e610 chore: update i18n resources 2022-04-27 20:37:04 +08:00
CMK 2ae3f21a99 fix: add missing error prompt for sign up scene 2022-04-27 17:37:03 +08:00
CMK d70f734957 feat: add discovery intro banner 2022-04-19 21:34:49 +08:00
CMK 1d96609003 fix: ProfileCardView layout initial setup failure issue 2022-04-19 20:57:21 +08:00
CMK 5133ba3fcb chore: update i18n resources 2022-04-18 17:53:52 +08:00
CMK 64640edd2b feat: add ProfileCardView a11y supports 2022-04-18 17:44:19 +08:00
CMK 80fe24ed22 fix: extend corner radius for ProfileCard avatar background 2022-04-18 17:18:24 +08:00
CMK 03af68924c feat: add favicon for NewsView 2022-04-18 17:14:49 +08:00
CMK 7772783555 fix: pick sever search bar accessible a11y issue 2022-04-18 16:56:29 +08:00
CMK 41e1b75c62 feat: add sensitive hint label for status media 2022-04-18 16:15:24 +08:00
CMK c4ab4f68c6 fix: status sensitive toggle logic issue 2022-04-18 15:33:29 +08:00
CMK c57c3b4304 feat: make adaptive profile card layout on iPad when search tab display as compact column 2022-04-18 10:47:55 +08:00
CMK 9477071556 chore: update i18n 2022-04-15 17:33:48 +08:00
CMK f5aaf2737f feat: add discovery endpoint check logic and handle relationship action 2022-04-15 17:17:39 +08:00
CMK b0fca49413 feat: add For You tab for Discovery scene 2022-04-14 21:15:21 +08:00
CMK 8e0d526708 chore: fix CI build issue 2022-04-13 20:54:34 +08:00
CMK 080f20d253 feat: add hashtag and news list for Discovery scene 2022-04-13 20:43:16 +08:00
CMK af619e198a feat: add Discovery page with posts segment 2022-04-12 17:32:38 +08:00
CMK 67aa1d670b fix: non-ascii character in URL can not open issue. resolve #304 2022-04-11 12:27:26 +08:00
CMK 2a986ec1ce fix: media sensitive button logic issue 2022-04-07 19:49:04 +08:00
CMK 4c1870f921 chore: update body font size to 17pt 2022-04-07 19:28:06 +08:00
CMK 2ecf92dbe5 chore: update secondary label color 2022-04-07 19:27:47 +08:00
CMK 8a8ac759e0 chore: update i18n resources 2022-04-01 10:04:38 +08:00
CMK 2083ef019e Merge branch 'develop' into release/1.3.0 2022-03-19 02:52:28 +08:00
CMK a2ac3ea5d3 chore: retain the API model semantic 2022-03-19 01:19:07 +08:00
CMK 57f4dd9cd6 chore: update i18n resources. resolve #343 2022-03-19 01:08:30 +08:00
Zac West 7da4c186e1 Handle onboarding authentication errors in /api/v1/instance 2022-03-15 20:17:27 -07:00
CMK e6ee02b2b9 feat: add onion domain ATS exception rule. resolve #338 2022-03-16 02:24:59 +08:00
CMK fe14e17810 fix: share extension not accept plaintext content issue. resolve #335 2022-03-10 17:12:36 +08:00
CMK fc2300804a chore: update i18n resources 2022-03-10 17:11:36 +08:00
CMK b772576412 chore: update settings scene UI 2022-03-10 16:20:25 +08:00
CMK 91e2882154 chore: update horizontal compact mode notification timeline margin looks like 2022-02-18 19:09:12 +08:00
CMK cc3826dd1f fix: profile segmented bar use wrong tint color when force Dark Mode issue 2022-02-18 18:55:52 +08:00
CMK 8e880326eb chore: update profile header and segmented bar margin 2022-02-18 18:55:26 +08:00
CMK 78fc34c08d chore: update notification timeline margin 2022-02-18 18:25:26 +08:00
CMK 1d827e7597 chore: update sidebar background color 2022-02-18 17:52:48 +08:00
CMK a1b9ac8394 chore: update status timeline margin 2022-02-18 17:49:20 +08:00
CMK eba1f69bf6 fix: player button icon not reset issue 2022-02-17 10:47:15 +08:00
CMK c488e53863 fix: relationship background use wrong color when force dark style 2022-02-17 10:46:40 +08:00
CMK 7da3bbcaa7 feat: restore user recommend scene 2022-02-16 17:25:55 +08:00
CMK 4c41e94f8d fix: blurhash image not display during image loading issue 2022-02-15 20:12:53 +08:00
CMK 18a902c8ae chore: update post content sensitive style 2022-02-15 20:08:39 +08:00
CMK 792208aebb feat: restore post filter supports 2022-02-15 19:44:45 +08:00
CMK d4a4e4ba3d chore: update color panel 2022-02-15 18:16:09 +08:00
CMK 94470c9f1b chore: update profile relationship button UI 2022-02-15 17:13:02 +08:00
CMK 0b1dc13894 chore: restore RTL layout for post content 2022-02-15 16:25:29 +08:00
CMK 74334126f0 chore: update i18n strings 2022-02-15 14:45:34 +08:00