Commit Graph

2027 Commits

Author SHA1 Message Date
Nathan Mattes a77db7c1ea
Merge pull request #1154 from mastodon/authentication-fixes
Authentication/Profile Fixes
2023-11-13 15:07:27 +01:00
Nathan Mattes c6df361e4f Do main-q stuff on main-q 2023-11-13 14:15:40 +01:00
Nathan Mattes f45aba91dc Fix crash when reordering rows
containerStackView.isLayoutMarginsRelativeArrangement lead to an endless loop, so this is more of a quickfix (Honestly? No idea if it works, but it doesn't crash anymore). I changed the leading/trailing to match `contentView.layoutMarginsGuide`
2023-11-13 14:15:31 +01:00
Nathan Mattes 6f6711458b Make profile edit-able again 2023-11-13 12:53:47 +01:00
Nathan Mattes 395da6f0c3 Minor cleanup (IOS-186) 2023-11-10 13:55:18 +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 48d7592a9a Don't run into an endless loop if no followers exist
See also 3fc2793
2023-11-09 12:11:14 +01:00
Nathan Mattes f3a7fe8320 Fix title 2023-11-09 11:52:31 +01:00
Nathan Mattes 83e45847fe Fix another warning 2023-11-09 11:39:01 +01:00
Nathan Mattes 32e656f342 Fix more warnings 2023-11-09 11:39:01 +01:00
Nathan Mattes 0c3313227b Fix warning 2023-11-09 11:39:01 +01:00
Nathan Mattes 96bea2ad95 Add pull to refresh to Followers-list 2023-11-09 11:39:01 +01:00
Nathan Mattes 10f2358247 Migrate Followers-list to work with Mastodon.Entity.Account instead of MastodonUser 2023-11-09 11:39:01 +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 c0bdcc43a1 Refactor layout to center checkmark (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 3fc27936d6 Replace listbatch-model for Following-list with UIScrollViewDelegate-implementation
No more recursion due to no timer and better state handling
2023-11-01 21:28:32 +01:00
Nathan Mattes 38a9268abb Move provider in the same file 2023-10-25 18:16:36 +02:00
Nathan Mattes cd25f78ec8 Remove obsolete code 2023-10-25 17:54:18 +02:00
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 7432b6f22b Show account-information from entities 2023-10-20 17:49:48 +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 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 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 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 785751aca4 Merge branch 'develop' into performance_experiments 2023-10-11 13:04:29 +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 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 7cd5be1454 Show Rules (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes f2bf822faa Add container-setup and download instance (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes 9f68ec3364 Add basic viewcontrollers for server details (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 c80a590306
Fix compilation issue 2023-09-29 12:52:22 +02:00
Marcus Kida 943f3bc778
Merge branch 'develop' into performance_experiments 2023-09-29 12:43:34 +02:00
Nathan Mattes a0d455058a Put some constants into an extension (IOS-14) 2023-09-28 15:59:19 +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 b0886979e5 Remove old settings 2023-09-27 18:02:59 +02:00
Nathan Mattes bbf7c541bb Minor Cleanup (IOS-14) 2023-09-27 17:51:47 +02:00
Nathan Mattes b6a7126eb1 Animate toggle-switch (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 0e964de0df Disable "Support"-setting for now (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 65f39f4b61 Sprinkle in some localization (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 8e54da5dff Add a hint in case notifications are disabled (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes b7399e79bf Move files 2023-09-27 15:12:43 +02:00
Nathan Mattes 85a82cbb9b Disable notifications if they aren't enabled (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes f5365a9d6e Toggle alerts on tap (IOS-14)
This feels kind of good :D
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 fcb19b9734 Set toggle-values for notification-settings (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 00fa7e1220 Show list of Notification-policies (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 1f1d8587e0 Store animation-settings in UserDefaults, too (IOS-14)
Because why not?
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 fedde3e159 Fix build (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes a1d0c74617 Implement basic UI for notification-settings-screen (IOS-14)
No functionality (yet), but all relevant classes and protocols are there.
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 9ec380cccd Refactor Toggle-cell to be (more) reusable (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 c14418c440 Implement toggle-cell and improve selection-cell for general-settings (IOS-14)
and hook up the cell with the viewmodel.

Also: Put DiffableTableViewDataSource into its own file (and fix a typo while doing so)
2023-09-27 15:12:43 +02:00
Nathan Mattes dfcda1f1da Show general-settings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes e201193ee4 Don't change icon-color (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 2f7eec48c7 Add first draft of GeneralSettings-Screen (IOS-14)
Setting the Appearance already works, but that's it for now.
2023-09-27 15:12:43 +02:00
Nathan Mattes 3c9648e52f Show accountname on logout-button (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 d554b969e1 Fix build (again) (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 7c977d562f Fix build (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 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