Commit Graph

622 Commits

Author SHA1 Message Date
sunxiaojian 5f921c1537 Merge branch 'develop' into feature/statusMenu 2021-05-06 16:31:34 +08:00
CMK 1424d07e1d fix: content warning overlay layout issue 2021-05-06 16:25:40 +08:00
CMK 2a18244d84 fix: learn word cost too much CPU issue. Update TwitterTextEditor package source to upstream 2021-05-06 16:25:40 +08:00
CMK 51c01066d3 feat: add photo library permission checking 2021-05-06 15:05:24 +08:00
CMK 597fc3fa1a chore: set image url fallback 2021-05-06 14:41:48 +08:00
CMK 277d574254 chore: remove orig files 2021-04-30 19:51:05 +08:00
CMK f755a0eb2d fix: close button highlight 2021-04-30 19:34:45 +08:00
CMK 678ea6b3fc Merge branch 'develop' into feature/media-preview 2021-04-30 19:31:58 +08:00
CMK aceaa618e0 feat: add context menu for post image 2021-04-30 19:28:06 +08:00
sunxiaojian 514e5b0443 chore: remove useless change 2021-04-30 15:38:15 +08:00
sunxiaojian 8a5c62990e chore: add BlockDomainService 2021-04-30 15:08:35 +08:00
sunxiaojian 0403cc0109 Merge branch 'develop' into feature/statusMenu 2021-04-30 12:57:43 +08:00
sunxiaojian 33401b4e1f feature: finish domainBlock action and domainUnblick action 2021-04-30 12:53:25 +08:00
CMK aace886401 feat: add save photo action for image preview scene 2021-04-29 19:49:46 +08:00
sxiaojian88 26116a222e
Merge pull request #120 from tootsuite/fix/acctLookup
fix: acct lookup support
2021-04-29 19:24:30 +08:00
sunxiaojian ca320c555a fix: code format 2021-04-29 19:24:03 +08:00
sunxiaojian 1e5daf5a77 fix: the race-condition issue in username checking 2021-04-29 18:30:44 +08:00
CMK df2a73d96c fix: profile title view not align center issue. resolve #117. 2021-04-29 17:13:13 +08:00
sxiaojian88 e94432f615
Merge pull request #115 from tootsuite/feature/followrequest
Feature/followrequest
2021-04-29 17:08:06 +08:00
CMK 4b96ac4481 fix: disallow header preview when editing profile 2021-04-29 17:05:35 +08:00
sunxiaojian ccdc48add1 feature: blockDomain 2021-04-29 17:01:36 +08:00
sunxiaojian 9768721247 fix: the Core Data thread-safe issue 2021-04-29 16:20:18 +08:00
CMK 2fd10eab84 fix: avatar not using inner border issue 2021-04-29 16:03:44 +08:00
sunxiaojian 211e2f25d5 chore: add share post 2021-04-29 11:03:21 +08:00
sunxiaojian 236b5ca0dc fix: add observer for more menu 2021-04-29 10:50:10 +08:00
CMK 7a13b39c51 feat: handle profile banner preview 2021-04-28 20:36:10 +08:00
CMK acbbafb18f feat: handle profile avatar preview 2021-04-28 20:10:17 +08:00
sunxiaojian 273305cda9 chore: show menu in statusCell 2021-04-28 20:00:18 +08:00
sunxiaojian 23491e60b9 chore: add userProvider
chore: add userProvider
2021-04-28 20:00:13 +08:00
CMK 6f0b4354a7 feat: update preview present/dismiss transition style to pin-to-source rect 2021-04-28 19:06:45 +08:00
ihugo 8024be84b6 fix: Poll option placeholder not update after reorder
fix #109
2021-04-28 17:05:26 +08:00
CMK 7d8ffd187a feat: add media preview for status image 2021-04-28 15:02:34 +08:00
sunxiaojian a9fdd2efa3 fix: acct lookup support 2021-04-28 13:23:23 +08:00
sxiaojian88 ee5e2bde1f
Merge branch 'develop' into feature/followrequest 2021-04-27 19:43:47 +08:00
sunxiaojian 193b69b6b1 fix: change accept to reject 2021-04-27 19:41:55 +08:00
CMK 5d52fc4578 Merge branch develop into feature/push-notification
# Conflicts:
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon/Scene/HomeTimeline/HomeTimelineViewController+DebugAction.swift
#	Mastodon/Scene/Settings/SettingsViewModel.swift
2021-04-27 18:16:56 +08:00
CMK 37480fe67b feat: cancel sign-out user notification subscription when received 2021-04-27 18:05:29 +08:00
Hugo 2e8183adc6
Merge pull request #111 from tootsuite/feature/report
Feature/report
2021-04-27 17:53:20 +08:00
CMK 125f6d0a27 feat: show received notification status 2021-04-27 17:45:11 +08:00
ihugo d66491b726 feat: add prefetching feaature for reporting 2021-04-27 17:44:01 +08:00
CMK ed9c2ddd8f feat: handle notification response 2021-04-27 17:27:03 +08:00
sunxiaojian d03346c0de fix: add followrequest cell action 2021-04-27 16:54:23 +08:00
CMK 9c3e4a706e Merge branch develop into feature/push-notification 2021-04-27 16:29:34 +08:00
CMK aca358db26 feat: persist notification keys into Keychian 2021-04-27 16:26:59 +08:00
sunxiaojian 381bf37926 fix: delete old notifications in CoreData 2021-04-27 15:33:47 +08:00
sunxiaojian 124d4eef0a feature: add followRequest API 2021-04-27 14:43:38 +08:00
sunxiaojian 42f63808df feature: add follow request notification 2021-04-27 14:27:27 +08:00
sunxiaojian dcb1bb7053 fix: change delete to Delete, set deleteAction attributes: [.destructive] 2021-04-26 20:36:59 +08:00
CMK 59760696b5 feat: set badge auto increment and clear when app resume 2021-04-26 18:19:20 +08:00
ihugo 36a6b8b8cc Merge branch 'develop' into feature/report
# Conflicts:
#	Localization/app.json
2021-04-26 17:53:38 +08:00
ihugo 7eb79414a4 fix: memery leak 2021-04-26 17:41:24 +08:00
CMK 7d9a37e52f Merge branch 'develop' into feature/push-notification
# Conflicts:
#	Mastodon/Coordinator/SceneCoordinator.swift
2021-04-26 17:04:19 +08:00
CMK cbd598739e feat: make push notification trigger update when change setting 2021-04-26 16:57:50 +08:00
ihugo ad8df6813f fix: add entries for the reporting 2021-04-26 16:34:05 +08:00
ihugo 1b05d787df fix: make report-status can be revealed 2021-04-25 23:49:19 +08:00
ihugo 1356e3755f fix: make the keyboard to be laid out properly 2021-04-25 19:51:58 +08:00
ihugo 3f62272162 fix: lost comment if send without comment first 2021-04-25 18:45:17 +08:00
ihugo e9d015720b refactor: use `tableView.allowsMultipleSelection` 2021-04-25 18:28:47 +08:00
sunxiaojian 272f1c459e fix: add email svg with Dark Mode 2021-04-25 03:27:07 -07:00
sunxiaojian cd77afe4a1 fix: confirm email and resend email scene in Dark Mode 2021-04-25 03:02:31 -07:00
sunxiaojian 491448e753 fix: register scene Dark Mode 2021-04-25 02:19:47 -07:00
sunxiaojian 00794a259a fix: pick server scene Dark Mode 2021-04-25 02:00:05 -07:00
ihugo db48e56dd9 refactor: remove negative constraints 2021-04-25 15:51:45 +08:00
ihugo 85014802c4 style: rename `Id` to `ID` 2021-04-25 15:48:37 +08:00
ihugo cbc828eec2 refactor: remove UI part from ReportViewmodel 2021-04-25 15:36:40 +08:00
ihugo 479f21fd9f chore: remove secondary and rename elevated color 2021-04-25 13:26:28 +08:00
sunxiaojian 078c89adc7 fix: emptyView use tableView.readableContentGuide in pick server scene 2021-04-24 21:50:14 -07:00
CMK 9001289801 feat: add push notification 2021-04-25 12:48:29 +08:00
sunxiaojian e3001c772a fix: Handle keyboard return button in register scene 2021-04-24 20:39:21 -07:00
sunxiaojian 2bf40b3d09 fix: pick scene UI layout issue 2021-04-24 20:10:00 -07:00
sunxiaojian 490e168b7d fix: UI update in confirm email scene 2021-04-24 19:50:54 -07:00
sxiaojian88 bcdb55f9f0
Merge pull request #110 from tootsuite/feature/suggestion
Feature/suggestion
2021-04-23 04:49:06 -07:00
sunxiaojian d6d91180cb fix: the data source update queue , change activityIndicatorView color 2021-04-23 19:15:52 +08:00
sunxiaojian 61a26fbe66 fix: refresh block state when view will appear 2021-04-23 10:47:31 +08:00
ihugo 008bb49d2d fix: add selection state of report status 2021-04-23 09:37:18 +08:00
ihugo ce3f4f5e96 refactor: Use single file organization classes. 2021-04-22 23:02:24 +08:00
ihugo 21264fead1 refactor: To pass the ViewModel to coordinator 2021-04-22 23:01:07 +08:00
ihugo 3810588abb chor: restyle localized string 2021-04-22 22:58:21 +08:00
sunxiaojian 67f813a946 fix: update followState when view will appear 2021-04-22 20:35:41 +08:00
sunxiaojian e664722b13 chore: update UI/UX of suggestion account 2021-04-22 19:58:42 +08:00
sunxiaojian 64b4247706 chore: add a debug menu entry for testing EmptyView 2021-04-22 15:52:10 +08:00
sunxiaojian 326aea36cd fix: The empty view should not display when the user just sign-in the first time 2021-04-22 15:45:32 +08:00
sunxiaojian d4f4a3e086 fix: search scene UI update 2021-04-22 14:36:29 +08:00
ihugo d1e3039e38 fix: compile issue 2021-04-22 13:08:53 +08:00
ihugo 23d9853a71 Merge branch 'develop' into feature/report
# Conflicts:
#	CoreDataStack/Entity/Status.swift
2021-04-22 12:54:16 +08:00
ihugo e3df692c3f feat: report 2021-04-22 12:52:11 +08:00
sunxiaojian 7f6e9fb907 fix: suggestions account order 2021-04-22 10:29:53 +08:00
sunxiaojian 46fe59c920 chore: add debounce for refresh 2021-04-22 10:11:19 +08:00
sunxiaojian 106a5cc71a fix: homeTimeline refresh after follow people 2021-04-21 18:52:09 +08:00
sunxiaojian 9402dab97f fix: suggestion button tintColor 2021-04-21 18:08:07 +08:00
sunxiaojian 776263aaf2 chore: compatible with the old server 2021-04-21 18:03:44 +08:00
sunxiaojian c8474c6a7f feature: suggestion account scene 2021-04-21 16:17:42 +08:00
sunxiaojian e7cd130bf1 fix: L18n repair 2021-04-20 16:46:04 +08:00
sunxiaojian 731b49aaa0 chore: suggestion use v2 api 2021-04-20 15:40:10 +08:00
CMK f6e785a894 feat: set GIF pause and auto resume when toggle content warning overlay 2021-04-20 13:40:14 +08:00
CMK 04d427ea93 feat: make content warning works in the notification scene 2021-04-20 13:18:27 +08:00
CMK f8127428dd Merge branch 'develop' into feature/content-warning
# Conflicts:
#	CoreDataStack/CoreData.xcdatamodeld/CoreData.xcdatamodel/contents
#	Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved
2021-04-19 19:32:16 +08:00
CMK b7258dc7f2 fix: set reveal button hidden in the compose scene 2021-04-19 19:15:49 +08:00
CMK 4041929b3e feat: fulfill the content warning when compose reply post 2021-04-19 19:13:20 +08:00
CMK 81a1028f20 feat: pause video playback when set reveal state to false 2021-04-19 19:09:34 +08:00
sunxiaojian eb89ff6bdc fix: rename NotificationTableViewCell to NotificationStatusTableViewCell 2021-04-19 18:16:28 +08:00
sunxiaojian bd9860b792 Merge branch 'develop' into feature/notification 2021-04-19 18:07:21 +08:00
sunxiaojian da19f8f641 chore: remove Redundant codes 2021-04-19 18:06:02 +08:00
CMK f7aa5c123d fix: compose scene layout issue when presenting reply post 2021-04-19 17:50:58 +08:00
sunxiaojian bb03c10ef6 chore: apply review suggestions 2021-04-19 17:06:39 +08:00
sunxiaojian c814065edb fix: Scroll view has ambiguous scrollable content height and ViewDebug warning 2021-04-19 12:39:16 +08:00
sunxiaojian f6be51dd0f chore: remove UIView+Contraint 2021-04-19 12:25:01 +08:00
sunxiaojian 5ae2c44642 chore: remove useless code 2021-04-19 10:10:46 +08:00
sunxiaojian 462fafe706 chore: add navigation to ThreadScene 2021-04-18 22:10:36 +08:00
ihugo 8c7149af89 fix: server-side data is inconsistent with local 2021-04-18 02:02:08 +08:00
ihugo e42af11bf7 chore: generate strings and assets 2021-04-17 14:19:16 +08:00
ihugo f6dabb5e36 Merge branch 'develop' into feature/settings-rebase
# Conflicts:
#	CoreDataStack/CoreData.xcdatamodeld/CoreData.xcdatamodel/contents
#	Localization/app.json
#	Mastodon/Generated/Assets.swift
#	Mastodon/Generated/Strings.swift
#	Mastodon/Resources/en.lproj/Localizable.strings
#	Mastodon/Scene/HomeTimeline/HomeTimelineViewController+DebugAction.swift
2021-04-17 14:13:01 +08:00
ihugo 9be8b95aea fix: use right privacyURL
- remove some redundancy code
2021-04-17 14:01:57 +08:00
sunxiaojian 780025a3ce chore: use systemBackground color 2021-04-16 22:58:36 +08:00
sunxiaojian bc588e08db Merge branch 'develop' into feature/notification 2021-04-16 22:40:36 +08:00
sunxiaojian cfdd2ea670 chore: use stackView 2021-04-16 22:31:52 +08:00
CMK e3c6aaf64e fix: blurhash image render issue 2021-04-16 20:29:08 +08:00
CMK 680cf9a827 feat: add blurhash image and update content warning 2021-04-16 20:08:32 +08:00
sunxiaojian ca7eb7bb12 chore: code format 2021-04-16 13:45:54 +08:00
ihugo 0ebf86bd43 docs: add comments for hard code 2021-04-15 17:17:19 +08:00
sunxiaojian ecf622b866 fix: statusView layout issue 2021-04-15 12:35:40 +08:00
CMK ccb74b08f7 feat: make reply to foldable in compose scene 2021-04-15 12:10:43 +08:00
CMK 83904126dd chore: update face smiling icon 2021-04-15 11:38:47 +08:00
CMK 12a3164a21 fix: segmented control selection missing update issue 2021-04-15 11:21:33 +08:00
CMK 39c635705e chore: update background color 2021-04-15 11:21:07 +08:00
CMK 2507a7324e fix: set missing font for relationship action button 2021-04-15 11:05:19 +08:00
sunxiaojian 845080a69d fix: NotificationCell nameLabel and actionLabel layout issue 2021-04-15 10:53:03 +08:00
sunxiaojian 56d22e9c1c chore: use readableContentGuide 2021-04-15 10:37:46 +08:00
sunxiaojian 80d76acc27 chore: format file 2021-04-15 10:16:30 +08:00
sunxiaojian 2e86449c41 fix: bottom loader display aways 2021-04-14 20:02:41 +08:00
CMK aa3dff0770 feat: update thread dark mode background color 2021-04-14 19:49:50 +08:00
CMK 1723891099 chore: update background dark mode to follow system naming 2021-04-14 19:45:09 +08:00
sunxiaojian 687614d43a feat: add bottom loader 2021-04-14 19:04:11 +08:00
CMK 6c973ed17c fix: resolve #83 the text editor input content offset reset after input character issue 2021-04-14 18:11:59 +08:00
sunxiaojian bffb0a887b chore: rename searchBottomLoader , rename pure color 2021-04-14 18:00:43 +08:00
sunxiaojian f3394ff382 feat: add navigation to Notification Cell 2021-04-14 17:48:09 +08:00
sunxiaojian 2d71a48e36 chore: fix order of notification and layout issue 2021-04-14 17:13:23 +08:00
ihugo ceba2772c1 fix: remove magic numbers to make it clear and robust 2021-04-14 16:41:30 +08:00
sunxiaojian 288a8025ce chore: use NotificationStatusTableViewCell and NotificationTableViewCell 2021-04-14 16:24:40 +08:00
CMK 56bd6d0ae8 feat: set compose initial visibility following the account lock setting 2021-04-14 16:17:34 +08:00
CMK d5c9473528 feat: implement reply status entry and update query of API 2021-04-14 15:59:29 +08:00
sunxiaojian d99fb1af76 chore: make segment work in notification 2021-04-14 15:56:06 +08:00
sunxiaojian 66b07f41db chore: display status Content 2021-04-14 15:38:05 +08:00
CMK 0eff43e1d1 feat: update compose scene UI appearance 2021-04-14 15:24:54 +08:00
CMK 8df3b7d464 feat: make new reply display first 2021-04-14 11:23:19 +08:00
sunxiaojian 42628398e6 chore: display Notification Cell 2021-04-13 21:31:49 +08:00
sunxiaojian 773bfb6dd2 feature: notification API and CoreData 2021-04-13 19:56:35 +08:00
CMK fccf9ee080 Merge branch 'develop' into feature/post-thread
# Conflicts:
#	Mastodon.xcodeproj/project.pbxproj
2021-04-13 19:48:13 +08:00
CMK 5417e42757 feat: implement thread scene 2021-04-13 19:46:42 +08:00
ihugo db3d16be41 fix: use readable guider to layout section header 2021-04-13 18:12:40 +08:00