about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-05-20Performance improvements (#3168)Sorin Davidoi
* 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
2017-05-20Add Japanese translations (domain block & admin page) (#3160)Yamagishi Kazutoshi
https://github.com/tootsuite/mastodon/pull/3100 https://github.com/tootsuite/mastodon/pull/3127
2017-05-20Update reset_password_instructions.ar.html.erb (#3163)ButterflyOfFire
Forgot to translate this string :p. Now Done !
2017-05-20Updating the French translations for the web client (#3164)June Sallou
2017-05-20guard against empty domain block list in status scope (#3161)beatrix
2017-05-20Add account media gallery view to web UI (#3120)Eugen Rochko
* Add account media gallery view to web UI * Link media view from account dropdown * Adjust link
2017-05-20feat: Use CSS contain to avoid computations (#3158)Sorin Davidoi
2017-05-19Fix JavaScript error (#3153)PFM
JavaScript error at Safari 10.1(macOS 10.12.4) / iPhone Safari(iOS 10.3.2)
2017-05-19Fix federated timeline excluding local toots when any domain blocks are set ↵Eugen Rochko
(#3151)
2017-05-19Add buttons to block and unblock domain (#3127)Eugen Rochko
* 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
2017-05-19Avoid useless renders (#3141)Sorin Davidoi
* 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
2017-05-19Unify the method of extracting tags (#3138)abcang
2017-05-19Add spec coverage for regeneration worker (#3143)Matt Jankowski
2017-05-19Remove unused style helper (#3145)Matt Jankowski
2017-05-19Specs for precompute feed service (#3142)Matt Jankowski
* Add spec for precompute feed service * Refactor PrecomputeFeedService * spec wip
2017-05-19Remove react-autosuggest (#3140)Yamagishi Kazutoshi
react-autosuggest is added from c49f6290eb9c93720bd5407f4320bb0fd6c96ed9 Dependence removed from b27066e154c8c2da57f23bf659907bacd37ce4da
2017-05-19Downgrade eslint-plugin-jsx-a11y to v4.0.0 (#3131)Yamagishi Kazutoshi
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
2017-05-19Improve how params from controller are permitted in filter helper (#3129)Matt Jankowski
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.
2017-05-19Replace inline styles with stylesheet (#3115)Yamagishi Kazutoshi
2017-05-19Define instance method outside #included (#3128)alpaca-tc
2017-05-19Conditional validations no longer accept strings for if/unless (#3124)Matt Jankowski
2017-05-19Use stylesheet_pack_tag in embedded layout, avoids pipeline deprecation ↵Matt Jankowski
warning (#3123)
2017-05-19Skip asset pipeline for static file in public/ (#3125)Matt Jankowski
2017-05-19Account domain blocks (#2381)Eugen Rochko
* 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
2017-05-18After remote follow worker specs (#3098)Matt Jankowski
* Add specs for the after remote follow workers * Refactor the after remote follow workers
2017-05-18refactor: Import from react-router/lib (#3117)Sorin Davidoi
2017-05-18Fetch remote image using http.rb (#3114)Yamagishi Kazutoshi
2017-05-18i18l: Hebrew translation updates (#3109)Ira
2017-05-18update (#3113)Quent-in
2017-05-18Add rel="noopener" to getting started (#3104)Yamagishi Kazutoshi
2017-05-18Fix character counter not updating for bio (#3101)Eugen Rochko
2017-05-18Add reset button to admin accounts search, improve looks a little (#3100)Eugen Rochko
2017-05-17Fix minor Japanese translations (#3099)Yamagishi Kazutoshi
- 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
2017-05-17Refactor Status#ancestors/descendants (#3092)alpaca-tc
2017-05-17Render translated view (#3093)alpaca-tc
2017-05-17Add filter to AccountFilter (#2968)alpaca-tc
2017-05-17Catch import promise in application.js (#3041)Stephen Burgess
* fix(polyfil): Catch error from promise https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html * fix(catch): Error Make import promise catch a noop with commented out console.log for a debugging hint. * fix(eslint): Disable eslint console rule * fix(application): Use console error
2017-05-17One string NL update (#3090)jeroenpraat
2017-05-17Fix #2549 - Do not hardcode the exclamation in "toot!", wrap it in an extra ↵Eugen Rochko
locale key (#3089)
2017-05-17Fix #2572 - Resolve preview cards for remote statuses as well as local ones ↵Eugen Rochko
(#3088)
2017-05-17Add catalan language (#3084)spla
* 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
2017-05-17Make .column-collapse animation simple (#3086)unarist
* 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
2017-05-16Enable to handle app immediately after closing modal (#3082)geta6
2017-05-16Make faster ProcessFeedService (#3080)Shunsuke Michii
* Add index accounts on uri. * Remove a blank line.
2017-05-16use-symbol-in-order (#3081)masarakki
2017-05-16Improve Account#triadic_closures (#3079)alpaca-tc
2017-05-16Order by symbol value (#3077)alpaca-tc
2017-05-16Optimize Status#permitted_for 24x (#3069)alpaca-tc
* Build query with arel node * Add spec for current Status#permitted_for implementation * Refactor status.rb * Order by visibility to optimize query
2017-05-16chore(landing_strip): hide signup path unless the instance allows ↵Hiroaki Ninomiya
registration. (#3055)
2017-05-15Fix #2646 - Do not override ctrl/cmd+click on Permalinks (#3073)Eugen Rochko