]>
cat aescling's git repositories - mastodon.git/log
Matt Jankowski [Wed, 31 May 2017 18:34:51 +0000 (14:34 -0400)]
Improve spec coverage and clean up api/v1/blocks controller (#3464)
Matt Jankowski [Wed, 31 May 2017 18:32:11 +0000 (14:32 -0400)]
Improve spec coverage and clean up api/v1/follow_requests controller (#3465)
Matt Jankowski [Wed, 31 May 2017 18:31:14 +0000 (14:31 -0400)]
Improve spec coverage and clean up api/v1/domain_blocks controller (#3466)
Matt Jankowski [Wed, 31 May 2017 18:30:55 +0000 (14:30 -0400)]
Refactor api/v1/notifications controller (#3470)
Matt Jankowski [Wed, 31 May 2017 18:30:39 +0000 (14:30 -0400)]
Improve spec coverage and clean up api/v1/favourites controller (#3472)
Matt Jankowski [Wed, 31 May 2017 18:28:45 +0000 (14:28 -0400)]
Expand spec coverage and refactor the `Account.find_` methods (#3485)
* Move specs for account finder methods to concern spec
* Move account finder methods to concern
* Improve spec wording
* Use more explicit comparison to ensure correct return value
* Add coverage for .find_local! and .find_remote!
* Add some methods to the finder
* Use arel on matching_username method
* Avoid ternary in matching domain method
* Simplify finder methods
* Use an AccountFinder class to simplify lookup
Matt Jankowski [Wed, 31 May 2017 18:27:34 +0000 (14:27 -0400)]
Improve spec coverage and clean up api/v1/mutes controller (#3481)
Matt Jankowski [Wed, 31 May 2017 18:27:17 +0000 (14:27 -0400)]
Refactor and spec coverage for api/v1/timelines actions (#3482)
caasi Huang [Wed, 31 May 2017 16:46:57 +0000 (00:46 +0800)]
Update zh-TW.json (#3480)
* Update zh-TW.json
* Update `search_results.total`
Yamagishi Kazutoshi [Wed, 31 May 2017 15:09:28 +0000 (00:09 +0900)]
Hold value of I18n.locale with ApplicationHelperSpec (#3474)
Yamagishi Kazutoshi [Wed, 31 May 2017 15:09:17 +0000 (00:09 +0900)]
Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) (#3479)
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail)
* use climate_control
Nolan Lawson [Wed, 31 May 2017 15:07:25 +0000 (08:07 -0700)]
Remove react-imageloader (#3423)
* Remove react-imageloader
* add eslint-disable-line
* improve image loading experience
* remove unneeded import
* use PureComponent
* Use componentWillMount instead of constructor
unarist [Wed, 31 May 2017 13:30:26 +0000 (22:30 +0900)]
Fix load more on account timelines (regression from #3311) (#3475)
This prevents `next` state from being overridden on the loading *new* statuses.
Nolan Lawson [Wed, 31 May 2017 13:11:33 +0000 (06:11 -0700)]
Improve scheduling of requestIdleCallback tasks (#3477)
alpaca-tc [Wed, 31 May 2017 13:10:26 +0000 (22:10 +0900)]
Account.find_remote should be raise ActiveRecord::RecordNotFound (#3476)
Matt Jankowski [Wed, 31 May 2017 01:16:28 +0000 (21:16 -0400)]
Refactor api/v1/apps controller (#3471)
Matt Jankowski [Wed, 31 May 2017 01:13:31 +0000 (21:13 -0400)]
Refactor api/v1/reports controller (#3469)
Matt Jankowski [Wed, 31 May 2017 01:11:54 +0000 (21:11 -0400)]
Refactor api/v1/search controller (#3468)
Matt Jankowski [Wed, 31 May 2017 01:11:29 +0000 (21:11 -0400)]
Improve spec coverage and clean up api/v1/media controller (#3467)
Matt Jankowski [Wed, 31 May 2017 00:15:09 +0000 (20:15 -0400)]
Clean up api/subscriptions controller (#3448)
spla [Wed, 31 May 2017 00:14:52 +0000 (02:14 +0200)]
Catalan language updates (#3454)
* 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
* Catalan translation update
added activerecord.ca.yml
* Update activerecord.ca.yml
Done
* Updated activerecord.ca.yml
* Catalan language updated
* Catalan language updated
* Catalan language updated
* Catalan language updated
* Catalan language updated
Yamagishi Kazutoshi [Wed, 31 May 2017 00:14:26 +0000 (09:14 +0900)]
Change PureComponent to ImmutablePureComponent (#3460)
* Change PureComponent to ImmutablePureComponent
Change PureComponent to ImmutablePureComponent in AttachmentList.
* rm React.
Yamagishi Kazutoshi [Tue, 30 May 2017 21:09:02 +0000 (06:09 +0900)]
Add zh-TW.json (#3459)
Jack Jennings [Tue, 30 May 2017 20:56:31 +0000 (13:56 -0700)]
Add status destroy authorization to policy (#3453)
* Add status destroy authorization to policy
* Create explicit unreblog status authorization
Matt Jankowski [Tue, 30 May 2017 20:30:06 +0000 (16:30 -0400)]
Improve api oembed controller (#3450)
* Add StreamEntryFinder class to parse URLs
* Use StreamEntryFinder and clean up api/oembed controller
Matt Jankowski [Tue, 30 May 2017 20:28:58 +0000 (16:28 -0400)]
Clean up api/salmon controller (#3449)
Jack Jennings [Tue, 30 May 2017 20:14:32 +0000 (13:14 -0700)]
Fix incorrect visibility setter in StatusPolicySpec (#3456)
Matt Jankowski [Tue, 30 May 2017 17:06:01 +0000 (13:06 -0400)]
Remove exports/base controller in favor of shared concern (#3444)
Chris [Tue, 30 May 2017 16:39:28 +0000 (11:39 -0500)]
added 'https://' to CDN_HOST variable example (#3446)
Yamagishi Kazutoshi [Tue, 30 May 2017 14:11:45 +0000 (23:11 +0900)]
Add "private: true" to package.json (#3441)
Naouak [Tue, 30 May 2017 13:30:59 +0000 (15:30 +0200)]
Fix webpack building on Windows (#3426)
* Path should not be constructed manually. Use path.join to ensure compatibility.
* Path should not be constructed manually. Use path.join to ensure compatibility.
* Fix regexp.
* Fix my own stupidity.
I forgot to check outside my test script the regexp...
Akihiko Odaki [Tue, 30 May 2017 13:28:56 +0000 (22:28 +0900)]
Refactor User and spec (#3431)
* Protect send_devise_notification of User
* Improve spec for User
Jack Jennings [Tue, 30 May 2017 13:16:14 +0000 (06:16 -0700)]
Move status reblog authorization into policy (#3425)
Yamagishi Kazutoshi [Tue, 30 May 2017 13:13:04 +0000 (22:13 +0900)]
Change libraries path to relative (#3433)
Yamagishi Kazutoshi [Tue, 30 May 2017 13:12:12 +0000 (22:12 +0900)]
Remove unused React Storybook addon (#3434)
Nolan Lawson [Tue, 30 May 2017 13:11:15 +0000 (06:11 -0700)]
Extract polyfill loading into single module (#3421)
Akihiko Odaki [Tue, 30 May 2017 13:03:35 +0000 (22:03 +0900)]
Use around hook to restore context in InstancePresenter spec (#3430)
Akihiko Odaki [Tue, 30 May 2017 10:32:33 +0000 (19:32 +0900)]
Use around hook to restore context in InstanceHelper spec (#3429)
Akihiko Odaki [Tue, 30 May 2017 10:32:09 +0000 (19:32 +0900)]
Use around hook to restore context in Admin::SettingsController spec (#3428)
Akihiko Odaki [Tue, 30 May 2017 10:29:48 +0000 (19:29 +0900)]
Use around hook to restore context in ApplicationHelper spec (#3432)
Yamagishi Kazutoshi [Tue, 30 May 2017 01:04:44 +0000 (10:04 +0900)]
Run bundle command (follow up #3403) (#3427)
Yamagishi Kazutoshi [Mon, 29 May 2017 16:23:28 +0000 (01:23 +0900)]
Update dependencies of Node.js (#3067)
* Update autoprefixer to version 7.1.0
* Update axios to version 0.16.1
* Update babel-cli to version 6.24.1
* Update babel-eslint to version 7.2.3
* Update babel-preset-react to version 6.24.1
* Update coffee-script to version 1.12.6
* Update css-loader to version 0.28.1
* Update express to version 4.15.2
* Update js-yaml to version 3.8.4
* Update mocha to version 3.4.1
* Update jsdom to version 10.1.0
* Update npmlog to version 4.1.0
* Update postcss-smart-import to version 0.7.0
* Update postcss-loader to version 2.0.5
* Update pg to version 6.1.5
* Update prop-types to version 15.5.10
* Update rails-ujs to version 5.1.1
* Update redis to version 2.7.1
* Update sass-loader to version 6.0.5
* Update stringz to version 0.2.0
* Update webpack to version 2.5.1
* Update style-loader to version 0.17.0
* Update sinon to version 2.2.0
* Update react-motion to version 0.5.0
* Update react-notification to version 6.7.0
* Update react-redux-loading-bar to version 2.9.0
* Update react-intl to version 2.3.0
* Update redux-immutable to version 4.0.0
* Update reselect to version 3.0.1
* Update react-toggle to version 3.0.1
* Update react-simple-dropdown to version 3.0.0
* Update react-router to version 3.0.5
* Update react-router-scroll to version 0.4.2
* Update react-toggle to version 4.0.1
* yarn upgrade
Jack Jennings [Mon, 29 May 2017 16:22:22 +0000 (09:22 -0700)]
Extract authorization policy for viewing statuses (#3150)
unarist [Mon, 29 May 2017 16:20:53 +0000 (01:20 +0900)]
[RFC] Return 401 for an authentication error on WebSockets (#3411)
* Return 401 for an authentication error on WebSocket
* Use upgradeReq instead of a custom object
Matt Jankowski [Mon, 29 May 2017 16:18:06 +0000 (12:18 -0400)]
Version bumps for non-rails gems (#3398)
* Update xpath to version 2.1.0
* Update aws-sdk to version 2.9.25
* Update oj to version 3.0.10
* Update brakeman to version 3.6.2
* Update rufus-scheduler to version 3.4.2
* Update doorkeeper to version 4.2.6
* Update rubocop to version 0.49.0
Nolan Lawson [Mon, 29 May 2017 16:17:51 +0000 (09:17 -0700)]
Add IntersectionObserverWrapper to cut down on re-renders (#3406)
Akihiko Odaki [Mon, 29 May 2017 16:14:16 +0000 (01:14 +0900)]
Remove methods from ObfuscateFilename and spec (#3347)
* Remove methods from ObfuscateFilename
* Spec ObfuscateFilename
Akihiko Odaki [Mon, 29 May 2017 16:13:11 +0000 (01:13 +0900)]
Spec Auth::ConfirmationsController (#3348)
Akihiko Odaki [Mon, 29 May 2017 16:12:54 +0000 (01:12 +0900)]
Spec AccountControllerConcern (#3349)
Akihiko Odaki [Mon, 29 May 2017 16:12:34 +0000 (01:12 +0900)]
Cover Admin::ReportsController more (#3346)
Akihiko Odaki [Mon, 29 May 2017 16:12:17 +0000 (01:12 +0900)]
Cover InstancesController more (#3342)
Akihiko Odaki [Mon, 29 May 2017 16:11:16 +0000 (01:11 +0900)]
Cover Admin::SuspensionsController more (#3350)
Akihiko Odaki [Mon, 29 May 2017 16:10:50 +0000 (01:10 +0900)]
Spec Auth::PasswordsController (#3352)
Akihiko Odaki [Mon, 29 May 2017 16:09:17 +0000 (01:09 +0900)]
Spec Admin::ResetsController calls send_reset_password_instructions (#3354)
Akihiko Odaki [Mon, 29 May 2017 16:08:58 +0000 (01:08 +0900)]
Spec #destroy feature of Admin::TwoFactorAuthenticationsController (#3355)
Akihiko Odaki [Mon, 29 May 2017 16:08:42 +0000 (01:08 +0900)]
Coever Admin::SilencesController more (#3356)
Akihiko Odaki [Mon, 29 May 2017 16:08:26 +0000 (01:08 +0900)]
Cover Settings::ExportsController more (#3358)
Akihiko Odaki [Mon, 29 May 2017 16:08:05 +0000 (01:08 +0900)]
Cover Oauth::AuthorizedApplicationsController (#3359)
Akihiko Odaki [Mon, 29 May 2017 16:07:39 +0000 (01:07 +0900)]
Cover Oauth::AuthorizationsController more (#3361)
Akihiko Odaki [Mon, 29 May 2017 16:07:07 +0000 (01:07 +0900)]
Cover Settings::TwoFactorAuthenticationsController more (#3376)
Akihiko Odaki [Mon, 29 May 2017 16:05:30 +0000 (01:05 +0900)]
Cover WellKnown::HostMetaController more (#3382)
Akihiko Odaki [Mon, 29 May 2017 16:05:20 +0000 (01:05 +0900)]
Cover Settings::TwoFactorAuthentication::RecoveryCodesController more (#3383)
Akihiko Odaki [Mon, 29 May 2017 16:05:01 +0000 (01:05 +0900)]
Spec Settings::Exports (#3384)
* Spec output of Settings::Exports::BlockedAccountsController
* Spec output of Settings::Exports::FollowingAccountsController
* Spec output of Settings::Exports::MutedAccountsController
* Spec Settings::Exports::BaseController
This commit removes duplicate specs in classes inheriting
Settings::Exports::BaseController as well.
Akihiko Odaki [Mon, 29 May 2017 16:04:37 +0000 (01:04 +0900)]
Cover WellKnown::WebfingerController more (#3385)
Akihiko Odaki [Mon, 29 May 2017 16:04:00 +0000 (01:04 +0900)]
Cover Settings::TwoFactorAuthentication::ConfirmationsController more (#3386)
Akihiko Odaki [Mon, 29 May 2017 16:03:37 +0000 (01:03 +0900)]
Cover ApplicationHelper more (#3412)
Akihiko Odaki [Mon, 29 May 2017 16:03:15 +0000 (01:03 +0900)]
Spec Activitystreams2BuilderHelper (#3413)
Akihiko Odaki [Mon, 29 May 2017 16:03:02 +0000 (01:03 +0900)]
Spec FlashesHelper (#3414)
Akihiko Odaki [Mon, 29 May 2017 16:02:44 +0000 (01:02 +0900)]
Spec HomeHelper (#3415)
Akihiko Odaki [Mon, 29 May 2017 16:02:32 +0000 (01:02 +0900)]
Spec HttpHelper (#3416)
Akihiko Odaki [Mon, 29 May 2017 16:01:37 +0000 (01:01 +0900)]
Cover Admin::PubSubHubHubController more (#3343)
unarist [Mon, 29 May 2017 16:01:08 +0000 (01:01 +0900)]
Don't stream toots from users who have blocked the recipient user (#3300)
* Don't stream toots from users who have blocked the recipient user
This filter was already applied on the `/api/v1/timelines/public` API, but
not yet for the Streaming API.
* Boosted status' account_id doesn't need for filtering in streaming/index.js
This filtering is only for public/hashtag timelines, but boosts already filtered on FanOutOnWriteService because those timelines don't show boosts.
Daniel Hunsaker [Mon, 29 May 2017 15:59:18 +0000 (09:59 -0600)]
[nanobox] Adjustments for Nanobox development (#3295)
Because Nanobox doesn't run data components in the same container as the code, there are a few tweaks that need to be made in the configuration to get WebPack to work properly in development mode.
The same differences lead to needing to use `DATABASE_URL` by default in the `.env` file for Rails to work correctly.
Limitations of our `.env` loader for Node.js mean the `.env` file needs to be compiled everywhere in order to work, so we compile it in development, now, too. Also, all the `.env.production` tweaks have been consolidated into a single command.
Finally, since Nanobox actually creates the database when it sets up the database server, using the existence of the database alone to determine whether to migrate or setup is insufficient. So we add a condition to `rake db:migrate:setup` to check whether any migrations have run - if the database doesn't exist yet, `db:setup` will be called; if it does, but no migrations have been run, `db:migrate` and `db:seed` are called instead (the same basic idea as what `db:setup` does, but it skips `db:create`, which will only cause problems with an existing DB); otherwise, only `db:migrate` is called.
None of these changes should affect development, and all are designed not to interfere with existing behaviors in other environments.
Atsushi Yamamoto [Mon, 29 May 2017 15:56:13 +0000 (11:56 -0400)]
Add preference setting for delete toot modal (#3368)
* Set delete_modal preference to true by default
* Does not show confirmation modal if delete_modal is false
* Add ja translation for preference setting page
Nolan Lawson [Mon, 29 May 2017 15:52:45 +0000 (08:52 -0700)]
Prevent wasted render in load_more.js (#3402)
masarakki [Mon, 29 May 2017 15:52:26 +0000 (00:52 +0900)]
fix-rails-minor-version (#3403)
lindwurm [Mon, 29 May 2017 15:52:02 +0000 (00:52 +0900)]
l10n: Fix Japanese translation (#3410)
* "メデイア" -> "メディア"
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
Nolan Lawson [Mon, 29 May 2017 15:49:54 +0000 (08:49 -0700)]
Use travis_retry to reduce spurious test failures (#3418)
Eugen Rochko [Sun, 28 May 2017 17:30:38 +0000 (19:30 +0200)]
Bump version to 1.4.1
Nolan Lawson [Sun, 28 May 2017 17:15:35 +0000 (10:15 -0700)]
Use immutable list in UploadButton to avoid wasteful re-render (#3394)
Clworld [Sun, 28 May 2017 17:14:44 +0000 (02:14 +0900)]
Re-add stream end log for WebSocket (#3397)
Eugen Rochko [Sun, 28 May 2017 17:11:47 +0000 (19:11 +0200)]
Fix video having black border on top due to regression from #2608 (#3392)
The combination of object-fit, relative position 50% from top and translating it
back upwards 50% is what allows us to crop the video properly, so it needs to
be +50%-50%
ster [Sun, 28 May 2017 17:11:29 +0000 (21:11 +0400)]
Ukrainian translation: fix typo (#3393)
Nolan Lawson [Sun, 28 May 2017 14:45:42 +0000 (07:45 -0700)]
Fix IntersectionObserver isIntersecting in Edge (#3365)
Eugen Rochko [Sun, 28 May 2017 14:32:53 +0000 (16:32 +0200)]
Bump version to 1.4.0.6
Eugen Rochko [Sun, 28 May 2017 14:32:29 +0000 (16:32 +0200)]
Update bootsnap to 0.3.0 (fix xattr.h error) (#3390)
Nolan Lawson [Sun, 28 May 2017 14:26:35 +0000 (07:26 -0700)]
Simplify isIntersecting in status_list.js (#3371)
Akihiko Odaki [Sun, 28 May 2017 14:26:16 +0000 (23:26 +0900)]
Fix Webpack Bundle Analyzer output for Webpacker (#3374)
Webpacker failed to parse output of Webpack when a module requires
non-existent module or has similar errors. This commit fixes the bug.
vidarlee [Sun, 28 May 2017 14:25:54 +0000 (23:25 +0900)]
i18n: Add some tags for Chinese translation (#3379)
* Enhance for the Chinese translation
* Add filtered_languages for Chinese Translation include CN/HK/TW for PR #3175
* i18n: Add some tags for Chinese translation
* i18n: Add some tags for Chinese translation
Masoud Abkenar [Sun, 28 May 2017 14:25:45 +0000 (16:25 +0200)]
Persian translation fixes and updates (#3380)
* Persian translation fix
* Persian translation of new strings
Eugen Rochko [Sun, 28 May 2017 14:25:26 +0000 (16:25 +0200)]
Improve streaming API cluster logging (#3370)
* Improve streaming API cluster logging
* Less verbose error middleware logging (stack trace useless there)
* Fix error logging
* Prevent potential issue
* Add missing "done()" in catch of Promise.all, websocket heartbeat re-implemented like in example
* I actually forgot a done(), the absolute madman
Clworld [Sat, 27 May 2017 21:27:54 +0000 (06:27 +0900)]
Reject revoked access_token on Streaming API. (#3367)
Eugen Rochko [Sat, 27 May 2017 14:56:47 +0000 (16:56 +0200)]
Bump version to 1.4.0.5
Eugen Rochko [Sat, 27 May 2017 14:55:09 +0000 (16:55 +0200)]
Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332)
* Fix #2922 - Load stylesheet from "custom.css" entrypoint when present
This is pretty much the same way it worked as before, albeit with
having to create app/javascript/packs/custom.js with
require('../styles/custom.scss') (or whatever you want really), which
will be a blank slate for you to import whatever you want
* Remove old assets directory
* Extract font-awesome into common.css and always load it
jeroenpraat [Sat, 27 May 2017 14:28:32 +0000 (16:28 +0200)]
Update Dutch strings for 1.4 (#3363)
* Update nl strings for 1.4
* Update nl strings for 1.4
* Update nl strings for 1.4
* nl strings (+1)
More new OTP strings will be translated another time
Quent-in [Sat, 27 May 2017 13:50:40 +0000 (15:50 +0200)]
i18n update for Occitan language (#3362)
* Update simple_form.oc.yml
* Added check spam folder
* Update oc.json
abonats => seguidors
* Update oc.yml
* Update oc.json
Added translations + corrections
* Update confirmation_instructions.oc.html.erb
* Update confirmation_instructions.oc.text.erb
* i18n mailer
* Update reset_password_instructions.oc.html.erb
m4sk1n [Sat, 27 May 2017 11:04:42 +0000 (13:04 +0200)]
i18n: pl: pluralized (#3344)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
unarist [Sat, 27 May 2017 11:04:28 +0000 (20:04 +0900)]
Fix empty flash message on the settings page (#3345)
happycoloredbanana [Fri, 26 May 2017 22:55:08 +0000 (01:55 +0300)]
Avoid comparing domains when looking for an exact match of a local account (#3336)
Eugen Rochko [Fri, 26 May 2017 22:54:00 +0000 (00:54 +0200)]
Add missing background center on public profile headers (#3340)