Commit Graph

3366 Commits

Author SHA1 Message Date
Claire
f740611820 Merge commit 'd0753ec276502ea28a1e853cbc6487020a0602e3' into glitch-soc/merge-upstream 2024-11-24 18:56:15 +01:00
Claire
6374937147 Merge commit 'e68b26c8df2056182564abcee230927ed53200c8' into glitch-soc/merge-upstream
Conflicts:
- `app/models/trends/statuses.rb`:
  Upstream added a date restriction to trendable posts, while glitch-soc had
  slightly different conditions.
  Added the date restriction to glitch-soc's conditions.
2024-11-24 16:46:28 +01:00
Christian Schmidt
0518613dd7
LinkDetailsExtractor adjustments (#31357) 2024-11-22 08:00:14 +00:00
Christian Schmidt
7385016837
rel="me" check should be case-insenstive (#32238) 2024-11-21 14:37:25 +00:00
Emelia Smith
4517e18b79
Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:48:30 +00:00
Paulo Vilarinho
2526b32ad3
block scheduled status from frozen users (#30729) 2024-11-20 19:06:41 +00:00
Matt Jankowski
b66fbaeec2
Add AccountWarning case to Report#history spec (#32984) 2024-11-20 07:52:00 +00:00
Eugen Rochko
2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 2024-11-19 10:04:12 +00:00
Matt Jankowski
87e7ad9b8f
Add LoginActivity model spec and BrowserDetection concern shared example (#32959) 2024-11-19 09:15:05 +00:00
Matt Jankowski
425982841d
Use group/count approach in annual report classes (#32914) 2024-11-19 08:51:34 +00:00
Matt Jankowski
295ad6f19a
Prep work for coverage addition to ActivityPub::DeliveryWorker spec (#32944) 2024-11-18 16:37:21 +00:00
Matt Jankowski
30a7986569
Add coverage for fixing the thing with the dates in the search area (#32958) 2024-11-18 15:42:45 +00:00
Matt Jankowski
c0c34d35e2
Move self destruct check to config_for and add constant for verifier string (#32943) 2024-11-18 09:57:16 +00:00
Eugen Rochko
911d7dbbf6
Fix min_id and max_id causing error in search API (#32857) 2024-11-18 09:37:01 +00:00
Matt Jankowski
03ee08c2da
Use nil instead of false for datetime value in spec (#32926) 2024-11-18 09:31:25 +00:00
Matt Jankowski
be413d67de
Form::Import spec reduce factories (#32924) 2024-11-18 09:22:09 +00:00
Matt Jankowski
a1ac2a73ff
Remove remnants of embed views (#32419) 2024-11-16 20:48:10 +00:00
Claire
4f1242964b Merge commit '44d92fa4f6aac5c45ad358287af48cd879f5665e' into glitch-soc/merge-upstream 2024-11-15 18:44:32 +01:00
Matt Jankowski
9d3fcc3546
Remove unused failure action in api/base controller spec (#32905) 2024-11-15 16:10:20 +00:00
Matt Jankowski
7bd7705f59
Combine shared-setup examples across spec/controllers/auth/* specs (#32906) 2024-11-15 16:07:26 +00:00
Matt Jankowski
319109029d
Fix logic in "last used at per application" oauth token list (#32912) 2024-11-15 15:52:37 +00:00
Matt Jankowski
297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 2024-11-15 15:49:26 +00:00
Claire
f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 2024-11-15 15:35:30 +00:00
Matt Jankowski
766358e52b
Add coverage for malformed version cleanup in SoftwareUpdateCheckService, add helper query methods (#32876) 2024-11-14 14:03:57 +00:00
Matt Jankowski
62d65504f6
Add DomainResource class to wrap MX lookup/normalize (#32864) 2024-11-14 13:47:29 +00:00
Claire
e8b6607ece
Fix titles being escaped twice (#32889) 2024-11-14 13:28:00 +00:00
Claire
8f5cbf5370
Fix list creation limit check (#32869) 2024-11-13 10:22:11 +00:00
Matt Jankowski
a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying --with-dns-records (#32863) 2024-11-13 08:39:58 +00:00
Emelia Smith
2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 2024-11-12 22:06:13 +00:00
Matt Jankowski
884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 2024-11-12 15:43:55 +00:00
Matt Jankowski
5d9dde3ec0
Add age/expiry duration constants to BulkImport class (#32839) 2024-11-12 08:57:06 +00:00
Matt Jankowski
c099797700
Use mastodon config namespace to load software update default value via config_for (#30534) 2024-11-12 08:28:31 +00:00
Matt Jankowski
c78dc23b49
Move account sensitize-related methods to concern (#28865) 2024-11-11 13:08:23 +00:00
Matt Jankowski
d033920b7e
Move account silence-related methods to concern (#28866) 2024-11-11 08:29:55 +00:00
Claire
f0f807cec7 Merge commit '1e71c4e247eb8900a718b04113ffce9c1b8ad2f4' into glitch-soc/merge-upstream 2024-11-10 13:18:43 +01:00
Matt Jankowski
4ef3a1a38d
Match dependency-generator output for require_relative usage (#32800) 2024-11-08 09:55:15 +00:00
Matt Jankowski
870bb06994
Add coverage for misc serializers (#32781) 2024-11-07 15:37:26 +00:00
Matt Jankowski
41227aeb95
Update Rails to version 7.2.2 (#30391) 2024-11-07 14:58:20 +00:00
Claire
2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 2024-11-06 10:51:54 +00:00
Eugen Rochko
90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 2024-11-04 10:11:06 +00:00
Matt Jankowski
ff490daa58
Reduce factory generation in AccountStatusesFilter spec (#32727) 2024-11-04 09:00:01 +00:00
Claire
f624ef2778 Merge commit 'b06fd54c305915527e3a6edc575dc23b623143ef' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/formatting_helper.rb`:
  Upstream wrapped some code glitch-soc had modified in an OTEL instrumentation span.
  Wrapped the modified code.
2024-11-03 20:51:58 +01:00
Matt Jankowski
b231c3c1bf
Drop support for ruby 3.1 (#32363) 2024-10-31 15:12:08 +00:00
Matt Jankowski
a20ac20302
Add model spec for Tombstone (#32697) 2024-10-31 13:27:47 +00:00
Eugen Rochko
c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 2024-10-31 09:38:00 +00:00
Emelia Smith
e1b7382ea6
Add userinfo oauth endpoint (#32548) 2024-10-30 14:38:10 +00:00
Matt Jankowski
babee06794
Add coverage for StatusTrend and PreviewCardTrend models, add locales class method to RankedTrend (#32688) 2024-10-29 15:46:32 +00:00
Matt Jankowski
df3b954720
Add DomainHelpers spec support module for DNS/MX stub (#32690) 2024-10-29 15:35:25 +00:00
Emelia Smith
d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 2024-10-29 09:25:38 +00:00
Matt Jankowski
b107fc2e65
Use nil for timestamp column in admin/confirmations spec (#32682) 2024-10-29 08:54:30 +00:00