Commit Graph

4469 Commits (d37a56c07cdc475f9a0f5a87d65d1e258c48644b)
 

Author SHA1 Message Date
ThibG d37a56c07c Update remote ActivityPub users when fetching their toots (#5545) 7 years ago
Nolan Lawson 2cea4592a3 Avoid modifying emoji data inline (#5548) 7 years ago
Nolan Lawson 512feab222 Add margin to account for Edge disappearing scrollbar (#5522)
* Add margin to account for Edge disappearing scrollbar

* Fix 16px margin for DMs and horizontal line
7 years ago
Nolan Lawson 5e111ce16d Reactor unfollow_modal, boost_modal, delete_modal (#5505) 7 years ago
Alda Marteau-Hardi 4080569c2d Fix a grammatical error in the notifications. (#5555) 7 years ago
Marcin Mikołajczak 2cbb8e8cd1 i18n: Update Polish translation (#5547) 7 years ago
Herbert Kagumba 3e9236b343 Separate Follow/Unfollow and back buttons (#5496) 7 years ago
ThibG 89c77fe225 Instantiate service classes for each call (fixes #5540) (#5543) 7 years ago
Nolan Lawson e843f62f47 Avoid unnecessary Motion components in icon_button.js (#5544) 7 years ago
Nolan Lawson ec487166db Directly use <Motion/> if not reducing motion (#5546) 7 years ago
David Yip 37b267e2ab Add artist, title, and date metadata to boop.{mp3,ogg} (#5531)
For boop.mp3, this commit adds both ID3v1 and ID3v2 tags.  For boop.ogg,
we use Vorbis metadata.

In the case of boop.mp3, this also adds a cover image. Interestingly, it
didn't seem to affect the size of boop.mp3 much, despite being ~8k.
boop.ogg seemed to be much more affected and so no cover image was added
to that version.
7 years ago
Nolan Lawson 3de22a82bf Refactor initial state: reduce_motion and auto_play_gif (#5501) 7 years ago
Akihiko Odaki e4080772b5 Use contenthash for ExtractTextWebpackPlugin (#5462)
[hash] is not documented.
7 years ago
nullkal 781105293c Feature: Unlisted custom emojis (#5485) 7 years ago
puckipedia 0cb329f63a Allow ActivityPub Note's tag and attachment to be single objects (#5534) 7 years ago
unarist 0129f5eada Optimize FixReblogsInFeeds migration (#5538)
We have changed how we store reblogs in the redis for bigint IDs. This process is done by 1) scan all entries in users feed, and 2) re-store reblogs by 3 write commands.

However, this operation is really slow for large instances. e.g. 1hrs on friends.nico (w/ 50k users). So I have tried below tweaks.

* It checked non-reblogs by `entry[0] == entry[1]`, but this condition won't work because `entry[0]` is String while `entry[1]` is Float. Changing `entry[0].to_i == entry[1]` seems work.
  -> about 4-20x faster (feed with less reblogs will be faster)
* Write operations can be batched by pipeline
  -> about 6x faster
* Wrap operation by Lua script and execute by EVALSHA command. This really reduces packets between Ruby and Redis.
  -> about 3x faster

I've taken Lua script way, though doing other optimizations may be enough.
7 years ago
erin 22da775a85 Fix copying emojos: redirect to the page you were on (#5509) 7 years ago
りんすき d556be2968 Fix column design broken with very long title (#5493)
* Fix #5314

* fix not beautiful code

* fix broken design with mobile view

* remove no longer needed code
7 years ago
unarist 4f337c020a Fix Cocaine::ExitStatusError when upload small non-animated GIF (#5489)
Looks like copied tempfile need to be flushed before further processing. This issue won't happen if the uploaded file has enough file size.
7 years ago
Nolan Lawson 02f7f3619a Remove translateZ(0) on modal overlay (#5478) 7 years ago
Ratmir Karabut 20fee786b1 Update Russian translation (#5517)
* Add Russian translation (ru)

* Fix a missing comma

* Fix the wording for better consistency

* Update Russian translation

* Arrange Russian setting alphabetically

* Fix syntax error

* Update Russian translation

* Fix formatting error

* Update Russian translation

* Update Russian translation

* Update ru.jsx

* Fix syntax error

* Remove two_factor_auth.warning (appears obsolete)

* Add missing strings in ru.yml

A lot of new strings translated, especially for the newly added admin section

* Fix translation consistency

* Update Russian translation

* Update Russian translation (pluralizations)

* Update Russian translation

* Update Russian translation

* Update Russian translation (pin)

* Update Russian translation (account deletion)

* Fix extra line

* Update Russian translation (sessions)

* Update Russian translation

* Update Russian translation

* Fix merge conflicts (revert)

* Update Russian translation

* Update Russian translation (fix)

* Update Russian translation (fix quotes)

* Update Russian translation (fix quotes)

* Update Russian translation (fix)

* Update Russian translation

* Add quotes

* bundle exec i18n-tasks normalize
7 years ago
Anna e só 74777599cf l10n: PT-BR translation updated (#5530) 7 years ago
Olivier Nicole 1ba3725473 Complete Esperanto translation (#5520) 7 years ago
Marcin Mikołajczak fdb0848e08 i18n: Update Polish Translation (#5494) 7 years ago
Nolan Lawson 8392ddbf87 Remove unnecessary translateZ(0) when doing scale() (#5473) 7 years ago
masarakki 049381b284 remove-duplicated-jest-config (#5465) 7 years ago
Sho Kusano 09d81defcd Suppress type error(not a function) on calling fastSeek (#5452) 7 years ago
Eugen Rochko 3810d98cd8 Bump version to 2.0.0 🐘 7 years ago
Renato "Lond" Cerqueira 26b2a6a71e Fix pt-BR translation strings related to advanced search. (#5449) 7 years ago
Technowix edf9a5e4fc Revert #5438 for FR (#5450)
As said here https://github.com/tootsuite/mastodon/pull/5438 the point of shortening the timestamp is legit, and after some time of adaptation no mistakes can be mades.
7 years ago
Håkan Eriksson c710069c12 Some typos and supplementation in sentence structures (#5441)
* Swedish file added

* Swedish file added

* Swedish file updated

* Swedish languagefile added

* Add Swedish translation

* Add Swedish translation

* Started the Swedish translation

* Added Swedish lang settings

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Swedish language completed and added

* Swedish language Simple_form added

* Swedish language Divise added

* Swedish language doorkeeper added

* Swedish language - now all file complete

* Swedish - Typos and supplementation in sentence structure

* Update simple_form.sv.yml

* Update sv.yml

* Update sv.yml

Rearranged the alphabetical order.
7 years ago
Yamagishi Kazutoshi 990d6dd565 Run `i18n-tasks checked-normalized` in Travis CI (#5443) 7 years ago
Yamagishi Kazutoshi 402da46ff6 Enable coverage for Jest (#5442) 7 years ago
JohnD28 e7099d8d9e fr.json typo (realtive time) (#5447)
Typo correction : https://fr.wikipedia.org/wiki/Heure#Typographie
7 years ago
Eugen Rochko 637ea3bb5b Bump version to 2.0.0rc4 7 years ago
Jeroen 363d0d3a44 Dutch: A few strings I found last minute (#5440)
* Dutch: A few strings I found last minute

* Update simple_form.nl.yml
7 years ago
YaQ 6e54719474 Make theme directory and Rename application.scss (#5336)
* Rename application.scss

* Move to 'default' directory

* Follow review

Move directory, and Rename "mastodon".

* Revert rename

* undo removal of newline
7 years ago
Eugen Rochko f3003417c5 When unreblog arrives over streaming API, just delete in UI (#5439) 7 years ago
JeanGauthier 33ea042dec i18n better wording (OC/CA/FR) + string added in FR (#5438)
* Update oc.json

* Update fr.json

* Update ca.json

* Update fr.json

* Update simple_form.fr.yml

* Update ca.json

* Update fr.json

* Update oc.json

* Update oc.json

* Update fr.json
7 years ago
Nolan Lawson 8b22a63ab0 Fix scrolling of dropdown when offscreen (#5434) 7 years ago
Eugen Rochko 05686cc99d Fix unwanted content warning gap in CSS (#5436)
Fix #5356
7 years ago
Eugen Rochko 484208ce12 When status is fetched instead of delivered, do not stream it (#5437) 7 years ago
unarist 3bc8924940 Don't capture scheme-less URLs in the status (#5435)
Specifically, this fixes status length calculation to be same as JS side.

BTW, since this pattern used in not only preview card fetching, we
should extract it (with twitter-regex?) and write tests I think.
7 years ago
JeanGauthier a02de9e012 i18n update (#5427) in OC/CA/FR/ES (#5431)
* Update oc.json

* Update ca.json

* Update fr.json

* Update es.json
7 years ago
unarist 2d395324e1 Fix React warning about tabIndex on status with CW (#5432) 7 years ago
Jakob Kramer e6c9756fa9 Update German translation (#5425) 7 years ago
Yamagishi Kazutoshi 5050719fac Add Japanese translations (#5427)
* yarn manage:translations

* Add Japanese translation for #5410

* Add Japanese translation for #5393
7 years ago
Yamagishi Kazutoshi 989553c69a Normalize locale files (#5429) 7 years ago
masarakki 0e0c6b1b4b use-DB_NAME-in-development (#5430) 7 years ago
aschmitz 554c2fd8af Clean up reblog tracking keys, related improvements (#5428)
* Clean up reblog-tracking sets from FeedManager

Builds on #5419, with a few minor optimizations and cleanup of sets
after they are no longer needed.

* Update tests, fix multiply-reblogged case

Previously, we would have lost the fact that a given status was
reblogged if the displayed reblog of it was removed, now we don't.

Also added tests to make sure FeedManager#trim cleans up our reblog
tracking keys, fixed up FeedCleanupScheduler to use the right loop,
and fixed the test for it.
7 years ago