1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-15 10:24:32 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
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
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
be255ff53b fix: compose content could not post media only issue 2022-11-17 20:41:55 +08:00
David Godfrey
5c508dfce0 Sort emoji alphabetically, and into sections 2022-11-17 00:20:02 +00:00
Marcus Kida
eb26a4d6c3
fix: Improve media inline appearance 2022-11-15 15:44:51 +01:00
CMK
220fd6ae02 feat: improve the i18n workflow 2022-11-15 01:44:28 +08:00
CMK
0a68059122 Merge branch 'develop' into fix-reply-visibility 2022-11-14 19:59:19 +08:00
CMK
0612d97227 Merge branch 'develop' into compose-a11y 2022-11-14 19:47:28 +08:00
CMK
591acb4c2c feat: restore keyboard shortcut for compose scene 2022-11-14 19:43:32 +08:00
CMK
af0dc45d1b feat: update i18n string 2022-11-14 19:27:09 +08:00
CMK
bc428486ae chore: update i18n resources 2022-11-14 19:20:14 +08:00
CMK
25f4a6b082 feat: restore post compose limit 2022-11-14 19:14:46 +08:00
CMK
2b2707c600 feat: add throttle for post compose auto-complete query 2022-11-14 18:53:09 +08:00
CMK
7e7f41112e fix: visibility missing bind back to source issue 2022-11-14 18:41:54 +08:00
woxtu
a36a303532 Fix typos 2022-11-14 02:53:59 +09:00
CMK
81bc8eb662 fix: video may in portrait mode issue 2022-11-14 01:19:39 +08:00
CMK
1e71f0c147 feat: restore media description text field 2022-11-14 00:57:44 +08:00
CMK
26c6b8f2ee chore: code clean up 2022-11-13 22:40:36 +08:00
CMK
b47f8ead37 fix: compile issue 2022-11-13 22:40:26 +08:00
CMK
f80b751d93 feat: camera and file attachment input 2022-11-13 22:40:03 +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
CMK
f7d0186bf3 feat: add compress progress display. Set video compress config to 720p at 60 fps 2022-11-11 21:28:19 +08:00
CMK
0100d8cbab feat: compress video before upload 2022-11-11 19:02:44 +08:00
CMK
088e6f05ec feat: upload media in queue 2022-11-11 18:10:13 +08:00
CMK
d6b90f40bd feat: add simple progress remain time estimate 2022-11-10 18:36:36 +08:00