Commit graph

45 commits

Author SHA1 Message Date
Thomas Ricouard 1f858414d8 format . 2024-02-14 12:48:14 +01:00
Thomas Ricouard f67163e4b0 Cleanup print + use OSLog 2024-02-02 18:26:24 +01:00
Thomas Ricouard 1eb33466ca Edit profile: Update avatar & header 2024-01-02 21:16:27 +01:00
Thomas Ricouard 3e3c69c41c format 2023-11-01 18:58:44 +01:00
Bosco Ho 1bf4d9e398
Feature: Tab bar scroll to top (#1598)
* - *WIP* Explore tab: Tap on tab to scroll to top.

* - Explore tab: Tap tab to scroll to top.

* - Explore: Tap tab again to focus on search bar.
- Explore: Set `.defaultMinListRowHeight` so scroll to view doesn't occupy more than 1pt height in grouped style list.
- Explore: Add padding to get Explore list view to look the same.

* - Explore: Minor adjust to padding.

* - Messages: Add tap tab to scroll to top.

* - Notifications: Add tap tab to scroll to top.

* - Profile: Add tap tab to scroll to top.

* Add `ScrollToView` that can be used across all views.

* Move scroll-to-top constants to ScrollToView.

* Format

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-10-05 08:22:45 +02:00
Yasura Dodo e3f7eb31e4
Fix a crash bug at Client.makeURL (#1601)
The crash will happen when you type something unexpected instance URL.

Example
```swift
let server = "mstdn.jp/"

var components = URLComponents()
components.scheme = "https"
components.host = server
components.path = "/api/v1/instance"
components.url! // 💥 error: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x18c986650).
```
2023-10-02 09:31:59 +02:00
Thomas Ricouard 4189a59cf6
iOS 17+ only support + migrating to Observation framework (#1571)
* Initial iOS 17 + Observable migration

* More Observation

* More observation

* Checkpoint

* Checkpoint

* Bump version to 1.8.0

* SwiftFormat

* Fix home timeline switch on login

* Fix sidebar routerPath

* Fixes on detail view

* Remove print changes

* Simply detail view

* More opt

* Migrate DisplaySettingsLocalValues

* Better post detail transition

* Status detail animation finally right

* Cleanup
2023-09-18 07:01:23 +02:00
Thomas Ricouard 831ff08082 Streaming: Send message as UTF8 + token in subprotocols fix #1438 2023-06-23 07:33:10 +02:00
Thomas Ricouard 6c307aba63 SwiftFormat 2023-03-13 13:38:28 +01:00
Jim Dovey d1209e6704
Updated to resolve all possible Sendability warnings from Swift 6 compatibility mode. (#1072)
Co-authored-by: Jim Dovey <jimdovey@apple.com>
2023-02-27 06:39:07 +01:00
Thomas Ricouard cc4768b5e7 Profile edit: Allow re order of fields 2023-02-24 09:23:16 +01:00
Thomas Ricouard 65e63c4586 Remove Sendable conformance on Client as it's not needed 2023-02-19 07:51:16 +01:00
Thomas Ricouard 4000dc3650 Switch to targeted Swift concurrency warnings + fix them 2023-02-18 22:51:44 +01:00
Thomas Ricouard 6b285cdbcf Cleanup 2023-02-04 17:17:38 +01:00
Thomas Ricouard 3c0ffdb1ae Prepare disk cache for Timeline 2023-02-04 12:17:16 +01:00
Thomas Ricouard 95aade3795 Fix Client 2023-02-03 19:48:57 +01:00
Thomas Ricouard 4e77669181 Swiftformat 2023-02-01 12:49:59 +01:00
Thomas Ricouard cdf45fa58c Refactor Timeline position management + add thin cache layer + fix crashes 2023-02-01 12:43:11 +01:00
Thomas Ricouard 24504e3bc2 Various optimizations to speed things up 2023-01-30 19:14:43 +01:00
David Walter 11d4a84bd8
Fix hasConnection (#470) close #375 2023-01-28 18:41:04 +01:00
Thomas Ricouard 7f7a967d87 Videos: Compress them before upload + error handling close #430 2023-01-27 08:54:41 +01:00
Thomas Ricouard 5cd9ddd945 New account settings + create / edit server side filters 2023-01-25 21:18:34 +01:00
Jérôme Danthinne 9b3b3692ee
Support for follow requests (#376) close #321
* Support for follow requests (#321)

* Run SwiftFormat

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 13:02:28 +01:00
Thomas Ricouard 5c7cc5803f Fix crash on Twitter link #102 2023-01-23 13:54:41 +01:00
Thomas Ricouard eec5637c1c Composer / Share sheet: add video upload support close #154 2023-01-22 09:09:35 +01:00
Thomas Ricouard 5cb010b216 Composer: Better autocomplete fix #146 2023-01-21 07:57:52 +01:00
Thomas Ricouard 7f6419ebae Swiftformat 2023-01-17 11:36:01 +01:00
Thomas Ricouard d05d9fbfff Fix not posting status special characters or dropping part of it (Post in JSON now) 2023-01-15 14:51:09 +01:00
David Walter d646fef9f4
Fix Link Handling (#69) 2023-01-12 18:25:37 +01:00
Thomas Ricouard f50a7f1556 UI fixes on status + prepare for generic media upload 2023-01-10 08:44:29 +01:00
Thomas Ricouard 71ec57f915 Support edit profile 2023-01-10 08:24:05 +01:00
Thomas Ricouard e0253fb439 Added lists support + bunch of bug fixes 2023-01-02 19:23:44 +01:00
Thomas Ricouard 99dc57a023 compress to JPEG before uploading 2022-12-27 16:25:47 +01:00
Thomas Ricouard 627173989e WIP Media upload 2022-12-27 16:16:25 +01:00
Thomas Ricouard e5fb3acd07 Quote status + embed status 2022-12-27 07:51:44 +01:00
Thomas Ricouard bda77571b6 Editor: Simple edit 2022-12-26 08:24:55 +01:00
Thomas Ricouard 93543cad6b Post / Delete a status and watch main timeline 2022-12-25 12:46:42 +01:00
Thomas Ricouard 8de2a8192b Handle HTTP Link header for favourites and followers/following 2022-12-24 09:21:04 +01:00
Thomas Ricouard 8def548913 Account tab + brand color 2022-12-20 16:08:09 +01:00
Thomas Ricouard 3d7042832e Open HashTag 2022-12-20 15:37:51 +01:00
Thomas Ricouard df2d383b8a OAuth + Home timeline 2022-12-01 09:05:26 +01:00
Thomas Ricouard 4742e3112b Remove needless fetchArray 2022-11-25 12:29:42 +01:00
Thomas Ricouard ec8de5fb83 Paginated tiemeline and refactoring 2022-11-25 12:00:01 +01:00
Thomas Ricouard 864a0b3969 New Timeline architecture 2022-11-21 09:31:32 +01:00
Thomas Ricouard ab8e8a59ea Move Network to Packages folder 2022-11-21 09:01:26 +01:00
Renamed from Network/Sources/Network/Client.swift (Browse further)