about summary refs log tree commit diff
path: root/app/javascript
AgeCommit message (Collapse)Author
2018-04-04Update accounts SCSS for public pagesThibaut Girka
2018-04-02[Glitch] Fix: Prevent submission using same logic as submit button disabling.Thibaut Girka
Port 6a895e1ab3d69cd018423460518a1e16307999ad to glitch-soc
2018-04-01Merge remote-tracking branch 'origin/master' into gs-masterDavid Yip
Conflicts: app/javascript/mastodon/locales/en.json app/javascript/mastodon/locales/ja.json app/javascript/mastodon/locales/pl.json app/views/accounts/_header.html.haml
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 #380 from ThibG/glitch-soc/features/domain-block-uibeatrix
Port #6628 to glitch-soc flavour
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-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 remote-tracking branch 'origin/master' into gs-masterDavid Yip
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-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
2018-03-24Rename variables to have semantic meanings in notifications reducer (#6890)Akihiko Odaki
2018-03-24Store objects to IndexedDB (#6826)Akihiko Odaki
2018-03-24Show media modal on public pages (#6801)Akihiko Odaki
2018-03-24Change “Toots with replies” to “Toots and replies” (#6875)Marcin Mikołajczak
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-03-24Internationalize unexpected error message (#6887)Akihiko Odaki
2018-03-24Weblate translations (2018-03-23) (#6874)Yamagishi Kazutoshi
* Translated using Weblate (Galician) Currently translated at 100.0% (587 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/ * Translated using Weblate (Dutch) Currently translated at 100.0% (587 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/ * Translated using Weblate (Catalan) Currently translated at 100.0% (587 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/ * Translated using Weblate (Arabic) Currently translated at 76.4% (449 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/ * Translated using Weblate (Japanese) Currently translated at 99.8% (586 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/ * Translated using Weblate (Slovak) Currently translated at 92.3% (542 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/ * Translated using Weblate (Slovak) Currently translated at 92.3% (542 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/ * Translated using Weblate (Slovak) Currently translated at 100.0% (58 of 58 strings) Translation: Mastodon/Preferences Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/ * Translated using Weblate (Polish) Currently translated at 98.9% (581 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pl/ * Translated using Weblate (French) Currently translated at 99.6% (585 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (586 of 587 strings) Translation: Mastodon/Backend Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/ * Translated using Weblate (Catalan) Currently translated at 100.0% (280 of 280 strings) Translation: Mastodon/React Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ca/ * bundle exec i18n-tasks normalize && yarn manage:translations
2018-03-23Merge pull request #398 from ashkitten/compressed-notifsDavid Yip
make expanded notifications show like default