Commit Graph

141 Commits

Author SHA1 Message Date
Marcus Kida 484d72fbdd
Adjust Server Rules Screen (IOS-220) (#1251)
* Adjust Server Rules Screen (IOS-220)

* Update Server Rules (IOS-220)

* Use new server rules UI in Server Details (IOS-220)

* Improve disclaimer usage (IOS-220)

* Fix background in server details (IOS-220)
2024-03-19 09:55:42 +01:00
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 e70a67caf0 Move task and async/await to call-site (IOS-192) 2024-01-09 17:45:01 +01:00
Nathan Mattes 6aea178609 Add relationship to ProfileViewModel (IOS-192) 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
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
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 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 7c977d562f Fix build (IOS-14) 2023-09-27 15:12:43 +02:00