about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2019-11-19Added env variables for max image and video size. [Monsterfork: partially ↵Lady Lumb
revert to `glitch-soc` media model] I changed the IMAGE_LIMIT and VIDEO_LIMIT variables to read from the env, or use default if not set in the env, to make it easier to change this on an instance by instance basis and make it persistent across updates.
2019-11-19Fix expanding status from menu modal in glitch-socThibaut Girka
Fixes #1085
2019-11-19Change links in right panel to open in the same tab (#10848)Eugen Rochko
For Rambox compatibility
2019-11-19Fix React warning about legacy lifecycle calls and sensitive status ↵ThibG
resetting (#10872)
2019-11-19Fix safari post field display issue in single column layout (#10883)Takeshi Umeda
2019-11-19i18n: Update Corsican front-end translation (#10884)Alix Rossi
2019-11-19Update Japanese translations. (#10875)mayaeh
run yarn manage:translations ja && i18n-tasks add-missing ja
2019-11-19I18n: Update Czech translation (#10874)Aditoo17
2019-11-19Raise exception when attempting to serialize local-only statusesThibaut Girka
2019-11-19Fix incorrect PropType in Glitch AutosuggestInputslice
2019-11-19Remove isRequired from Glitch ReplyIndicator statusslice
This can be null under normal circumstances, which isRequired doesn't like.
2019-11-19Truncate long URLs while providing alt text for inline imagesThibaut Girka
2019-11-19Translate incoming remote img tags by a linkThibaut Girka
2019-11-19[Glitch] Use `<use />` to render transparent SVG logo instead of inserting itEugen Rochko
Port SCSS changes from 8d5dcc9301c422f131167574da550f8cdaedb73f to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19Fix web push notifications for polls (#10864)ThibG
Fixes #10861
2019-11-19Refactor footers in web UI into a single component (#10846)Eugen Rochko
2019-11-19Display notifications count on a new single column (#10859)abcang
2019-11-19Use `<use />` to render transparent SVG logo instead of inserting it (#10845)Eugen Rochko
2019-11-19Fix poll visibility on public pages (#10817)Takeshi Umeda
* Fix poll visibility on public pages * Revert "Fix poll visibility on public pages" This reverts commit 54a9608add6f855bc6337fe3c65eaee7ba13db49. * Revert "Change poll options to alphabetic letters when status text is hidden" This reverts commit c53d67326201b2061990b1874a3547c3647f50d2.
2019-11-19Fix video player regressions introduced by blurhash mergeThibaut Girka
2019-11-19[Glitch] Add keyboard shortcut to hide/show mediaThibaut Girka
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
2019-11-19Create new click handler for status__expand area in status (#10837)Neil Moore
This click handler only activates on left-click, resolving #10798. This matches behavior in status_content.js, as added in #536
2019-11-19Fix null error in status component when determining showMedia state (#10838)Eugen Rochko
* Fix null error in status component when determining showMedia state Also update the showMedia value if the status passed to the component changes * Refactor media visibility computation into a defaultMediaVisibility function * Fix default media visibility with reblogs
2019-11-19Fix wrong redirect from getting started to home in advanced Web UI (#10839)Hanage999
* update Ruby to 2.5.3 * Link to Getting Started will not redirect to Home in multi-column UI (https://github.com/tootsuite/mastodon/pull/10835)
2019-11-19Improvements to the single column layout (#10835)Eugen Rochko
* Improvements to the single column layout - Add follows and followers link to the right panel - Increase margins around separators in right panel - Add follow requests link with counter when account is locked to right panel * Redirect from getting started to home when navigation panel is visible
2019-11-19Add a keyboard shortcut to hide/show media (#10647)ThibG
* Move control of media visibility to parent component * Add keyboard shortcut to toggle media visibility
2019-11-19Avoid cutting bottom of letters of last paragraph of statuses (#10821)Mélanie Chauvel (ariasuni)
2019-11-19Add responsive panels to the single-column layout (#10820)Eugen Rochko
* Add responsive panels to the single-column layout * Fixes * Fix not being able to save the preference * Fix code style issues * Set max-height on the compose textarea and add a link to relationship manager
2019-11-19[Glitch] Fix composer route opening when not neededりんすき
Port c1e77b56a92fc075f000af9c263c72ba6bdbe5f7 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19Use Sec-WebSocket-Protocol instead of query string to pass WebSocket tokenThibaut Girka
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
2019-11-19Improve streaming server security (#10818)ThibG
* Check OAuth token scopes in the streaming API * Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token Inspired by https://github.com/kubevirt/kubevirt/issues/1242
2019-11-19Various improvements to single column layout (#10809)Eugen Rochko
- Add potential side panels to single column layout - Hide FAB on large screens
2019-11-19Fix possible race condition when processing statuses (#10815)ThibG
2019-11-19Do not share a single Redcarpet::Markdown object across threadsThibaut Girka
There are apparently thread-safety issues: https://github.com/vmg/redcarpet/pull/672
2019-11-19[Glitch] Fix stacking order of emoji pickernzws
Port 8a378d4c3d8bd74f3070af0b70725da4a6d10375 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19Move signature verification stoplight to the requests themselves (#10813)ThibG
* Move signature verification stoplight to the requests themselves This avoids blocking messages from known keys for 5 minutes when only one fails… * Put the stoplight on the actual client IP, not a potential reverse proxy
2019-11-19Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)ThibG
HTTP 401 responses returned by Mastodon's inbox controller may be temporary if, for instance, the requesting user's actor/key json could not be retrieved in a timely fashion. This changes allow retries instead of dropping the message entirely. Also added HTTP 408 as that error is by nature temporary.
2019-11-19Add `forceSingleColumn` prop to `<UI />` (#10807) [Monsterfork adjustment: ↵Eugen Rochko
keep ordering] * Move TabsBar rendering logic from CSS to the ColumnsArea component * Add forceSingleColumn mode * Add unread notifications counter to tabs bar * Add toggle to control `forceSingleColumn` * Increase paddings in mobile layout responsively at large sizes
2019-11-19Fix stacking order of emoji picker (#10801)nzws
2019-11-19i18n: Complete frontend Bengali translation (#10800)dxwc
* i18n: Complete frontend Bengali translation * run yarn manage:translations
2019-11-19Add `account_id` param to `GET /api/v1/notifications` (#10796)Paul Woolcock
* Add `from_account` to notifications API this adds the ability to filter notifications by the account they originated from * passing a non-existent user should cause none to be returned * Fix codeclimate warnings * fix more codeclimate warnings * make requested changes: * use account id instead of user@domain * name the param `account_id` instead of `from_account` * Don't use `return` in a lambda
2019-11-19Make headers font size proportionalThibaut Girka
2019-11-19Allow rel=tag in status textThibaut Girka
Fixes tag links in local Markdown or HTML-authored statuses
2019-11-18Add support for updating posts in-place to the frontend and API. This makes ↵multiple creatures
it possible to implement features such as *real* post editing.
2019-11-18Revert `7f2174466` because it is causing thread mode to break.multiple creatures
2019-11-18When a post is delayed or updated, remove the old version from local ↵multiple creatures
timelines before delivering the new verison.
2019-11-18Improve readability somewhat.multiple creatures
2019-11-18Let `PostStatusWorker` deal with delivering posts.multiple creatures
2019-11-18Send status ID instead of objects to `ActivityPub::DistributionWorker`multiple creatures
2019-11-18Use `before_save` instead of `after_save`.multiple creatures