Commit Graph

6530 Commits

Author SHA1 Message Date
Nathan Mattes 8d535be84a Fix bottom margins as requested (IOS-241) 2024-07-24 16:20:23 +02:00
Nathan Mattes 9da5b99b28 Show modal on ipad (IOS-241) 2024-07-24 16:01:25 +02:00
Nathan Mattes 1bf763a94c Add an english translation (IOS-241)
For whatever reason the plural-translation doesn't have a fallback to Base?!
2024-07-24 15:05:24 +02:00
Nathan Mattes 2d059455d8 Add chevron (IOS-241) 2024-07-24 14:29:05 +02:00
Nathan Mattes 86aa92da0b Cleanup (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes b3bfa5101b Sprinkle in some, you guessed it: Localization (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes f3c035ce92 Add accept/dismiss-menu (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes ff48cc2f01 Add swipe-action to dismiss (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes f5bc847b30 Reverse buttons (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 287587fcf1 [WIP] Plural Localization for banner-subtitle (IOS-241)
Caveat: doesn't work yet 🤡
2024-07-24 12:35:08 +02:00
Nathan Mattes ffc80268c5 Localization for Banner (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 9e8de739ec Localization (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 25f15d256e Update policies (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes d87deffa6d Update notifications after policy/request-change (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 48f58642ac Add first draft for Notification-count-view (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 67e1e5e3b4 Minor cleanup (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 5925d84dd9 Accept/reject notification requests (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 55d6b281a6 Use correct URL 🤦 (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 8b65421103 [WIP] Add API-calls for accepting/rejecting notification requests (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 94a8791c4b [WIP]: Add spinner and do something when pressing the button (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes e645bc1fd1 Show accept/reject-button (IOS-241)
For now they are just ... there to gather feedback, functions follows
2024-07-24 12:35:07 +02:00
Nathan Mattes 1a123d04be Set title and fix background color (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 8115aea0db Some more UI-feedback (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes fb3dfb5a6a Show notifications from one account (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes b424dab5b5 Fix build issues that happened after rebase (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 0d5dd513dd [WIP] Prepare enum-cases to show notifications from one account (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 4cf75d307d Show account for request (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 7c6c9b5e79 Use SymbolConfigurations for buttons (IOS-241)
I feel so stupid from time to time
2024-07-24 12:35:07 +02:00
Nathan Mattes 65075c5404 "Fix" content inset (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 6702f0624c Implement special sheet header (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes c79e26b7e5 Refactor code to coordinator (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes ed4a003a74 Style cells according to Sams feedback (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 99f2fc9236 More feedback from Sam (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 05a08f6ff2 Use better icon after feedback (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes b119a6db1f Use correct properties for account (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 5473e7f3f9 Add viewController for notification-requests (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 7cdde7797f Download notification-requests (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 847cadb182 Upload updated policy (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 363a521e68 UI/UX-improvements (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 94ad86cd66 Dependencyinject ViewModel based on downloaded policy-data (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 0b749816dd Show subtitle (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 151880f661 Add basic UI filter notification-filtering-setting (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 4843348034 Add and show filter-banner in "everything"-notifications (if there are any) (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes f297cbabc5 Fix detens (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 3118861984 Add a filtering-button that is only visible if there's a policy (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes cf39ad6d68 Add notification-policy-download (IOS-241) 2024-07-24 12:35:07 +02:00
Marcus Kida cd4ef9f31c
fix: Remove charset from application/json content type (#1327)
Per https://datatracker.ietf.org/doc/html/rfc8259, application/json does
not have a charset parameter
2024-07-22 09:56:19 +02:00
Nik Clayton b58a67e0fa
fix: Remove charset from application/json content type
Per https://datatracker.ietf.org/doc/html/rfc8259, application/json does not have a charset parameter
2024-07-20 15:01:55 +02:00
Marcus Kida b97388a001
Fix WidgetCrash and MastodonIntent not able to load data (IOS-262) (#1326)
# Rationale

This PR does three things:

* Fixes a potential crash due to an implicit unwrap which happens when
the current main bundle does not expose a `CFBundleShortVersionString`
* Adds missing credentials restoration in MastodonIntent, otherwise no
accounts are available and loading of data is limited
* Adds `AppVersion.xcconfig` to specify the current App Version in one
place and make use of it in all relevant targets
2024-07-18 12:08:58 +02:00
Marcus Kida 6cf1643171
Add AppVersion.xcconfig to streamline versioning of all relevant targets 2024-07-18 11:54:08 +02:00