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
bbf7c541bb
Minor Cleanup (IOS-14)
2023-09-27 17:51:47 +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
d554b969e1
Fix build (again) (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
Nathan Mattes
79ba6ed13f
Remove obsolete code
2023-09-27 15:12:43 +02:00
Nathan Mattes
4107370957
Set title for about-screen (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
6b12224578
Purge cache (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
951f46353f
Add localization to about-screen (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
921c97b2a7
Implement links on about-mastodon-screen (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
de9bf24122
Refactor Settings-overview (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
0f495e67e4
Add localization to general-settings-screen (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
e8e2f7ceff
Fix icon-size (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
d17a444569
Turn on logout (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
942527af7c
Style settings-cell (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
1461a2a082
[WIP] Add Entries for SettingsViewController (IOS-14)
2023-09-27 15:12:43 +02:00
Nathan Mattes
fb6116d4a6
Refactor Settings-presentation and add new viewControllers (IOS-14)
2023-09-27 15:12:42 +02:00
Nathan Mattes
8598536fc0
Remove debug-menu (IOS-14)
2023-09-27 15:11:43 +02:00
Nathan Mattes
44fda8fe2f
Move settings-model to their appropriate location (IOS-14)
2023-09-27 15:11:43 +02:00
Nathan Mattes
e473084038
Simplify Theme ( #1121 )
2023-09-27 15:08:12 +02:00
Nathan Mattes
be11f632cc
Disable "Follow all"-button if there are no suggestions ( #1124 )
2023-09-26 14:26:16 +02:00
Marcus Kida
360bfd29f1
Merge branch 'develop' into performance_experiments
2023-09-26 10:25:26 +02:00
Nathan Mattes
7fa891308a
Fix unused-warnings
2023-09-22 15:28:07 +02:00
Nathan Mattes
95fdc7616f
Fix warning
2023-09-22 15:28:07 +02:00
Nathan Mattes
a74de8fba1
Get rid of FPS indicator
2023-09-22 15:28:07 +02:00
Nathan Mattes
778b44ecf4
Fix warnings
2023-09-22 15:27:46 +02:00
Nathan Mattes
fbde2a5833
More cleanup
2023-09-22 15:27:46 +02:00
Nathan Mattes
8a824e80d6
Remove flex
2023-09-22 15:27:05 +02:00
Nathan Mattes
74c324f9cf
Get rid of commonglog
2023-09-22 15:27:05 +02:00
Marcus Kida
dcfe13ac36
Merge branch 'develop' into performance_experiments
2023-09-22 11:36:57 +02:00
Nathan Mattes
92ca2a006c
Fix colors for hashtag-follow-button
2023-09-20 21:04:49 +02:00
Nathan Mattes
a2990d54e2
Calculate offset without loader-cell (IOS-141)
...
Sorry, Stephen Fry! It wasn't anything personal
2023-09-20 20:09:42 +02:00
Nathan Mattes
5c71b7ef45
Search for everything when user taps "search" on keyboard (IOS-141)
2023-09-20 19:59:46 +02:00
Nathan Mattes
a7a387dad5
Add a typealias for `NeedsDependency & UIViewController` (IOS-141)
...
Well, okay, `ViewControllerWithDependencies` not super creative.
2023-09-20 18:56:34 +02:00
Nathan Mattes
a0f7454a3d
Show loading-indicator (IOS-141)
...
aaaaand simplify things as we don't need a super-dynamic search-result-screen anymore.
2023-09-20 18:47:35 +02:00
Nathan Mattes
e041a7e086
Add Hashtag-Regex (IOS-141)
2023-09-20 16:29:30 +02:00
Nathan Mattes
d9243c25ce
Only search for accounts when searching for a person (IOS-141)
2023-09-20 16:04:23 +02:00
Nathan Mattes
0c5b3a64cf
Adopt search to follow mastodon-logic (IOS-141)
...
as defined here: https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/features/compose/components/search.jsx#L280-L310
2023-09-20 16:03:46 +02:00
Nathan Mattes
68dc99004c
Fix background-color (IOS-141)
2023-09-18 23:10:59 +02:00
Nathan Mattes
c1b80a73c2
Refactor navigation-logic into a coordinator (IOS-141)
2023-09-18 21:17:39 +02:00
Nathan Mattes
fa6b3fed24
Add https if there's no prefix (IOS-141)
2023-09-18 17:58:17 +02:00
Nathan Mattes
5cb1280088
Fix separator-inset on search-history (IOS-141)
2023-09-18 17:48:26 +02:00
Nathan Mattes
ee472c5920
Fix separator-inset (IOS-141)
2023-09-18 17:45:02 +02:00
Nathan Mattes
3ce8e29244
Don't prioritize hashtags or users (IOS-141)
2023-09-18 17:32:01 +02:00
Nathan Mattes
dd569fe0ac
Put CondensedUserView into their own class (IOS-141)
2023-09-18 17:21:36 +02:00
Nathan Mattes
ce37a8eb47
Copy condensed version of user-view to collection-view in search-history (IOS-141)
2023-09-18 17:05:29 +02:00
Nathan Mattes
a7bab76f96
Add a cell for profiles in search results (IOS-141)
2023-09-18 16:12:42 +02:00
Nathan Mattes
b74f17c6b6
Don't show follow-button for me (IOS-141)
2023-09-17 18:14:42 +02:00
Nathan Mattes
11863b9458
Show magnifying glass next to hashtags (IOS-141)
2023-09-17 17:44:38 +02:00
Nathan Mattes
c4b31112a4
Fix build (IOS-141)
2023-09-17 17:27:42 +02:00
Nathan Mattes
cb4c5a938d
Consider mastodon-domains for other instances and profiles (IOS-141)
2023-09-17 17:21:53 +02:00
Nathan Mattes
4378c1e971
Go to link (IOS-141)
...
It's either a profile (then show the profile) or a status (than show the status) or a link (then open the link in safari)
2023-09-17 16:57:15 +02:00
Nathan Mattes
cde28f576c
Seach-key dismisses keyboard (IOS-141)
2023-09-17 15:16:47 +02:00
Nathan Mattes
ed5a0f3abc
Show max. 10 items in history (IOS-141)
2023-09-17 15:16:25 +02:00
Nathan Mattes
7abc536d01
Add localization to "No such user"-alert (IOS-141)
2023-09-17 14:40:23 +02:00
Nathan Mattes
15436738d5
Go to user (IOS-141)
2023-09-17 14:34:10 +02:00
Nathan Mattes
c0f2dc5649
Add recent searches to recent searches (IOS-141)
2023-09-17 13:52:35 +02:00
Nathan Mattes
558f88e77a
Sprinkle in some localization (IOS-141)
2023-09-17 13:34:08 +02:00
Nathan Mattes
ed56e7aebe
Show posts with a certain keyword instead of Hashtag (IOS-141)
2023-09-17 13:18:29 +02:00
Nathan Mattes
1ad591fd82
Search for people (IOS-141)
2023-09-17 13:01:46 +02:00
Nathan Mattes
a304fb2108
Show profile-page for suggested accounts in search (IOS-141)
2023-09-17 12:48:58 +02:00
Nathan Mattes
1afecc85ea
Show hashtag-page (IOS-141)
2023-09-16 18:39:33 +02:00
Nathan Mattes
ed11d01267
Show up to three hashtags and up to three users (IOS-141)
2023-09-16 17:57:29 +02:00
Nathan Mattes
2e384f3cb5
WIP: Add some search-implementation and clean stuff (IOS-141)
...
Shame on me for such a big commit. I'm new to iOS-development, sorry :nerd:
2023-09-15 17:45:22 +02:00
Nathan Mattes
e8509a063d
Show title instead of "x" for clear-all-button (IOS-141)
...
Also: Move stuff around. It doesn't make sense for search-diffable-stuff to live in an enitrely different folder than the rest.
2023-09-15 11:38:12 +02:00
Nathan Mattes
c892034093
More cleanup (IOS-141)
2023-09-15 10:49:32 +02:00
Nathan Mattes
0fa75fc1d3
Remove some logs while figuring out how search works (IOS-141)
2023-09-14 16:56:20 +02:00
Nathan Mattes
97418db0b5
Update localizations
2023-08-28 13:01:01 +02:00
Nathan Mattes
bbda8c41b6
Add post-visibility to notifications ( #594 )
2023-08-28 12:58:46 +02:00
Nathan Mattes
a18872340f
Don't try to reload every three seconds in case of 401 ( #1104 )
2023-08-21 13:20:13 +02:00
Nathan Mattes
075b8a739a
Fix some warnings
2023-08-21 11:32:00 +02:00
Nathan Mattes
a20f9a57c2
Add authentication to trends ( #1104 )
...
And clean up here and there.
2023-08-21 11:29:48 +02:00
Nathan Mattes
49c273e056
Increment number of errors by one ( #898 )
2023-07-20 11:49:47 +02:00
Nathan Mattes
9699e93169
Merge pull request #1089 from j-f1/fix-double-tap-image-text
...
Restore zoom behavior when double-tapping on text in an image
2023-07-04 16:36:59 +02:00
Nathan Mattes
cc2f7f0b8c
Hide activity indicator in case of no emojis ( #1088 )
2023-07-04 16:08:11 +02:00
Jed Fox
967b7e5b53
Prioritize the double-tap-to-zoom gesture over other double-tap gestures
2023-07-04 08:49:55 -04:00
Jed Fox
e16185fa71
Remove unused long press gesture recognizer
2023-07-04 08:49:26 -04:00
Nathan Mattes
e50b9e13a6
Add belarusian localization ( #1083 )
2023-07-04 10:26:30 +02:00
Nathan Mattes
06e9e3c990
Fix build 🤦 (IOS-171)
2023-07-02 14:52:34 +02:00
Nathan Mattes
4b5151bb39
Get servers and choose one randomly for signup (IOS-171)
...
Server list from backend has a weight which plays a role in which server gets selected.
mastodon.social is the fallback in case something goes wrong
2023-07-02 14:43:49 +02:00
Jed Fox
bd1339e9f2
Hide the entire top toolbar for videos & audio ( #1070 )
2023-06-29 08:54:10 +02:00
Nathan Mattes
7b08403035
Add menu-action to untranslate a translated status (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
d455da85d2
Add follow/unfollow-option to user-section (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
846fa44369
Refactor action-menu to better support sections (IOS-103)
2023-06-13 15:30:30 +02:00
Nathan Mattes
081727865f
Show correct checkmark
2023-06-13 14:47:43 +02:00
Nathan Mattes
aa9a6ee701
Make account switching work again
2023-06-13 14:47:43 +02:00
Marcus Kida
1bb8e64574
Fix TabBar avatar loading
2023-06-13 14:47:43 +02:00
Nathan Mattes
58ddb2bd06
Fix build ( #1053 )
2023-06-13 14:47:43 +02:00
Nathan Mattes
8df4729cdd
Load profile
2023-06-13 14:47:43 +02:00
Nathan Mattes
5513174696
Apply differences on main-queue
...
This fixes a lot of warnings in Console when searching for a server
2023-06-13 14:47:43 +02:00
Marcus Kida
06c72a022a
Persist Authentication in Keychain
2023-06-13 14:47:43 +02:00
Marcus Kida
d570d3ef09
Replace MastodonAuthentication to not be backed by CoreData
2023-06-13 14:47:43 +02:00
Jed Fox
c45e40b21e
IOS-159: Fix tap location check for dismissing media preview ( #1059 )
2023-06-07 11:35:05 +02:00
Nathan Mattes
8804432b60
Fix Brand Color (IOS-160) ( #1054 )
2023-06-02 09:52:12 +02:00
Jed Fox
4aff4c65c5
Fix loading of follower/following count on profile pages ( #1053 )
2023-05-30 08:32:10 +02:00
Nathan Mattes
ddf0afcc6d
Merge pull request #1044 from mastodon/ios-157-popular-on-mastodon
...
Better UI/UX for suggestions for new users (IOS-157)
2023-05-25 15:42:11 +02:00
Nathan Mattes
3597e69f3c
Use same way to run stuff on main everywhere (IOS-157)
2023-05-25 15:31:03 +02:00
Nathan Mattes
02d305e482
Update localizations (before release)
2023-05-25 14:50:30 +02:00
Nathan Mattes
8b7e491590
Fix search-button on empty-view (IOS-157)
...
Wasn't tappable on iPhone
2023-05-25 14:42:00 +02:00
Nathan Mattes
63a79b1cfe
Fix Suggestion-screen on iPad (IOS-157)
...
Follow-button wasn't attached to the right side
2023-05-25 14:42:00 +02:00
Nathan Mattes
1a0ab4607c
Refresh hometimeline (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
5daf944384
Dismiss after following all (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
9c19bf2985
Fix build (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
ce897a0e05
Fix navigation-bar-style (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
2b59def31e
Don't set title for profile-screen when modal (IOS-157)
...
aka when account-suggestion-screen
2023-05-25 14:42:00 +02:00
Nathan Mattes
e20b2e4e11
Present suggestions when user visits onboarding and doesn't follow people (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
11bab5e337
Make button-state work (IOS-157)
...
Reason for button-state not working/updating feels like to be a weird combination of Combine, UIKit, Snapshots, CoreData and me being stupid and not getting a hang on it.
2023-05-25 14:42:00 +02:00
Nathan Mattes
25e4b732ed
Sprinkle in some localization (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
e06d852d78
Add emoji-support (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
c4db4afcdb
Kill some log-messages along the way (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
1a1b2d44a4
Download (and cache) requested follows (IOS-157)
...
Thanks to @kimar for pointing this out!
2023-05-25 14:42:00 +02:00
Nathan Mattes
a1315b9006
Re-introduce viewModel for each cell and set button-state (IOS-157)
...
We need this viewModel for the button--state of the follow-button.
There's still a runtime-issue that resets the button-state to follow.
2023-05-25 14:42:00 +02:00
Nathan Mattes
1cd7bc9105
Make follow work (IOS-157)
...
The secret is to set the delegate before getting the account. This doesn't feel right.
2023-05-25 14:42:00 +02:00
Nathan Mattes
e4578686e3
Follow all suggested user accounts (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
9b0e503603
Minor UI-fixes (IOS-157)
...
- NavigationBar
- ContentInset for TableView
2023-05-25 14:42:00 +02:00
Nathan Mattes
cfc60e6721
Add footer-view to follow all suggested accounts (IOS-157)
...
- Also: Rename folder as this contains not only the cell anymore
- This is just UI, follow-function is still missing
2023-05-25 14:42:00 +02:00
Nathan Mattes
a30c77c783
Use UserView etc. to present suggested people to follow (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
44f6fc9a5c
Add request-follow/pending-states to follow-button (IOS-157, IOS-140)
2023-05-25 14:42:00 +02:00
Nathan Mattes
b3309b4bd0
Show only five accounts (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
66ce4802ef
Cleanup/Style TableView (IOS-157)
2023-05-25 14:42:00 +02:00
Nathan Mattes
c0532d7b56
Remove collection view from suggestion-screen (IOS-157)
2023-05-25 14:42:00 +02:00
J
c3c94f15a9
Call apiService in viewDidAppear ( #825 )
2023-05-25 14:18:51 +02:00
Nathan Mattes
b3ff75b7f9
Add Greek Localization ( #1050 )
2023-05-20 13:57:09 +02:00
woxtu
d24fe00420
Fix the alt text view initialization ( #1047 )
2023-05-15 14:21:43 +02:00