Commit graph

1772 commits

Author SHA1 Message Date
Claire
1cf501ddca Merge pull request from GHSA-hcqf-fw2r-52g4
* Revert "Fix request URL normalisation for bare domain and 8-bit characters (#26285)"

This reverts commit da740ec43c.

* Revert "Do not normalize URL before fetching it (#26219)"

This reverts commit 266bbfc884.
2023-09-19 16:52:52 +02:00
Claire
38fe6ecd05 Fix post edits not being forwarded as expected (#26936) 2023-09-15 19:54:32 +02:00
Robert R George
6fb81e40fd Added admin api for managing tags (#26872) 2023-09-13 11:22:53 +02:00
jsgoldstein
d97f736733 Add search tests (#26703) 2023-09-08 16:17:55 +02:00
Eugen Rochko
15ce240dae Fix account_id, max_id and min_id params not working in search (#26847) 2023-09-08 14:25:00 +02:00
Claire
d45dd56874 Fix performances of profile directory (#26842) 2023-09-07 18:55:25 +02:00
Claire
aaa4b77b04 Simplify Account.by_recent_status and Account.by_recent_sign_in scopes (#26840) 2023-09-07 15:38:11 +02:00
Claire
b6409b51a3 Fix blocked domain appears from account feed (#26823)
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-09-06 21:04:48 +02:00
Claire
bd83df7fd1 Fix moderator rights inconsistencies (#26729) 2023-09-06 16:40:19 +02:00
Eugen Rochko
a93f7392fd Add in:library syntax to search (#26760)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-09-04 17:20:35 +02:00
Christian Schmidt
e51426c1dc Fix invalid Content-Type header for WebP images (#26773) 2023-09-04 09:46:33 +02:00
Claire
97238e3496 Add admin notifications for new Mastodon versions (#26582) 2023-09-01 17:47:07 +02:00
Eugen Rochko
1f57ff8dd1 Fix unmatched quotes and prefixes causing search to fail (#26701) 2023-09-01 09:43:12 +02:00
Daniel M Brasil
8ad87eeb93 Fix /api/v1/timelines/tag/:hashtag allowing for unauthenticated access when public preview is disabled (#26237) 2023-08-31 13:53:24 +02:00
Tyler Deitz
a50d3d877f Add avatar image to webfinger responses (#26558) 2023-08-31 13:46:27 +02:00
Eugen Rochko
bafa60f5b9 Fix bad search type heuristic (#26673) 2023-08-28 17:08:37 +02:00
Claire
a9a06f5ffe Add PublicStatusesCheck to Elasticsearch index check on admin dashboard (#26650) 2023-08-25 12:01:55 +02:00
jsgoldstein
e82d84469e Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Daniel M Brasil
2e58f75da6 Fix timeout on invalid set of exclusionary parameters in /api/v1/timelines/public (#26239) 2023-08-23 15:50:23 +02:00
Nick Schonning
7f1b52c55f Update rubocop and rubocop-rspec (#26329) 2023-08-22 09:31:40 +02:00
Claire
0ce3130ef8 Add Elasticsearch cluster health check and indexes mismatch check to dashboard (#26448) 2023-08-21 16:50:22 +02:00
Claire
5458629e60 Refactor Api::V1::ProfilesController into two separate controllers (#26573) 2023-08-21 15:47:09 +02:00
Daniel M Brasil
89d2b28e0b Add ability to delete avatar or header picture via the API (#25124)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-21 08:44:35 +02:00
Renaud Chaput
f4a6879caf Allow setting a custom HTTP method in CacheBuster (#26528)
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
2023-08-18 08:18:40 +02:00
Claire
2e66d2562c Fix cached posts including stale stats (#26409) 2023-08-17 16:11:48 +02:00
Matt Jankowski
37a9c48429 Avoid connecting to a running ES instance in ES search check spec (#26413) 2023-08-09 13:15:04 +02:00
Matt Jankowski
347fc78392 Restore console behavior in test env (#26401) 2023-08-09 11:26:56 +02:00
Claire
ba9ea873c8 Fix blocking subdomains of an already-blocked domain (#26392) 2023-08-09 09:39:36 +02:00
Claire
327fe2deaf Fix list import concurrently creating lists of the same name (#26372) 2023-08-07 17:59:20 +02:00
Matt Jankowski
f444c2a206 Spec media attachment speedups (#25416) 2023-08-07 17:58:12 +02:00
Christian Schmidt
ecb00fa5ac Add alt text for preview card thumbnails (#26184) 2023-08-03 15:41:51 +02:00
Daniel M Brasil
788d7a6a2a Add GET /api/v1/instance/languages to REST API (#24443)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-03 11:25:47 +02:00
Emelia Smith
e395939ead Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252) 2023-08-02 19:32:48 +02:00
Christian Schmidt
da740ec43c Fix request URL normalisation for bare domain and 8-bit characters (#26285) 2023-08-02 19:32:29 +02:00
Christian Schmidt
20e9ed14c9 Add List-Unsubscribe email header (#26085) 2023-08-01 19:34:40 +02:00
Christian Schmidt
8674743cc0 Fix AVIF attachments (#26264) 2023-08-01 19:34:11 +02:00
Christian Schmidt
266bbfc884 Do not normalize URL before fetching it (#26219) 2023-07-31 23:17:37 +02:00
Matt Jankowski
99a8c1a01e Profiling tools configuration improvement (#25383) 2023-07-28 23:16:23 +02:00
Matt Jankowski
756255b88e Fix RSpec/EmptyExampleGroup cop (#24735) 2023-07-28 23:15:33 +02:00
Matt Jankowski
55e88a969a Add coverage for URLValidator (#25591) 2023-07-28 23:12:25 +02:00
Matt Jankowski
92e3201dea Add coverage for LanguageValidator (#25593) 2023-07-28 23:12:09 +02:00
Renaud Chaput
ece7e570ff Add end-to-end (system) tests (#25461) 2023-07-28 23:09:49 +02:00
Christian Schmidt
5062514eb8 Use original URL in preview if it redirects to 4xx page (#26200) 2023-07-28 23:02:08 +02:00
Claire
e76a4d54e3 Fix crash when processing Flag activity with no status (#26189) 2023-07-27 16:11:56 +02:00
Claire
20809d5d8c Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00
Daniel M Brasil
03c444d6e2 Migrate to request specs in /api/v2/filters (#25721) 2023-07-27 14:58:20 +02:00
Matt Jankowski
61ee553176 Use correct naming on controller concern specs (#26197) 2023-07-27 14:27:21 +02:00
Matt Jankowski
77da32bd70 Reformat large key values in service specs (#26181) 2023-07-26 09:45:50 +02:00
Matt Jankowski
ff4e952e20 Reformat large text arg in FetchLinkCardService spec (#26183) 2023-07-26 09:44:51 +02:00
Matt Jankowski
2a0b6be46a Coverage for Auth::OmniauthCallbacks controller (#26147) 2023-07-25 09:46:57 +02:00