Commit Graph

371 Commits

Author SHA1 Message Date
Nathan Mattes 785751aca4 Merge branch 'develop' into performance_experiments 2023-10-11 13:04:29 +02:00
Nathan Mattes 132af03bb2
Set Deployment Target to iOS 16 (#1125)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-09-29 19:31:22 +02:00
Marcus Kida 943f3bc778
Merge branch 'develop' into performance_experiments 2023-09-29 12:43:34 +02:00
Nathan Mattes 97e6d750ee Persist general settings (IOS-14, IOS-166) 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 e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +02:00
Marcus Kida 360bfd29f1
Merge branch 'develop' into performance_experiments 2023-09-26 10:25:26 +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
Marcus Kida dcfe13ac36
Merge branch 'develop' into performance_experiments 2023-09-22 11:36:57 +02:00
Nathan Mattes 846fa44369 Refactor action-menu to better support sections (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 8df4729cdd Load profile 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
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 3597e69f3c Use same way to run stuff on main everywhere (IOS-157) 2023-05-25 15:31:03 +02:00
Nathan Mattes 9c19bf2985 Fix build (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
J c3c94f15a9
Call apiService in viewDidAppear (#825) 2023-05-25 14:18:51 +02:00
Marcus Kida dbf6e6b467
Remove duplicate code (IOS-140) 2023-05-09 15:44:39 +02:00
Marcus Kida 5efdb3c209
Revert FollowedBlockedUserIdProviding (IOS-140) 2023-05-09 11:33:31 +02:00
Marcus Kida c7c635d32a
Implement MastodonAccountInMemoryCache (I)OS-140) 2023-05-09 11:15:28 +02:00
Marcus Kida 096b1200b0
Improve follow/unbutton behavior (IOS-140) 2023-05-08 16:41:29 +02:00
Marcus Kida d253143969
Fix typo 2023-05-08 15:25:11 +02:00
Marcus Kida 92704dc7f7
Implement fetching of following / blocking for user list buttons (IOS-140) 2023-05-08 15:24:01 +02:00
Marcus Kida e2a05cd747
Implement follow/unfollow/block in UserView (IOS-140) 2023-04-25 12:48:53 +02:00
Nathan Mattes 1672121675
Set padding by hand (#413) (#1001) 2023-04-01 22:11:41 +02:00
Nathan Mattes 0c224f47df
Implement post editing / edit history (#875)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2023-03-02 11:06:13 +01:00
Jed Fox 952ae0f621
Expose metas in fields as accessibility actions 2023-02-07 15:36:27 -05:00
Jed Fox 5a3afef978
Make ProfileFieldCollectionViewCell an accessibility element 2023-02-07 13:27:45 -05:00
Jed Fox f1099326d9
Fix typo in method name 2023-02-07 13:12:49 -05:00
Marcus Kida 412d9b6fc8
Merge pull request #877 from j-f1/username-align
Left-align the username in the profile header
2023-01-12 10:24:03 +01:00
Jed Fox df25feb7fd
Left-align the username in the profile header 2023-01-10 17:57:09 -05:00
Marcus Kida d0710460ab
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail 2023-01-06 13:14:18 +01:00
Marcus Kida 5cd9343302
Merge pull request #847 from jinsu35/fix-issue-391
Implement URL scheme
2023-01-06 10:31:06 +01:00
jinsu kim a00cd60076 Remove duplicate function fetchUser(). 2023-01-05 15:57:58 -08:00
Marcus Kida 74ea67181c
chore(profile): Add image to copy username action 2023-01-05 13:32:32 +01:00
Marcus Kida c56f1abd67
chore(profile): Allow profile header username to grow in height 2023-01-05 11:47:43 +01:00
Marcus Kida 2866721ca3
feat(profile): Implement tap to copy username 2023-01-04 16:38:18 +01:00
jinsu kim 5c82c04232 Use authenticated domain for API calls. Modify URL scheme 2023-01-01 15:55:54 -08:00
jinsu kim f71c4964f5 UI update should be invoked on the main thread 2023-01-01 01:00:00 -08:00
Peter Minarik fd964c7b3a
fix: set Avatar border color based on theme 2022-12-25 16:57:14 +01:00
Peter Minarik c1f19d1f27
chore: DRY setting up colors from theme 2022-12-25 16:56:46 +01:00
Nathan Mattes 3e2282cb03
Merge pull request #783 from mastodon/ios_15
Bump Deplyment Target to iOS 15
2022-12-22 18:36:26 +01:00
Jed Fox e4848d21e5
Improve handling of transparent avatars + avatar press state (#802)
* Fix Podfile.lock checksum

* Fix layout of avatarButton inside of border

* Set a background for the avatar button in profile headers
2022-12-21 21:41:18 +01:00
Nathan Mattes 08b63bda00
Merge pull request #753 from j-f1/following-customization
Differentiate between “My followers” and other accounts followers for i18n
2022-12-20 14:05:07 +01:00
Nathan Mattes 3b77ed7612
Merge pull request #613 from j-f1/joined-at
Add a “Joined” cell to the top of the About tab to match the web version
2022-12-18 14:30:57 +01:00
Nathan Mattes 2cdd8af7c3 Remove workaround for tableviews 2022-12-17 21:57:17 +01:00
Nathan Mattes 1d7dc2f266 Bump to iOS 15 deployment target and fix build issues 2022-12-17 20:26:20 +01:00
Jed Fox 0c8c9778b0
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-15 07:46:37 -05:00
Jed Fox 47024bfb4d
Differentiate between “My followers” and other accounts followers in i18n 2022-12-13 10:07:37 -05:00
Marcus Kida 2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option 2022-12-12 16:41:13 +01:00
Jed Fox 7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox 3661b5ce90
Refactor compose intialization
- split ComposeContentViewModel.Kind into Destination (top level/reply) and an initial content string
- replies get the mentions prepended to the initial content string
2022-12-03 13:25:07 -05:00
David Godfrey c92468a706
fix: Tidy up accessibility labels in bio fields
Enables reading out the label for the checkmark, and avoids describing
the title text as a 'button'.
2022-12-02 08:29:30 +00:00
Marcus Kida 75dc530dcf
chore: Implement FollowedTagsViewModel+DiffableDataSource 2022-12-01 11:39:02 +01:00
Marcus Kida f112e68e79
chore: Add L10n for Followed Tags 2022-12-01 10:54:59 +01:00
Marcus Kida ba26dd2076
feat: Implement navigating followed tags 2022-12-01 10:54:59 +01:00
Marcus Kida 855d2cbacd
feat: Implement followed tags overview 2022-12-01 10:54:59 +01:00
Marcus Kida 2987bb29fa
feat: Add FollowedTagsViewController 2022-12-01 10:54:58 +01:00
Marcus Kida b7458dfc7b
feat: Implement hashtag button on Profile 2022-12-01 10:54:58 +01:00
CMK b028380e7b fix: scroll to top animation cannot trigger smooth issue 2022-11-26 05:21:27 +08:00
Marcus Kida 12bfff8b00
Merge pull request #579 from woxtu/patch
Fix typos
2022-11-21 17:31:05 +01:00
Nathan Mattes d4eabf95d1
Merge pull request #622 from painhapp/refactorPinToParent
[Refactor] Use UIView extension to create constraints (to parent view)
2022-11-17 23:19:03 +01:00
Nathan Mattes 96c3e17531 Fix some warnings 2022-11-17 23:16:21 +01:00
Stefan Painhapp d27d7456c9 Merge branch 'develop' into refactorPinToParent 2022-11-18 02:20:58 +09:00
Stefan Painhapp e56104c756 Revert paddingView.pinToParent 2022-11-18 02:07:33 +09:00
Stefan Painhapp abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
Jed Fox f4018935f9
Re-add missing debug line 2022-11-17 07:25:16 -05:00
Jed Fox 4af5d3910a
Wire up the header image to be actually displayed 2022-11-16 23:05:48 -05:00
Jed Fox 23a0943b12
Constrain size 2022-11-16 22:52:44 -05:00
Jed Fox 5d91bcf8b5
Basic banner editing support 2022-11-16 22:49:49 -05:00
Jed Fox c34f0b4f11
Color the verified link’s header green as well to match the website 2022-11-16 20:45:11 -05:00
Jed Fox c6826542f9
Add a “Joined” cell to the top of the About tab to match the web version 2022-11-16 20:26:26 -05:00
Kyle Bashour 754cc10d8c Merge branch 'develop' into kb/refresh-control-z-index
* develop: (224 commits)
  Fix build
  feat: improve the i18n workflow
  chore: update SwiftGen to the latest version
  chore: code clean
  chore: Move updateActiveUserAccountPublisher to AuthenticationService
  Fix authenticated user account not reloaded
  feat: restore keyboard shortcut for compose scene
  feat: update i18n string
  chore: update i18n resources
  feat: restore post compose limit
  fix: iPad navigation bar still could be large title issue
  feat: add throttle for post compose auto-complete query
  fix: visibility missing bind back to source issue
  Update Localization/app.json
  New translations app.json (Galician)
  New translations Intents.strings (Portuguese, Brazilian)
  New translations app.json (Portuguese, Brazilian)
  New translations Intents.stringsdict (Portuguese, Brazilian)
  New translations ios-infoPlist.json (Portuguese, Brazilian)
  New translations app.json (Portuguese, Brazilian)
  ...
2022-11-14 14:21:16 -08:00
Kyle Bashour 7b3c7bbd7b Fix refresh control positioning 2022-11-14 14:09:59 -08:00
Nathan Mattes 84ffa3ba56
Merge pull request #564 from ReactiveRaven/feature/validated-fields
Visual indication of validated URL
2022-11-14 19:39:17 +01:00
Marcus Kida 7a3039570a
Merge pull request #544 from j-f1/account-header-a11y
Add accessibility labels to the profile navigation bar
2022-11-14 15:43:32 +01:00
Marcus Kida 548543a8c0
chore: Move updateActiveUserAccountPublisher to AuthenticationService 2022-11-14 14:15:28 +01:00
Marcus Kida a2f2fb83cd
Fix authenticated user account not reloaded 2022-11-14 13:12:16 +01:00
woxtu a36a303532 Fix typos 2022-11-14 02:53:59 +09:00
David Godfrey 082ddc38e2 Merge remote-tracking branch 'theirs/develop' into feature/validated-fields 2022-11-12 14:45:49 +00:00
David Godfrey 197e180ccd Refactor verified alert to use edit menu 2022-11-12 14:42:00 +00:00
David Godfrey 72873fbfc1 Use localisable strings in verified modal 2022-11-12 02:40:19 +00:00
David Godfrey b0a0aa268f Rename validated to verified in profile field code 2022-11-12 02:10:16 +00:00
David Godfrey 35775a5b43 Alert validation time on tapping field checkmark, make validated field links green 2022-11-12 01:53:12 +00:00
David Godfrey c3009d6009 Add visual indication that a url has been validated in a profile's fields 2022-11-11 20:34:26 +00:00
woxtu 5d2f4b68f8 Remove duplicate imports 2022-11-11 00:36:39 +09:00
Jed Fox 02ceccf33b
Add accessibility labels to the profile navigation bar 2022-11-09 09:45:55 -05:00
Nathan Mattes 00ab7ac2b0 Remove RelationshipActionOption for reblogs again (#365) 2022-11-08 16:38:01 +01:00
Nathan Mattes 746d70f3e0 [WIP] Show show/hide-reblog-menu-entry only for people you already follow (#365)
Please consider this WIP, as the breaks the ProfileRelationshipActionButton, somethingsomething RelationshipActionOptionSet for whatever reason, I assume.

Also: fixed some typos and warnings.
2022-11-08 16:38:01 +01:00
Nathan Mattes b719d84d3f [WIP] Toggle showReblogs-status on mastodon-server 2022-11-08 16:38:01 +01:00
Nathan Mattes ff65f50689 Add menu-entry for show/hide reblogs (#365)
translations are still missing, as well as viewModel/networking-stuff.
2022-11-08 16:38:01 +01:00
CMK 060aec6bcb Merge branch 'release-1.4.6' into feature/package-refactor
# Conflicts:
#	.arkana.yml
#	AppShared/Info.plist
#	Documentation/Setup.md
#	Gemfile
#	Gemfile.lock
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	MastodonSDK/Package.swift
#	MastodonSDK/Sources/MastodonCore/AppSecret.swift
#	MastodonSDK/Sources/MastodonCore/Service/Notification/NotificationService.swift
#	Podfile
#	Podfile.lock
2022-11-01 14:14:00 +08:00
CMK 02e3ad9a16 chore: [WIP] restore the replyTo entry for compose 2022-10-10 19:14:52 +08:00
CMK 56f04db40f chore: fix compile issue 2022-10-09 21:40:02 +08:00
CMK bb5c999bea chore: [WIP] inject AuthContext into ViewModel 2022-10-09 20:07:57 +08:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +08:00
nyaxix 213ef94ec5 Add bookmarking and bookmarks view
Based heavily on the work for favorites.

Adds bookmarking functionality to the application. The status view has been updated to include a bookmark button that can bookmark/unbookmark a status. The profile page has been updated to include a button in the header to navigate to a page that lists your bookmarks.
2022-08-14 17:51:36 -05:00
CMK 8835531a0e feat: add i18n words for profile "Follows You" indicator 2022-07-15 04:20:57 +08:00
CMK c093e0a80d chore: restore the debug modify 2022-07-15 04:03:56 +08:00
CMK 5365fabe01 fix: profile segmented control cannot adapt UI appearance issue 2022-07-15 03:31:19 +08:00
CMK 742c02ce6a fix: profile header background cannot dynamic adapt UI appearance issue 2022-07-15 03:30:33 +08:00
CMK 43c8cd51b6 Merge branch 'feature-purple-tint' into release-1.4.5
# Conflicts:
#	AppShared/Info.plist
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon/Info.plist
#	MastodonIntent/Info.plist
#	MastodonTests/Info.plist
#	MastodonUITests/Info.plist
#	NotificationService/Info.plist
#	ShareActionExtension/Info.plist
2022-07-01 14:01:16 +08:00
CMK eda5397d94 fix: the user reply timeline not works issue 2022-07-01 13:53:53 +08:00
CMK 34b3cad365 Merge branch 'release-1.4.4' into feature-purple-tint
# Conflicts:
#	AppShared/Info.plist
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon/Info.plist
#	MastodonIntent/Info.plist
#	MastodonTests/Info.plist
#	MastodonUITests/Info.plist
#	NotificationService/Info.plist
#	ShareActionExtension/Info.plist
2022-06-14 14:28:35 +08:00
CMK b0027ebcf6 fix: profile fields cannot display issue. Fix race condition in edit fields workflow 2022-06-14 13:44:32 +08:00
CMK 1ccb4aeb13 feat: add follows you indicator. resolve #397 2022-06-09 16:41:54 +08:00
CMK 0ffb3e75f9 Merge branch 'release-1.4.3' into feature-purple-tint
# Conflicts:
#	AppShared/Info.plist
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon/Info.plist
#	MastodonIntent/Info.plist
#	MastodonTests/Info.plist
#	MastodonUITests/Info.plist
#	NotificationService/Info.plist
#	ShareActionExtension/Info.plist
2022-06-05 16:51:24 +08:00
CMK b91b3fa23d fix: use acct instead of username in profile header view 2022-06-05 16:41:47 +08:00
CMK 368ab71e7a Merge branch 'release-1.4.3' into feature-purple-tint
# Conflicts:
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
2022-06-02 19:47:30 +08:00
CMK f49be82d2b chore: restore profile keyboard navigation 2022-06-02 19:33:10 +08:00
CMK 0c8e7d2cea feat: update to new purple tint color 2022-06-02 17:48:18 +08:00
CMK ad63c512df fix: refactor the profile UI to fix internal AutoLayout crash issue. resolve #440 2022-05-26 23:19:47 +08:00
CMK 503fcfab2a chore: [WIP] refactor profile UI 2022-05-26 02:51:02 +08:00
CMK e119a06bba chore: using i18n strings 2022-05-17 23:27:58 +08:00
CMK e1710299d5 feat: add reblogged by and favorited by user list entry for status 2022-05-17 22:09:43 +08:00
CMK 57c40b9050 feat: add familiar followers list 2022-05-17 18:49:29 +08:00
CMK 8efaf38395 fix: app enter background break profile header layout issue 2022-05-13 17:26:57 +08:00
CMK 70a6e11d30 chore: use i18n strings for report flow 2022-05-11 21:10:10 +08:00
CMK fe93c8b4f7 feat: add keyboard commands for discovery posts, tag. And also restore for hashtag timeline and profile scene 2022-05-11 18:40:21 +08:00
CMK 7380d28d74 fix: profile bio line break get trimmed issue. resolve #311 2022-05-07 15:12:00 +08:00
CMK 8aa8825269 chore: suppress warnings 2022-05-07 11:42:10 +08:00
CMK ca0a697cd0 chore: update navigation bar button item assets 2022-05-06 15:17:26 +08:00
CMK 0548aa5f56 feat: add Community tab into discovery scene 2022-04-29 13:35:03 +08:00
CMK b0fca49413 feat: add For You tab for Discovery scene 2022-04-14 21:15:21 +08:00
CMK af619e198a feat: add Discovery page with posts segment 2022-04-12 17:32:38 +08:00
CMK 12349105e7 chore: update the snapshot documents and UITests 2022-03-19 01:02:23 +08:00
CMK cc3826dd1f fix: profile segmented bar use wrong tint color when force Dark Mode issue 2022-02-18 18:55:52 +08:00
CMK 8e880326eb chore: update profile header and segmented bar margin 2022-02-18 18:55:26 +08:00
CMK a1b9ac8394 chore: update status timeline margin 2022-02-18 17:49:20 +08:00
CMK 8f2e789183 fix: profile relationship button fill the width on iPad issue 2022-02-17 15:59:14 +08:00
CMK c488e53863 fix: relationship background use wrong color when force dark style 2022-02-17 10:46:40 +08:00
CMK bb4f9f8e20 feat: restore keyboard shortcut supports 2022-02-16 19:47:51 +08:00
CMK 7da3bbcaa7 feat: restore user recommend scene 2022-02-16 17:25:55 +08:00
CMK 792208aebb feat: restore post filter supports 2022-02-15 19:44:45 +08:00
CMK d4a4e4ba3d chore: update color panel 2022-02-15 18:16:09 +08:00
CMK 94470c9f1b chore: update profile relationship button UI 2022-02-15 17:13:02 +08:00
CMK 74334126f0 chore: update i18n strings 2022-02-15 14:45:34 +08:00
CMK c2e5bcafb2 chore: add a11y hint for profile dashboard 2022-02-15 12:48:07 +08:00
CMK ce80409ead feat: make status detail accessible 2022-02-14 19:34:22 +08:00
CMK 0f3764e3af feat: display no results when profile field empty 2022-02-14 16:22:03 +08:00
CMK 66c1b71610 feat: add cell height cache for user timeline 2022-02-14 16:09:39 +08:00
CMK 3d7ade1747 feat: restore scroll-to-top tap gesture for TabBar 2022-02-14 14:55:00 +08:00
CMK d3e8f85cb3 feat: add notification timeline fetcher 2022-02-11 19:27:14 +08:00
CMK d85af16e03 fix: follow push notification deep-link not works issue 2022-02-11 15:28:39 +08:00
CMK 9e954c517e fix: instal state missing issue 2022-02-11 15:28:03 +08:00
CMK 54e84ed814 fix: [WIP] add suggestion account scene back 2022-02-10 19:30:41 +08:00
CMK c1e1d527fe fix: add missing home timeline bottom fetcher 2022-02-10 16:43:26 +08:00
CMK ca4406e941 fix: the profile segmented control use wrong selection tint color under force light UI style issue 2022-02-10 15:54:19 +08:00