Eugen Rochko
3caf0ba923
Fix empty query sent to postgres for custom emojis ( #5121 )
2017-09-27 04:14:03 +02:00
Eugen Rochko
6e83b5e719
Update brakeman to 3.0 and bundler-audit to 0.6 ( #5117 )
2017-09-27 03:13:09 +02:00
nullkal
b32a1d5754
Refactor 500 file generation for future extension ( #5105 )
2017-09-26 11:55:33 +02:00
m4sk1n
9d53a38a44
i18n: Update Polish translation ( #5106 )
...
* i18n: Update Polish translation
* i18n: Update Polish translation
2017-09-26 14:19:25 +09:00
kibigo!
f7ca205f38
Fixed webpack config code
2017-09-25 19:35:54 -07:00
kibigo!
86e617a839
Better themeing support!!
2017-09-25 19:24:32 -07:00
Eugen Rochko
e528114c53
Follow-up to #4582 and #5027 , removing dead code ( #5101 )
2017-09-26 01:06:27 +02:00
Eugen Rochko
cf7fbf2c56
Fix #5059 - Stop processing payload if it's from local account ( #5100 )
2017-09-26 01:06:13 +02:00
Eugen Rochko
91e5b0dfdb
Send streaming API delete to people mentioned in status ( #5103 )
...
- Previously they wouldn't receive it unless they were author's
followers
- Skip unpush from public/hashtag timelines if status wasn't
public in the first place
2017-09-26 00:29:29 +02:00
Eugen Rochko
3b60832214
New error page graphic. Other error page improvements ( #5099 )
...
- 500.html generated with admin-set default locale if set
- Error page `<title>` includes Mastodon site title
- 500 title changed to "This page is not
correct" (ref: <https://www.youtube.com/watch?v=2VCAP_seh1A >)
- 500 content appended with "on our end" to make clear it's
not user's fault
2017-09-25 23:05:54 +02:00
Lynx Kotoura
259181c41a
Fix size of single media in media-gallery ( #5098 )
2017-09-25 20:26:50 +02:00
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.
2017-09-25 18:36:33 +02:00
Akihiko Odaki
98936bfcdf
Add missing validations in ActivityPub::Activity::Create ( #5096 )
2017-09-25 18:33:11 +02:00
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.
2017-09-25 17:10:49 +02:00
Yamagishi Kazutoshi
0fea700c7b
Refresh manifest before generate 500.html ( #5090 )
2017-09-25 16:58:12 +02:00
Eugen Rochko
2c8e3fbbfb
Generate 500.html with assets:precompile, remove loading from Google Fonts ( #5067 )
2017-09-25 04:04:04 +02:00
Eugen Rochko
b982d549f4
Add strong_migrations gem to warn when creating unsafe migrations ( #5078 )
2017-09-25 02:11:14 +02:00
Eugen Rochko
909a6d4661
Fix streaming API double-JSON-encoding status IDs for deletes ( #5069 )
2017-09-24 15:31:03 +02:00
JeanGauthier
3f3de38075
OC update: different emoji picker ( #5046 ) ( #5077 )
2017-09-24 12:17:47 +02:00
ThibG
c267acfcf7
Thread toot notification mails by conversation ( #5061 )
...
* Thread toot notification mails by conversation
* Make codeclimate happy and avoid potential mis-threading
2017-09-24 11:19:42 +02:00
Daigo 3 Dango
ab625c57ce
Compact status_ids in StatusRelationshipsPresenter ( #5073 )
2017-09-24 11:18:32 +02:00
abcang
e756c4f5ec
Fix media spoiler of DetailedStatus ( #5071 )
2017-09-24 11:15:11 +02:00
Daigo 3 Dango
a0bbeafb04
Suppress backtrace when failed to communicate with a remote instance ( #5076 )
2017-09-24 11:14:06 +02:00
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
2017-09-24 05:58:30 +02:00
Eugen Rochko
b2820c3913
Forgotten in #5039 , change statuses_tags tag_id to bigint ( #5070 )
2017-09-24 05:58:07 +02:00
Eugen Rochko
adc38078dd
Make sure nil IDs to not get cast to empty string in REST API ( #5068 )
2017-09-24 04:09:32 +02:00
Eugen Rochko
dae0af1fd2
Change mobile layout breakpoint from 1024px to 630px ( #5063 )
...
630px = Drawer + 1 Column
2017-09-24 01:25:07 +02:00
Eugen Rochko
5b8d0ad71b
Dropdown triangles a bit nicer, smoother scrolling on touch ( #5062 )
2017-09-24 00:40:10 +02:00
Eugen Rochko
233258c61b
Fix media gallery CSS ( #5064 )
2017-09-24 00:33:26 +02:00
Eugen Rochko
9c8aad612e
Require at least 2 characters before showing autosuggestions ( #5065 )
2017-09-24 00:33:17 +02:00
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
2017-09-23 23:41:25 +02:00
Ondřej Hruška
1924a71b5a
Make secondary toot button work nicer with file attachments & revert to the original behavior if it's disabled
2017-09-23 23:38:24 +02:00
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.
2017-09-23 23:11:02 +02:00
Mingye Wang
6dfeb64326
jsx/zh-*: Fix "pin column" for Chinese ( #5060 )
2017-09-23 22:47:15 +02:00
m4sk1n
427beb4177
i18n: Update Polish translation ( #5058 )
2017-09-23 22:14:39 +02:00
Lynx Kotoura
838f255fc2
Fix overflowing tabs in account__action-bar ( #5056 )
...
* Fix numbers in accounts columns
* Support edge compact-header
2017-09-23 21:06:16 +02:00
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
2017-09-23 14:47:32 +02:00
Eugen Rochko
66126f3021
Add custom emojis to the emoji picker ( #5052 )
2017-09-23 05:40:28 +02:00
Eugen Rochko
293972f716
New API: GET /api/v1/custom_emojis to get a server's custom emojis ( #5051 )
2017-09-23 01:57:23 +02:00
Eugen Rochko
9c8e602163
Fix custom emojis not detected when used in content warning ( #5049 )
2017-09-23 01:50:17 +02:00
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
2017-09-23 01:41:00 +02:00
Ondřej Hruška
169d83f532
Remove "extra clickable spaces" made obsolete by status re-design
2017-09-23 00:33:35 +02:00
Ondřej Hruška
31dd261375
applied blackle's fix for gallery offset with full-width media
2017-09-22 21:47:14 +02:00
Akihiko Odaki
0de82dd316
Do not filter statuses with unknown languages ( #5045 )
2017-09-22 19:33:17 +02:00
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
2017-09-22 19:32:57 +02:00
Nolan Lawson
b01ab55ed8
Fix PropTypes.oneOfType() warning ( #5041 )
2017-09-22 17:50:29 +02:00
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.
2017-09-22 13:20:04 +02:00
Nolan Lawson
d4f80824f7
Document REDIS_NAMESPACE ( #5038 )
2017-09-22 06:44:39 +02:00
Eugen Rochko
034fab39ab
Make dropdowns render into portal, expand animation ( #5018 )
...
* Make dropdowns render into portal, expand animation
* Improve actions modal style
2017-09-22 04:59:17 +02:00
Nolan Lawson
0df6442636
Use passive listener in privacy_dropdown.js ( #5037 )
2017-09-22 04:59:01 +02:00