about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
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
2019-11-18Be more specific about checking for the truthiness of `nomentions`.multiple creatures
2019-11-18Get rid of the `Formatter` cache. It isn't worth the admin headaches.multiple creatures
2019-11-18Auto-remove expired filters.multiple creatures
2019-11-18Remove filter caches.multiple creatures
2019-11-18Filter boosts from profile pages' Roars & Growls tab.multiple creatures
2019-11-18In the regex filtering query, `ANY` should actually be `ALL`.multiple creatures
2019-11-18Use custom `f_normalize` function for transforming regex filters.multiple creatures
2019-11-18Ensure that community-visible posts are removed from the timeline when the ↵multiple creatures
author deletes them.
2019-11-18Only apply a user's string filters if they actually have any set (otherwise ↵multiple creatures
all posts will be filtered).
2019-11-18Include media attachment descriptions in normalized text.multiple creatures
2019-11-18Remove context selector from filter view.multiple creatures
2019-11-18Remove unused and incompatable filter settings. These will be re-added in ↵multiple creatures
time as they're rewritten to use database-level filtering.
2019-11-18Remove `FilterHelper` include from timeline APIs.multiple creatures
2019-11-18Always skip `Formatter` cache when serializing ActivityPub representations ↵multiple creatures
of posts and accounts.
2019-11-18Remove a duplicate callback to `update_normalized_text`.multiple creatures
2019-11-18In ProcessMentionsService, `skip_notify` should be a keyword argument, not ↵multiple creatures
positional.
2019-11-18Add a new profile option to filter posts with undescribed media. At some ↵multiple creatures
point, figure out how to put this under Filters, even if it angers the MVC model gods. No gods, no masters.
2019-11-18Users' filters are applied in the `Status` model. They can also now use ↵multiple creatures
regular expressions.
2019-11-17Do away with the kludgy solution of applying users' filters from API ↵multiple creatures
controllers; we will do this in the `Status` model instead, and at the database level.
2019-11-17Add `filter_undescribed` column to `accounts` table.multiple creatures
2019-11-17Prefix zero-width space before lines with space characters to preserve their ↵multiple creatures
formatting on other servers.
2019-11-17Reduce Vitamin D intake.multiple creatures
2019-11-17Remove duplicated code.multiple creatures
2019-11-17Use `after_save` instead of `after_create`/`after_update` where methods ↵multiple creatures
should be called every time an object is changed.
2019-11-17Hardcoded disabling of `Formatter` cache in normalizer.multiple creatures
2019-11-17Do not allow `Formatter` cache when normalizing text by default - fixes ↵multiple creatures
mentions formatting bug.
2019-11-17When domain policies are created or updated, set the `processing` flag from ↵multiple creatures
the model instead of from the controller.
2019-11-17Do not try to update destroyed `Status` objects.multiple creatures