about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-06-23Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon ↵Eugen Rochko
into sorin-davidoi-swipe-gestures
2017-06-23Remove unused variables (#3906)Yamagishi Kazutoshi
2017-06-23Add prefix to setting toggle ID (#3907)Yamagishi Kazutoshi
2017-06-23fix: Apply :hover, :focus and :active only when multiple columnsSorin Davidoi
2017-06-23feat: Swipeable mediaSorin Davidoi
2017-06-23feat: Swipeable columnsSorin Davidoi
2017-06-22Some minor change and spec for Account (#3813)Akihiko Odaki (@fn_aki@pawoo.net)
* Introduce domains method to Account relation Account had followers_domains method, which was excessively specific. Let relation of Account have domains method instead. * Move follow_mapping in Account to AccountInteractions * Introduce shared examples for AccountAvatar inclusion * Cover Account more
2017-06-22Fix regression from #3842 (#3892)Eugen Rochko
* Fix regression from #3842 Simplify the query by omitting all direct statuses. Private statuses are allowed because they are from accounts we are following (so by definition) Resolves #3887 (alternative) * Adjust test
2017-06-21Don't attach IntersectionObserver for wrapped statuses (#3883)unarist
(This patch has been merged as bugfix and reverted, but still valuable as improvement) Previously, we've attached IntersectionObserver twice for boosted statuses: wrapper Status and wrapped Status. but wrapped Status don't need to manage intersection and visibility by itself, because it's a part of wrapper Status.
2017-06-21Revert #3851 (#3878)Eugen Rochko
2017-06-21Revert "Don't attach IntersectionObserver for wrapped statuses" (#3877)Eugen Rochko
* Revert "Bump version to 1.4.4" This reverts commit 1585b0c6cce6cebda3fdc8ba944aa2247e76d1be. * Revert "Fix conversations (fixes #3869) (#3870)" This reverts commit 15b43f555dcb06742c677d84c25d05774ef1bde2. * Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828)" This reverts commit d8ec83280637e53ded67d4938a198cbeb9e8db05. * Revert "Filter direct statuses in Status.as_home_timeline (#3842)" This reverts commit bab5a18232a163b0c3c6a245f7f95d50d7022b36. * Revert "Fix RemoteFollow behavior (#3868)" This reverts commit a20cf3b64e93d764f1dfe88ecdb39f3fd4eefe03. * Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862)" This reverts commit 356df7ae6b6edfc600fbc532f32fbc46314e00a0. * Revert "Upgrade React Router (#3677)" This reverts commit 8f03fdce7fa16fcaa829a40f395cefc85eb957d5. * Revert "Do not call setState from unmounted component (#3853)" This reverts commit 1fc6cb499742c1a872ad717a689c58a80aeb714d. * Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759)" This reverts commit eb832e88f44d661a504a091defc051e052eb1252. * Revert "Fix RTL detection on Ruby side (#3867)" This reverts commit b16b69350eb4ded2e1011931433b51dac5e34b53. * Revert "i18n: Fixed typo in Polish translation (#3864)" This reverts commit da6fa029f66d50f38f2b6c85687994793f7766aa. * Revert "Don't attach IntersectionObserver for wrapped statuses (#3863)" This reverts commit 94ad0706f514e25c58c0a8f3201f96c1d1ccbbd8.
2017-06-20Fix conversations (fixes #3869) (#3870)ThibG
* Actually create conversations given explicit URIs * Try to get the parent toot in before validation, to avoid creating a new conversation
2017-06-20Filter direct statuses in Status.as_home_timeline (#3842)Akihiko Odaki (@fn_aki@pawoo.net)
The classes using Status.as_home_timeline, namely Feed and PrecomputeFeedService are expected to filter direct statuses as FanOutWriteService does, but their filtering were incomplete or missing. This commit solves the problem by filtering direct statuses in as_home_timeline as the other similar methods such as as_public_timeline does.
2017-06-20Fix RemoteFollow behavior (#3868)unarist
* Invalid acct is an error. not "2 errors". * Empty input should be different error from invalid acct
2017-06-20Upgrade React Router (#3677)Sorin Davidoi
* chore(yarn): Remove react-router * chore(yarn): Remove react-router-scroll * chore(yarn): Remove history * chore(yarn): Add react-router-dom * chore: Remove usages of react-router-scroll * refactor: Upgrade to react-router-web * refactor: Use fork of react-router-scroll This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2. * fix: Issues mentions in the PR feedback
2017-06-20Do not call setState from unmounted component (#3853)alpaca-tc
Stop an executing task if the component already unmounted.
2017-06-20Replace TextIconButton for SensitiveButton to IconButton (#3759)Yamagishi Kazutoshi
* Replace TextIconButton for SensitiveButton to IconButton * line-height
2017-06-20Fix RTL detection on Ruby side (#3867)unarist
This fixes below bugs: * pipe characters being counted as RTL character * only first word being checked
2017-06-20Don't attach IntersectionObserver for wrapped statuses (#3863)unarist
This fixes a bug that sometimes boosted statuses being hidden on scrolling. Previously, we've attached IntersectionObserver twice for boosted statuses: wrapper Status and wrapped Status. This will call intersection handler twice, so this may results race condition...probably.
2017-06-20Clicking on the CW text should expand the status (#3855)unarist
2017-06-19Set cursor:pointer only when necessary (#3857)unarist
2017-06-19setting-for-account-deletable (#3852)masarakki
2017-06-19Link to /about from public page on a single user instance (#3814)Daigo 3 Dango
There was no link for visitors to follow to see the about page.
2017-06-19Fix character/grapheme count stuff (#3839)Gô Shoemake
* Bring Toot button in line with counter Both should use stringz I guess * Use grapheme_length for character count
2017-06-19Unobserve status on unmount (#3851)alpaca-tc
2017-06-19Fixes streaming callbacks of HashtagTimeline (#3849)alpaca-tc
2017-06-19Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)Eugen Rochko
Rename Activitypub to ActivityPub
2017-06-19Debounce autosuggestions (#3836)Eugen Rochko
* Debounce autosuggestions * Remove duplicate import
2017-06-18Fix jittery scrolling for Chromium browsers (#3776) (#3832)Nolan Lawson
2017-06-18handle resize in a debounce() (#3834)Nolan Lawson
2017-06-17Whitelist allowed classes for federated statuses (#3810)nightpool
* Whitelist allowed classes for federated statuses Allowed classes are currently: - Any microformats class (h/p/u/dt/e-*) - the classes mention, hashtag, ellipses and invisible. this last one is somewhat suspect, but Mastodon currently uses it to render hidden link text. resolved #3790 * Fix code style
2017-06-16Fix ogp url (#3802)abcang
2017-06-15Add alt attribute to ImageLoader (#3765)Yamagishi Kazutoshi
2017-06-15Fix #3633 by not spawning RemoteProfileUpdateWorker from ↵ThibG
FetchRemoteAccountService (#3642)
2017-06-15Fix regression from #3490 - filter out hidden statuses from ↵Eugen Rochko
ancestors/descendants even if the viewer is anonymous (#3752)
2017-06-14Fix regression from #3748 - properly set defaultColumns (#3750)Eugen Rochko
2017-06-14Fix merge default columns (#3748)unarist
mergeDeep also merges columns, but it should be replaced simply. So in the new function, first apply mergeDeep except columns, and set default columns if columns unset.
2017-06-14Fix account delete form not accepting password, update suspended (#3745)Eugen Rochko
account before removing content for quicker feedback to end-users
2017-06-14Save settings when they are changed (#3743)Eugen Rochko
2017-06-14Batched remove status service (#3735)Eugen Rochko
* Make Pubsubhubbub::DistributionWorker handle both single stream entry arguments, as well as arrays of stream entries * Add BatchedRemoveStatusService, make SuspendAccountService use it * Improve method names * Add test * Add more tests * Use PuSH payloads of 100 to have a clear mapping of 1000 input statuses -> 10 PuSH payloads It was nice while it lasted
2017-06-14Account deletion (#3728)Eugen Rochko
* Add form for account deletion * If avatar or header are gone from source, remove them * Add option to have SuspendAccountService remove user record, add tests * Exclude suspended accounts from search
2017-06-14Fix #2619 - When redis feed is empty, fall back to database (#3721)Eugen Rochko
* Fix #2619 - When redis feed is empty, fall back to database * Use redis value to return feed from database only while RegenerationWorker hasn't finished running * Fix specs * Replace usage of reject!
2017-06-13fix(status): Content jump due to height changes (#3734)Sorin Davidoi
2017-06-13Simplify getting started links localization. Link "powered by Mastodon" to ↵Eugen Rochko
joinmastodon.org (#3725)
2017-06-13Fix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)Eugen Rochko
2017-06-13Fix unclickable onboardin modal regression (#3724)Eugen Rochko
2017-06-12i18n: minor fix in Polish translation (#3726)m4sk1n
* i18n: minor fix in Polish translation * i18n
2017-06-12Unread indicator was invisible behind column header, adjusted (#3720)Eugen Rochko
* Unread indicator was invisible behind column header, adjusted * Unread indicator now a CSS pseudo-element * Adjust flex
2017-06-12Update Russian translation (pin) (#3712)Ratmir Karabut
* Update Russian translation (pin)
2017-06-12Regenerate defaultMessages.json (#3709)Yamagishi Kazutoshi
follow up #3564