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
multiple creatures
f9680593c1
retry media fetches twice before giving up; move media fetches to bulk queue
2019-09-16 02:28:34 -05:00
multiple creatures
c80712e1c8
stop pre-caching media on public, home, direct, & list timelines
2019-09-15 22:44:56 -05:00
multiple creatures
6695379f08
pre-cache more pages of media at a time when browsing tags
2019-09-15 22:37:45 -05:00
multiple creatures
06bce922da
make out-of-body tags actually out of body
2019-09-15 11:32:08 -05:00
multiple creatures
3ec2d799aa
do not retry `FetchMediaWorker` jobs
2019-09-07 20:08:29 -05:00
multiple creatures
bb5119adb6
convert spam filters into unioned regex, match between word boundaries
2019-09-06 01:57:13 -05:00
multiple creatures
41b86307a3
fix that weird `rt` bug
2019-09-02 18:11:02 -05:00
multiple creatures
0700eaf38d
cache results of text formatting to save resources
2019-09-02 04:31:57 -05:00
multiple creatures
b0c4ca2f76
use same matching rules for `skip_download?` as `MediaAttachment.instance.blocked?`
2019-09-02 02:02:39 -05:00
multiple creatures
ab9a3c2fe2
`bookmarks` -> `account_bookmarks`
2019-09-02 00:51:56 -05:00
multiple creatures
8689b66268
fix tag timeline media prefetching, remove `limit_params` from prefetch queries
2019-09-02 00:43:45 -05:00
multiple creatures
2d37586dae
pre-emptively fetch missing remote media when a timeline's api page is read
2019-09-01 22:48:22 -05:00
multiple creatures
86d5aa73e9
fix breaking typo
2019-09-01 16:17:54 -05:00
multiple creatures
8c81626a56
add `strip` bangtag - removes leading/trailing whitespace from lines
2019-08-31 13:30:19 -05:00
multiple creatures
867a13a740
add `nosr` & `sr` bangtags to mark sections of posts that should and should not be read by screenreaders
2019-08-31 13:00:37 -05:00
multiple creatures
67bcc0bfd6
support federating `aria-hidden` property to mark content that should be skipped by screenreaders
2019-08-31 11:23:33 -05:00
multiple creatures
3b276d268f
use a scheduled task to batch domain policy changes + revert `29643fd6` to avoid accidentally dosing servers when multiple users block a domain
2019-08-30 22:03:46 -05:00
multiple creatures
60c449e1d7
make sure media attachments are not from a blocked account, CDN, or their subdomains
2019-08-30 20:29:42 -05:00
multiple creatures
8a9c1b32da
re-fetch media when local file is missing
2019-08-30 19:48:02 -05:00
multiple creatures
a97ce6534d
make sure id is an integer
2019-08-30 19:33:25 -05:00
multiple creatures
e881d75632
(asynchronously) re-fetch missing media on serialize
2019-08-30 19:31:57 -05:00
multiple creatures
90ffbb0ada
don't drop posts with invisible participants if they explicitly mention a local user
2019-08-26 12:17:10 -05:00
multiple creatures
35636272c0
detect spam registrations + include account approvals/rejections in transparancy log
2019-08-26 11:39:40 -05:00
multiple creatures
89f49712ac
don't process incoming media or polls until sure the post is going to be saved in the first place
2019-08-26 01:19:30 -05:00
multiple creatures
38e44162a6
do not limit by `known` when `reject_unknown` is not set
2019-08-26 00:58:23 -05:00
multiple creatures
19eb53863b
don't add icons for non-misleading links unless it's media or a sanitized link; detect basic pseudomentions
2019-08-26 00:46:25 -05:00
multiple creatures
a5c8640cc1
fix pseudomentions + always link mentions
2019-08-26 00:32:52 -05:00
multiple creatures
050a65c7d8
avoid processing incoming posts that have invisible participants
2019-08-25 23:18:04 -05:00
multiple creatures
363438a241
support `offset` with search
2019-08-24 22:22:00 -05:00
multiple creatures
62e308d1b0
fix breaking typo
2019-08-24 21:58:38 -05:00
multiple creatures
3a54126651
avoid unneccesary scoping for self-searches; make sure general scope is limited to self/mentions/mutuals
2019-08-24 21:55:30 -05:00
multiple creatures
b17c64b7ed
raise description limit to 6666
2019-08-24 21:14:00 -05:00
multiple creatures
ce4d5a2677
remove character counter from the ui
2019-08-23 15:00:53 -05:00
multiple creatures
92c5f606d4
don't fail on missing visibility parameter
2019-08-23 00:12:17 -05:00
multiple creatures
8867fee609
raise 404 if no stream entry
2019-08-23 00:03:14 -05:00
multiple creatures
b19ab01233
spot-fix more `arachnea` contrast bugs
2019-08-20 16:59:28 -05:00
multiple creatures
151b7afa10
confirm missing media descriptions by default
2019-08-20 16:41:39 -05:00
multiple creatures
11dedcd2d6
css gods please just make these dang theme readable ;_;
2019-08-19 15:42:07 -05:00
multiple creatures
019a29c65f
yep it's more arachnia theme adjustments
2019-08-18 22:46:09 -05:00
multiple creatures
8271b7ba9f
more arachnia contrast adjustment
2019-08-18 21:13:16 -05:00
multiple creatures
411237dee1
aaaaa too many highlights - tone it down a lil bit
2019-08-18 20:49:34 -05:00
multiple creatures
c23ce863ef
limit animations in dt themes
2019-08-18 20:21:31 -05:00
multiple creatures
20010fa261
another round of adjusting arachnea colors
2019-08-18 20:04:32 -05:00
multiple creatures
88fa00c35a
split db pruning off into its own scheduled job
2019-08-18 19:50:10 -05:00
multiple creatures
1c5ff0ec10
prevent gap removal option from breaking columns
2019-08-18 15:14:09 -05:00
multiple creatures
caec7b5ca7
fix custom filter logic
2019-08-18 15:14:09 -05:00
multiple creatures
32e37245fa
janitor - allow retries, `@account_ids -> @exclude_ids`, remove unneeded `uniq` calls
2019-08-18 15:14:09 -05:00
multiple creatures
a283127dcf
use default sidekiq options for `LogWorker`
2019-08-18 15:14:09 -05:00
multiple creatures
d835197fb8
use default sidekiq options for `DomainBlockWorker`
2019-08-18 15:14:09 -05:00
multiple creatures
87136f77d7
privacy - require authentication on all timeline endpoints to make life difficult for fediverse archivers
2019-08-18 15:10:34 -05:00
multiple creatures
92616f265c
use arachnia for the default theme
2019-08-18 15:10:34 -05:00
Blackle Mori
0f84a7174c
Fix linear gradient colour on collapsed statuses in a few skins
2019-08-15 23:55:47 -05:00
multiple creatures
d2eb644d45
apply custom filters and cws to search + remove unused es search methods
2019-08-15 23:41:34 -05:00
multiple creatures
f40c6dbc93
handle custom cws when a filter has the `entire thread` option set
2019-08-15 23:22:43 -05:00
multiple creatures
14cf223041
only drop posts matching a custom filter when the filter has no cw override set
2019-08-15 22:53:02 -05:00
multiple creatures
7bbcf793bc
custom filters now have an option to add or override content warnings; filter caching has been fixed
2019-08-15 22:40:20 -05:00
multiple creatures
f783ec279d
allow out-of-body mentions
2019-08-15 17:07:59 -05:00
multiple creatures
f54329f9d6
alias `quit` bangtag to `part` + `part:reply-guy-mode` egg
2019-08-15 17:07:56 -05:00
multiple creatures
7ce8751692
fix arachnia & seadrake media padding
2019-08-15 12:16:45 -05:00
multiple creatures
e8a5c9a972
fix arachnia & seadrake colors
2019-08-15 12:15:23 -05:00
multiple creatures
18e727efdf
don't bother searching if term is empty
2019-08-15 11:12:17 -05:00
multiple creatures
bbb025be69
add ability to search own posts by prepending `me:` to searches
2019-08-15 11:09:36 -05:00
multiple creatures
5ae918d968
add cw to moderation bangtags if missing
2019-08-15 10:58:07 -05:00
multiple creatures
ad81a82ea4
initial fixes of orctober colors
2019-08-15 10:38:58 -05:00
multiple creatures
c8a9f38bcd
initial fixes of tentacle colors
2019-08-15 10:25:07 -05:00
multiple creatures
b4b6f39c87
fix padding on orctober & tentacle themes
2019-08-15 09:53:07 -05:00
multiple creatures
903cabc4b2
fix the header padding
2019-08-15 09:47:42 -05:00
multiple creatures
cc3cf7b606
`target_account.user` -> `target_account`
2019-08-15 09:27:43 -05:00
multiple creatures
e2e0eddda7
fix err 500 when someone attempts to follow someone they're already following
2019-08-15 09:27:43 -05:00
multiple creatures
b6b5bae72c
fix err 500 when trying to read `identity_proofs` from a non-existant account
2019-08-15 09:27:43 -05:00
Lumb
c19fc4cf9b
remove negative margins for direct messages and boosts in timeline
...
What the tin says, noticed this bug was still hanging around, just only on DMs and on boosts in the TL so I think this should sort that.
2019-08-15 09:27:43 -05:00
multiple creatures
a06f8140d9
handle interactions on sharekeyed posts when both participants are local; allow faving sharekeyed posts
2019-08-15 09:27:43 -05:00
multiple creatures
6d026c5007
fix accidental rename
2019-08-15 09:27:43 -05:00
Lumb
c9dc797ef2
remove negative margin
...
this should fix the names being cut off on the notification bar uwu uwu
2019-08-12 10:53:02 +00:00
multiple creatures
8a7605e502
fix interaction buttons on public pages
2019-08-10 03:21:04 -05:00
multiple creatures
b2d0389fea
transparancy log - automatically add a content warning if there are admin comments; support a custom `subject`
2019-08-09 19:13:04 -05:00
multiple creatures
8c196e70b1
transparancy log - do not direct link to domains
2019-08-09 19:02:30 -05:00
multiple creatures
e466f9c2ce
janitor - add db & media pruning job
2019-08-09 19:00:58 -05:00
multiple creatures
a4b7b5c132
fedi privacy - reject incoming out-of-scope posts addressed to private/unresolvable accounts & not addressed to any local users
2019-08-08 20:09:21 -05:00
multiple creatures
e496fd473f
default to reject unknown policy for new servers
2019-08-08 12:46:28 -05:00
multiple creatures
ecd461aa78
admin transparancy log - add moderator review links to domain policy changes
2019-08-08 12:46:23 -05:00
multiple creatures
4283f15493
admin transparancy log - support markdown
2019-08-08 12:46:23 -05:00
multiple creatures
4dfc40324b
add new `reject unknown` policy option to prevent spam & harassment from large/undermoderated servers
2019-08-08 12:46:17 -05:00
multiple creatures
d019e55b7b
janitor - option to export `activityrelay` config
2019-08-08 09:37:34 -05:00
multiple creatures
d8a1e472c2
janitor - make sure values excludes are deduped
2019-08-08 09:36:05 -05:00
multiple creatures
bcfa50f5f5
unapply `force_sensitive` during domain policy resets
2019-08-07 19:05:48 -05:00
multiple creatures
72592b3c9c
add distributability check to reblog worker
2019-08-07 01:51:02 -05:00
multiple creatures
ef04f3879a
add option to automatically space out boosts over configurable random intervals
2019-08-07 01:08:34 -05:00
multiple creatures
a8475313b8
add ability to post as linked account without switching using `once:i:am`/`once:we:are` bangtag
2019-08-07 01:08:34 -05:00
multiple creatures
d9a8c50f92
remember login & clear signed-in notice when switching accounts
2019-08-07 01:08:31 -05:00
multiple creatures
ff22f11aae
`@options[:delayed]` -> `@options[:delayed].present?`
2019-08-06 22:23:57 -05:00
multiple creatures
2329043e7b
do not parse blocks from `dialup.express` or `tenforward.social` - too much margin-of-error without a machine-readable list
2019-08-06 22:00:53 -05:00
multiple creatures
b564aac6f3
`account:` output posts auto-expire after 1 hour
2019-08-06 14:19:04 -05:00
multiple creatures
da389a664b
added ability to link accounts with `account 🔗 token` + `account 🔗 add` & switch between them with `i:am`/`we:are` bangtags; remove links with `account 🔗 del:USERNAME` or `account 🔗 clear`; list links with `account 🔗 list`
2019-08-06 13:55:54 -05:00
multiple creatures
647ac0f86a
`unsuspend` -> `"unsuspend"`
2019-08-05 21:30:34 -05:00
multiple creatures
2ff40d3788
janitor can now write suspended domains to whatever JANITOR_BLOCKLIST_OUTPUT is set to so they can be imported elsewhere (e.g., `nginx`)
2019-08-05 17:04:42 -05:00
multiple creatures
1cd9fea3b5
add ability to access bookmarks from #self.bookmarks tag
2019-08-05 01:53:59 -05:00
multiple creatures
879166633c
rewrite repeated domain maps to use a helper function & make vulpine.club yaml url a variable
2019-08-05 00:00:31 -05:00
multiple creatures
f86a3314f7
port @zac@computerfox.xyz's `silence` to `BlocklistHelper`
2019-08-04 23:48:59 -05:00
multiple creatures
9a3c4bc051
restrict private pin visibility to packmates & do not include them in `featured` collection (mainline masto does not respect pin visibility)
2019-08-04 20:53:20 -05:00