Commit Graph

6060 Commits

Author SHA1 Message Date
Nathan Mattes 585e1252af Add refresh-control to following-list 2023-10-25 14:59:17 +02:00
Nathan Mattes e9c9745277 Add a dirty hack to give the backend enough time to process the relationship-change 2023-10-25 14:35:51 +02:00
Nathan Mattes 242f351e10 Update follow-button-state after (un)following a person 2023-10-24 15:42:23 +02:00
Nathan Mattes 02207d1b1f Slightly refactor account-update
For whatever reason, fetchUser and accountInfo returned different results for me (something something ID), that's why I replaced accountInfo which came from #1053 with fetchUser, so the displayed profile is consistent
2023-10-24 13:38:41 +02:00
Nathan Mattes ded7972f18 Hide follow-button for myself 2023-10-24 12:45:24 +02:00
Nathan Mattes c597ee3039 Also reset relationships 2023-10-23 14:07:05 +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 0951e658a2 Add loading-indicator
cause I'm lazy
2023-10-23 13:55:54 +02:00
Nathan Mattes 19d67d6dab Don't Ddos servers for fetching each relatinoship individually 2023-10-23 12:18:03 +02:00
Nathan Mattes fa34df26df Determine button-state based on freshly loaded relationship 2023-10-20 18:53:27 +02:00
Nathan Mattes 480d1c5265 Deselect table 2023-10-20 18:53:11 +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 5058bac018 Migrate Kanna over to SPM 2023-10-20 12:30:49 +02:00
Nathan Mattes a549534fcf Get (and show) account-entities on followings-list
This is a first step, for now we show the name to see if it works (and it does!), the other properties and functionality will follow.

Again, this includes some refactoring, like getting rid of Configuration
2023-10-19 16:16:18 +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 a3733ea578
Merge pull request #1135 from mastodon/nuke_coredata_translations
Don't persist translations
2023-10-19 12:04:45 +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 8381a44b71
Merge pull request #1131 from mastodon/move-credentials-to-keychain
Use Keychain for credentials
2023-10-12 15:09:12 +02:00
Nathan Mattes 2fdbb9da1e
Merge pull request #1133 from mastodon/1132-notification-badge
Show a little red badge when there are notifications (#1132)
2023-10-12 13:37:52 +02:00
Nathan Mattes e11ada8277 Show a little red badge when there are notifications (#1132) 2023-10-11 17:32:22 +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 d0e1c616f6
Merge pull request #1126 from mastodon/ios-20-server-details
Server Details in Settings (IOS-20)
2023-10-11 09:20:57 +02:00
Nathan Mattes 388d130aa4 Remove duplicate code (IOS-20)
Height is determined dynamically
2023-10-11 09:12:30 +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 a0baf93b0a Improve visual appearance for segmented control (IOS-20) 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 41c0a61de2 Add section-header "ADMINSTRATOR" (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 cdf0aa98e6 Show thumbnail (IOS-20) 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 622df06d4a Load admin-account (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes cebbe04741 Show admin-account and contact (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 155f0b09cb Move XLPagerTabStrip over to SPM and do some podfile-cleanup 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