Commit Graph

213 Commits

Author SHA1 Message Date
Nathan Mattes 79ba6ed13f Remove obsolete code 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 921c97b2a7 Implement links on about-mastodon-screen (IOS-14) 2023-09-27 15:12:43 +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 a7381eaaae Clear whitespace 2023-09-22 15:28:07 +02:00
Nathan Mattes 7fa891308a Fix unused-warnings 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 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 1afecc85ea Show hashtag-page (IOS-141) 2023-09-16 18:39:33 +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 a20f9a57c2 Add authentication to trends (#1104)
And clean up here and there.
2023-08-21 11:29:48 +02:00
Nathan Mattes cc2f7f0b8c
Hide activity indicator in case of no emojis (#1088) 2023-07-04 16:08:11 +02:00
Nathan Mattes fcb5275dc8 Use download of default servers (IOS-171) 2023-07-02 14:26:21 +02:00
Nathan Mattes c5bba298ac Improve log statement
🤦

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-06-13 15:11:50 +02:00
Nathan Mattes 001404b1ae Slightly refactor authentication migration 2023-06-13 15:11:50 +02:00
Nathan Mattes aede20f2c8 Mark migration as succesful only in case of success 2023-06-13 15:11:50 +02:00
Nathan Mattes 183f303065 Move extension to its own file 2023-06-13 15:11:50 +02:00
Marcus Kida 73909005de Fix migration issues with duplicate persistent store 2023-06-13 15:11:50 +02:00
Marcus Kida 55afa02b52 Try migrating old auth to keychain 2023-06-13 15:11:50 +02:00
Marcus Kida 4c9c34b6ce Migrate legacy authentications 2023-06-13 15:11:50 +02:00
Nathan Mattes c5cfca93ea Download not one but all authenticated users at start 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 ca61d29ae2 Download user when we need them 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
Nathan Mattes 8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +02:00
Nathan Mattes 71d8cfb485 Fix name for development (IOS-157) 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 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 44f6fc9a5c Add request-follow/pending-states to follow-button (IOS-157, IOS-140) 2023-05-25 14:42:00 +02:00
Jed Fox 88d54b6151
Fix crash when a server has an emoji category named after its domain (#1045) 2023-05-15 09:35:08 +02:00
Marcus Kida e7fe60f7d0
Fix broken code 2023-05-09 16:16:31 +02:00
Marcus Kida 141d3561dd
Only update current active user in-memory state 2023-05-09 16:07:08 +02:00
Marcus Kida 5dde21c2ae
Fix typo 2023-05-09 16:05:32 +02:00
Marcus Kida 3e6d75e1b5
Update in-memory following/blocking states upon (un)follow/block action (IOS-140) 2023-05-09 16:03:37 +02:00
Marcus Kida c7c635d32a
Implement MastodonAccountInMemoryCache (I)OS-140) 2023-05-09 11:15:28 +02:00
Nathan Mattes 5e1e22a723
Updated Welcome-Screen (IOS-134) (#1005) 2023-04-08 23:10:34 +02:00
Marcus Kida b4c08bf0c8
Make UITableView background color clear IOS-137 (#998) 2023-03-30 22:18:19 +02:00
Nathan Mattes 8060017880
IOS-113, bullet 4: Replace icons (#980)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-20 08:45:28 +01:00
Marcus Kida bb15e16959
IOS-82: Increase Contrast (#973) 2023-03-16 09:05:41 +01:00
Nathan Mattes cd4cd66f61
Switch tabs in notification-screen (#969) 2023-03-13 20:37:55 +01: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 b8f1304c56
Fix errors and some warnings when building with Swift 5.8 (#952) 2023-03-01 14:58:12 +01:00
Marcus Kida 3b87916d9a
chore(Feed): Improve Feed performance by fetching statuses in batches (#914) 2023-02-07 00:46:35 +01:00
Marcus Kida 83f4eb1d8e
Merge pull request #862 from mastodon/fix-urlscheme-profile-resolve
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail
2023-01-11 15:31:22 +01:00
Nathan Mattes 77826956e8 Fetch all servers for login-auto-complete (#690)
so far, only those with an open registration were available. Server needs to be adjusted as well.
2023-01-07 13:02:59 +01:00
Nathan Mattes 5e4820739f Download languages (#690) 2023-01-07 13:02:58 +01: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
jinsu kim a00cd60076 Remove duplicate function fetchUser(). 2023-01-05 15:57:58 -08:00
jinsu kim 843eeed616 Leave data loading to ThreadViewModel 2023-01-02 00:26:15 -08:00
jinsu kim 5c82c04232 Use authenticated domain for API calls. Modify URL scheme 2023-01-01 15:55:54 -08:00
jinsu kim de962a0c09 Implement URL scheme 2023-01-01 01:01:01 -08:00
Nathan Mattes 6c6978c524
Merge pull request #805 from marysaka/fix/reduce-attachment-constraints
Accept missing metadata on attachments
2022-12-26 19:46:51 +01:00
Mary deb977707a Address comments 2022-12-25 12:04:59 +01:00
woxtu b00d6c0d27 Replace a deprecated constant 2022-12-23 21:00:13 +09:00
Mary 7eebb62267 Accept missing metadata on attachments
Akkoma/Pleroma (and Friendica until recently) aren't providing attachment meta information like width or height.

Because Mastodon app enforced those fields to be present, attachments would be filtered out.

This commit change the behaviour of Mastodon.Entity.Status.mastodonAttachments by allowing those values to be missing and use default values instead.
2022-12-21 23:06:49 +01:00
Nathan Mattes cb1b35c008 Fix iOS 15-deprecation-warning 2022-12-18 01:17:35 +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
Marcus Kida f530d109d3
chore: Address PR codestyle feedback 2022-12-14 09:51:15 +01:00
Marcus Kida 518941b10c
chore: Codestyle changes 2022-12-13 07:10:08 +01:00
Marcus Kida 85f4c454a3
chore: Refactor code and apply PR improvements 2022-12-13 06:56:07 +01: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 1c5b66f7e7
Embed a web view for viewing content inline 2022-12-02 20:35:11 -05:00
Marcus Kida d5be87992d
feat: Implement /translate endpoint 2022-12-02 23:15:07 +01:00
Marcus Kida 75dc530dcf
chore: Implement FollowedTagsViewModel+DiffableDataSource 2022-12-01 11:39:02 +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 b9e4c69576
feat: Implement follow/unfollow tag functionality 2022-12-01 10:54:59 +01:00
Marcus Kida 178a6e503a
feat: Implement layout for hashtag timeline header view 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
Kyle Bashour 176067800c Add card when merging 2022-11-26 23:42:02 -08:00
Marcus Kida 54a75d4138
feat: Delete Status and Notification Feeds for Blocked/Muted Users 2022-11-26 08:02:30 +01:00
Marcus Kida 803571bb81
chore: Revert CoreData 5 and update Block / Mute Database interactions 2022-11-26 08:02:30 +01:00
Marcus Kida bb30aae322
feat: Update block/mutes on block/mute action 2022-11-26 08:02:30 +01:00
Marcus Kida b1d92c69bd
chore: Don't recursively iterate through blocks/mutes 2022-11-26 08:02:29 +01:00
Marcus Kida 12cb8cf8d6
feat: Implement blocks/mutes pagination using link header 2022-11-26 08:02:29 +01:00
Marcus Kida 6be1e502b7
chore: Use MastodonUser.predicate in APIService+Mute 2022-11-26 08:02:29 +01:00
Marcus Kida 65ed6650e8
feat: Implement deletion of records for blocked users 2022-11-26 08:02:29 +01:00
Marcus Kida ac5e68b74b
feat: Delete Users / Statuses on Mute 2022-11-26 08:02:28 +01:00
Kyle Bashour f8d1afc7e4 Working pretty well 2022-11-23 21:51:39 -08:00
Kyle Bashour 595b46e96e Add card persistence 2022-11-23 20:03:45 -08:00
CMK 366287a9f8 fix: use singleton AppContext to workaround reentry problem 2022-11-23 14:16:28 +08:00
Marcus Kida 12bfff8b00
Merge pull request #579 from woxtu/patch
Fix typos
2022-11-21 17:31:05 +01:00
Stefan Painhapp d8164c2bc9 Fix Video Player Constraints issue 2022-11-17 14:26:40 +09:00
Nathan Mattes ea78f884ab Download and show server list (#540) 2022-11-15 23:29: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
CMK 88307057c0 feat: restore emoji picker for post compose 2022-11-13 19:42:50 +08:00
Nathan Mattes 1ac9e5c730 Fix build (again) (#365)
🤦
2022-11-08 16:38:01 +01:00
Nathan Mattes ee523c098e Make show/hide reblogs finally work (#365)
oh, and also indent to 4 spaces.

I needed some time to wrap my head around the data model and especially the various view-models, but hey, in the end it works. I still feel like this "I have no idea what I'm doing"-dog :D
2022-11-08 16:38:01 +01:00
Nathan Mattes 28749b5029 Fix build (#365)
🙈
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 ce0e56b84e Add showsReblog to CoreData/persistence (#365) 2022-11-08 16:38:01 +01:00
CMK a7cbbc0239 fix: compile failure issue 2022-11-04 13:28:09 +08: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 a7d5e23406 feat: [WIP] restore compose status publish function with background task support 2022-10-31 20:41:19 +08:00
CMK 0a3f19bdd3 feat: restore compose poll options 2022-10-26 18:35:10 +08:00
CMK 44a8b818e4 feat: [WIP] restore compose poll view 2022-10-21 19:12:44 +08:00
CMK 4367e8eaba feat: [WP] restore the content compose via SwiftUI and support expandable reply view for compose scene 2022-10-11 18:31:40 +08:00
CMK 02e3ad9a16 chore: [WIP] restore the replyTo entry for compose 2022-10-10 19:14:52 +08:00
CMK bb5c999bea chore: [WIP] inject AuthContext into ViewModel 2022-10-09 20:07:57 +08:00
CMK f73241caee chore: inject AuthContext 2022-10-08 15:16:10 +08:00
CMK db86bce8cf fix: Podfile target issue 2022-10-08 14:04:49 +08:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +08:00
CMK 64f3d2fe3a chore: [WIP] move core logic into package 2022-09-30 19:28:09 +08:00