Commit Graph

31 Commits

Author SHA1 Message Date
Thomas Ricouard
5a52eb50e9 Fix login on Catalyst 2023-10-26 17:47:19 +02:00
Paul Schuetz
0b5e764556
Automatically remove spaces in server names (#1600)
* Automatically remove spaces in server names

If a server name includes a space (which can happen if the string is pasted /
autocompleted), this space is removed, which results in the app not crashing.
Fixes #1599

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Format

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-10-01 09:37:09 +02:00
Thomas Ricouard
f9c0355f1d Convert Theme to Observable 2023-09-18 21:03:52 +02:00
Thomas Ricouard
8bb102cd67 Fix #1466 2023-09-18 18:55:11 +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
8a3c971402 Swiftformat 2023-09-16 14:15:03 +02:00
Thomas Ricouard
6c307aba63 SwiftFormat 2023-03-13 13:38:28 +01:00
Gareth Simpson
d7f1ef45fe
Add Account: Sanitize the servername to remove http[s]:// and also usernames (#1131)
* Sanitize the servername to remove http[s]:// and also usernames

Fixes: #1120

* Sanitize the input box with sanitizedName, not instance.title
2023-03-02 08:55:35 +01:00
Thomas Ricouard
d1ed8e962b Push notifications: Per account settings 2023-01-26 13:21:35 +01:00
Thomas Ricouard
d05afd93c4 Push notifications: display account name if multi account fix #344 2023-01-24 13:38:26 +01:00
Steve Kalkwarf
3658c4f829
Primitive validation of domain before trying to connect (#287)
* Primitive validation of domain before trying to connect

Every domain needs at least one "dot" and can't end with a "dot." Don't try connecting unless/until these are both true.

* Correctly reset instance when invalid

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-23 06:41:01 +01:00
Thomas Ricouard
a79c5691e0 Run SwiftFormat 2023-01-22 06:38:30 +01:00
Thomas Ricouard
b577e41eae Improve add account screen 2023-01-21 16:54:43 +01:00
Thomas
980b9a5dd6
Implement Localization (#80)
* Implement localization

* Fix some localization keys

* Adapt to recent changes
2023-01-19 18:14:08 +01:00
Thomas Ricouard
e519e9cdff Use Safari Controller for auth 2023-01-19 11:59:40 +01:00
Thomas Ricouard
4143e82fbc Multi account sidebar + scaled font size on macOS + better iPad / macOS app UX 2023-01-17 19:41:46 +01:00
Thomas Ricouard
7f6419ebae Swiftformat 2023-01-17 11:36:01 +01:00
Sean Goldin
75e9516089
Less chatty api calling (#79)
* Limit API calls for instance searching

* Limit api calls

* Fix empty/initial state

* Limit API calls

* Delegate empty view logic to viewmodel

* When you boosted, display You boosted
2023-01-16 06:43:53 +01:00
Thomas Ricouard
66efedbbda AppAccounts: Move to its own package to prepare widget work 2023-01-12 18:17:21 +01:00
Thomas Ricouard
150cb5a8c5 Suggest login on launch 2023-01-12 06:30:43 +01:00
Thomas Ricouard
0ae0b7e33f Polish on link card view, sign in flow, status context menu 2023-01-10 12:57:45 +01:00
David Walter
76d7d23379
Support In-App Safari (#44)
* Support In-App Safari

* Fix "View in Browser"

* Force external Safari on Account Creation

* Fix SafariRouteur issues

Attach to NavigationStack
Find top-most ViewController

* Make Preferred Browser a Picker choice
2023-01-08 19:56:16 +01:00
Thomas Ricouard
ed8208857a Cleanup + Polish push notifications 2023-01-08 14:16:43 +01:00
Thomas Ricouard
424cd475ad Add push notifications support 2023-01-08 10:22:52 +01:00
Thomas Ricouard
a1a6c3091e Fix add account instance info view 2023-01-07 18:12:56 +01:00
Thomas Ricouard
f922ba344d Search & Pin remote local timeline + general polish 2023-01-06 12:14:05 +01:00
Thomas Ricouard
28ef54fa4b Improve logged out experience 2023-01-01 09:19:00 +01:00
Sam Shi
1dea54bae5 move instance suggestion label into Button label to enable full-row tap target 2022-12-30 23:36:21 -05:00
Stanislas Lange
6906069509
AddAccountView: adapt keyboard to URL input 2022-12-30 21:13:31 +01:00
Thomas Ricouard
e93e05872a Fixed add accounts 2022-12-30 08:58:32 +01:00
Thomas Ricouard
03a5dd9f54 New Sign In flow & instances browser 2022-12-29 14:07:58 +01:00