1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-15 18:29:36 +01:00
Commit Graph

95 Commits

Author SHA1 Message Date
Nathan Mattes
e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +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
e041a7e086 Add Hashtag-Regex (IOS-141) 2023-09-20 16:29:30 +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
2957408c0a
Merge pull request #943 from nossipova/594-post-visibility
Show post visibility indicator
2023-08-28 12:29:10 +02:00
Nathan Mattes
075b8a739a Fix some warnings 2023-08-21 11:32:00 +02:00
Nathan Mattes
cc2f7f0b8c
Hide activity indicator in case of no emojis (#1088) 2023-07-04 16:08:11 +02:00
Jed Fox
f8617ac8f2
Don’t insta-discard if there is a CW/poll/attachment 2023-06-30 17:44:44 -04:00
Jed Fox
dd953d69ea
Fix comparison of current content with initial content 2023-06-30 17:38:55 -04:00
Natalia Ossipova
00a8c7523b Merge branch 'develop' into 594-post-visibility 2023-05-17 13:11:13 +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
Nathan Mattes
e6e691b7aa Scroll enabled for large display zoom only (#1009) 2023-05-04 10:48:59 +02:00
Nathan Mattes
4066b26030 Put actions in scrollView (#1009) 2023-05-04 10:48:59 +02:00
Jed Fox
391bc455ea
Fix new crash when closing compose VC (#1018) 2023-04-17 23:21:55 +02:00
Jed Fox
e2ef9f07a1
Fix calculating the position of the keyboard in ComposeContentViewController (#909)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-04-12 14:39:17 +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
b8f1304c56
Fix errors and some warnings when building with Swift 5.8 (#952) 2023-03-01 14:58:12 +01:00
Marcus Kida
a0b318ad7b
Fix #902: Uploaded video get's distorted because aspect ratio is not maintained (#958) 2023-02-27 14:36:21 +01:00
Nathan Mattes
eb0c0f395c
Fix Crash when publishing a new post (#947) 2023-02-23 21:56:18 +01:00
Natalia Ossipova
21d1a59e7b Show post visibility indicator 2023-02-15 14:18:55 +01:00
Marcus Kida
b178c0cff9
Refactor if/else in PollOptionRow 2023-02-08 15:25:55 +01:00
Jed Fox
8217f5ce28
Mark the poll editor as a group 2023-02-07 17:00:22 -05:00
Jed Fox
9f541957a7
Hide the circle and grabber icons from a11y tools 2023-02-07 16:57:08 -05:00
Jed Fox
5637056790
Add label to “Add Option” button 2023-02-07 16:56:49 -05:00
Jed Fox
7d8c40218c
Add move up / move down / remove option actions to poll options 2023-02-07 16:56:17 -05:00
Jed Fox
06183f5649
Refactor: remove unnecessary Published property 2023-02-07 16:52:09 -05:00
Jed Fox
0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
woxtu
864ec73a9a
Remove Kingfisher (#858)
* Replace image type detection

* Replace image processing

* Remove Kingfisher
2023-01-11 09:10:04 +01:00
Marcus Kida
b3a4967c80
Merge pull request #800 from ivannnito/Issue_732
Change background color and text color to improve text readability for visually impaired prompt.
2023-01-06 14:43:49 +01:00
Marcus Kida
a0a8a28c88
chore(compose): Update ALT input to reflect Figma design 2023-01-06 14:19:34 +01:00
Marcus Kida
61465a8f9f
Merge branch 'develop' into Issue_732 2023-01-06 13:55:19 +01:00
Marcus Kida
318c734f4b
Merge branch 'develop' into Warning-fix 2023-01-06 11:41:05 +01:00
Marcus Kida
6180159899
Merge branch 'develop' into feature/emoji-picker-structure 2023-01-05 17:02:20 +01:00
Marcus Kida
6beaabbe32
Merge branch 'develop' into fix-warnings 2023-01-04 15:12:51 +01:00
Iván Dombiak
93eeface69 Adding inset to the text of the user due to the prompt having the inset but not the user text. 2022-12-23 20:26:28 -08:00
Iván Dombiak
c89ff95f0c Extended the border of the visibility of the visually impaired prompt and moved the text inwards.
Please let me know if any other change should be made.
2022-12-23 14:27:13 -08:00
woxtu
2a66afc52c Remove a redundant defer 2022-12-23 20:36:27 +09:00
Iván Dombiak
91547939f3 Change background color and text color to improve text readability for visually impaired prompt.
Closes #732
2022-12-20 14:14:00 -08: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
Marcus Kida
248d0a5570
fix: Text in compose post is not selectable, focussable, pastable 2022-11-29 11:51:28 +01:00
Sven Weidauer
a247bfc91f Remove dead code. 2022-11-26 16:38:02 +01:00
CMK
a45fa65802 chore: set minimal size limit for photo to 1MiB 2022-11-23 12:27:46 +08:00
CMK
f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08:00
Marcus Kida
12bfff8b00
Merge pull request #579 from woxtu/patch
Fix typos
2022-11-21 17:31:05 +01:00
Rose
8f61562355 Fix compiler warnings
Including fixing some deprecations
2022-11-21 10:12:54 -05:00
CMK
2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
CMK
ce076b264b fix: hashtag auto complete issue 2022-11-19 00:56:44 +08:00