Commit Graph

6521 Commits

Author SHA1 Message Date
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
Marcus Kida b252536613
Fix MastodonIntent is unable to load data due to missing credentials 2024-07-18 11:53:47 +02:00
Marcus Kida 4d2bdaf219
Safely unwrap API Version in case MARKETING_VERSION is missing (IOS-262) 2024-07-18 11:53:00 +02:00
Marcus Kida 27c6c58d96
Implement Lists and Hashtags Menu (and timeline) (IOS-102) (#1325)
# Implement Lists and Hashtags Viewing Capabilities

This PR adds **List** and **Hashtag** viewing capabilities.

| Menu | Lists | Hashtags |
|---|---|---|
|![Simulator Screenshot - iPhone 15 Pro Max - 2024-07-16 at 13 41
07](https://github.com/user-attachments/assets/7ff8dc5c-fe9f-433a-b947-b8ac602e453f)
|![Simulator Screenshot - iPhone 15 Pro Max - 2024-07-16 at 13 40
49](https://github.com/user-attachments/assets/18d7444f-c542-4bce-943a-911a328399c0)|
![Simulator Screenshot - iPhone 15 Pro Max - 2024-07-16 at 13 40
44](https://github.com/user-attachments/assets/8a2b5d04-f51c-4c68-a91d-3c9bd6208eee)|
2024-07-17 13:45:28 +02:00
Marcus Kida 8a5180b54a
Show empty message if no lists exist / hashtags are followed (IOS-102) 2024-07-17 13:18:37 +02:00
Marcus Kida 21ea90200e
Address PR Feedback (IOS-102) 2024-07-17 12:59:01 +02:00
Marcus Kida 019f483c0c
Remove unused code 2024-07-16 13:45:01 +02:00
Marcus Kida 0a887a4841
Implement "Followed Hashtags" (IOS-102) 2024-07-15 15:22:36 +02:00
Marcus Kida f03ef0dfc7
Hide "New Posts" Indicator on Timeline Context Change (IOS-21) 2024-07-15 12:56:49 +02:00
Marcus Kida 085ef54233
Comment out "Manage Lists" Menu Item (IOS-21) 2024-07-15 12:56:30 +02:00