]>
cat aescling's git repositories - mastodon.git/log
Nolan Lawson [Thu, 25 May 2017 16:59:18 +0000 (09:59 -0700)]
Fix Firefox issue with performance marks (#3315)
unarist [Thu, 25 May 2017 15:09:13 +0000 (00:09 +0900)]
More use of next link header on account (media) timelines (#3311)
This will reduce requests on who have only few statuses.
- Use next link header to detect more items from first request
- Omit next link header if result items are fewer than requested count
(It had omit it only if result was empty before)
Ira [Thu, 25 May 2017 14:38:02 +0000 (17:38 +0300)]
i18n: New strings translated to Hebrew (#3282)
Yamagishi Kazutoshi [Thu, 25 May 2017 14:28:14 +0000 (23:28 +0900)]
Remove arguments in association reader (#3305)
unarist [Thu, 25 May 2017 14:27:44 +0000 (23:27 +0900)]
Fix an error on dragging into status_content component (#3308)
Akihiko Odaki [Thu, 25 May 2017 14:07:38 +0000 (23:07 +0900)]
Cover TagsController more (#3306)
Nolan Lawson [Thu, 25 May 2017 12:15:12 +0000 (05:15 -0700)]
Remove unnecessary action bar wrapper divs (#3299)
alpaca-tc [Thu, 25 May 2017 12:14:36 +0000 (21:14 +0900)]
Refactor Setting (#3302)
* @object is not needed
* Remove unneeded dependencies
* Do not call private method
* Prefer #respond_to_missing? over #respond_to?
`#respond_to?` doesn't support `User.settings.method(:method_name)`
* Use find_or_initialize_by instead of
Nolan Lawson [Thu, 25 May 2017 12:09:55 +0000 (05:09 -0700)]
Add improved performance marks for development mode (#3297)
Yamagishi Kazutoshi [Thu, 25 May 2017 12:09:25 +0000 (21:09 +0900)]
Add localization of datetime in public page (#3296)
Audun Larsen [Thu, 25 May 2017 12:06:10 +0000 (14:06 +0200)]
Norwegian translation of the onboarding page (#3303)
* Fixes translation placeholder
* Translates onboarding page
Daigo 3 Dango [Thu, 25 May 2017 12:05:54 +0000 (12:05 +0000)]
Replace \u2014 with — (#3301)
Yamagishi Kazutoshi [Thu, 25 May 2017 03:23:14 +0000 (12:23 +0900)]
fix storybook (#3292)
unarist [Thu, 25 May 2017 03:22:46 +0000 (12:22 +0900)]
Fix load more feature on the Account media gallery (#3293)
* Add load more button for large screens
* Fix `next` state value on the first loading
* Don't load if `isLoading || !hasMore`
* Start load on near the bottom
masarakki [Thu, 25 May 2017 03:18:08 +0000 (12:18 +0900)]
fix-cache-returns-nil (#3213)
Nolan Lawson [Thu, 25 May 2017 01:30:29 +0000 (18:30 -0700)]
Name the Webpack chunks (#3291)
Yamagishi Kazutoshi [Thu, 25 May 2017 01:08:05 +0000 (10:08 +0900)]
Fix hovering default value for avatar component (#3290)
unarist [Thu, 25 May 2017 00:23:54 +0000 (09:23 +0900)]
Prevent contents of the status placeholder from overflowing (#3287)
Since long lines may overflow and cause the status-list horizontally scrollable,
I added `overflow: hidden` to placeholder contents to prevent it.
Daigo 3 Dango [Wed, 24 May 2017 15:57:33 +0000 (15:57 +0000)]
Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs (#3276)
This change adds mp4 support confirmed on Heroku-16 stack.
Yamagishi Kazutoshi [Wed, 24 May 2017 15:55:16 +0000 (00:55 +0900)]
Remove unnecessary constructors (#3280)
Sorin Davidoi [Wed, 24 May 2017 15:55:00 +0000 (17:55 +0200)]
Lazy load toots using IntersectionObserver (#3191)
* refactor(components/status_list): Lazy load using IntersectionObserver
* refactor(components/status_list): Avoid setState bottleneck
* refactor(components/status_list): Update state correctly
* fix(components/status): Render if isIntersecting is undefined
* refactor(components/status): Recycle timeout
* refactor(components/status): Reduce animation duration
* refactor(components/status): Use requestIdleCallback
* chore: Split polyfill bundles
* refactor(components/status_list): Increase rootMargin to 300%
* fix(components/status): Check if onRef is not defined
* chore: Add note about polyfill bundle splitting
* fix(components/status): Reduce animation duration to 0.3 seconds
Yamagishi Kazutoshi [Wed, 24 May 2017 14:39:09 +0000 (23:39 +0900)]
Show error message to suspended user (#3281)
abcang [Wed, 24 May 2017 13:36:10 +0000 (22:36 +0900)]
Add test when hashtag and URL are concatenated (#3279)
Yamagishi Kazutoshi [Wed, 24 May 2017 12:32:53 +0000 (21:32 +0900)]
Skip formatting for cashtag in status text (#3275)
Resolve #3270
Eugen Rochko [Wed, 24 May 2017 02:22:46 +0000 (04:22 +0200)]
Fix DM being highlighted when it's inside a favourite notification (#3267)
Nolan Lawson [Tue, 23 May 2017 22:45:05 +0000 (15:45 -0700)]
Use node instead of babel-node for streaming (#3269)
Akihiko Odaki [Tue, 23 May 2017 21:37:24 +0000 (06:37 +0900)]
Cover HomeController more (#3258)
unarist [Tue, 23 May 2017 21:26:23 +0000 (06:26 +0900)]
Fix following/followers API to return correct link headers (#3268)
Link headers in following/followers API should include follow_id as max_id/since_id.
However, these API use current_user's account_id instead of follow_id from #3167.
This causes irrelevant result on loading more users.
Eugen Rochko [Tue, 23 May 2017 19:32:42 +0000 (21:32 +0200)]
Fix Devise destroy method being available to delete user record (#3266)
(You may think that we need account deletions, but this way would've just orphaned the db records)
beatrix [Tue, 23 May 2017 18:05:53 +0000 (14:05 -0400)]
don't notify me when my toot is faved by someone i muted (#3245)
alpaca-tc [Tue, 23 May 2017 17:45:43 +0000 (02:45 +0900)]
Toggle sensitive from admin page (#3261)
Matt Jankowski [Tue, 23 May 2017 16:11:39 +0000 (12:11 -0400)]
Refactor of API timeline actions (#3263)
- Increase coverage to exercise all parts of each action
- Move into namespace to share common code
- Misc refactor of each action for smaller methods, simpler code
Daniel Hunsaker [Tue, 23 May 2017 14:54:44 +0000 (08:54 -0600)]
Add Support for Nanobox (#1709)
* Nanobox Support
- Added support for running Mastodon using Nanobox, both for local development, and for deployment to production
- Dev mode tested and is working properly
- Deployment is undergoing test as of this writing. If it works, this line will be amended to state success; if not, one or more subsequent commits will provide fixes.
* [nanobox] Resolve Deploy Issues
Everything seems to work except routing to the streaming API. Will investigate with the Nanobox staff and make fix commits if needed.
Changes made:
- Also need `NODE_ENV` in production
- Node runs on `:4000`
- Use `envsubst` to commit `.env.production` values, since `dotEnv` packages don't always support referencing other variables
- Can't precompile assets after `transform` hook, but do this locally so it only has to be done once.
- Rails won't create `production.log` on its own, so we do this ourselves.
- Some `start` commands run from `/data/` for some reason, so use absolute paths in command arguments
* [nanobox] Update Ruby version
* [nanobox] Fix db.rake Ruby code style issues
* [nanobox] Minor Fixes
Some minor adjustments to improve functionality:
- Fixed routing to `web.stream` instances
- Adjust `.env.nanobox` to properly generate a default `SMTP_FROM_ADDRESS` via `envsubst`
- Update Nginx configs to properly support the needed HTTP version and headers for proper functionality (the streaming API doesn't work without some of these settings in place)
* [nanobox] Move usage info to docs repo
* [nanobox] Updates for 1.2.x
- Need to leave out `pkg-config` since Nanobox deploys without Ruby's headers - create a gem group to exclude the gem during Nanobox installs, but allow it to remain part of the default set otherwise
- Update cron jobs to cover new/updated Rake tasks
- Update `.env.nanobox` to include latest defaults and additions
* [nanobox] Fix for nokogumbo, added in 1.3.x
Apparently, nokogumbo (pulled in by sanitize, added with `OEmbed Support for PreviewCard` (#2337) -
88725d6 ) tries to install before nokogiri, despite needing nokogiri available to build properly. Instruct it to use the same settings as nokogiri does when building nokogiri directly, instead of via bundler.
* [nanobox] Set NODE_ENV during asset compile
The switch to WebPack will rely on the local value of the NODE_ENV evar, so set it to production during asset compilation.
* [nanobox] Rebase on master; update Nginx configs
- `pkg-config` Gem no longer causes issues in Nanobox, so revert the Gemfile change which allowed excluding it
- Update Nginx configuration files with latest recommendations from production documentation
- Rebase on master to Get This Merged™
Everything should be golden!
Akihiko Odaki [Tue, 23 May 2017 14:34:28 +0000 (23:34 +0900)]
Cover StatusesController more (#3259)
Akihiko Odaki [Tue, 23 May 2017 13:04:23 +0000 (22:04 +0900)]
Cover StreamEntriesController more and remove redundant instructions (#3257)
* Cover StreamEntriesController more
* Remove redundant instructions in StreamEntriesController
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)