2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

191 Commits

Author SHA1 Message Date
shannon
233e8d4027 Some tweaks to the pick from photo library process.
Contributes to IOS-364
2025-01-28 11:02:03 -05:00
shannon
54ee5603b5 Add indication of publishing progress to the publish button.
Contributes to  #846 Toot lost in poor network conditions
2024-12-13 16:41:52 -05:00
shannon
1b4852c9b0 Do not dismiss compose window until post success is confirmed
Contributes to  #846 Toot lost in poor network conditions
Contributes to  #1215 [BUG] New posts fail to publish
2024-12-13 15:36:34 -05:00
shannon
65bf555d98 Refactor: Remove NeedsDependency
The AppContext is already a singleton. SceneCoordinators are unique to UIWindowScenes, so fetch them that way.

Fixes iOS-324
2024-12-03 13:21:05 -05:00
shannon
c4442fe8a9 Fix crash on launch due to infinite loop
And more honestly about singletons.
2024-11-15 12:25:58 -05:00
shannon
04108fd0e4 Remove AuthContext
MastodonAuthenticationBox, which already wraps the MastodonAuthentication, is now used directly.
2024-11-14 09:49:19 -05:00
Marcus Kida
2e7054cb68
Implement "Default Post Language" and "Ask Before"-Alerts (#1240)
* Implement Settings->General->"Ask Before" and add "Ask Before Posting Without Alt Text" IOS-166

* Implement Alt Missing Alert for Status Edits (IOS-166)

* Fix status edit composes duplicate message

* Show (or don't) the "Really delete post?" Alert based on the User's preference (IOS-166)

* Implement alert for boost/unboost (IOS-166)

* Begin implementing "Default Post Language"-Setting (IOS-166)

* Show "Unfollow @user?" Alert (IOS-166)

* Merge conflict fixes for IOS-166

* Implement default post language setting (IOS-166)

* Fix follow button state not updated correctly (IOS-166)

* Add PR feedback (IOS-166)

* Improve default language cell style (IOS-166)

* Fix language filter broken (IOS-166)
2024-02-28 10:52:04 +01:00
Marcus Kida
976f934df9
Remove Status from CoreData (#1167) 2024-01-08 11:17:40 +01:00
Nathan Mattes
e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +02:00
Nathan Mattes
fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Nathan Mattes
cc2f7f0b8c
Hide activity indicator in case of no emojis (#1088) 2023-07-04 16:08:11 +02:00
Nathan Mattes
8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +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
fbc4c98e7d
Force view controllers into portrait orientation where needed 2022-12-31 08:37:07 -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
CMK
f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08: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
abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
CMK
abe6292696 chore: code clean 2022-11-15 00:59:04 +08:00
CMK
591acb4c2c feat: restore keyboard shortcut for compose scene 2022-11-14 19:43:32 +08:00
CMK
4d03e114ca fix: iPad navigation bar still could be large title issue 2022-11-14 19:14:13 +08:00
CMK
939429aacc feat: restore share action extension 2022-11-14 00:05:43 +08:00
CMK
91bfc8ad5a feat: add paste image input for post compose scene 2022-11-13 22:57:35 +08:00
CMK
b1f03d397c
Merge pull request #486 from NanoSector/feature/385-paste-from-clipboard
feat: handle paste event and insert images on the clipboard
2022-11-13 22:46:20 +08:00
CMK
929a27d572 feat: [WIP] restore publish button and compose pre-insert content 2022-11-13 22:08:26 +08:00
CMK
88307057c0 feat: restore emoji picker for post compose 2022-11-13 19:42:50 +08:00
CMK
e7ef0f79c7 feat: restore auto-complete for compose scene content input 2022-11-13 16:04:29 +08:00
NanoSector
9d7614a403
feat: partially restore image paste handler functionality after SwiftUI rewrite
Signed-off-by: NanoSector <rick@nanosector.nl>
2022-11-01 19:55:51 +01:00
NanoSector
85ffc88d2a
Merge branch 'develop' into feature/385-paste-from-clipboard
Signed-off-by: NanoSector <rick@nanosector.nl>

# Conflicts:
#	Mastodon/Scene/Compose/ComposeViewController.swift
2022-11-01 19:29:22 +01:00
CMK
a7d5e23406 feat: [WIP] restore compose status publish function with background task support 2022-10-31 20:41:19 +08:00
NanoSector
dbd72b3523
feat: handle paste event and insert images on the clipboard
Signed-off-by: NanoSector <rick@nanosector.nl>
2022-10-30 17:50:45 +01:00
CMK
44a8b818e4 feat: [WIP] restore compose poll view 2022-10-21 19:12:44 +08:00
CMK
f1b5c52815 feat: restore the compose toolbar layout using SwiftUI 2022-10-18 19:01:31 +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
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
CMK
64f3d2fe3a chore: [WIP] move core logic into package 2022-09-30 19:28:09 +08:00
CMK
0c8e7d2cea feat: update to new purple tint color 2022-06-02 17:48:18 +08:00
CMK
2784fb8771 fix: duplicate auto complete items may crash the app issue 2022-05-13 13:59:54 +08:00
CMK
8aa8825269 chore: suppress warnings 2022-05-07 11:42:10 +08:00
CMK
080f20d253 feat: add hashtag and news list for Discovery scene 2022-04-13 20:43:16 +08:00
CMK
4614bd8692 fix: textView break IME input issue. resolve #342 2022-03-19 02:51:24 +08:00
CMK
12349105e7 chore: update the snapshot documents and UITests 2022-03-19 01:02:23 +08:00
CMK
e5a72972cd chore: update textView minimum height from 88 to 64 2022-02-17 16:35:59 +08:00
CMK
10eae495e4 fix: inputAssistantItem duplicate setup issue 2022-02-17 16:35:22 +08:00
CMK
d4a4e4ba3d chore: update color panel 2022-02-15 18:16:09 +08:00
CMK
1ac0bd65be fix: add missing shadow for compose publish button 2022-02-10 14:22:14 +08:00