Commit Graph

1029 Commits

Author SHA1 Message Date
Marcus Kida a1cd1690fa
Implement cache for Notifications (IOS-200) 2023-12-04 11:04:00 +01:00
Marcus Kida 63e45d65f9
Fix notifications show empty view (IOS-198) 2023-12-04 10:14:42 +01:00
Marcus Kida b57f38ddc5
Fix status eventuall nil MastodonNotification 2023-12-04 09:56:48 +01:00
Marcus Kida 5532324f83
Implement caching for home timeline items (IOS-176) 2023-12-01 10:47:18 +01:00
Marcus Kida e6ba8db5b6
Merge branch 'develop' into remove_status 2023-12-01 09:59:37 +01:00
Nathan Mattes 7b8898a1ae 🤦 (#1178) 2023-11-30 16:39:46 +01:00
Nathan Mattes 5928592aa7 Don't throw when one account can't be authenticated (#1178) 2023-11-30 16:35:53 +01:00
Marcus Kida 1f73bee772
Improve StatusFetchedResultsController update handling (IOS-176) 2023-11-28 12:23:14 +01:00
Marcus Kida 66b2bfd5cd
Fix missing case in StatusFetchedResultsController 2023-11-28 12:04:08 +01:00
Marcus Kida 7ad0b15b32
Fix bookmarked state (IOS-176) 2023-11-28 11:13:13 +01:00
Marcus Kida 45accb29e6
Fix CW cannot be hidden (IOS-176) 2023-11-28 10:46:24 +01:00
Marcus Kida 03aeb1fa7e
Merge branch 'develop' into remove_status 2023-11-28 09:50:56 +01:00
Marcus Kida a322a46fdf
Don't try to resolve self-relationship 2023-11-28 09:13:24 +01:00
Nathan Mattes 3ee2024c3b
Merge pull request #1177 from mastodon/ios-196-search
Remove CoreData for Tags/Users on Search
2023-11-27 15:04:21 +01:00
Marcus Kida cc3f1d030f
Merge branch 'develop' into remove_status 2023-11-27 14:02:39 +01:00
Marcus Kida c7d62d56a2
Fix handling of (re-)reblogged and favorites state in home timeline (IOS-176) 2023-11-27 11:18:43 +01:00
Nathan Mattes ad154a0c92 Update strings 2023-11-24 21:27:08 +01:00
Nathan Mattes d39aea7089 Update localizations 2023-11-24 21:24:21 +01:00
Marcus Kida 1a1eecac64 Delete authentication credentials from Keychain upon logout
Fixes #1181
2023-11-24 21:20:04 +01:00
Nathan Mattes 1514e5a2c2 Slight refactor paths (IOS-196) 2023-11-23 15:07:37 +01:00
Nathan Mattes 1e780481d1 Remove SearchHistory from Core Data (IOS-196) 2023-11-23 14:50:49 +01:00
Nathan Mattes 9c662f4d78 Remove FetchedResultsController for SearchHistory (IOS-196) 2023-11-23 14:30:53 +01:00
Nathan Mattes 59c6d31ca4 [WIP] Remove CoreData for Tags/Accounts in Search (IOS-196)
- Add basic, json-based persistence (it's WIP and pragmatic aka dirty, see FileManager+SearchHistory)
2023-11-23 13:58:56 +01:00
Marcus Kida e0671eb324
Reimplement favorite/reblog state (IOS-176) 2023-11-23 11:21:52 +01:00
Marcus Kida 9809e69751
Fix favorite action (IOS-176) 2023-11-22 21:18:25 +01:00
Marcus Kida e3f3e2c662
Merge branch 'develop' into remove_status 2023-11-22 13:22:49 +01:00
Marcus Kida 9ce078ce3e
Fix loading of home timeline (IOS-176) 2023-11-22 13:18:41 +01:00
Marcus Kida b010b6112e
Remove usage of Status (IOS-176) 2023-11-22 12:32:04 +01:00
Nathan Mattes 873c5befe2 Re-enable A11y (IOS-194) 2023-11-20 13:00:37 +01:00
Nathan Mattes 32520be6c9 Fix background color (IOS-194) 2023-11-20 12:35:13 +01:00
Nathan Mattes 4b298f6bd8 [WIP] Remove Core Data from Suggested Accounts/Familiar Followers (IOS-194) 2023-11-20 11:30:42 +01:00
Nathan Mattes a2aa9b70d2 Fix some warnings 2023-11-16 10:28:20 +01:00
Nathan Mattes 9947335b20 Use url for hashable/equatable (IOS-190)
and do some refactoring
2023-11-16 10:03:33 +01:00
Nathan Mattes 92fcd2e665 Make account conform to hashable (IOS-190) 2023-11-16 09:33:29 +01:00
Nathan Mattes ed426a950c Update strings 2023-11-15 12:52:07 +01:00
Marcus Kida e1f5d85a78
fix: weak link VisionKit to fix crash when running on iOS 16 (#1161) 2023-11-15 12:39:08 +01:00
Nathan Mattes b7a63239f6 Use correct language-code for Armenian 2023-11-14 13:41:54 +01:00
Nathan Mattes f29935af59 Fix build 🤦
Commit 6.000!
2023-11-14 13:03:14 +01:00
Nathan Mattes 9a6dd38e7f Update strings 2023-11-14 12:51:28 +01:00
Nathan Mattes 2f5169d0c3 Add pull to refresh (IOS-186) 2023-11-10 13:55:18 +01:00
Nathan Mattes 9975fd56d9 Make "Followed Hashtags"-screen work with entities (IOS-186) 2023-11-10 13:55:18 +01:00
Nathan Mattes d7c640908e
Merge pull request #1150 from mastodon/1147-armenian-localization
Add Armenian Localization (#1147)
2023-11-10 12:17:22 +01:00
Marcus Kida 5c834c7e09
IOS-175: Remove CoreData status edit (#1148) 2023-11-10 11:32:02 +01:00
Nathan Mattes 38b4ab062e Add Armenian Localization (#1147) 2023-11-10 11:05:17 +01:00
Nathan Mattes e445564e0a Doublecheck fonts and constraints (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes c764db270e Use different assets for dark/light-mode (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes 6e22868f55 Remove obsolete asset (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes 59755b6d70 Adjust fonts, icon and colors for updated verified-design (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes 77bf1ab03d Use correct domain to find users 2023-11-04 15:11:42 +01:00
Nathan Mattes 242f351e10 Update follow-button-state after (un)following a person 2023-10-24 15:42:23 +02:00
Nathan Mattes d15181dcb6 Show profile on tap
Bridge account to user as long as Profile-screen doesn't work with Mastodon.Entity.Account, but MastodonUser
2023-10-23 13:57:50 +02:00
Nathan Mattes 19d67d6dab Don't Ddos servers for fetching each relatinoship individually 2023-10-23 12:18:03 +02:00
Nathan Mattes c26467c904 Add spinner to loading-state (and fix some colors) 2023-10-20 18:53:03 +02:00
Nathan Mattes 7432b6f22b Show account-information from entities 2023-10-20 17:49:48 +02:00
Nathan Mattes 1750ef83a6 Implement follow/unfollow and block/unblock for `Mastodon.Entity.Account` 2023-10-19 15:12:24 +02:00
Nathan Mattes b92ffe8a46 Duplicate methods to work with Entity.Account
This is preparation, but as you know: Proper Preperation and Planning Prevent Piss Poor Performance
2023-10-19 14:39:07 +02:00
Nathan Mattes e640befd9e Get rid of FollowButton 2023-10-19 13:21:11 +02:00
Nathan Mattes fb0758eac4 Remove duplicate conformance
automatic conformance FTW!
2023-10-19 13:18:44 +02:00
Nathan Mattes 94c51eaed6 Migrate FollowButton to use UIButton.Configuration
also: Refactor Button-Background-Stuff
2023-10-19 13:10:14 +02:00
Nathan Mattes fdfed0a09b Refactor way to determine if translation is enabled 2023-10-18 14:34:20 +02:00
Nathan Mattes e1d1ef83e6 Don't show translation-option for statuses with the same language as the device 2023-10-17 12:51:45 +02:00
Nathan Mattes c3ef66aeaa Send the device-language to translate-endpoint 2023-10-17 12:48:01 +02:00
Nathan Mattes 3850c24b93 Remove duplicate properties 2023-10-16 18:19:52 +02:00
Nathan Mattes 87cb71da5d Get rid of translation-persistence 2023-10-16 13:28:12 +02:00
Nathan Mattes af9cce34eb Receive some actions on main-queue 2023-10-11 16:33:04 +02:00
Nathan Mattes 6df7cf8a80 Don't use core data in memory (for now) 2023-10-11 15:52:05 +02:00
Nathan Mattes 544869c9f9 Fix crash
Class couldn't be found, so CoreData complained
2023-10-11 15:37:32 +02:00
Nathan Mattes 785751aca4 Merge branch 'develop' into performance_experiments 2023-10-11 13:04:29 +02:00
Nathan Mattes 143e9ad683 Add missing piece of localization (IOS-20) 2023-10-10 14:00:32 +02:00
Nathan Mattes 2087c24cec Minor UI-fixes (IOS-20)
- Improve Image Download and add a placeholderimage
- Fix dark mode colors
- calculate header/footer-size based on the width of the table view (TIL!)
- Remove some old assets
2023-10-10 13:55:57 +02:00
Nathan Mattes b8eea23108 Localization. Localization everywhere! (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes 6397a8329b Add a footerview that shows legal information (IOS-20)
This is kind of WIP as not the whole text is shown for unknown reasons
2023-10-10 13:55:57 +02:00
Nathan Mattes ba2f1f5f40 Make extended-description-download work properly (IOS-20)
APIService was missing and URL was wrong
2023-10-10 13:55:57 +02:00
Nathan Mattes 0e0855982f Add localization (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes 84944c02b9 Fix V2-instance (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes 28792eca4c Hide followers in preparation for (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes 8866066266 Add and download extended description (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes afd90d62e8 Add settings-entry for server-details (IOS-14, IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes 132af03bb2
Set Deployment Target to iOS 16 (#1125)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-09-29 19:31:22 +02:00
Marcus Kida 943f3bc778
Merge branch 'develop' into performance_experiments 2023-09-29 12:43:34 +02:00
Nathan Mattes 1c92d60c1a Set CoreData-version
🤦
2023-09-28 16:05:12 +02:00
Nathan Mattes 548798e401 Update CoreData-model to remove old settings (IOS-14)
They're stored in UserDefaults and this is kind of redundant. So: Bye!

Thanks @kimar
2023-09-28 15:51:35 +02:00
Nathan Mattes bbf7c541bb Minor Cleanup (IOS-14) 2023-09-27 17:51:47 +02:00
Nathan Mattes 65f39f4b61 Sprinkle in some localization (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes ba0f689acd Set notification-types (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes f2180034ee Read notification-setting from CoreData (IOS-14)
aka subscription
2023-09-27 15:12:43 +02:00
Nathan Mattes 67e3078df9 Sprinkle in some localizations on Notificaiton-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 24724b9943 Clean up settings (a bit, IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 5d58010907 Localize General-Setting-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 97e6d750ee Persist general settings (IOS-14, IOS-166) 2023-09-27 15:12:43 +02:00
Nathan Mattes 4daa48f003 Remove duplicated strings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes a27cb88400 Add mastodon-version to about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 79ba6ed13f Remove obsolete code 2023-09-27 15:12:43 +02:00
Nathan Mattes 4107370957 Set title for about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 3e2531e8fb Fix string (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 6b12224578 Purge cache (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 951f46353f Add localization to about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 921c97b2a7 Implement links on about-mastodon-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 0f495e67e4 Add localization to general-settings-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +02:00
Marcus Kida 360bfd29f1
Merge branch 'develop' into performance_experiments 2023-09-26 10:25:26 +02:00
Nathan Mattes a7381eaaae Clear whitespace 2023-09-22 15:28:07 +02:00
Nathan Mattes 7fa891308a Fix unused-warnings 2023-09-22 15:28:07 +02:00
Nathan Mattes 778b44ecf4 Fix warnings 2023-09-22 15:27:46 +02:00
Nathan Mattes fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Nathan Mattes 74c324f9cf Get rid of commonglog 2023-09-22 15:27:05 +02:00
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