about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2018-04-01Fix: Prevent submission using same logic as submit button disabling. (#6993)Emelia Smith
This prevents submission through ctrl/cmd+enter when the submit button is disabled.
2018-04-01i18n: Update Polish translation (#6985)Marcin Mikołajczak
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-03-31i18n: Add Japanese translations for domain blocks (#6979)mayaeh
* run yarn manage:translations * Update Japanese translations for domain blocks.
2018-03-31Ignore AbortError when cancelled sharing (#6978)unarist
`navigator.share()` rejects Promise if user cancelled sharing, and it may print it as an error on JavaScript console. This patch ignores it and prints other errors on the console.
2018-03-30Merge remote-tracking branch 'tootsuite/master' into glitchsoc/masterJenkins
2018-03-30Merge pull request #408 from ThibG/glitch-soc/fixes/admin-jsbeatrix
Add “public” pack to admin controller, as it is included in upstream …
2018-03-30Merge pull request #380 from ThibG/glitch-soc/features/domain-block-uibeatrix
Port #6628 to glitch-soc flavour
2018-03-30Merge pull request #406 from ThibG/glitch-soc/fixes/menu-fixesDavid Yip
Backport dropdown menu fixes from Mastodon
2018-03-30Add “public” pack to admin controller, as it is included in upstream ↵Thibaut Girka
admin layout Fixes CW unfolding in moderation
2018-03-30Fix compatibility with PeerTube (#6968)ThibG
* Support fetching objects of convertible types by URL (fixes #6924) * Ignore invalid hashtags
2018-03-30Fix migration page styleThibaut Girka
2018-03-30[Glitch] Remove pointer events on the entire UI when a dropdown menu is openThibaut Girka
Port 913a38111ff5b0cb7f412bec93e8314859c88855 to glitch-soc
2018-03-30Add some UI for user-defined domain blocks (#6628)ThibG
* Keep list of blocked domains Might be overkill, but I'm trying to follow the same logic as for blocked users * Add basic domain block UI * Add the domain blocks UI to Getting Started * Fix undefined URL in `fetchDomainBlocks` * Update all known users' domain_blocking relationship instead of just one's
2018-03-30[Glitch] Place dropdown menu top if it is closer to the bottom of the viewportThibaut Girka
Port f6a8d835d30f61628ca731462ecfe4f6005e6a9e to glitch-soc
2018-03-30Add the domain blocks UI to Getting Started MiscThibaut Girka
2018-03-30Add basic domain block UIThibaut Girka
2018-03-30Keep list of blocked domainsThibaut Girka
Might be overkill, but I'm trying to follow the same logic as for blocked users
2018-03-30Update all known users' domain_blocking relationship instead of just one'sThibaut Girka
2018-03-30Fix undefined URL in `fetchDomainBlocks`Thibaut Girka
2018-03-30update ja locale (#6965)takayamaki
related https://github.com/tootsuite/mastodon/pull/6956
2018-03-29Feature: Direct message from menu (#6956)Emelia Smith
* Implement ability to send direct messages from the user menu * Implement message warning users that direct messages are visible to all mentioned users * Update locales
2018-03-29[Glitch] Display unfollow button even if account movedThibaut Girka
Backport 3987bd18a4bfaee49ea9a3439fc51610aeca6c2c to glitch-soc
2018-03-29[Glitch] Profile redirect notesThibaut Girka
Port WebUI changes from 58cede4808baa4db6cc143b80ef23e8179a8415b
2018-03-29Fix ReferenceError when Cache API is missing (#6953)unarist
Cache API is not supported on Safari 11.0 / iOS 11. Since those caching is optional, this patch simply ignores it.
2018-03-29Fix TypeError on follow notification (#6950)unarist
`notification.status` may not be present, e.g. follow notification.
2018-03-29Do not ignore unknown media attachments, only skip them (#6948)ThibG
That way, they are displayed in a list below the corresponding toot.
2018-03-28Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contentsDavid Yip
Render toots with empty contents
2018-03-28Fix attachment listsThibaut Girka
2018-03-28Render toots with empty contentsThibaut Girka
This is necessary to display toots with media but otherwise no contents, as glitch-soc displays the media as a child of StatusContent, unlike Mastodon.
2018-03-28Add double-tap zoom functionary to `ZoomableImage` (#6944)Yuto Tokunaga
add <div.zoomable-image__margin/> to keep margin of the image on zooming move setting `scrollLeft` and `scrollTop` of container from callback of `setState` to `componentDidUpdate` add 'hammerjs' package for touch gesture detection rewrite `ZoomableImage` using 'hammerjs'
2018-03-27Merge pull request #400 from vulpineclub/dev-gs-392-frontmatterDavid Yip
Remove ignored 'u' parameter on regexp (#392)
2018-03-27Merge remote-tracking branch 'origin/master' into gs-masterDavid Yip
2018-03-27Remove ignored 'u' parameter on regexp (#392)Rey Tucker
2018-03-27Merge remote-tracking branch 'origin/master' into gs-masterDavid Yip
Conflicts: app/javascript/styles/mastodon/components.scss app/models/media_attachment.rb
2018-03-27Fix LoadMore on account media gallery (#6933)unarist
max_id in the fetch request should be a status id, but media attachment id was used.
2018-03-27[Glitch] Display AttachmentList in notificationsThibaut Girka
Port 77406d3a092db48250a85984dde2f2cc81386146 to glitch-soc
2018-03-27[Glitch] Display AttachmentList in timelines in compact style when media missingThibaut Girka
Port 86a9de6753fc425b247699c7822bc8a5d49af043 to glitch-soc
2018-03-27Clone response before put it to the cache (#6932)unarist
`Response.prototype.clone()` must be called before the response used. This fixes an error from ServiceWorker and failing to load image when the image is not cached.
2018-03-27Add missing null handling in notification reducer (#6930)unarist
This patch adds null item (i.e. gap) handling on below functions to avoid TypeError. * `filterNotifications` called on user mute/block * `deleteByStatus` called on status deletion
2018-03-27Cache media (#6902)Akihiko Odaki
2018-03-27fix #6846 (#6914)Yuto Tokunaga
2018-03-27Fix UniqueUsernameValidator comparison (#6926)Eugen Rochko
Comparison was downcasing only one side, therefore if previously existing account had a non-lowercase spelling, it would be ignored when checking for duplicates. New rake task `mastodon:maintenance:find_duplicate_usernames` will help find constraint violations that might have occured from the presence of this bug. Bump version to 2.3.3
2018-03-26Validate HTTP response length while receiving (#6891)Akihiko Odaki
to_s method of HTTP::Response keeps blocking while it receives the whole content, no matter how it is big. This means it may waste time to receive unacceptably large files. It may also consume memory and disk in the process. This solves the inefficency by checking response length while receiving.
2018-03-26feat(ShowMore): Add classname to show more/show less button (#6904)Stephen Burgess
2018-03-26Refactor scss (#6913)Yuto Tokunaga
* Refactoring scss introduce scss variables for the media modal fix css block structure corresponding to react components fix flex layouts remove background image of the loaded image on the media modal * Fix typo
2018-03-26Fix moved account handling in IndexedDB feature (#6915)unarist
* Fix stack overflow on importFetchedAccounts When the account has moved property, it should process destination account instead of source account itself. * Set account id instead of account object for moved property This restores "foo has moved to" indication on account view, and fixes `reblog` index on `accounts` object store.
2018-03-25Merge remote-tracking branch 'tootsuite/master' into glitchsoc/masterJenkins
2018-03-25i18n: Update Polish translation (#6903)Marcin Mikołajczak
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-03-24Allow clients to fetch notifications made while they were offline (#6886)Akihiko Odaki
2018-03-24Allow clients to fetch statuses made while they were offline (#6876)Akihiko Odaki