]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoRevert "Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)" (#4157)
nightpool [Tue, 11 Jul 2017 16:19:16 +0000 (12:19 -0400)]
Revert "Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)" (#4157)

This reverts commit 425acecfdb15093a265b191120fb2d4e4c4135c4.

8 years agoFix #2848 - Rake task to redownload avatars/headers (#4156)
Eugen Rochko [Tue, 11 Jul 2017 15:25:49 +0000 (17:25 +0200)]
Fix #2848 - Rake task to redownload avatars/headers (#4156)

Can be filtered by a specific domain
Resolves #2292

8 years agoFix #3462 - Require authentication for search API (#4155)
Eugen Rochko [Tue, 11 Jul 2017 15:08:26 +0000 (17:08 +0200)]
Fix #3462 - Require authentication for search API (#4155)

This makes it consistent with /api/v1/accounts/search and
previous behaviour has been an oversight.

8 years agoRedesign the landing page, mount public timeline on it (#4122)
Eugen Rochko [Tue, 11 Jul 2017 13:27:59 +0000 (15:27 +0200)]
Redesign the landing page, mount public timeline on it (#4122)

* Redesign the landing page, mount public timeline on it

* Adjust the standalone mounted component to the lacking of router

* Adjust auth layout pages to new design

* Fix tests

* Standalone public timeline polling every 5 seconds

* Remove now obsolete translations

* Add responsive design for new landing page

* Address reviews

* Add floating clouds behind frontpage form

* Use access token from public page when available

* Fix mentions and hashtags links, cursor on status content in standalone mode

* Add footer link to source code

* Fix errors on pages that don't embed the component, use classnames

* Fix tests

* Change anonymous autoPlayGif default to false

* When gif autoplay is disabled, hover to play

* Add option to hide the timeline preview

* Slightly improve alt layout

* Add elephant friend to new frontpage

* Display "back to mastodon" in place of "login" when logged in on frontpage

* Change polling time to 3s

8 years agoRequire stylesheets in common.js (#4152)
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 11 Jul 2017 13:15:42 +0000 (22:15 +0900)]
Require stylesheets in common.js (#4152)

Require stylesheets in common.js because stylesheets are shared by the
entry points.

8 years agoDrawer tab according to column (#4135)
Yamagishi Kazutoshi [Tue, 11 Jul 2017 12:36:27 +0000 (21:36 +0900)]
Drawer tab according to column (#4135)

* Add notifications link to drawer

* Remove local and public timeline tab in drawer

* Add home

8 years agoWrap methods of ProcessFeedService::ProcessEntry in classes (#4151)
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 11 Jul 2017 11:37:05 +0000 (20:37 +0900)]
Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)

ProcessFeedService::ProcessEntry had many methods, so wrap them in classes
representing activities.

8 years agoRemove redundant inclusion (#4150)
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 11 Jul 2017 09:55:48 +0000 (18:55 +0900)]
Remove redundant inclusion (#4150)

8 years agorefactor: Rewrite immutablejs import statements using destructuring (#4147)
Sorin Davidoi [Mon, 10 Jul 2017 23:00:14 +0000 (01:00 +0200)]
refactor: Rewrite immutablejs import statements using destructuring (#4147)

8 years agoFix PrecomputeFeedService for filtered statuses (#4148)
Akihiko Odaki (@fn_aki@pawoo.net) [Mon, 10 Jul 2017 23:00:01 +0000 (08:00 +0900)]
Fix PrecomputeFeedService for filtered statuses (#4148)

8 years agoi18n: @7a889a8 (pl) (#4144)
m4sk1n [Mon, 10 Jul 2017 17:42:37 +0000 (19:42 +0200)]
i18n: @7a889a8 (pl) (#4144)

* i18n: @7a889a8 (pl)

* Update pl.yml

8 years agoUpdate es5-ext to avoid CSP violation (#4145)
unarist [Mon, 10 Jul 2017 17:41:55 +0000 (02:41 +0900)]
Update es5-ext to avoid CSP violation (#4145)

Since es5-ext used `new Function("...")`, it caused CSP violation unless "unsafe-eval" included. So this patch updates it to the version which fixes it.

Note that this package is used in polyfills, so loaded only if needed. I've encountered this issue on iOS9.

cf. medikoo/es5-ext@d3864493

8 years agoFix #4059 - Remove ModuleConcatenationPlugin (#4139)
Eugen Rochko [Mon, 10 Jul 2017 16:46:46 +0000 (18:46 +0200)]
Fix #4059 - Remove ModuleConcatenationPlugin (#4139)

It increased memory usage of Webpack 1.5x fold with little benefits

8 years agoRemote following success page (#4129)
STJrInuyasha [Mon, 10 Jul 2017 16:05:06 +0000 (09:05 -0700)]
Remote following success page (#4129)

* Added a success page to remote following
Includes follow-through links to web (the old redirect target) and back to the remote user's profile

* Use Account.new in spec instead of a fake with only id
(fixes spec)

* Fabricate(:account) over Account.new

* Remove self from the success text
(and all HTML with it)

8 years agoi18n: @2b9721d (pl) (#4143)
m4sk1n [Mon, 10 Jul 2017 16:04:43 +0000 (18:04 +0200)]
i18n: @2b9721d (pl) (#4143)

8 years agoLimit total subscribe retries to 10, but space them out more (#4142)
Eugen Rochko [Mon, 10 Jul 2017 16:04:23 +0000 (18:04 +0200)]
Limit total subscribe retries to 10, but space them out more (#4142)

Since there is little point in retrying so often when a service is down
or does not exist anymore. Subscriptions are renewed 1 day before they
should expire, so retrying in 30 minutes, then 2 hours, then 12 hours
is fine. If even after that, the remote server does not work, there is
little sense in retrying more often than once a day

Also, uniqueness of the job should ensure that failed retries will
not result in multiple retries for the same endpoint when the next
resubscription cycle comes

8 years agoi18n: @63baab0 (pl) (#4141)
m4sk1n [Mon, 10 Jul 2017 16:04:06 +0000 (18:04 +0200)]
i18n: @63baab0 (pl) (#4141)

8 years agoAdd Japanese translations (#4140)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 14:32:17 +0000 (23:32 +0900)]
Add Japanese translations (#4140)

* Add Japanese translations for #3879

* Add Japanese translations for #4033

* Add Japanese translations for #4136

8 years agoAdd Japanese translation of terms and flash (#4137)
のら [Mon, 10 Jul 2017 12:04:05 +0000 (21:04 +0900)]
Add Japanese translation of terms and flash (#4137)

8 years agoFix regular expression for RFC 5646 (regression from #3604) (#4133)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 12:02:18 +0000 (21:02 +0900)]
Fix regular expression for RFC 5646 (regression from #3604) (#4133)

8 years agoAdd setting a always mark media as sensitive (#4136)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 12:00:32 +0000 (21:00 +0900)]
Add setting a always mark media as sensitive (#4136)

8 years agoRescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)
abcang [Mon, 10 Jul 2017 11:59:29 +0000 (20:59 +0900)]
Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)

8 years agoChange default for auto_play_fit to false for a11y (#4132)
Sadiq Saif [Mon, 10 Jul 2017 02:49:48 +0000 (22:49 -0400)]
Change default for auto_play_fit to false for a11y (#4132)

This is per issue #3876

8 years agoFix duplication of tag in columns_area.js (#4131)
Lynx Kotoura [Mon, 10 Jul 2017 02:37:10 +0000 (11:37 +0900)]
Fix duplication of tag in columns_area.js (#4131)

Deleted ">" just a typo.

8 years agoAdd attribute for default privacy to verify credentials (#4075)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 01:29:34 +0000 (10:29 +0900)]
Add attribute for default privacy to verify credentials (#4075)

* Add attribute for default privacy to verify credentials

* add raw_note

* source

8 years agofix(components/media_modal): Aspect ratio (#4128)
Sorin Davidoi [Sun, 9 Jul 2017 16:49:07 +0000 (18:49 +0200)]
fix(components/media_modal): Aspect ratio (#4128)

* fix(components/media_modal): Aspect ratio

* fix: Remove useless style

8 years agoUse babel-plugin-transform-react-inline-elements (#4109)
Nolan Lawson [Sun, 9 Jul 2017 15:34:05 +0000 (08:34 -0700)]
Use babel-plugin-transform-react-inline-elements (#4109)

8 years agoRescue exceptions related to Goldfinger (#4044)
abcang [Sun, 9 Jul 2017 15:33:21 +0000 (00:33 +0900)]
Rescue exceptions related to Goldfinger (#4044)

* Rescue exceptions related to Goldfinger

* Exclude Goldfinger::SSLError

8 years agoSwipeable views (#4105)
Sorin Davidoi [Sun, 9 Jul 2017 13:02:26 +0000 (15:02 +0200)]
Swipeable views (#4105)

* feat: Replace react-swipeable with react-swipeable-views

* fix: iOS 9

8 years agoAvoid async import if the component is previously loaded (#4127)
unarist [Sun, 9 Jul 2017 12:52:03 +0000 (21:52 +0900)]
Avoid async import if the component is previously loaded (#4127)

8 years agoFix initial loading of pinned Notifications column (#4126)
unarist [Sun, 9 Jul 2017 11:04:30 +0000 (20:04 +0900)]
Fix initial loading of pinned Notifications column (#4126)

8 years agoi18n: minor change (pl) (#4124)
m4sk1n [Sun, 9 Jul 2017 10:17:00 +0000 (12:17 +0200)]
i18n: minor change (pl) (#4124)

8 years agorefactor: Make all reducers sync (#4125)
Sorin Davidoi [Sun, 9 Jul 2017 10:16:08 +0000 (12:16 +0200)]
refactor: Make all reducers sync (#4125)

8 years ago[nanobox] Allow Full-size Uploads (#4123)
Daniel Hunsaker [Sun, 9 Jul 2017 00:52:36 +0000 (18:52 -0600)]
[nanobox] Allow Full-size Uploads (#4123)

The Nginx configurations used by Nanobox previously neglected to increase the default upload size limit. This PR bumps that value up to the current Mastodon limit of 8MiB.

8 years agoUse charlock_holmes instead of nkf at FetchLinkCardService (#4080)
nullkal [Sat, 8 Jul 2017 20:44:31 +0000 (05:44 +0900)]
Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)

* Specs for language detection

* Use CharlockHolmes instead of NKF

* Correct mistakes

* Correct style

* Set hint_enc instead of falling back and strip_tags

* Improve specs

* Add dependencies

8 years agoChange account link to admin account link on report page (#4119)
abcang [Sat, 8 Jul 2017 16:35:08 +0000 (01:35 +0900)]
Change account link to admin account link on report page (#4119)

8 years agofix: Rerender Bundle on route change (#4120)
Sorin Davidoi [Sat, 8 Jul 2017 16:34:55 +0000 (18:34 +0200)]
fix: Rerender Bundle on route change (#4120)

8 years agoFix first loading of notifications when the column is pinned (#4114)
unarist [Sat, 8 Jul 2017 15:22:24 +0000 (00:22 +0900)]
Fix first loading of notifications when the column is pinned (#4114)

8 years agoDon't use preview when image size is unknown (#4113)
Yamagishi Kazutoshi [Sat, 8 Jul 2017 15:21:59 +0000 (00:21 +0900)]
Don't use preview when image size is unknown (#4113)

8 years agoUse srcSet only when know width (#4112)
Yamagishi Kazutoshi [Sat, 8 Jul 2017 15:20:53 +0000 (00:20 +0900)]
Use srcSet only when know width (#4112)

8 years agoUpdate and improvement Dutch language strings (#4117)
Jeroen [Sat, 8 Jul 2017 15:17:02 +0000 (17:17 +0200)]
Update and improvement Dutch language strings (#4117)

* Update

* Update

8 years agoReplace OEmbed and initial state Rabl templates with serializers (#4110)
Eugen Rochko [Sat, 8 Jul 2017 12:51:05 +0000 (14:51 +0200)]
Replace OEmbed and initial state Rabl templates with serializers (#4110)

* Replace OEmbed Rabl template with serializer

* Replace initial state rabl with serializer

8 years agoFix JSON serialization of media_attachment (#4111)
unarist [Sat, 8 Jul 2017 12:50:45 +0000 (21:50 +0900)]
Fix JSON serialization of media_attachment (#4111)

8 years agoAvoid using getBoundingClientRect to calculate height (#4001)
Nolan Lawson [Fri, 7 Jul 2017 23:57:22 +0000 (16:57 -0700)]
Avoid using getBoundingClientRect to calculate height (#4001)

8 years agoVarious fixes in the French translation (#4107)
Sylvhem [Fri, 7 Jul 2017 23:27:22 +0000 (01:27 +0200)]
Various fixes in the French translation (#4107)

* Changement de « Changement de mot de passe » en « Sécurité »

* Suppression de « (Two-factor auth) »

Change la valeur de la chaîne « two_factor_authentication » de « Identification à deux facteurs (Two-factor auth) » à « Identification à deux facteurs ».
La traduction anglaise entre parathentèse était redondante et gênait la lecture.

Change the value of the "two_factor_authentication" from "Identification à deux facteurs (Two-factor auth)" to "Identification à deux facteurs".
The English translation in brackets was superflous and was getting in the way of the reader.

* Remplace « ' » par « ’ »

Retire de la traduction les apostrophes droites « ' » (U+0027) au profit des apostrophes typographiques « ’ » (U+2019).
En typographie française, les apostrophes typographiques sont utilisées à la place des apostrophes droites. La traduction était jusqu’ici incohérente et utilisait les deux.

Remove from the translation all the vertical apostrophes (U+0027) in favor of the curly ones (U+2019).
In French typography, typographic apostrophes are used instead of vertical ones. The translation was incoherent and used both.

* Remplace « ... » par « … »

Remplace les séries de trois points par le caractère dédié « … » (U+2026).

Replace all the series of three dots by the dedicated character "…" (U+2026).

* Mise à jour

Crée config/locales/activerecord.fr.yml, ajoute de nouvelles chaînes et met à jour certains textes.
Les compteurs de caractères pour le pseudonyme et la biographie devrait maintenant pouvoir fonctionner même quand l’interface est en français.

Create config/locales/activerecord.fr.yml, add new strings et update some textes.
The caracters counters for the username and the biography should now work even when the interface is in French.

* Remplace « A » par « À »

Remplace « A » par « À » aux endroits où le mot est mal orthographié.

Replace "A" by "À" when the wrong word is used.

* Ajout d’espaces insécables

Ajoute des espaces insécables suivant les régles nécessaires en typographie française.

Add non-breaking spaces following rules of French typography.

* Remplace « certain » par « certain·e »

Harmonise la traduction en remplaçant « certain » par sa forme épicène.

Harmonize the translation by replacing "certain" (sure) by its epicene form.

* Corrige un angliscisme

Remplace « adresse e-mail » par « adresse électronique ».

Replace "adresse e-mail" (e-mail address) by "adresse électronique" (electronic address).

8 years agoLazy load components (#3879)
Sorin Davidoi [Fri, 7 Jul 2017 22:06:02 +0000 (00:06 +0200)]
Lazy load components (#3879)

* feat: Lazy-load routes

* feat: Lazy-load modals

* feat: Lazy-load columns

* refactor: Simplify Bundle API

* feat: Optimize bundles

* feat: Prevent flashing the waiting state

* feat: Preload commonly used bundles

* feat: Lazy load Compose reducers

* feat: Lazy load Notifications reducer

* refactor: Move all dynamic imports into one file

* fix: Minor bugs

* fix: Manually hydrate the lazy-loaded reducers

* refactor: Move all dynamic imports to async-components

* fix: Loading modal style

* refactor: Avoid converting the raw state for each lazy hydration

* refactor: Remove unused component

* refactor: Maintain modal name

* fix: Add as=script to preload link

* chore: Fix lint error

* fix(components/bundle): Check if timestamp is set when computing elapsed

* fix: Load compose reducers for the onboarding modal

8 years agoFix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091)
Eugen Rochko [Fri, 7 Jul 2017 21:25:15 +0000 (23:25 +0200)]
Fix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091)

* Fix #4058 - Use a long-lived cookie to keep track of user-level sessions

* Fix tests, smooth migrate from previous session-based identifier

8 years agoi18n: improve consistency (pl) (#4104)
m4sk1n [Fri, 7 Jul 2017 18:01:17 +0000 (20:01 +0200)]
i18n: improve consistency (pl) (#4104)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoGracefully stop streaming server (#4103)
Nolan Lawson [Fri, 7 Jul 2017 18:01:00 +0000 (11:01 -0700)]
Gracefully stop streaming server (#4103)

8 years agoi18n: @18d3fa9 (pl) (#4101)
m4sk1n [Fri, 7 Jul 2017 15:35:47 +0000 (17:35 +0200)]
i18n: @18d3fa9 (pl) (#4101)

8 years agoRestore streaming API output format (#4100)
Eugen Rochko [Fri, 7 Jul 2017 14:56:52 +0000 (16:56 +0200)]
Restore streaming API output format (#4100)

* Restore streaming API output format

Regression from #4090

* Remove whitespace

8 years agoFix notifications including wrong status in JSON (#4097)
Eugen Rochko [Fri, 7 Jul 2017 14:19:28 +0000 (16:19 +0200)]
Fix notifications including wrong status in JSON (#4097)

8 years agoUpdate webpack-dev-server to v2.5.1 (#4094)
Yamagishi Kazutoshi [Fri, 7 Jul 2017 12:12:45 +0000 (21:12 +0900)]
Update webpack-dev-server to v2.5.1 (#4094)

8 years agoAdd recursive object support to API response (#4095)
Yamagishi Kazutoshi [Fri, 7 Jul 2017 12:12:16 +0000 (21:12 +0900)]
Add recursive object support to API response (#4095)

8 years agoFix feed author not being enforced in ProcessFeedService (#4092)
Eugen Rochko [Fri, 7 Jul 2017 02:31:40 +0000 (04:31 +0200)]
Fix feed author not being enforced in ProcessFeedService (#4092)

Ensure the only allowed author of top-level entries in feed is the person
the feed belongs to (a verified user). Ensure delete events only apply
if the deleted item belonged to that user.

8 years agoRefactor JSON templates to be generated with ActiveModelSerializers instead of Rabl...
Eugen Rochko [Fri, 7 Jul 2017 02:02:06 +0000 (04:02 +0200)]
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)

8 years agoTogglable filter links (#4021)
のら [Thu, 6 Jul 2017 22:48:09 +0000 (07:48 +0900)]
Togglable filter links (#4021)

* Togglable filter links

* Rename is_selected to selected?

8 years ago[nanobox] Add Automated Backups (#4023)
Daniel Hunsaker [Thu, 6 Jul 2017 22:46:45 +0000 (16:46 -0600)]
[nanobox] Add Automated Backups (#4023)

This PR adds automatic backups to Nanobox instances. The database, Redis, and user files are backed up every day at 03:00 (server time) to the data warehouse component which comes with every Nanobox app. Old backups are automatically cleared out, but the number of backups that are left untouched can be configured by setting the `BACKUP_COUNT` environment variable to any integer value greater than 0 (the default is 1).

Also updated `.env.nanobox` to reflect the current `.env.production.sample`.

8 years agoSet default From address in config (#3756)
Akihiko Odaki (@fn_aki@pawoo.net) [Thu, 6 Jul 2017 22:12:12 +0000 (07:12 +0900)]
Set default From address in config (#3756)

The old implementation sets default From address in mailers. It sets
the address from SMTP_FROM_ADDRESS, or notifications@localhost. The
behavior is occasionally undesired results.

In production environment, notifications@localhost is likely to be
incorrect.
In testing environment, the email address should not be varied by a
environment variable.

After appling this change,

In production environment, it will throw an exception when launching
Mastodon.
In testing environment, the address will be fixed with
notifications@localhost.

8 years agoAdd a setting allowing the use of system's default font in Web UI (#4033)
Damien Erambert [Thu, 6 Jul 2017 20:39:56 +0000 (13:39 -0700)]
Add a setting allowing the use of system's default font in Web UI (#4033)

* add a system_font_ui setting on the server

* Plug the system_font_ui on the front-end

* add EN/FR locales for the new setting

* put Roboto after all other fonts

* remove trailing whitespace so CodeClimate is happy

* fix user_spec.rb

* correctly write user_spect this time

* slightly better way of adding the classes

* add comments to the system-font stack for clarification

* use .system-font for the class instead

* don't use multiple lines for comments

* remove trailing whitespace

* use the classnames module for consistency

* use `mastodon-font-sans-serif` instead of Roboto directly

8 years agoImprove Activity stream spoiler (#4088)
abcang [Thu, 6 Jul 2017 19:31:03 +0000 (04:31 +0900)]
Improve Activity stream spoiler (#4088)

8 years agoParse links in status content on update as well as mount (#4042)
STJrInuyasha [Thu, 6 Jul 2017 19:30:37 +0000 (12:30 -0700)]
Parse links in status content on update as well as mount (#4042)

* Update links in status content on update as well as mount
Fixes occasional bugs with mentions and hashtags not being set to open in a new column like they should, and instead opening in a new page

* use classList instead of raw className

8 years agoUnobserve status on unmount (#4013)
unarist [Thu, 6 Jul 2017 19:26:21 +0000 (04:26 +0900)]
Unobserve status on unmount (#4013)

This fixes a warning on status unmounting (e.g. deletion).

This also resets IntersectionObserverWrapper on disconnect to avoid `unobserve()` calls
which has bug in Edge.

8 years agoRemove ugly blue highlight on Android browsers (#4031)
Mantas [Thu, 6 Jul 2017 19:26:07 +0000 (22:26 +0300)]
Remove ugly blue highlight on Android browsers (#4031)

8 years agol10n Occitan locale (#4089)
Quent-in [Thu, 6 Jul 2017 19:10:12 +0000 (21:10 +0200)]
l10n Occitan locale (#4089)

* Small adjustments

About the report part.

* Update time format

8 years agoFix embedded SVG fill attribute (#4086)
Shin Kojima [Thu, 6 Jul 2017 13:27:02 +0000 (22:27 +0900)]
Fix embedded SVG fill attribute (#4086)

* Fix embedded SVG fill attribute

SCSS darken/lighten functions may not return a color value, but a color
name like "white".  See following example:

https://www.sassmeister.com/gist/c41da93b87d536890ddf30a1f42e7816

This patch will normalize $color argument to FFFFFF style.

I also changed the function name from "url-friendly-colour" to
"hex-color", Because...

1. The name "url-friendly" is not meaningful enough to describe what it
   does.

2. It is familier to me using "color" rather than "colour"

    kojima:kojiMac mastodon[master]$ git grep -l colour
    app/javascript/styles/boost.scss
    spec/fixtures/files/attachment.jpg

    kojima:kojiMac mastodon[master]$ git grep -l color
    .rspec
    .scss-lint.yml
    Gemfile.lock
    app/javascript/mastodon/features/status/components/action_bar.js
    app/javascript/styles/about.scss
    app/javascript/styles/accounts.scss
    app/javascript/styles/admin.scss
    app/javascript/styles/basics.scss
    app/javascript/styles/boost.scss
    app/javascript/styles/compact_header.scss
    app/javascript/styles/components.scss
    app/javascript/styles/containers.scss
    app/javascript/styles/footer.scss
    app/javascript/styles/forms.scss
    app/javascript/styles/landing_strip.scss
    app/javascript/styles/reset.scss
    app/javascript/styles/stream_entries.scss
    app/javascript/styles/tables.scss
    app/javascript/styles/variables.scss
    app/views/admin/subscriptions/_subscription.html.haml
    app/views/layouts/application.html.haml
    app/views/layouts/error.html.haml
    app/views/manifests/show.json.rabl
    bin/webpack-dev-server
    config/initializers/httplog.rb
    public/500.html
    public/emoji/1f1e6-1f1e8.svg
    public/emoji/1f1ec-1f1f8.svg
    public/emoji/1f1f3-1f1ee.svg
    public/emoji/1f1fb-1f1ec.svg
    spec/fixtures/requests/idn.txt
    yarn.lock

* Add semicolon

8 years agoi18n: minor changes in Polish translation (#4087)
m4sk1n [Thu, 6 Jul 2017 13:25:27 +0000 (15:25 +0200)]
i18n: minor changes in Polish translation (#4087)

* i18n: minor changes in Polish translation

* Update pl.json

8 years agoExplicitly require MIME::Types (#4083)
Akihiko Odaki (@fn_aki@pawoo.net) [Wed, 5 Jul 2017 21:58:03 +0000 (06:58 +0900)]
Explicitly require MIME::Types (#4083)

8 years agoFix Nokogiri::HTML at FetchLinkCardService (#4072)
abcang [Wed, 5 Jul 2017 12:54:21 +0000 (21:54 +0900)]
Fix Nokogiri::HTML at FetchLinkCardService (#4072)

8 years agoShow LoadMore button on Notifications even if all items are filtered (#4077)
unarist [Wed, 5 Jul 2017 12:51:53 +0000 (21:51 +0900)]
Show LoadMore button on Notifications even if all items are filtered (#4077)

8 years agoFormat datetime of subscriptions on admin UI (#4078)
Yamagishi Kazutoshi [Wed, 5 Jul 2017 12:51:28 +0000 (21:51 +0900)]
Format datetime of subscriptions on admin UI (#4078)

8 years agoi18n: Updated Polish translation (#4068)
m4sk1n [Tue, 4 Jul 2017 21:34:00 +0000 (23:34 +0200)]
i18n: Updated Polish translation (#4068)

* i18n: Updated Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* fuggin nano

8 years agoi18n: Update korean translation (#4066)
Gyuhwan Park [Tue, 4 Jul 2017 15:09:17 +0000 (00:09 +0900)]
i18n: Update korean translation (#4066)

* Added Korean Translation (based on japanese)

* Update korean translation

* Update korean translation: fix syntax error

* Updated korean translation

* Update korean translation

* Update ko.json

Translate non-translated parts

* Update ko.yml

Translated missed parts - and fixed some typos

* Create simple_form.ko.yml

* Updated korean translation

* i18n: fix test fails

* Updated korean translation

8 years agoFix Korean translation (#4065)
Minori Hiraoka [Tue, 4 Jul 2017 14:48:22 +0000 (23:48 +0900)]
Fix Korean translation (#4065)

* Added Korean Translation (based on japanese)

* Update korean translation

* Update korean translation: fix syntax error

* Updated korean translation

* Update korean translation

* Update ko.json

Translate non-translated parts

* Update ko.yml

Translated missed parts - and fixed some typos

* Create simple_form.ko.yml

* Update simple_form.ko.yml

Translation error fix - password change form

* Update simple_form.ko.yml

* Update ko.json

Missing translation

8 years agoi18n: Add korean translation (#4064)
Gyuhwan Park [Tue, 4 Jul 2017 14:11:23 +0000 (23:11 +0900)]
i18n: Add korean translation (#4064)

* Added Korean Translation (based on japanese)

* Update korean translation

* Update korean translation: fix syntax error

* Updated korean translation

* Update korean translation

* Update ko.json

Translate non-translated parts

* Update ko.yml

Translated missed parts - and fixed some typos

* Create simple_form.ko.yml

* Updated korean translation

* i18n: fix test fails

8 years agoChange webpack-dev-server repository (#4061)
Yamagishi Kazutoshi [Tue, 4 Jul 2017 13:19:54 +0000 (22:19 +0900)]
Change webpack-dev-server repository (#4061)

8 years agoCustomizable privacy policy from admin interface (#4062)
Yamagishi Kazutoshi [Tue, 4 Jul 2017 13:19:24 +0000 (22:19 +0900)]
Customizable privacy policy from admin interface (#4062)

8 years agoRemove sort in Feed (#4050)
Akihiko Odaki (@fn_aki@pawoo.net) [Mon, 3 Jul 2017 11:17:27 +0000 (20:17 +0900)]
Remove sort in Feed (#4050)

In from_redis method, statuses retrieved from the database was mapped to
the IDs retrieved from Redis. It was equivalent to order from high to low
because those IDs are sorted in the same order.
Statuses are ordered with the ID by default, so we do not have to reorder.
Sorting statuses in the database is even faster since the IDs are indexed
with B-tree.

8 years agoUpgrade chai-enzyme, precss and uws (#4010)
Yamagishi Kazutoshi [Mon, 3 Jul 2017 09:56:58 +0000 (18:56 +0900)]
Upgrade chai-enzyme, precss and uws (#4010)

* Update chai-enzyme to v0.8.0

* Upgrade precss to v2.0.0

* Upgrade uws to v8.14.0

8 years agoAdd fa-fw class to user agent icon (#4047)
Yamagishi Kazutoshi [Mon, 3 Jul 2017 09:04:35 +0000 (18:04 +0900)]
Add fa-fw class to user agent icon (#4047)

8 years agoRescue exceptions caused by FetchLinkCardService (#4045)
abcang [Mon, 3 Jul 2017 09:03:34 +0000 (18:03 +0900)]
Rescue exceptions caused by FetchLinkCardService (#4045)

8 years agoUpdate Japanese translation (#4051)
のら [Mon, 3 Jul 2017 09:02:59 +0000 (18:02 +0900)]
Update Japanese translation (#4051)

8 years agoFaster emojify() by avoiding str.replace() entirely (#4049)
Nolan Lawson [Mon, 3 Jul 2017 09:02:36 +0000 (02:02 -0700)]
Faster emojify() by avoiding str.replace() entirely (#4049)

8 years agoUpdate Russian translation (sessions) (#4041)
Ratmir Karabut [Sun, 2 Jul 2017 23:30:22 +0000 (02:30 +0300)]
Update Russian translation (sessions) (#4041)

* 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)

8 years agoUpdate French locales (#4034)
Damien Erambert [Sun, 2 Jul 2017 16:36:35 +0000 (09:36 -0700)]
Update French locales (#4034)

* add missing locales for French translation

* accent "Media" in the front-end locales

* images => médias

* Change 'rapport' to 'signalement' in French locales to be more coherent

* fix typo

* remove duplicate EN locale

* translate missing locales

* update missing locale

* fix typo

* unify with "utilisateur⋅ice⋅s"

* address PR comments

8 years agofix(components/columns_area): Increase delta for swipe detection (#4037)
Sorin Davidoi [Sun, 2 Jul 2017 13:55:50 +0000 (15:55 +0200)]
fix(components/columns_area): Increase delta for swipe detection (#4037)

8 years agoUpdate Japanese translation (Credentials -> Security) (#4025)
unarist [Sat, 1 Jul 2017 19:18:38 +0000 (04:18 +0900)]
Update Japanese translation (Credentials -> Security) (#4025)

8 years agoFix height issue in report modal
Eugen Rochko [Sat, 1 Jul 2017 12:50:10 +0000 (14:50 +0200)]
Fix height issue in report modal

8 years agoFaster emojify() algorithm, avoid regex replace (#4019)
Nolan Lawson [Fri, 30 Jun 2017 15:29:22 +0000 (08:29 -0700)]
Faster emojify() algorithm, avoid regex replace (#4019)

* Faster emojify() algorithm, avoid regex replace

* add semicolon

8 years agoAdd controller spec for manifests controller (#4003)
Matt Jankowski [Fri, 30 Jun 2017 11:43:34 +0000 (07:43 -0400)]
Add controller spec for manifests controller (#4003)

8 years agoFix webpack-dev-server on Windows (#4000)
Nolan Lawson [Fri, 30 Jun 2017 11:43:26 +0000 (04:43 -0700)]
Fix webpack-dev-server on Windows (#4000)

* Fix webpack-dev-server on Windows

* Serve webpack from 0.0.0.0, access at 127.0.0.1

8 years agoVersion bumps for gems (#4002)
Matt Jankowski [Fri, 30 Jun 2017 11:42:04 +0000 (07:42 -0400)]
Version bumps for gems (#4002)

* Update aws-sdk to version 2.10.4

* Update bootsnap to version 1.1.1

* Update capistrano to version 3.8.2

* Update capybara to version 2.14.4

* Update cld3 to version 3.1.3

* Update http_accept_language to version 2.1.1

* Update sidekiq to version 5.0.3

* Update rspec-sidekiq to version 3.0.3

* Update sidekiq-scheduler to version 2.1.7

* Update oj to version 3.2.0

* Update openssl to version 2.0.4

* Update pg to version 0.21.0

* Update twitter-text to version 1.14.6

* Update unicode-display_width to version 1.3.0

* Update scss_lint to version 0.54.0

* Update hamlit to version 2.8.4

* Update erubi to version 1.6.1

* Update httplog to version 0.99.4

* Update aws-sdk to version 2.10.6

8 years agoFix that AdminMailer does not send (#4012)
Yamagishi Kazutoshi [Fri, 30 Jun 2017 11:40:43 +0000 (20:40 +0900)]
Fix that AdminMailer does not send (#4012)

8 years agoRemove babel-cli (#4011)
Yamagishi Kazutoshi [Fri, 30 Jun 2017 11:40:14 +0000 (20:40 +0900)]
Remove babel-cli (#4011)

8 years agoFix broken style in media gallery (regression from #3963) (#4014)
Yamagishi Kazutoshi [Fri, 30 Jun 2017 11:40:00 +0000 (20:40 +0900)]
Fix broken style in media gallery (regression from #3963) (#4014)

8 years agoDo not raise an error if PrecomputeFeed could not find any status (#4015)
Akihiko Odaki (@fn_aki@pawoo.net) [Fri, 30 Jun 2017 11:39:42 +0000 (20:39 +0900)]
Do not raise an error if PrecomputeFeed could not find any status (#4015)

8 years agoRescue Addressable::URI::InvalidURIError at Remotable (#4017)
abcang [Fri, 30 Jun 2017 11:38:36 +0000 (20:38 +0900)]
Rescue Addressable::URI::InvalidURIError at Remotable (#4017)

8 years agoReplace state to /web when root path (#4009)
Yamagishi Kazutoshi [Fri, 30 Jun 2017 03:37:41 +0000 (12:37 +0900)]
Replace state to /web when root path (#4009)

8 years agoFix media-gallery, overflow is hidden. (#4008)
Naoki Kosaka [Fri, 30 Jun 2017 03:37:17 +0000 (12:37 +0900)]
Fix media-gallery, overflow is hidden. (#4008)

8 years agorescue HTTP::ConnectionError (#3992)
abcang [Thu, 29 Jun 2017 11:04:07 +0000 (20:04 +0900)]
rescue HTTP::ConnectionError (#3992)