]>
cat aescling's git repositories - mastodon.git/log
Akihiko Odaki [Tue, 23 May 2017 11:12:45 +0000 (20:12 +0900)]
Spec AuthorizeFollowsController assigns @account (#3246)
@account is used by the view.
Akihiko Odaki [Tue, 23 May 2017 11:12:19 +0000 (20:12 +0900)]
Introduce recent to Follow (#3247)
Introduce recent to Follow, as Account and other models have.
This change also adds specs for the scope and the dependents.
Yamagishi Kazutoshi [Tue, 23 May 2017 11:10:41 +0000 (20:10 +0900)]
Focus the submit button (#3253)
Focus the submit button when confirmation modal is opened.
Also, changed cancellation link to button.
This makes the meaning clearer.
Audun Larsen [Tue, 23 May 2017 11:09:53 +0000 (13:09 +0200)]
Updates Norwegian translation (#3252)
Ira [Tue, 23 May 2017 11:08:16 +0000 (14:08 +0300)]
i18n: Latest Hebew strings translated (#3250)
Yamagishi Kazutoshi [Tue, 23 May 2017 11:08:01 +0000 (20:08 +0900)]
Refactoring. Removed useless import. (#3254)
original: https://github.com/tootsuite/mastodon/pull/2618
Akihiko Odaki [Tue, 23 May 2017 00:53:01 +0000 (09:53 +0900)]
Cover AccountsController more in spec (#3229)
* Introduce recent scope to Status and StreamEntry
Introduce recent scope to Status and StreamEntry as Account has.
* Cover AccountsController more in AccountsController
Eugen Rochko [Tue, 23 May 2017 00:50:04 +0000 (02:50 +0200)]
Fix more locale regressions from #3055 (#3242)
Matt Jankowski [Tue, 23 May 2017 00:27:24 +0000 (20:27 -0400)]
Use local default for postgres host in node streaming service (#3240)
This location varies across postgres installations, and it seems like the pg
package knows how to guess correctly on each system.
Matt Jankowski [Mon, 22 May 2017 21:12:29 +0000 (17:12 -0400)]
Coverage for api/web/settings controller (#3238)
Matt Jankowski [Mon, 22 May 2017 19:50:58 +0000 (15:50 -0400)]
Add coverage for ReportFilter and AccountFilter (#3236)
Eugen Rochko [Mon, 22 May 2017 19:38:19 +0000 (21:38 +0200)]
Bump version
Matt Jankowski [Mon, 22 May 2017 17:36:21 +0000 (13:36 -0400)]
Specs for cleanup workers (#3235)
* Add spec files for feed and media cleanup workers
* Add coverage for feed and media cleanup schedulers
* Clean up feed and media cleanup workers
Eugen Rochko [Mon, 22 May 2017 17:35:48 +0000 (19:35 +0200)]
Similarly to #2426, put creation of remote statuses in a transaction, (#3233)
so that public timeline/caching would not encounter incomplete data
Akihiko Odaki [Mon, 22 May 2017 15:58:57 +0000 (00:58 +0900)]
Cover ApplicationController more in spec (#3230)
Akihiko Odaki [Mon, 22 May 2017 15:58:49 +0000 (00:58 +0900)]
Cover AccountUnfollowController more in spec (#3228)
Tomonori Murakami [Mon, 22 May 2017 15:58:41 +0000 (00:58 +0900)]
Fix locale bug when change it on preferences (#3223) (#3232)
Akihiko Odaki [Mon, 22 May 2017 14:29:48 +0000 (23:29 +0900)]
Cover AccountFollowController more in spec (#3227)
Akihiko Odaki [Mon, 22 May 2017 14:27:19 +0000 (23:27 +0900)]
Cover AboutController more in spec (#3226)
Eugen Rochko [Mon, 22 May 2017 14:26:54 +0000 (16:26 +0200)]
Fix locale regression from #3055 (#3231)
Ratmir Karabut [Mon, 22 May 2017 14:03:50 +0000 (17:03 +0300)]
Update Russian translation (#3225)
* 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
Nolan Lawson [Mon, 22 May 2017 13:42:11 +0000 (06:42 -0700)]
Add webpack-bundle-analyzer for production builds (#3170)
Immae [Mon, 22 May 2017 13:40:04 +0000 (15:40 +0200)]
Allow alternate domains for mastodon handlers (#3187)
Nolan Lawson [Mon, 22 May 2017 13:06:06 +0000 (06:06 -0700)]
Only load Intl data for current language (#3130)
* Only load Intl data for current language
* Extract common chunk only from application.js and public.js
* Generate locale packs, avoid caching on window object
Yamagishi Kazutoshi [Mon, 22 May 2017 13:02:30 +0000 (22:02 +0900)]
Change "Account.any?" to "Account.exists?" (#3217)
m4sk1n [Mon, 22 May 2017 13:01:53 +0000 (15:01 +0200)]
Updated Polish translation (#3204)
* i18n: updated Polish translation
Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
* i18n: completed Polish translation
Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
* i18n: corrected Polish translation
Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
* i18n: Updated Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Update simple_form.pl.yml
* Update simple_form.pl.yml
unarist [Mon, 22 May 2017 13:01:27 +0000 (22:01 +0900)]
Keep children of the column-collapsable until the transition is completed (#3218)
Clworld [Mon, 22 May 2017 13:01:02 +0000 (22:01 +0900)]
Set config.cache_store in environments file. (#3219)
* Set config.cache_store in application.rb
* Set config.cache_store in environments.
* fix code format.
unarist [Mon, 22 May 2017 12:57:50 +0000 (21:57 +0900)]
Fix "Edit profile" on the account action bar (#3222)
Akihiko Odaki [Mon, 22 May 2017 04:00:07 +0000 (13:00 +0900)]
single_user_mode? always returns boolean (#3215)
This change also adds a specification for the method.
Yamagishi Kazutoshi [Mon, 22 May 2017 02:45:55 +0000 (11:45 +0900)]
Add translations for counter of profile (#3214)
ref #3101
Masoud Abkenar [Sun, 21 May 2017 22:20:13 +0000 (00:20 +0200)]
Persian translation update (#3206)
* Persian translation update
* Persian translation update: new files
* Persian translation update
* activerecord.fa.yml language code
* Persian translation update
* fix indent
Eugen Rochko [Sun, 21 May 2017 19:38:09 +0000 (21:38 +0200)]
Fix forgotten to include language attribute in statuses JSON (#3209)
happycoloredbanana [Sun, 21 May 2017 19:13:11 +0000 (22:13 +0300)]
Allow access token in URI (#3208)
ster [Sun, 21 May 2017 16:52:50 +0000 (20:52 +0400)]
Update Ukrainian translation (#3203)
Akihiko Odaki [Sun, 21 May 2017 11:32:13 +0000 (20:32 +0900)]
Fix mutes_controller error and incorrect statuses_controller report (#3202)
This commit fixes a regression in commit
f55480756337dd4df7513e89673e81e003f1201a .
Hayato IZUMI [Sun, 21 May 2017 09:24:59 +0000 (18:24 +0900)]
Update .gitignore (#3197)
* Remove duplicate 'node_modules'
* Replace 'public/packs'
vidarlee [Sun, 21 May 2017 09:23:59 +0000 (18:23 +0900)]
Enhance for the Chinese translation (#3198)
* Enhance for the Chinese translation
* Add filtered_languages for Chinese Translation include CN/HK/TW for PR #3175
Daigo 3 Dango [Sat, 20 May 2017 23:16:54 +0000 (23:16 +0000)]
Add a Japanese translation for PR #3175 (#3192)
Eugen Rochko [Sat, 20 May 2017 21:30:20 +0000 (23:30 +0200)]
Bump version to 1.4.0.2 (#3190)
Eugen Rochko [Sat, 20 May 2017 19:06:09 +0000 (21:06 +0200)]
Adjust REDIS_URL usage in node_redis (#3183)
Resolves #2780
Wonderfall [Sat, 20 May 2017 18:01:05 +0000 (20:01 +0200)]
Some Dockerfile improvements (#3182)
- improve docker_entrypoint.sh
- serve static files with puma by default
- sort packages list
- use virtual package for build deps
- show how to assign UID/GID
Eugen Rochko [Sat, 20 May 2017 17:42:58 +0000 (19:42 +0200)]
Replace mastodon:media:clear and mastodon:feeds:clear rake tasks with (#3180)
sidekiq-scheduler jobs
Resolves #2495
Eugen Rochko [Sat, 20 May 2017 17:42:44 +0000 (19:42 +0200)]
Improve language filter preferences look (#3184)
Eugen Rochko [Sat, 20 May 2017 17:42:27 +0000 (19:42 +0200)]
Adds bootsnap. Faster boot time (#3176)
Yamagishi Kazutoshi [Sat, 20 May 2017 16:15:43 +0000 (01:15 +0900)]
Add MS Edge support to public.js (#3179)
spla [Sat, 20 May 2017 15:50:11 +0000 (17:50 +0200)]
Catalan translation update (#3177)
* 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
Akihiko Odaki [Sat, 20 May 2017 15:48:34 +0000 (00:48 +0900)]
Fix regressions in api/v1 (#3178)
The regressions are introduced at commit
f55480756337dd4df7513e89673e81e003f1201a by me (Akihiko Odaki)
Matt Jankowski [Sat, 20 May 2017 15:32:44 +0000 (11:32 -0400)]
Filter languages with opt out (#3175)
* Remove allowed_languages and add filtered_languages
* Use filtered_languages instead of allowed_languages
Yamagishi Kazutoshi [Sat, 20 May 2017 15:31:47 +0000 (00:31 +0900)]
Improve eslint rules (#3147)
* Add semi to ESLint rules
* Add padded-blocks to ESLint rules
* Add comma-dangle to ESLint rules
* add config/webpack and storyboard
* add streaming/
* yarn test:lint -- --fix
Eugen Rochko [Sat, 20 May 2017 15:09:40 +0000 (17:09 +0200)]
Ensure unique identifiers in fabricated objects in tests (#3173)
Yamagishi Kazutoshi [Sat, 20 May 2017 15:01:14 +0000 (00:01 +0900)]
Fix block list 500 (#3174)
Eugen Rochko [Sat, 20 May 2017 14:56:30 +0000 (16:56 +0200)]
More tests for public timeline method (#3171)
Nolan Lawson [Sat, 20 May 2017 14:48:49 +0000 (07:48 -0700)]
Remove unnecessary status__info-time div (#3172)
Akihiko Odaki [Sat, 20 May 2017 13:13:51 +0000 (22:13 +0900)]
Use joins for account properties (#3167)
Wonderfall [Sat, 20 May 2017 13:12:29 +0000 (15:12 +0200)]
Fix #2680 - Run processes in Docker as non-root user (#3159)
Sorin Davidoi [Sat, 20 May 2017 12:58:13 +0000 (14:58 +0200)]
Performance improvements (#3168)
* refactor(components/status_list): Avoid quering scrollTop if not necessary
* refactor(components/dropdown_menu): Do not render items if not expanded
* refactor: Cherry-pick react-motion imports
* refactor(compose/privacy_dropdown): Do not render options if not open
* refactor(components/column_collapsable): Do not render children if collapsed
Yamagishi Kazutoshi [Sat, 20 May 2017 11:39:03 +0000 (20:39 +0900)]
Add Japanese translations (domain block & admin page) (#3160)
https://github.com/tootsuite/mastodon/pull/3100
https://github.com/tootsuite/mastodon/pull/3127
ButterflyOfFire [Sat, 20 May 2017 11:38:33 +0000 (12:38 +0100)]
Update reset_password_instructions.ar.html.erb (#3163)
Forgot to translate this string :p. Now Done !
June Sallou [Sat, 20 May 2017 11:38:26 +0000 (13:38 +0200)]
Updating the French translations for the web client (#3164)
beatrix [Sat, 20 May 2017 11:38:13 +0000 (07:38 -0400)]
guard against empty domain block list in status scope (#3161)
Eugen Rochko [Fri, 19 May 2017 23:28:25 +0000 (01:28 +0200)]
Add account media gallery view to web UI (#3120)
* Add account media gallery view to web UI
* Link media view from account dropdown
* Adjust link
Sorin Davidoi [Fri, 19 May 2017 23:26:46 +0000 (01:26 +0200)]
feat: Use CSS contain to avoid computations (#3158)
Jack Jennings [Fri, 19 May 2017 22:27:13 +0000 (15:27 -0700)]
Enable and fill in JSON response test in API::AccountsController (#3157)
PFM [Fri, 19 May 2017 21:33:42 +0000 (06:33 +0900)]
Fix JavaScript error (#3153)
JavaScript error at Safari 10.1(macOS 10.12.4) / iPhone Safari(iOS 10.3.2)
Matt Jankowski [Fri, 19 May 2017 21:32:37 +0000 (17:32 -0400)]
Add coverage for api/v1 controllers (#3155)
Eugen Rochko [Fri, 19 May 2017 19:19:41 +0000 (21:19 +0200)]
Fix federated timeline excluding local toots when any domain blocks are set (#3151)
Eugen Rochko [Fri, 19 May 2017 19:05:32 +0000 (21:05 +0200)]
Add buttons to block and unblock domain (#3127)
* Add buttons to block and unblock domain
* Relationship API now returns "domain_blocking" status for accounts,
rename "block entire domain" to "hide entire domain", fix unblocking domain,
do not block notifications from domain-blocked-but-followed people, do
not send Salmons to domain blocked users
* Add test
* Personal domain blocks shouldn't affect Salmon after all, since in this
direction of communication the control is very thin when it comes to
public stuff. Best stay consistent and not affect federation in this way
* Ignore followers and follow request from domain blocked folks,
ensure account domain blocks are not created for empty domain,
and avoid duplicates in validation
* Purge followers when blocking domain (without soft-blocks, since they
are useless here)
* Add tests, fix local timeline being empty when having any domain blocks
Sorin Davidoi [Fri, 19 May 2017 18:58:12 +0000 (20:58 +0200)]
Avoid useless renders (#3141)
* feat(eslint): Set react/jsx-no-bind: error
* refactor(notifications/setting_toggle): Do not use bind
* refactor(components/dropdown_menu): Do not use bind
* refactor(components/autosuggest_textarea): Do not use bind
* refactor(compose/privacy_dropdown): Do not use bind
* refactor(compose/upload_form): Do not use bind
* refactor(components/status): Do not use bind
* refactor(components/onboarding_modal): Do not use bind
* refactor: PR feedback
* chore(notifications/setting_toggle): Lint
* refactor: PR feedback
Audun Larsen [Fri, 19 May 2017 18:55:15 +0000 (20:55 +0200)]
Adds better documentation to LOCAL_DOMAIN and LOCAL_HTTPS (#3149)
Fixes #2254
abcang [Fri, 19 May 2017 18:19:14 +0000 (03:19 +0900)]
Unify the method of extracting tags (#3138)
Matt Jankowski [Fri, 19 May 2017 14:55:09 +0000 (10:55 -0400)]
Add spec coverage for regeneration worker (#3143)
Matt Jankowski [Fri, 19 May 2017 14:54:47 +0000 (10:54 -0400)]
Remove unused style helper (#3145)
Matt Jankowski [Fri, 19 May 2017 14:22:10 +0000 (10:22 -0400)]
Gem updates without rails five one (#3137)
* Update terminal-table to version 1.8.0
* Update aws-sdk to version 2.9.20
* Update cld3 to version 3.1.2
* Update microformats2 to version 3.1.0
* Update rails-controller-testing to version 1.0.2
* Update oj to version 3.0.8
* Update http-form_data to version 1.0.3
* Update nokogumbo to version 1.4.11
* Update simplecov-html to version 0.10.1
* Update aws-sdk to version 2.9.21
* Update oj to version 3.0.9
* Update sass to version 3.4.24
* Update simple_form to version 3.5.0
Matt Jankowski [Fri, 19 May 2017 14:21:52 +0000 (10:21 -0400)]
Specs for precompute feed service (#3142)
* Add spec for precompute feed service
* Refactor PrecomputeFeedService
* spec wip
Yamagishi Kazutoshi [Fri, 19 May 2017 13:21:34 +0000 (22:21 +0900)]
Remove react-autosuggest (#3140)
react-autosuggest is added from
c49f6290eb9c93720bd5407f4320bb0fd6c96ed9
Dependence removed from
b27066e154c8c2da57f23bf659907bacd37ce4da
Yamagishi Kazutoshi [Fri, 19 May 2017 09:44:28 +0000 (18:44 +0900)]
Downgrade eslint-plugin-jsx-a11y to v4.0.0 (#3131)
In Code Climate, eslint-plugin-jsx-a11y v4.0.0 is used.
Therefore, it seems that a warning is displayed.
ref https://github.com/codeclimate/codeclimate-eslint/pull/273
Yamagishi Kazutoshi [Fri, 19 May 2017 09:44:00 +0000 (18:44 +0900)]
Enable caching dependencies in Travis CI (#3132)
Matt Jankowski [Fri, 19 May 2017 09:43:20 +0000 (05:43 -0400)]
Improve how params from controller are permitted in filter helper (#3129)
The `params` variable here was quite overloaded.
It exists via the controller to hold the request params, and was sometimes being
used in this helper as that object, but other times was being used as a local
variable, or to pass to another method, and this was confusing.
This change renames the args for a method away from `params` for more clarity,
and extracts the actual usage of the controller-provided `params` to a
better-named method for clarity.
Yamagishi Kazutoshi [Fri, 19 May 2017 09:42:54 +0000 (18:42 +0900)]
Replace inline styles with stylesheet (#3115)
Ira [Fri, 19 May 2017 09:42:02 +0000 (12:42 +0300)]
i18n: Hebrew Spam folder check warning added (#3134)
alpaca-tc [Fri, 19 May 2017 09:41:45 +0000 (18:41 +0900)]
Define instance method outside #included (#3128)
Matt Jankowski [Fri, 19 May 2017 01:11:23 +0000 (21:11 -0400)]
Conditional validations no longer accept strings for if/unless (#3124)
Matt Jankowski [Fri, 19 May 2017 01:11:17 +0000 (21:11 -0400)]
Use stylesheet_pack_tag in embedded layout, avoids pipeline deprecation warning (#3123)
Sorin Davidoi [Fri, 19 May 2017 00:42:21 +0000 (02:42 +0200)]
feat(babel): Strip prop types (#3122)
* feat(babel): Strip prop types
* chore(babel): Indent
* fix(babel): Move babel-plugin-transform-react-remove-prop-types to dependencies
Matt Jankowski [Fri, 19 May 2017 00:41:56 +0000 (20:41 -0400)]
Skip asset pipeline for static file in public/ (#3125)
Eugen Rochko [Thu, 18 May 2017 23:14:30 +0000 (01:14 +0200)]
Account domain blocks (#2381)
* 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
* Adding account domain blocks that filter notifications and public timelines
* Add tests for domain blocks in notifications, public timelines
Filter reblogs of blocked domains from home
* Add API for listing and creating account domain blocks
* API for creating/deleting domain blocks, tests for Status#ancestors
and Status#descendants, filter domain blocks from them
* Filter domains in streaming API
* Update account_domain_block_spec.rb
Matt Jankowski [Thu, 18 May 2017 19:10:41 +0000 (15:10 -0400)]
After remote follow worker specs (#3098)
* Add specs for the after remote follow workers
* Refactor the after remote follow workers
Nolan Lawson [Thu, 18 May 2017 17:14:58 +0000 (10:14 -0700)]
Add transform-runtime for smaller Babel helpers (#3116)
Sorin Davidoi [Thu, 18 May 2017 17:14:03 +0000 (19:14 +0200)]
refactor: Import from react-router/lib (#3117)
Yamagishi Kazutoshi [Thu, 18 May 2017 13:43:10 +0000 (22:43 +0900)]
Fetch remote image using http.rb (#3114)
Ira [Thu, 18 May 2017 11:57:58 +0000 (14:57 +0300)]
i18l: Hebrew translation updates (#3109)
Quent-in [Thu, 18 May 2017 10:48:41 +0000 (12:48 +0200)]
update (#3113)
Quent-in [Thu, 18 May 2017 10:48:35 +0000 (12:48 +0200)]
Update oc.yml (#3112)
Normally fully complete
Yamagishi Kazutoshi [Thu, 18 May 2017 01:05:30 +0000 (10:05 +0900)]
Add rel="noopener" to getting started (#3104)
Eugen Rochko [Wed, 17 May 2017 22:38:18 +0000 (00:38 +0200)]
Fix character counter not updating for bio (#3101)
Eugen Rochko [Wed, 17 May 2017 22:38:01 +0000 (00:38 +0200)]
Add reset button to admin accounts search, improve looks a little (#3100)
Yamagishi Kazutoshi [Wed, 17 May 2017 15:50:39 +0000 (00:50 +0900)]
Fix minor Japanese translations (#3099)
- add translation "Bon Appetoot!"
- add whitelist what doesn't require translation
- replace exclamation mark full width
- add space after question mark
- remove blank between words
- run yarn manage:translations
alpaca-tc [Wed, 17 May 2017 13:38:16 +0000 (22:38 +0900)]
Refactor Status#ancestors/descendants (#3092)
alpaca-tc [Wed, 17 May 2017 13:36:56 +0000 (22:36 +0900)]
Render translated view (#3093)