Commit Graph

53 Commits

Author SHA1 Message Date
Marcus Kida 2e7054cb68
Implement "Default Post Language" and "Ask Before"-Alerts (#1240)
* Implement Settings->General->"Ask Before" and add "Ask Before Posting Without Alt Text" IOS-166

* Implement Alt Missing Alert for Status Edits (IOS-166)

* Fix status edit composes duplicate message

* Show (or don't) the "Really delete post?" Alert based on the User's preference (IOS-166)

* Implement alert for boost/unboost (IOS-166)

* Begin implementing "Default Post Language"-Setting (IOS-166)

* Show "Unfollow @user?" Alert (IOS-166)

* Merge conflict fixes for IOS-166

* Implement default post language setting (IOS-166)

* Fix follow button state not updated correctly (IOS-166)

* Add PR feedback (IOS-166)

* Improve default language cell style (IOS-166)

* Fix language filter broken (IOS-166)
2024-02-28 10:52:04 +01:00
Nathan Mattes a170a462ee Remove nested tasks (IOS-192) 2024-02-20 16:47:55 +01:00
Nathan Mattes 91e3b63f1f Rework relationship-notification (IOS-192)
They get sent from the DataSourceFacade now
2024-02-16 12:16:55 +01:00
Nathan Mattes c523f97d0c Merge branch 'develop' into ios-192-profile-about
# Conflicts:
#	MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift
2024-02-09 12:43:56 +01:00
Nathan Mattes 23a505b321
Show more metadata for posts (#1200)
* Show first image when sharing (#1199)

* Don't share custom metadata (#1199)

🤦 that was way to easy, thanks docs!

* If we only share an URL, we don't need metadata (#1199)
2024-02-09 11:14:51 +01: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 5773ceb2ad
Fix build (#1220) 2024-01-31 10:07:31 +01:00
Marcus Kida 383a75ea48
Improve status updating mechanism (#1210) 2024-01-30 23:02:13 +01:00
Marcus Kida 976f934df9
Remove Status from CoreData (#1167) 2024-01-08 11:17:40 +01:00
Nathan Mattes 96fddaef27 192-profile-about
# Conflicts:
#	Mastodon/Protocol/Provider/DataSourceFacade+Status.swift
#	Mastodon/Scene/Profile/Header/View/ProfileHeaderView+ViewModel.swift
#	Mastodon/Scene/Profile/ProfileViewController.swift
#	MastodonSDK/Sources/MastodonUI/ViewModel/RelationshipViewModel.swift
2024-01-02 12:15:15 +01:00
Nathan Mattes 47986262bc Use relationships in Report-process (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes 6225c50008 Add some actions to Relationship-action-button (IOS-192)
Well, it's basically just unblock, unmute or follow/unfollow
2023-12-31 12:57:56 +01:00
Nathan Mattes 2f0614d9c9 Refactor Mute/Block/HideReblogs to work with relationships (IOS-192)
Also: Connect Blocking/BlockedBy
2023-12-31 12:57:56 +01:00
Nathan Mattes f373506aa3 Remove user from UserItem-lists (IOS-192)
Also: Remove CoreData and replace User with Account in several places
2023-12-31 12:57:56 +01:00
Nathan Mattes 2be8d5b8df WIP: Comment out and replace user with status (IOS-192) 2023-12-31 12:56:59 +01:00
Marcus Kida 405b175bdf
Implement alternative Author for DataSourceFacade.MenuContext (IOS-176) 2023-12-27 14:46:31 +01:00
Nathan Mattes 4322607552 Localize Domain Block (IOS-5) 2023-12-19 13:12:32 +01:00
Nathan Mattes 7a67b595a3 Add block-action to profile-menu (IOS-5) 2023-12-18 20:26:27 +01:00
Marcus Kida c30fb73922
Fix status deletion not updating data model (IOS-205) 2023-12-05 12:28:36 +01:00
Marcus Kida 45accb29e6
Fix CW cannot be hidden (IOS-176) 2023-11-28 10:46:24 +01:00
Marcus Kida 9809e69751
Fix favorite action (IOS-176) 2023-11-22 21:18:25 +01:00
Marcus Kida b010b6112e
Remove usage of Status (IOS-176) 2023-11-22 12:32:04 +01:00
Nathan Mattes 87cb71da5d Get rid of translation-persistence 2023-10-16 13:28:12 +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
Jed Fox 414df3154a
IOS-92: Enlarge post action buttons at larger text sizes (#927) 2023-03-20 08:39:11 +01:00
Nathan Mattes 0c224f47df
Implement post editing / edit history (#875)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2023-03-02 11:06:13 +01:00
Marcus Kida 35dfd13c96
fix(share-menu): Fixes URL for shared status when using suare.and.arrow.up share menu on status 2023-01-09 15:48:56 +01:00
Jed Fox 0c8c9778b0
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-15 07:46:37 -05:00
Marcus Kida 58dcadf642
feat: Implement error-handling for translation 2022-12-09 16:12:13 +01: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 ebf3835403
extract out StatusActivityItem class 2022-12-03 13:09:04 -05:00
Marcus Kida 9affb0f637
feat: Implement `translatedContent` which can be used to replace the StatusView content 2022-12-02 23:15:06 +01:00
CMK 2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
Nathan Mattes 96c3e17531 Fix some warnings 2022-11-17 23:16:21 +01:00
Marcus Kida ccaffe031e
fix: Local user's domain is shown for remote users when sharing a post 2022-11-16 15:03:20 +01:00
Nathan Mattes 18720a9a51 Add localized strings (#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 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 ceece731a4
Use LPLinkMetadata to improve sharing behavior 2022-11-03 11:18:09 -04:00
tejuamirthi bd851e4e1c update menu action title message i18n string 2022-11-02 22:17:57 +05:30
CMK 0b0d7fcd48 chore: cherry pick 00eddc2aae from feature-post-edit branch 2022-11-01 14:34:00 +08:00
CMK 02e3ad9a16 chore: [WIP] restore the replyTo entry for compose 2022-10-10 19:14:52 +08:00
CMK bb5c999bea chore: [WIP] inject AuthContext into ViewModel 2022-10-09 20:07:57 +08:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +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 c4ab4f68c6 fix: status sensitive toggle logic issue 2022-04-18 15:33:29 +08:00
CMK bb4f9f8e20 feat: restore keyboard shortcut supports 2022-02-16 19:47:51 +08:00
CMK 0bc128ba79 feat: add content warning toggle button 2022-02-11 20:21:28 +08:00
CMK d3e8f85cb3 feat: add notification timeline fetcher 2022-02-11 19:27:14 +08:00