Commit Graph

7451 Commits (master)

Author SHA1 Message Date
multiple creatures bcb45d2cbe add `all` & `all_cached` props to feed model 2019-12-03 17:06:47 -06:00
multiple creatures e63192cbb1 clear filtered status cache when a domain policy gets reset 2019-12-03 17:06:47 -06:00
multiple creatures 04ec25754b cache list of already-filtered statuses 2019-12-03 17:06:43 -06:00
multiple creatures 5475adfbc9 add `size` property to feed model 2019-12-03 15:23:57 -06:00
multiple creatures 65afa0fe01 fix `thread:sharekey:sync` by spelling `earliest` correctly 2019-12-03 00:52:33 -06:00
multiple creatures 053c748b31 user invitations should now (by)pass the spam check 2019-12-02 22:00:12 -06:00
multiple creatures 29c54ac59b hide media captions under content notes when not expanded 2019-12-02 21:46:10 -06:00
multiple creatures e14a7b0c36 pruning thread leaves can cause data loss - let's not do that 2019-12-02 21:37:12 -06:00
multiple creatures 59b8f3b6a3 correctly detect domain policy changes 2019-12-01 10:15:05 -06:00
multiple creatures 3bef7b280f `update` -> `update!` 2019-12-01 07:04:07 -06:00
multiple creatures a11e99a15b raise video & audio quality 2019-11-29 17:32:51 -06:00
multiple creatures e9e8528432 `compand` apparantly screws up dynamic range - get rid of that 2019-11-29 16:29:29 -06:00
multiple creatures f18e6229b7 use static waveform for audio uploads & explicitly accept `audio/mp3` 2019-11-29 14:51:03 -06:00
multiple creatures c3c2ef2190 actually load the css on status pages (oops) 2019-11-29 14:30:48 -06:00
multiple creatures 91cac4c890 temporarily revert confirming boosts with no alt text to work around breaking modal bug 2019-11-26 22:29:57 -06:00
Eugen Rochko a6ea38d07b [Glitch] Fix list not being automatically unpinned when it returns 404 in web UI
Port 92b572e2a3830086497900fa78dcfcc2ae919e33 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-26 22:21:43 -06:00
Thibaut Girka 769661c004 Properly handle unboosting statuses from detailed view
Fixes #1106
2019-11-26 22:20:24 -06:00
Eugen Rochko cd1e1f28b8 Change priority of delete activity forwards for replies and reblogs (#11002)
Fix #11001
2019-11-19 16:49:57 -06:00
Eugen Rochko 001b0cbbc1 Fix position of search icon (#11003) 2019-11-19 16:49:51 -06:00
Eugen Rochko b96912e0aa Fix more issues in the light theme (#10996)
* Fix tabs bar in light theme

* Fix borders on small screens in light theme
2019-11-19 16:49:43 -06:00
Eugen Rochko a8dfe4e490 Change full logo to use primary text color of the given theme (#10994)
* Change full logo to use primary text color of the given theme

* Fix colors of public layout header in light theme
2019-11-19 16:49:06 -06:00
Eugen Rochko c66472bd66 Improve light theme (#10992) 2019-11-19 16:48:59 -06:00
Eugen Rochko 3b610926fe Fix RTL layout not being RTL within the columns area (#10990) 2019-11-19 16:48:50 -06:00
Eugen Rochko 160ed28c30 Fix some React warnings (#10989) 2019-11-19 16:48:43 -06:00
ThibG a64b016195 Fix display of alt-text when a media attachment is not available (#10981) 2019-11-19 16:48:30 -06:00
ThibG 117686fd00 Put poll options behind content warnings (#10983)
* Put poll options behind CWs in WebUI

* Put polls behind CWs on public pages

* Add poll icon to public pages CWs

* Revert to not showing an icon in the CW button
2019-11-19 16:48:13 -06:00
mayaeh 9dcf02b3e0 Fix emoji-button appearing above privacy-dropdown (#11027) 2019-11-19 16:43:52 -06:00
Eugen Rochko 584a63134a Fix login sometimes redirecting to paths that are not pages (#11019)
Fix #11016
2019-11-19 16:43:38 -06:00
Thibaut Girka 2b7b9f6ddb Minor cleanup 2019-11-19 16:41:31 -06:00
Thibaut Girka e02786eb56 Fix unboost confirmation dialog not showing up on detailed statuses 2019-11-19 16:41:31 -06:00
Thibaut Girka f98dfefb35 Add option to display a warning before boosting toots lacking media descriptions 2019-11-19 16:41:28 -06:00
Thibaut Girka c28703fafd Add DM conversations mode similar to upstream 2019-11-19 16:40:34 -06:00
Eugen Rochko 48facd225b [Glitch] Fix not being able to directly switch between list timelines in web UI
Port 5bfd802c571a2793bb59ba4540407a6147e82f88 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19 16:39:22 -06:00
ThibG 2c2b0dcb84 [Glitch] Fix “mark as sensitive” not being used in delete & redraft
Port 2657765d2a6804f34ce65bfdab7ec96f07d99732 to glitch-soc
2019-11-19 16:39:22 -06:00
Jeong Arm 924e535779 [Glitch] Scroll to compose form when focus
Port 8f3c32e29cf13a84b2f0a58da0ab0c99a88caad5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19 16:39:22 -06:00
Thibaut Girka b2f3fd782b [Glitch] Fix refreshing featured toots when the new collection is empty
Port d34a3a2cc72c12ae5119150a8ac18dd8fb7a4e6b to glitch-soc
2019-11-19 16:39:22 -06:00
Eugen Rochko 23d379e007 Add waiting time to list of pending accounts in admin UI (#10985) 2019-11-19 16:38:32 -06:00
Yamagishi Kazutoshi 968de2cfc2 Fix sass-lint config (#10982) 2019-11-19 16:38:32 -06:00
Wenceslao Páez Chávez 396a4e057a Fix overlap of emoji button on search popup (#10978) 2019-11-19 16:38:32 -06:00
Eugen Rochko 68621fad93 Fix not being able to directly switch between list timelines in web UI (#10973) 2019-11-19 16:38:32 -06:00
ThibG df2518da9e Fix “mark as sensitive” not being used in delete & redraft (#10980) 2019-11-19 16:38:32 -06:00
Takeshi Umeda d602531a8f Fix emoji picker being always displayed (#10979)
* Fix emoji picker being always displayed

* Remove duplicate content with other pull-requests
2019-11-19 16:37:35 -06:00
Jeong Arm 168b4cf1b0 Scroll to compose form when focus (#10970)
* Scroll to compose form when focus

* Get rid of constructor
2019-11-19 16:37:35 -06:00
ThibG 176b48c6dc Cleanup various controllers (#10972)
* Remove skip_session! as it is not supported in Rails 5

* Minor cleanup in StreamEntriesController

* Remove redundant mark_cacheable! calls
2019-11-19 16:37:33 -06:00
ThibG 86d8fba855 Fix potential private status leak (#10969) 2019-11-19 16:35:05 -06:00
ThibG 43007ae25f Fix refreshing featured toots when the new collection is empty (#10971)
Fixes #10945
2019-11-19 16:32:40 -06:00
ThibG 61d29f59fb Do not misattribute inlined boosts if `attributedTo` isn't present (#10967)
* Do not misattribute inlined boosts if `attributedTo` isn't present

Fixes #10950

* Fix tests
2019-11-19 16:32:40 -06:00
Eugen Rochko 3873a9e9af Fix margins on profile metadata in single column mode (#10961) 2019-11-19 16:32:40 -06:00
Eugen Rochko 4a7267c3a9 Change reblogs counter to be updated when boosted privately (#10964) 2019-11-19 16:32:40 -06:00
Eugen Rochko fbf08920a0 Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966) 2019-11-19 16:32:36 -06:00
Thibaut Girka 82bd234c3c Fix display of alt-text when a media attachment is not available 2019-11-19 16:26:35 -06:00
Thibaut Girka 51ae1816da Fix CW field automatically getting the focus when it is always enabled 2019-11-19 16:26:35 -06:00
Eugen Rochko 2982211167 Fix poll API not requiring authentication on non-public polls (#10960)
* Fix poll API not requiring authentication on non-public polls

That API does not reveal the content of the status, i.e. the question
itself, nor who the author is, nor which status it belongs to, but it
does reveal the poll options and how many answers they got

Fix #10959

* Add test
2019-11-19 16:25:28 -06:00
Eugen Rochko 0ba9ba56f3 Add profile directory link to single column navigation panel (#10963) 2019-11-19 16:25:28 -06:00
Jeong Arm 2aee833a22 Add missing Korean translations (#10962)
And change some word.
2019-11-19 16:24:22 -06:00
ThibG 0fd8575fff Handle blank poll options more gracefully (#10946)
Pleroma currently allows (erroneously imho) empty poll options, that is,
options with an empty (but existing) `name`.
2019-11-19 16:22:51 -06:00
Jeong Arm eb915cd89c [Glitch] Fix profile picture preview
Port e13e4b28db7e066d1f6f21e306aa95b97c3ccd99 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19 16:21:50 -06:00
Jeong Arm 5551fda1fa Fix profile picture preview (#10931) 2019-11-19 16:18:09 -06:00
Takeshi Umeda d85d4c1f1f Improvement variable height in single column layout (#10917)
* Improvement variable height of compose and navigation panel in single column layout

* Fix wrong quotes and missing commas
2019-11-19 16:18:09 -06:00
Hanage999 28303672dc Center 2-columns layout without side effect (#10915) 2019-11-19 16:18:08 -06:00
Lady Lumb fde6aa7922 Added env variables for max image and video size. [Monsterfork: partially 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-19 16:08:08 -06:00
Thibaut Girka 5f5ca12f6b Fix expanding status from menu modal in glitch-soc
Fixes #1085
2019-11-19 15:58:46 -06:00
Eugen Rochko eee0ef3249 Change links in right panel to open in the same tab (#10848)
For Rambox compatibility
2019-11-19 15:56:10 -06:00
ThibG d7a38dcfda Fix React warning about legacy lifecycle calls and sensitive status resetting (#10872) 2019-11-19 15:56:10 -06:00
Takeshi Umeda 8fe650ea4d Fix safari post field display issue in single column layout (#10883) 2019-11-19 15:53:32 -06:00
Alix Rossi c18c9f4312 i18n: Update Corsican front-end translation (#10884) 2019-11-19 15:53:32 -06:00
mayaeh 84b70ebf55 Update Japanese translations. (#10875)
run yarn manage:translations ja && i18n-tasks add-missing ja
2019-11-19 15:53:28 -06:00
Aditoo17 d29c7c7dc3 I18n: Update Czech translation (#10874) 2019-11-19 15:43:02 -06:00
Thibaut Girka 6bc293f647 Raise exception when attempting to serialize local-only statuses 2019-11-19 15:43:02 -06:00
slice 5afe3032d5 Fix incorrect PropType in Glitch AutosuggestInput 2019-11-19 15:43:02 -06:00
slice 4373ff0614 Remove isRequired from Glitch ReplyIndicator status
This can be null under normal circumstances, which isRequired doesn't
like.
2019-11-19 15:43:02 -06:00
Thibaut Girka 119852adab Truncate long URLs while providing alt text for inline images 2019-11-19 15:43:02 -06:00
Thibaut Girka c0a29cdb71 Translate incoming remote img tags by a link 2019-11-19 15:42:59 -06:00
Eugen Rochko a78abedd3d [Glitch] Use `<use />` to render transparent SVG logo instead of inserting it
Port SCSS changes from 8d5dcc9301c422f131167574da550f8cdaedb73f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19 15:38:37 -06:00
ThibG 556fedba9f Fix web push notifications for polls (#10864)
Fixes #10861
2019-11-19 15:37:21 -06:00
Eugen Rochko 67de0dcca9 Refactor footers in web UI into a single component (#10846) 2019-11-19 15:37:15 -06:00
abcang b08d29418c Display notifications count on a new single column (#10859) 2019-11-19 15:33:11 -06:00
Eugen Rochko 191a993eb3 Use `<use />` to render transparent SVG logo instead of inserting it (#10845) 2019-11-19 15:33:07 -06:00
Takeshi Umeda 7c22a82938 Fix poll visibility on public pages (#10817)
* 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-19 15:33:04 -06:00
Thibaut Girka a6888a2d9d Fix video player regressions introduced by blurhash merge 2019-11-19 15:32:53 -06:00
Thibaut Girka 0564c07f50 [Glitch] Add keyboard shortcut to hide/show media
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
2019-11-19 15:32:48 -06:00
Neil Moore df29ca91bd Create new click handler for status__expand area in status (#10837)
This click handler only activates on left-click, resolving #10798.
This matches behavior in status_content.js, as added in #536
2019-11-19 15:32:39 -06:00
Eugen Rochko a79c9d86d1 Fix null error in status component when determining showMedia state (#10838)
* 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-19 15:32:34 -06:00
Hanage999 e228ec1d09 Fix wrong redirect from getting started to home in advanced Web UI (#10839)
* 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-19 15:32:26 -06:00
Eugen Rochko 4da0c1b25e Improvements to the single column layout (#10835)
* 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-19 15:32:18 -06:00
ThibG 62f13e9f9a Add a keyboard shortcut to hide/show media (#10647)
* Move control of media visibility to parent component

* Add keyboard shortcut to toggle media visibility
2019-11-19 15:32:13 -06:00
Mélanie Chauvel (ariasuni) 21fd31271c Avoid cutting bottom of letters of last paragraph of statuses (#10821) 2019-11-19 15:31:55 -06:00
Eugen Rochko e9a90ca12a Add responsive panels to the single-column layout (#10820)
* 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 15:31:27 -06:00
りんすき 58a63aef1f [Glitch] Fix composer route opening when not needed
Port c1e77b56a9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19 13:43:44 -06:00
Thibaut Girka 74b18e0d26 Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
2019-11-19 13:43:21 -06:00
ThibG 64a68bf2ea Improve streaming server security (#10818)
* 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-19 13:43:02 -06:00
Eugen Rochko 7952281bbb Various improvements to single column layout (#10809)
- Add potential side panels to single column layout
- Hide FAB on large screens
2019-11-19 13:36:09 -06:00
ThibG e4731a4d70 Fix possible race condition when processing statuses (#10815) 2019-11-19 13:36:01 -06:00
Thibaut Girka b49fdce784 Do not share a single Redcarpet::Markdown object across threads
There are apparently thread-safety issues: https://github.com/vmg/redcarpet/pull/672
2019-11-19 13:35:52 -06:00
nzws f6bd1629b9 [Glitch] Fix stacking order of emoji picker
Port 8a378d4c3d8bd74f3070af0b70725da4a6d10375 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-19 13:35:28 -06:00
ThibG 77323f419c Move signature verification stoplight to the requests themselves (#10813)
* 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-19 13:34:56 -06:00
ThibG a8ae1e4855 Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)
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-19 13:34:01 -06:00
Eugen Rochko 918b7866dd Add `forceSingleColumn` prop to `<UI />` (#10807) [Monsterfork adjustment: 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-19 13:31:33 -06:00
nzws 0041fafd54 Fix stacking order of emoji picker (#10801) 2019-11-19 13:27:43 -06:00
dxwc e07991df26 i18n: Complete frontend Bengali translation (#10800)
* i18n: Complete frontend Bengali translation

* run yarn manage:translations
2019-11-19 13:24:44 -06:00
Paul Woolcock ecbcebb917 Add `account_id` param to `GET /api/v1/notifications` (#10796)
* 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-19 13:20:27 -06:00
Thibaut Girka db1381df17 Make headers font size proportional 2019-11-19 13:14:05 -06:00
Thibaut Girka d1b0f3a7e2 Allow rel=tag in status text
Fixes tag links in local Markdown or HTML-authored statuses
2019-11-19 13:14:02 -06:00
multiple creatures 5c9fbacaaf Add support for updating posts in-place to the frontend and API. This makes it possible to implement features such as *real* post editing. 2019-11-18 22:04:03 -06:00
multiple creatures 8f4f29f710 Revert `7f2174466` because it is causing thread mode to break. 2019-11-18 19:17:28 -06:00
multiple creatures 7f21744661 When a post is delayed or updated, remove the old version from local timelines before delivering the new verison. 2019-11-18 08:26:54 -06:00
multiple creatures 4f8172d215 Improve readability somewhat. 2019-11-18 08:21:48 -06:00
multiple creatures 8d5b0d6448 Let `PostStatusWorker` deal with delivering posts. 2019-11-18 07:58:27 -06:00
multiple creatures f9315005b0 Send status ID instead of objects to `ActivityPub::DistributionWorker` 2019-11-18 07:58:27 -06:00
multiple creatures ba0e07caf8 Use `before_save` instead of `after_save`. 2019-11-18 07:58:24 -06:00
multiple creatures 2ac0b20c5c Be more specific about checking for the truthiness of `nomentions`. 2019-11-18 05:29:21 -06:00
multiple creatures 59ef948640 Get rid of the `Formatter` cache. It isn't worth the admin headaches. 2019-11-18 05:09:18 -06:00
multiple creatures 345c6beb7e Auto-remove expired filters. 2019-11-18 04:39:27 -06:00
multiple creatures 2c32b36a57 Remove filter caches. 2019-11-18 04:38:27 -06:00
multiple creatures 0d37227266 Filter boosts from profile pages' Roars & Growls tab. 2019-11-18 04:17:49 -06:00
multiple creatures 7cc9f12177 In the regex filtering query, `ANY` should actually be `ALL`. 2019-11-18 04:04:12 -06:00
multiple creatures a44eb4a79d Use custom `f_normalize` function for transforming regex filters. 2019-11-18 03:49:02 -06:00
multiple creatures 953e00bc05 Ensure that community-visible posts are removed from the timeline when the author deletes them. 2019-11-18 03:47:38 -06:00
multiple creatures 0d90c0f61a Only apply a user's string filters if they actually have any set (otherwise all posts will be filtered). 2019-11-18 02:19:09 -06:00
multiple creatures 4d6e1aa81d Include media attachment descriptions in normalized text. 2019-11-18 02:19:09 -06:00
multiple creatures 20f5ced61d Remove context selector from filter view. 2019-11-18 02:19:09 -06:00
multiple creatures f76c29beee Remove unused and incompatable filter settings. These will be re-added in time as they're rewritten to use database-level filtering. 2019-11-18 02:19:09 -06:00
multiple creatures 82f2e265f1 Remove `FilterHelper` include from timeline APIs. 2019-11-18 02:19:09 -06:00
multiple creatures 90189b98ff Always skip `Formatter` cache when serializing ActivityPub representations of posts and accounts. 2019-11-18 02:19:09 -06:00
multiple creatures 5c535c021f Remove a duplicate callback to `update_normalized_text`. 2019-11-18 02:19:09 -06:00
multiple creatures b1e3ecd78f In ProcessMentionsService, `skip_notify` should be a keyword argument, not positional. 2019-11-18 02:19:09 -06:00
multiple creatures 9d4a4efa7a Add a new profile option to filter posts with undescribed media. At some point, figure out how to put this under Filters, even if it angers the MVC model gods. No gods, no masters. 2019-11-18 02:19:09 -06:00
multiple creatures afe4b6b6ad Users' filters are applied in the `Status` model. They can also now use regular expressions. 2019-11-18 02:19:09 -06:00
multiple creatures d9e6204cd6 Do away with the kludgy solution of applying users' filters from API controllers; we will do this in the `Status` model instead, and at the database level. 2019-11-17 19:11:45 -06:00
multiple creatures a5c518b1df Add `filter_undescribed` column to `accounts` table. 2019-11-17 19:11:35 -06:00
multiple creatures f01f38d0ea Prefix zero-width space before lines with space characters to preserve their formatting on other servers. 2019-11-17 15:39:39 -06:00
multiple creatures 04165369fd Reduce Vitamin D intake. 2019-11-17 15:06:00 -06:00
multiple creatures c8244ef728 Remove duplicated code. 2019-11-17 14:58:56 -06:00
multiple creatures 389a817aad Use `after_save` instead of `after_create`/`after_update` where methods should be called every time an object is changed. 2019-11-17 14:57:46 -06:00
multiple creatures 81942defe9 Hardcoded disabling of `Formatter` cache in normalizer. 2019-11-17 14:22:33 -06:00
multiple creatures 86750fff3f Do not allow `Formatter` cache when normalizing text by default - fixes mentions formatting bug. 2019-11-17 05:44:02 -06:00
multiple creatures 81c2b3e240 When domain policies are created or updated, set the `processing` flag from the model instead of from the controller. 2019-11-17 03:10:27 -06:00
multiple creatures 296ec59fc9 Do not try to update destroyed `Status` objects. 2019-11-17 02:51:56 -06:00
multiple creatures 46acfb7f3c Include all tags in normalized text. Deduplicate and move them to the front. 2019-11-16 22:57:49 -06:00
multiple creatures 81a551791d When normalizing the text of local posts, skip `Formatter` cache (but allow the results to be cached) by default. 2019-11-16 22:12:31 -06:00
multiple creatures a5335d8bae Allow callers of `Formatter` methods to specify that formatting results should not be cached. 2019-11-16 22:09:29 -06:00
multiple creatures e02073f7da Correct typo. 2019-11-16 21:47:58 -06:00
multiple creatures 1132af1515 Moved to using a normalized text column for searches. Admins using an FTS-enabled version of Monsterfork will need to apply the migration from `dist/search.sql` then run `bundle exec rails monsterfork:index_statuses`. 2019-11-16 21:01:07 -06:00
multiple creatures 487c945d16 Searches now work on `following` scope. 2019-11-16 07:23:52 -06:00
multiple creatures 6abae51e47 Regular expressions can now be used in full-text searches. Wrapping a search term in double-quotes treats it as a whole-word match. 2019-11-16 07:17:15 -06:00
multiple creatures 9de5952f4e Update database queries to reflect change of search implementation. 2019-11-16 06:04:31 -06:00
multiple creatures b462b46a80 The WAS spammer detection is no longer needed; removing this code from the Janitor. 2019-11-16 05:41:17 -06:00
multiple creatures d13e73d498 fix missing `srem` argument in commit `d162ebae7` 2019-11-06 15:15:24 -06:00
multiple creatures d162ebae79 remove undeliverable flag from temporarily offline remote accounts & servers if something is successfully received from them 2019-11-06 02:12:37 -06:00
multiple creatures facde93c4d clear formatter cache when profile is changed 2019-11-06 00:44:37 -06:00
multiple creatures 0db4b0b9d5 perform spam detection at registration time 2019-11-06 00:08:06 -06:00
multiple creatures af9b9777af add profile option to (locally) block anonymous views of public posts 2019-10-27 14:02:05 -05:00
multiple creatures 58c707c474 make data miners' lives harder by also requiring authentication on account api endpoints 2019-10-27 12:17:50 -05:00
multiple creatures 87e48598f2 fix breaking typos 2019-10-26 01:06:34 -05:00
multiple creatures c939664d08 add `skip_cache` to all cached formatter methods & do not cache the results of emoji encoding cause they vary by user settings 2019-10-26 01:01:51 -05:00
multiple creatures 856ae951bd before publishing a status force its formatting to be recached (fixes the mentions bug) 2019-10-26 00:09:10 -05:00
multiple creatures 8233fb9465 add `skip_cache` option to formatter & mark cached html as safe 2019-10-26 00:07:41 -05:00
multiple creatures fe54ba14a1 default to `direct` visibility for `admin:` bangtags 2019-10-25 23:31:53 -05:00
multiple creatures 996fb97020 tighten abandoned account query in janitor 2019-10-19 09:35:57 -05:00
multiple creatures 345ff4675b exclude suspended (sub)domains from peers list 2019-10-14 11:39:55 -05:00
multiple creatures e6c1f51b29 make the replied-to post preview readable in arachnia 2019-10-14 11:25:13 -05:00
multiple creatures 57709f7e7a remove bg image 2019-10-14 04:11:59 -05:00
multiple creatures 712e4bb11f rethemed arachnia 2019-10-14 04:05:50 -05:00
multiple creatures 4bb53650a4 add `/api/v1/werewolf` endpoint 2019-10-14 01:02:10 -05:00
multiple creatures 47cd2611bf (optionally) announce the success of werewolf transformations 2019-10-13 20:14:54 -05:00
multiple creatures 592790418d spell "unannounce" correctly <.<, 2019-10-13 19:29:50 -05:00
multiple creatures 2aa1149e1c make sure mentions aren't processed early if delayed roars are enabled 2019-10-12 22:42:42 -05:00
multiple creatures a367ff8698 graylist (reject unknown) federation & known account auto-learning finally have toggle switches in site settings 2019-10-12 22:05:06 -05:00
multiple creatures bc04de8eed add `parent:refetch` and `thread:refetch` bangtags allowing folks to have monsterfork fetch missing post or thread media 2019-10-12 21:26:58 -05:00
multiple creatures 85494ce21a `FetchAvatarMediaWorker` -> `FetchAvatarWorker` 2019-10-12 21:24:54 -05:00
multiple creatures 249d70d13c when somone's posting in html mode, convert newlines to html line breaks (resolves #12) 2019-10-12 20:52:09 -05:00
multiple creatures d4383994fc allow `lang` attribute to be federated (resolves #11) + allow `aria-hidden`, `aria-label`, & `lang` on any allowed element 2019-10-10 21:33:04 -05:00
multiple creatures d7b4f1f93b allow `aria-label` attribute to be federated (resolves #10) 2019-10-10 21:22:08 -05:00
multiple creatures 81988e386d stopped using private-use codepoints as formatting placeholders (resolves #9) 2019-10-10 21:02:15 -05:00
multiple creatures 8a8e74fc2b make the clear button work even when there's no body text 2019-10-09 20:07:00 -05:00
multiple creatures a9a1342126 custom filters can now also match posts with missing media descriptions 2019-10-09 20:01:45 -05:00
multiple creatures 999ac06723 custom filters can now match media descriptions 2019-10-09 19:42:51 -05:00
multiple creatures ce6a705515 apply custom filters to world and tag timelines the slow way until the custom filter system gets changed 2019-10-05 02:14:21 -05:00
multiple creatures a9631d4601 replace `hr`s with `br`s in some bangtag outputs while idly grumbling at mobile vanilladon apps 2019-10-01 01:20:45 -05:00
multiple creatures 0944b9ca4b add average & total to `histogram` 2019-10-01 01:04:44 -05:00
multiple creatures ee1448ab1f add `histogram` bangtag 2019-10-01 00:37:34 -05:00
multiple creatures 4a8e630232 prefixing a search with `@@` interprets it as an advanced query (in postgresql `tsquery` format) 2019-10-01 00:37:34 -05:00
multiple creatures 80c51b1ec5 community-visible (not community-only!) posts are also distributable - notify the local author when they get boosted 2019-09-30 16:07:42 -05:00
multiple creatures e0103d1649 include `local` scope in visibility limit if an account is silenced 2019-09-24 23:31:51 -05:00
multiple creatures 1273ee7cfd the commit below this but like actually fix it this time 2019-09-24 21:46:22 -05:00
multiple creatures fc08cd704b unbreak tag conversion 2019-09-24 21:42:09 -05:00
multiple creatures eb05eea843 strip blankspace when converting in-body tags to out-of-body tags 2019-09-24 20:44:05 -05:00
multiple creatures 5fdd29f80f work around vanilladon apps breaking when a custom filter uses monsterfork cw extensions - supporting clients can explicitly ask for those by setting `?all=1` 2019-09-24 20:40:58 -05:00
multiple creatures 3c1f1feef1 in custom filters, remove the `irreversible` flag (but report it as `true` to vanilladon clients) - our impl does not use this 2019-09-24 20:29:08 -05:00
multiple creatures b50ab4778f add account limited by admin flag to api + badge 2019-09-24 18:28:52 -05:00
multiple creatures 3d133d1641 when converting in-body tags to out-of-body tags, only strip lines that are nothing but in-body tags 2019-09-19 23:35:58 -05:00
multiple creatures f14d5b7ee1 allow up to 3 hops 2019-09-18 01:07:42 -05:00
multiple creatures cc32f0f50b make `BatchFetchMediaWorker` emergency stoppable by setting `Rails.cache.write(stop_fetch_media_worker, true)` 2019-09-17 22:24:50 -05:00
multiple creatures 7ee43869e7 don't pre-cache media in tag bookmarks (we don't need to do this anymore) 2019-09-17 21:34:48 -05:00
multiple creatures 71bb4f01bc `FetchMediaWorker` no longer re-fetches stuff the server already has unless `force` is set 2019-09-17 21:32:47 -05:00
multiple creatures 3bb2378009 add `FetchAvatarWorker` to (re-)fetch account avatars/headers 2019-09-17 21:25:29 -05:00
multiple creatures e2f7f1db86 add `BatchFetchMediaWorker` to fetch batches of media without overloading either server 2019-09-17 21:23:09 -05:00
multiple creatures 750fb3d8b1 stop pre-caching tag timeline media 2019-09-16 03:25:06 -05:00
multiple creatures 61f7847e89 move backup worker to bulk queue 2019-09-16 02:40:14 -05:00
multiple creatures 8c303e4188 move link crawler to bulk queue; give up on ssl or no-card errors 2019-09-16 02:33:05 -05:00