]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoFix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
Eugen Rochko [Tue, 16 May 2017 22:41:15 +0000 (00:41 +0200)]
Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)

8 years agoAdd catalan language (#3084)
spla [Tue, 16 May 2017 22:25:10 +0000 (00:25 +0200)]
Add catalan language (#3084)

* Add Catalan language

* Add Catalan language

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update settings_helper.rb

* Update mastodon.js

* Update index.js

* Update application.rb

* Update ca.yml

* removed extra spaces at line 225

8 years agoMake .column-collapse animation simple (#3086)
unarist [Tue, 16 May 2017 22:24:46 +0000 (07:24 +0900)]
Make .column-collapse animation simple (#3086)

* Always set `overflow: auto` to allow scroll just after opening
* Remove bounce animation which may cause unintended behavior due to max-height
* Use CSS transition instead of react-motion
* Some CSS refactoring including className changing

8 years agofeat(ja): add missing ja translation. (#3083)
Hiroaki Ninomiya [Tue, 16 May 2017 16:14:22 +0000 (01:14 +0900)]
feat(ja): add missing ja translation. (#3083)

ref: https://github.com/tootsuite/mastodon/pull/2584

8 years agoEnable to handle app immediately after closing modal (#3082)
geta6 [Tue, 16 May 2017 10:12:38 +0000 (19:12 +0900)]
Enable to handle app immediately after closing modal (#3082)

8 years agoMake faster ProcessFeedService (#3080)
Shunsuke Michii [Tue, 16 May 2017 10:12:29 +0000 (19:12 +0900)]
Make faster ProcessFeedService (#3080)

* Add index accounts on uri.

* Remove a blank line.

8 years agouse-symbol-in-order (#3081)
masarakki [Tue, 16 May 2017 10:10:09 +0000 (19:10 +0900)]
use-symbol-in-order (#3081)

8 years agoImprove Account#triadic_closures (#3079)
alpaca-tc [Tue, 16 May 2017 10:06:38 +0000 (19:06 +0900)]
Improve Account#triadic_closures (#3079)

8 years agoOrder by symbol value (#3077)
alpaca-tc [Tue, 16 May 2017 01:35:17 +0000 (10:35 +0900)]
Order by symbol value (#3077)

8 years agoOptimize Status#permitted_for 24x (#3069)
alpaca-tc [Tue, 16 May 2017 00:54:17 +0000 (09:54 +0900)]
Optimize Status#permitted_for 24x (#3069)

* Build query with arel node

* Add spec for current Status#permitted_for implementation

* Refactor status.rb

* Order by visibility to optimize query

8 years agochore(landing_strip): hide signup path unless the instance allows registration. ...
Hiroaki Ninomiya [Mon, 15 May 2017 22:41:09 +0000 (07:41 +0900)]
chore(landing_strip): hide signup path unless the instance allows registration. (#3055)

8 years agoImprove ja translation (#3071)
Hiroaki Ninomiya [Mon, 15 May 2017 22:12:07 +0000 (07:12 +0900)]
Improve ja translation (#3071)

* chore(ja): replace with reasonable word.

* chore(ja): add periods.

8 years agoUpdate devise to version 4.3.0 (#3074)
Matt Jankowski [Mon, 15 May 2017 20:36:45 +0000 (16:36 -0400)]
Update devise to version 4.3.0 (#3074)

Supports rails 5.1

8 years agoFix #2646 - Do not override ctrl/cmd+click on Permalinks (#3073)
Eugen Rochko [Mon, 15 May 2017 20:36:38 +0000 (22:36 +0200)]
Fix #2646 - Do not override ctrl/cmd+click on Permalinks (#3073)

8 years agoFix change of status callbacks not setting in_reply_to_account_id and (#3072)
Eugen Rochko [Mon, 15 May 2017 19:20:55 +0000 (21:20 +0200)]
Fix change of status callbacks not setting in_reply_to_account_id and (#3072)

possibly others when expected. Add some tests for it

8 years agoIntroduce common JavaScript file (#2981)
Akihiko Odaki [Mon, 15 May 2017 18:20:10 +0000 (03:20 +0900)]
Introduce common JavaScript file (#2981)

* Create common chunk rather than vendor chunk

vendor chunk is a set of modules provided by external vendors, but now we
can have a chunk as a set of modules shared by multiple entry points,
which could be more efficent than having vendor chunk.

* Start rails-ujs in common.js

This is used by /settings/two_factor_authentication.

8 years agoUpdate Japanese tranlsation of conversations muting (#3070)
Kazuhiro NISHIYAMA [Mon, 15 May 2017 16:05:28 +0000 (01:05 +0900)]
Update Japanese tranlsation of conversations muting (#3070)

8 years agoFeature conversations muting (#3017)
Eugen Rochko [Mon, 15 May 2017 01:04:13 +0000 (03:04 +0200)]
Feature conversations muting (#3017)

* Add <ostatus:conversation /> tag to Atom input/output

Only uses ref attribute (not href) because href would be
the alternate link that's always included also.

Creates new conversation for every non-reply status. Carries
over conversation for every reply. Keeps remote URIs verbatim,
generates local URIs on the fly like the rest of them.

* Conversation muting - prevents notifications that reference a conversation
(including replies, favourites, reblogs) from being created. API endpoints
/api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute

Currently no way to tell when a status/conversation is muted, so the web UI
only has a "disable notifications" button, doesn't work as a toggle

* Display "Dismiss notifications" on all statuses in notifications column, not just own

* Add "muted" as a boolean attribute on statuses JSON

For now always false on contained reblogs, since it's only relevant for
statuses returned from the notifications endpoint, which are not nested

Remove "Disable notifications" from detailed status view, since it's
only relevant in the notifications column

* Up max class length

* Remove pending test for conversation mute

* Add tests, clean up

* Rename to "mute conversation" and "unmute conversation"

* Raise validation error when trying to mute/unmute status without conversation

8 years agoFix style regressions (#3062)
Eugen Rochko [Sun, 14 May 2017 23:23:58 +0000 (01:23 +0200)]
Fix style regressions (#3062)

From #2327 - Elephant friend was overlapping with text, oversized in
single column layout

From #2021 - Centered layout goes against design principles, changes
UX for everybody who's already used to the current one

From #2271 - CPU/RAM overusage from keeping columns in DOM (fix #2648,
possibly also #2101)

8 years agoUpdate capistrano lock version to 3.8.1 (#3056)
esetomo [Sun, 14 May 2017 15:38:29 +0000 (00:38 +0900)]
Update capistrano lock version to 3.8.1 (#3056)

8 years agoUpdate rails to version 5.0.3 (#3054)
Matt Jankowski [Sun, 14 May 2017 14:30:14 +0000 (10:30 -0400)]
Update rails to version 5.0.3 (#3054)

* Update rails to version 5.0.3

* Update aws-sdk to version 2.9.17

* Update capistrano to version 3.8.1

* Update climate_control to version 0.2.0

* Update debug_inspector to version 0.0.3

* Update et-orbi to version 1.0.4

* Update oj to version 3.0.7

* Update microformats2 to version 2.9.0

* Update lograge to version 0.5.1

* Clean up usage of Microformats2 object to remove deprecation warnings

* Update microformats2 to version 3.0.1

8 years agoUse babel-preset-env on Streaming Server (#2998)
Yamagishi Kazutoshi [Sun, 14 May 2017 11:47:31 +0000 (20:47 +0900)]
Use babel-preset-env on Streaming Server (#2998)

* Use babel-preset-env on Streaming Server

Change the streaming server to use babel-preset-env as well as asset compilation.
This shortens the load time at first boot.

* remove babel-plugin-lodash

8 years agoRemove Babel plugin for ES Modules (#2975)
Yamagishi Kazutoshi [Sun, 14 May 2017 10:59:40 +0000 (19:59 +0900)]
Remove Babel plugin for ES Modules (#2975)

* Remove Babel plugin for ES Modules

Processing of ES Modules is executed by Webpack.
Don't have to do it on Babel side.

* Add plugin for test

8 years agoFix only typo (#3035)
Paul [Sun, 14 May 2017 10:58:50 +0000 (10:58 +0000)]
Fix only typo (#3035)

8 years agoAdd browserslist config for autoprefixer (#3053)
Yamagishi Kazutoshi [Sun, 14 May 2017 10:57:54 +0000 (19:57 +0900)]
Add browserslist config for autoprefixer (#3053)

We will reduce the weight of the style sheet by specifying the target web browser of autoprefixer.

8 years agoAdd heroku APT buildpack for scalingo. (#3051)
William Pitcock [Sun, 14 May 2017 10:57:13 +0000 (05:57 -0500)]
Add heroku APT buildpack for scalingo. (#3051)

8 years agoDo not cancel PuSH subscriptions after encountering "permanent" error… (#3046)
Eugen Rochko [Sun, 14 May 2017 01:22:48 +0000 (03:22 +0200)]
Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)

* Do not cancel PuSH subscriptions after encountering "permanent" error response

After talking with MMN about it, turns out some servers/php setups do
return 4xx errors while rebooting, so this anti-feature that was meant
to take load off of the hub is doing more harm than good in terms of
breaking subscriptions

* Update delivery_worker.rb

8 years agotiny js fix for 'show more' button in chrome (#3045)
beatrix [Sat, 13 May 2017 20:07:58 +0000 (16:07 -0400)]
tiny js fix for 'show more' button in chrome (#3045)

8 years agofeat(count): Just yml count syntax to provide different rule for 1 (#2685)
Stephen Burgess [Sat, 13 May 2017 15:13:17 +0000 (10:13 -0500)]
feat(count): Just yml count syntax to provide different rule for 1 (#2685)

Update all translation forms that use this "counter" element.

8 years agoi18n: Hebrew string updates (#3037)
Ira [Sat, 13 May 2017 15:05:02 +0000 (18:05 +0300)]
i18n: Hebrew string updates (#3037)

8 years agoSmall FR localisation enhancements (#3033)
Bastien [Sat, 13 May 2017 13:56:49 +0000 (15:56 +0200)]
Small FR localisation enhancements (#3033)

* Small localisation enhancement.

Be consistent regarding "e-mail" vs "courriel": I suggest
using "courriel" to refer to the electronic message and
"e-mail" when used in "adresse e-mail".  This reflects
the usage I generally observe, but I may be wrong.

* Localisation enhancements.

Omit some commas: "..., ..., ou ..." should be "..., ... ou ..."
since "ou" already articulates the sentence.

Also replace "demande" by "requête" when it makes sense.

8 years agoFix og:url. (#3031)
Shunsuke Michii [Sat, 13 May 2017 13:56:42 +0000 (22:56 +0900)]
Fix og:url. (#3031)

8 years agoFixes NoMethodError: undefined method 'first' for nil:NilClass (#3036)
alpaca-tc [Sat, 13 May 2017 13:56:12 +0000 (22:56 +0900)]
Fixes NoMethodError: undefined method 'first' for nil:NilClass (#3036)

8 years agoFix broken storybook (#3030)
Yamagishi Kazutoshi [Sat, 13 May 2017 13:55:56 +0000 (22:55 +0900)]
Fix broken storybook (#3030)

8 years agoRevert HTML CW changes (#3020)
beatrix [Sat, 13 May 2017 02:03:43 +0000 (22:03 -0400)]
Revert HTML CW changes (#3020)

* selectively Revert "Fix regressions from #2683 (#2970)"

This reverts commit 72698bc3b49925a2b2955f32e5a562c1eecd729b.

* Revert "Handle hashtags in spoiler_texts (partial fix for #699) (#2683)"

This reverts commit e2491680e696d2c285a798ec4c66b26d2748df66.

8 years agoMake direct statuses stand out more (#3025)
Eugen Rochko [Fri, 12 May 2017 23:38:51 +0000 (01:38 +0200)]
Make direct statuses stand out more (#3025)

Resolves #2515

8 years agoFinalizing Dutch strings (#3028)
jeroenpraat [Fri, 12 May 2017 22:13:08 +0000 (00:13 +0200)]
Finalizing Dutch strings (#3028)

for this file.

8 years agoRebuild node-sass (#3002)
Daigo 3 Dango [Fri, 12 May 2017 20:04:41 +0000 (10:04 -1000)]
Rebuild node-sass (#3002)

Got an error in asset precompile on Heroku:
Module build failed: Error: ENOENT: no such file or directory, scandir '/tmp/.../node_modules/node-sass/vendor'

ref: https://github.com/rails/webpacker#troubleshooting

8 years agofix #3008 : props was not defined (#3022)
Wonderfall [Fri, 12 May 2017 18:58:41 +0000 (20:58 +0200)]
fix #3008 : props was not defined (#3022)

8 years agoSpec coverage and refactor for pubsub/delivery worker (#3021)
Matt Jankowski [Fri, 12 May 2017 18:35:36 +0000 (14:35 -0400)]
Spec coverage and refactor for pubsub/delivery worker (#3021)

* Framework for delivery worker spec

* Refactor of pubsub delivery worker

8 years agoFix color contrast some more in privacy warning (#3018)
Shel Raphen [Fri, 12 May 2017 18:19:39 +0000 (14:19 -0400)]
Fix color contrast some more in privacy warning (#3018)

* Fix color contrast some more in privacy warning

Latest master appears to have changed the <strong> to this unreadable grey color. If you want that to be white then it should be pure white. If someone would rather revert this to that strong dark blue color it was before that would be good too.

* Make domain dark blue again

* add missing ;

woops

8 years agoAllow SCSS variables to be overridden (#2987)
Koala Yeung [Fri, 12 May 2017 17:22:50 +0000 (01:22 +0800)]
Allow SCSS variables to be overridden (#2987)

* Allow SCSS variables to be overridden with
  `app/javascript/pack/variables*.scss`

* Allow these SCSS variables to be overriden:
  * `$base-shadow-color`
  * `$base-overlay-background`
  * `$base-border-color`
  * `$simple-background-color`
  * `$primary-text-color`
  * `$valid-value-color
  * `$error-value-color`

8 years agoRemove reference to non-existent table in schema rb (#3019)
Matt Jankowski [Fri, 12 May 2017 17:22:33 +0000 (13:22 -0400)]
Remove reference to non-existent table in schema rb (#3019)

8 years agoAdd conversation model, <ostatus:conversation /> (#3016)
Eugen Rochko [Fri, 12 May 2017 17:09:21 +0000 (19:09 +0200)]
Add conversation model, <ostatus:conversation /> (#3016)

* Add <ostatus:conversation /> tag to Atom input/output

Only uses ref attribute (not href) because href would be
the alternate link that's always included also.

Creates new conversation for every non-reply status. Carries
over conversation for every reply. Keeps remote URIs verbatim,
generates local URIs on the fly like the rest of them.

* Fix conversation migration

* More spec coverage for status before_create

* Prevent n+1 query when generating Atom with the new conversations

* Improve code style

* Remove redundant local variable

8 years agoPrepend reblogs' wrapper content with "RT @original_author", (#3013)
Eugen Rochko [Fri, 12 May 2017 15:46:44 +0000 (17:46 +0200)]
Prepend reblogs' wrapper content with "RT @original_author", (#3013)

so that when a reblog parse fails on another instance, it doesn't
look like a misattributed/stolen text

8 years agoIncrease color contrast on privacy warning (#3015)
Shel Raphen [Fri, 12 May 2017 15:46:36 +0000 (11:46 -0400)]
Increase color contrast on privacy warning (#3015)

The current text contrast on the privacy warning is a WCAG violation. I didn't notice this because my instance has a custom theme which is better. On default theme I am barely able to read the text with my impaired vision. This patch brings the contrast to Normal Text WCAG AA compliance, and Large Text WCAG AAA compliance.

8 years agoFix sidekiq "port" being wrong (#3014)
Eugen Rochko [Fri, 12 May 2017 15:46:14 +0000 (17:46 +0200)]
Fix sidekiq "port" being wrong (#3014)

Sidekiq doesn't need a port, however that env var is used for generating URLs
in development, so when foreman sets it wrong, you get bad URLs from the
streaming API during development

8 years agoFix not rejecting remote URIs when parsing out local IDs (#3012)
Eugen Rochko [Fri, 12 May 2017 14:47:55 +0000 (16:47 +0200)]
Fix not rejecting remote URIs when parsing out local IDs (#3012)

8 years agoAdd back stdout logging to development environment after rails_12factor was removed...
Eugen Rochko [Fri, 12 May 2017 14:47:49 +0000 (16:47 +0200)]
Add back stdout logging to development environment after rails_12factor was removed (#3011)

8 years agoFix locales again (#3010)
Eugen Rochko [Fri, 12 May 2017 12:46:21 +0000 (14:46 +0200)]
Fix locales again (#3010)

* Normalize locales

* Restore "mention" locale key

8 years agoUse ES Class Fields & Static Properties (#3008)
Yamagishi Kazutoshi [Fri, 12 May 2017 12:44:10 +0000 (21:44 +0900)]
Use ES Class Fields & Static Properties (#3008)

Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook.

Added babel-plugin-transform-class-properties as a Babel plugin.

8 years agoRemove unnecessary message in video player (#3007)
Yamagishi Kazutoshi [Fri, 12 May 2017 12:43:06 +0000 (21:43 +0900)]
Remove unnecessary message in video player (#3007)

Remove unnecessary messages added in #1879.
It is duplicated with other keys, causing the correct message not to be displayed.

8 years agoUse cid3 on Heroku (#3001)
Daigo 3 Dango [Fri, 12 May 2017 12:33:54 +0000 (02:33 -1000)]
Use cid3 on Heroku (#3001)

Use https://github.com/heroku/heroku-buildpack-apt to
install protobuf-compiler and libprotobuf-dev which are needed by cid3

8 years agoAdd yarn log files to gitignore (#3003)
AA4ch1 [Fri, 12 May 2017 12:32:47 +0000 (21:32 +0900)]
Add yarn log files to gitignore (#3003)

* Add yarn-error.log to gitignore

* Add yarn-debug.log to gitignore

8 years agoUpdate ar.json (#3004)
ButterflyOfFire [Fri, 12 May 2017 12:32:35 +0000 (13:32 +0100)]
Update ar.json (#3004)

Updating some arabic translations.

8 years agoUpdate doorkeeper.ar.yml (#3006)
ButterflyOfFire [Fri, 12 May 2017 12:32:13 +0000 (13:32 +0100)]
Update doorkeeper.ar.yml (#3006)

* Update doorkeeper.ar.yml

- Remodelling doorkeeper.ar.yml and adding missing strings from english version to arabic version.
- Translating max strings
- Reviewing some translations
- Other strings to be translated later (complicated somehow)

* Update doorkeeper.ar.yml

Updating translations from lines : 88 to 91

8 years agoRemove dependencies that are no longer needed now (#2999)
Yamagishi Kazutoshi [Fri, 12 May 2017 02:04:41 +0000 (11:04 +0900)]
Remove dependencies that are no longer needed now (#2999)

There are some dependencies that are no longer needed anymore.
As a result, it took more time to install the package than necessary.

I want to delete them and shorten the installation time.

8 years agoFix #1426 - Trim long usernames in public follower/following lists (#2993)
Eugen Rochko [Thu, 11 May 2017 21:14:00 +0000 (23:14 +0200)]
Fix #1426 - Trim long usernames in public follower/following lists (#2993)

Fix #2221 - Catch OpenSSL exceptions when loading remote avatars/headers/attachments
Don't strip "rel" attribute from <a> tags when sanitizing (microformats)

8 years agoCoverage for domain block worker (#2997)
Matt Jankowski [Thu, 11 May 2017 20:25:15 +0000 (16:25 -0400)]
Coverage for domain block worker (#2997)

8 years agoFix #2205 - Delete associated notifications when a status is deleted (#2994)
Eugen Rochko [Thu, 11 May 2017 19:54:47 +0000 (21:54 +0200)]
Fix #2205 - Delete associated notifications when a status is deleted (#2994)

8 years agoFix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)
Eugen Rochko [Thu, 11 May 2017 19:54:30 +0000 (21:54 +0200)]
Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)

* Fix #2027 - Accept own ID for remote follow with and without preceding @
Fix #2177 - Omit leading "acct:" in remote follow redirect template expansion

* Fix test

8 years agoStop require of i18n-tasks (#2992)
Yamagishi Kazutoshi [Thu, 11 May 2017 13:11:59 +0000 (22:11 +0900)]
Stop require of i18n-tasks (#2992)

8 years agoWhen avatar/header are missing, do not include the missing file into Atom (#2988)
Eugen Rochko [Thu, 11 May 2017 12:32:03 +0000 (14:32 +0200)]
When avatar/header are missing, do not include the missing file into Atom (#2988)

Receiving instances will then use their own missing image

Also, add <content /> to deleted statuses, since there was a reported
problem with the deletes and GNU social

8 years agoFocus tab of Mastodon when clicking notification (#2989)
Yamagishi Kazutoshi [Thu, 11 May 2017 11:34:05 +0000 (20:34 +0900)]
Focus tab of Mastodon when clicking notification (#2989)

8 years agoAdd pessimistic constraints to gem versions (#2980)
Jack Jennings [Thu, 11 May 2017 09:27:01 +0000 (02:27 -0700)]
Add pessimistic constraints to gem versions (#2980)

8 years agoAdd dynamic polyfills for older browsers (#2985)
Nolan Lawson [Thu, 11 May 2017 09:26:06 +0000 (02:26 -0700)]
Add dynamic polyfills for older browsers (#2985)

Fixes #2941

8 years agoAdd specs for current Status#permitted? implementation (#2982)
Jack Jennings [Thu, 11 May 2017 09:25:10 +0000 (02:25 -0700)]
Add specs for current Status#permitted? implementation (#2982)

8 years ago[bug] wrong config setting for dababase. (#2984)
Ayumu AIZAWA [Thu, 11 May 2017 09:23:24 +0000 (18:23 +0900)]
[bug] wrong config setting for dababase. (#2984)

8 years agoFixed mention regex to support unicode (#2420)
Go Shoemake [Thu, 11 May 2017 01:47:38 +0000 (18:47 -0700)]
Fixed mention regex to support unicode (#2420)

8 years agoUpdate screenshot in readme (#2978)
Eugen Rochko [Thu, 11 May 2017 00:57:30 +0000 (02:57 +0200)]
Update screenshot in readme (#2978)

8 years agoRefine unescapeHTML (#2977)
Yamagishi Kazutoshi [Thu, 11 May 2017 00:22:40 +0000 (09:22 +0900)]
Refine unescapeHTML (#2977)

8 years agoRemove unnecessary .keep files (#2976)
Yamagishi Kazutoshi [Wed, 10 May 2017 23:45:42 +0000 (08:45 +0900)]
Remove unnecessary .keep files (#2976)

Follow up #2902

8 years agoFix regressions from #2683 (#2970)
Eugen Rochko [Wed, 10 May 2017 22:28:10 +0000 (00:28 +0200)]
Fix regressions from #2683 (#2970)

* Fix regressions from #2683

Properly format spoiler text HTML, while keeping old logic for blankness intact
Process hashtags and mentions in spoiler text
Format spoiler text for Atom
Change "show more" toggle into a button instead of anchor
Fix style regression on dropdowns for detailed statuses

* Fix lint issue

* Convert spoiler text to plaintext in desktop notifications

8 years agoVery small fix/update NL strings (#2971)
jeroenpraat [Wed, 10 May 2017 22:20:13 +0000 (00:20 +0200)]
Very small fix/update NL strings (#2971)

* Very small fix/update NL strings

* Oops

8 years agoPubsub confirmation worker spec (#2974)
Matt Jankowski [Wed, 10 May 2017 22:19:37 +0000 (18:19 -0400)]
Pubsub confirmation worker spec (#2974)

* Add specs for valid challenge response from pubsub confirmation worker

* Refactor the pubsub confirmation worker

8 years agoFix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
Eugen Rochko [Wed, 10 May 2017 21:30:07 +0000 (23:30 +0200)]
Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)

8 years agoAdd `account_id DESC` to optimize PrecomputeFeedService (#2967)
alpaca-tc [Wed, 10 May 2017 18:33:32 +0000 (03:33 +0900)]
Add `account_id DESC` to optimize PrecomputeFeedService (#2967)

8 years agofix a regression introduced by e2491680e696d2c285a798ec4c66b26d2748df66 (#2966)
beatrix [Wed, 10 May 2017 18:32:59 +0000 (14:32 -0400)]
fix a regression introduced by e2491680e696d2c285a798ec4c66b26d2748df66 (#2966)

that caused user pages to break when showing toots with CWs

8 years agoalign buttons with column headers (#2964)
Wonderfall [Wed, 10 May 2017 18:32:26 +0000 (20:32 +0200)]
align buttons with column headers (#2964)

8 years agoSpec feed insert worker (#2965)
Matt Jankowski [Wed, 10 May 2017 18:32:05 +0000 (14:32 -0400)]
Spec feed insert worker (#2965)

* Spec for feed insert worker when missing records

* more specs!

* Refactor feed insert worker

8 years agoAdd boop sounds in Vorbis format (#2963)
Yamagishi Kazutoshi [Wed, 10 May 2017 14:58:54 +0000 (23:58 +0900)]
Add boop sounds in Vorbis format (#2963)

Vorbis is audio format of Open Source.
Can play audio in a free environment where you can not play mp3.

8 years agoDisable sidekiq logging in test mode (#2962)
Matt Jankowski [Wed, 10 May 2017 14:16:42 +0000 (10:16 -0400)]
Disable sidekiq logging in test mode (#2962)

8 years agoSpec coverage and refactor of digest mailer worker (#2961)
Matt Jankowski [Wed, 10 May 2017 13:45:43 +0000 (09:45 -0400)]
Spec coverage and refactor of digest mailer worker (#2961)

8 years agoFix Occitan's locale data plural function (#2957)
Koala Yeung [Wed, 10 May 2017 12:44:48 +0000 (20:44 +0800)]
Fix Occitan's locale data plural function (#2957)

* Fix the pluralRuleFunction of the locale data.
* Added more descriptions about how to write it.

8 years agoFix compose_form.js for #2904 (#2960)
AA4ch1 [Wed, 10 May 2017 12:41:39 +0000 (21:41 +0900)]
Fix compose_form.js for #2904 (#2960)

8 years agoUpdate cld3 to 3.1.1 (#2958)
Akihiko Odaki [Wed, 10 May 2017 12:39:28 +0000 (21:39 +0900)]
Update cld3 to 3.1.1 (#2958)

According to the release message:
> Fix for macOS and minor improvements

8 years agoHandle hashtags in spoiler_texts (partial fix for #699) (#2683)
R Tucker [Wed, 10 May 2017 02:47:25 +0000 (22:47 -0400)]
Handle hashtags in spoiler_texts (partial fix for #699) (#2683)

* services: scan spoiler_text for hashtags (#699)

* views: link hashtags from spoiler_texts

This covers linking hashtags from within the spoiler
text on the server-generated pages.

* services: fix string concat going into hashtag RE

Cleaner Ruby syntax, may handle immutable strings better

8 years agoAdd spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
Eugen Rochko [Wed, 10 May 2017 00:55:43 +0000 (02:55 +0200)]
Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)

to all subscribers. IDN-normalize callback URLs for subscriptions on insert.

8 years agoDisabled auto focus on toot form when search results are shown. (#2942)
fusshi- [Wed, 10 May 2017 00:51:43 +0000 (09:51 +0900)]
Disabled auto focus on toot form when search results are shown. (#2942)

8 years agoSpecs for pubsub subscribe service (#2951)
Matt Jankowski [Tue, 9 May 2017 18:48:30 +0000 (14:48 -0400)]
Specs for pubsub subscribe service (#2951)

* Add spec for pubsubhubbub/subscribe

* Refactor pubsubhubbub/subscribe service

8 years agoSpec and refactor for pubsubhubbub/unsubscribe service (#2946)
Matt Jankowski [Tue, 9 May 2017 17:58:18 +0000 (13:58 -0400)]
Spec and refactor for pubsubhubbub/unsubscribe service (#2946)

* Add coverage for pubsub unsubscribe service

* Refactor pubsub unsubscribe service

8 years agoUse CLD3 (#2949)
Akihiko Odaki [Tue, 9 May 2017 17:58:03 +0000 (02:58 +0900)]
Use CLD3 (#2949)

Compact Language Detector v3 (CLD3) is the successor of CLD2, which was
used in the previous implementation. CLD3 includes improvements since CLD2,
and supports newer compilers. On the other hand, it has additional
requirements and cld3-ruby, the FFI of CLD3 for Ruby, is still new and may
be still inmature.

Though CLD3 is named after CLD2, it is implemented with a neural network
model, different from the old implementation, which is based on a Naïve
Bayesian classifier.

CLD3 supports newer compilers, such as GCC 6. CLD2 is not compatible with
GCC 6 because it assigns negative values to varibales typed unsigned.
(see internal/cld_generated_cjk_uni_prop_80.cc) The support for GCC 6 and
newer compilers are essential today, when some server operating system
such as Ubuntu Server 16.10 has GCC 6 by default.

On the one hand, CLD3 requires C++11 support. Environments with old
compilers such as Ubuntu Server 14.04 needs to update the system or install
a newer compiler.

CLD3 needs protocol buffers as a new dependency. However,it is not
considered problematic because major server operating systems, CentOS and
Ubuntu Server provide them.

The FFI cld3-ruby was written by me (Akihiko Odaki) for use in Mastodon.
It is still new and may be inmature, but confirmed to pass existing tests.

8 years agoUse RegExp for require.context to filter custom stylesheets (#2950)
Akihiko Odaki [Tue, 9 May 2017 17:51:45 +0000 (02:51 +0900)]
Use RegExp for require.context to filter custom stylesheets (#2950)

ExtractTextWebpackPlugin extracts the content of loaded files, which means
it loads files loaded by require.context but not required after that.
However the former implementation is not aware of that.

require.context can have a RegExp to filter files to load. This change
gives a RegExp which matches with SCSSes with 'custom' prefix to
require.context to take advantage of the feature.

8 years agoFixed bug that timeline can not be displayed by InvalidURIError (#2947)
abcang [Tue, 9 May 2017 16:17:41 +0000 (01:17 +0900)]
Fixed bug that timeline can not be displayed by InvalidURIError (#2947)

8 years agoadd content-type in pubsubhubhub request header (#2943)
haoyayoi [Tue, 9 May 2017 14:34:47 +0000 (23:34 +0900)]
add content-type in pubsubhubhub request header (#2943)

* add content-type in pubsubhubhub request header

* fix type

8 years agoFix missing or not gender neutral strings. (#2944)
Alda Marteau-Hardi [Tue, 9 May 2017 14:14:44 +0000 (16:14 +0200)]
Fix missing or not gender neutral strings. (#2944)

8 years agoRemove jquery-ujs (#2939)
Yamagishi Kazutoshi [Tue, 9 May 2017 12:50:43 +0000 (21:50 +0900)]
Remove jquery-ujs (#2939)

* Remove jquery-ujs

* fix for eslint

8 years agoFix duplicated values in nl.json (#2931)
Yamagishi Kazutoshi [Tue, 9 May 2017 12:12:35 +0000 (21:12 +0900)]
Fix duplicated values in nl.json (#2931)

8 years agoUpdate Norwegian translations (#2937)
Koala Yeung [Tue, 9 May 2017 12:01:45 +0000 (20:01 +0800)]
Update Norwegian translations (#2937)

* Update Norwegian translations

* Updated no.json
* Updated activerecord.no.yml
* Updated no.yml
* Updated simple_form.no.yml

* i18n: fix Unicode character error in no.yml

* Javascript escaping code "\uD83D\uDC18" should be "\U0001f418" in
Ruby / yml

* i18n: remove unused keys in Norwegian translation

* Remove unused keys in no.yml and activerecord.no.yml
  by running: `bundle exec i18n-tasks remove-unused no`

* Add missing keys in activerecord.no.yml and no.yml by
  running: `bundle exec i18n-tasks add-missing no`

* i18n: escape the key 'no' in activerecord.no.yml

8 years agoFix snackbar notification stacking order (#2935)
Soshi Kato [Tue, 9 May 2017 12:01:29 +0000 (21:01 +0900)]
Fix snackbar notification stacking order (#2935)