Eugen Rochko
510df0ac55
Fix emojify() by generating a mapping to existing Twemoji files ( #5080 )
A new rake task emojis:generate downloads a full list of valid
unicode sequences from unicode.org and checks it against existing
Twemoji files, finally generating a map from each sequence to the
existing file (e.g. when there's multiple ways an emoji can be
expressed). The map is dumped into app/javascript/mastodon/emoji_map.json
That file is loaded by emojione_light.js (now a misnomer) which
decorates it further with shortcodes taken from emoji-mart's index.
7 years ago
Akihiko Odaki
98936bfcdf
Add missing validations in ActivityPub::Activity::Create ( #5096 )
7 years ago
unarist
5c82c2b75f
Increase max height of preview card image ( #5092 )
We added horizontal layout to preview card for wide image. However, max height of the thumbnail is still limited to 120px and it makes nearly square images to too small for that layout.
This PR increases max height as well as max width.
7 years ago
Yamagishi Kazutoshi
0fea700c7b
Refresh manifest before generate 500.html ( #5090 )
7 years ago
Eugen Rochko
2c8e3fbbfb
Generate 500.html with assets:precompile, remove loading from Google Fonts ( #5067 )
7 years ago
Eugen Rochko
b982d549f4
Add strong_migrations gem to warn when creating unsafe migrations ( #5078 )
7 years ago
Eugen Rochko
909a6d4661
Fix streaming API double-JSON-encoding status IDs for deletes ( #5069 )
7 years ago
JeanGauthier
3f3de38075
OC update: different emoji picker ( #5046 ) ( #5077 )
7 years ago
ThibG
c267acfcf7
Thread toot notification mails by conversation ( #5061 )
* Thread toot notification mails by conversation
* Make codeclimate happy and avoid potential mis-threading
7 years ago
Daigo 3 Dango
ab625c57ce
Compact status_ids in StatusRelationshipsPresenter ( #5073 )
7 years ago
abcang
e756c4f5ec
Fix media spoiler of DetailedStatus ( #5071 )
7 years ago
Daigo 3 Dango
a0bbeafb04
Suppress backtrace when failed to communicate with a remote instance ( #5076 )
7 years ago
Eugen Rochko
2f079573ed
In detail status view, display attachment uncropped if there's only one ( #5054 )
* In detail status view, display attachment uncropped if there's only one
* Make media spoiler the size of the media it hides, enable on static
7 years ago
Eugen Rochko
b2820c3913
Forgotten in #5039 , change statuses_tags tag_id to bigint ( #5070 )
7 years ago
Eugen Rochko
adc38078dd
Make sure nil IDs to not get cast to empty string in REST API ( #5068 )
7 years ago
Eugen Rochko
dae0af1fd2
Change mobile layout breakpoint from 1024px to 630px ( #5063 )
630px = Drawer + 1 Column
7 years ago
Eugen Rochko
5b8d0ad71b
Dropdown triangles a bit nicer, smoother scrolling on touch ( #5062 )
7 years ago
Eugen Rochko
233258c61b
Fix media gallery CSS ( #5064 )
7 years ago
Eugen Rochko
9c8aad612e
Require at least 2 characters before showing autosuggestions ( #5065 )
7 years ago
Ondřej Hruška
210e6776fc
Fix intl warning with disabled secondary toot btn
- Moved building the secondary btn text into the if to avoid trying to translate 'none' visibility
7 years ago
Ondřej Hruška
1924a71b5a
Make secondary toot button work nicer with file attachments & revert to the original behavior if it's disabled
7 years ago
Ondřej Hruška
67f8277526
Add secondary toot button (opt-in) ( #153 )
Add secondary toot button + other toot button enhancements.
Squashing so it's easy to revert if needed.
7 years ago
Mingye Wang
6dfeb64326
jsx/zh-*: Fix "pin column" for Chinese ( #5060 )
7 years ago
m4sk1n
427beb4177
i18n: Update Polish translation ( #5058 )
7 years ago
Lynx Kotoura
838f255fc2
Fix overflowing tabs in account__action-bar ( #5056 )
* Fix numbers in accounts columns
* Support edge compact-header
7 years ago
Eugen Rochko
1e02ba111a
Add emoji autosuggest ( #5053 )
* Add emoji autosuggest
Some credit goes to glitch-soc/mastodon#149
* Remove server-side shortcode->unicode conversion
* Insert shortcode when suggestion is custom emoji
* Remove remnant of server-side emojis
* Update style of autosuggestions
* Fix wrong emoji filenames generated in autosuggest item
* Do not lazy load emoji picker, as that no longer works
* Fix custom emoji autosuggest
* Fix multiple "Custom" categories getting added to emoji index, only add once
7 years ago
Eugen Rochko
66126f3021
Add custom emojis to the emoji picker ( #5052 )
7 years ago
Eugen Rochko
293972f716
New API: GET /api/v1/custom_emojis to get a server's custom emojis ( #5051 )
7 years ago
Eugen Rochko
9c8e602163
Fix custom emojis not detected when used in content warning ( #5049 )
7 years ago
Eugen Rochko
846cd4e838
Switch from EmojiOne to Twemoji, different emoji picker ( #5046 )
* Switch from EmojiOne to Twemoji, different emoji picker
* Make emoji-mart use a local spritesheet
* Fix emojify test
* yarn manage:translations
7 years ago
Ondřej Hruška
169d83f532
Remove "extra clickable spaces" made obsolete by status re-design
7 years ago
Ondřej Hruška
31dd261375
applied blackle's fix for gallery offset with full-width media
7 years ago
Akihiko Odaki
0de82dd316
Do not filter statuses with unknown languages ( #5045 )
7 years ago
nullkal
dcfc9b2204
Fix the migration error when deprecated_preview_cards has been deleted ( #5043 )
* Fix the migration error when deprecated_preview_cards has deleted
* Re-run Travis CI
7 years ago
Nolan Lawson
b01ab55ed8
Fix PropTypes.oneOfType() warning ( #5041 )
7 years ago
aschmitz
dd4ef69839
Hardcode IdToBigints migration columns ( #5039 )
This addresses a comment during review:
https://github.com/tootsuite/mastodon/pull/4801#discussion_r139337452
This means we'll need to make sure that all _id columns going forward
are bigints, but that should happen automatically in most cases.
7 years ago
Nolan Lawson
d4f80824f7
Document REDIS_NAMESPACE ( #5038 )
7 years ago
Eugen Rochko
034fab39ab
Make dropdowns render into portal, expand animation ( #5018 )
* Make dropdowns render into portal, expand animation
* Improve actions modal style
7 years ago
Nolan Lawson
0df6442636
Use passive listener in privacy_dropdown.js ( #5037 )
7 years ago
Nolan Lawson
245816ab27
Eliminate re-renders for intersection_observer_article.js ( #5036 )
7 years ago
kibigo!
c2b479efec
Long display names now ellipsis properly
7 years ago
kibigo!
a94dc21c79
Styling fixes for header redesign
7 years ago
David Yip
9512db920c
Merge pull request #148 from glitch-soc/better-header
Improvements to status headers and content
7 years ago
Ondřej Hruška
c89cce0219
autoscroll emoji suggestions box
7 years ago
syui
63819c848d
fix : mobile style of /about/more ( #5034 )
7 years ago
beatrix
fa3587645d
Merge pull request #149 from glitch-soc/mojon-suggest
Emoji and Hashtag autocomplete
7 years ago
MIYAGI Hikaru
a9abe89093
Fix shortname problem in emojify() (regression from #5016 ) ( #5032 )
When colon appears end of line, skiped all character containing unicode emojis. Fixed.
https://github.com/tootsuite/mastodon/pull/5016#issuecomment-331012008
7 years ago
kibigo!
9ed51cecd0
Fixed notification appearance
7 years ago
Ondřej Hruška
514edd3c23
fulltext mojo suggestions
7 years ago
Ondřej Hruška
a3760b7729
TURBO shortcode search
7 years ago