Commit Graph

3291 Commits

Author SHA1 Message Date
Claire 0d69cc068c Merge commit '26f25ef4bafd5ad84d03d8cb7ad0d868360175e5' into glitch-soc/stable-4.3
Conflicts:
- `app/javascript/styles/mastodon/components.scss`:
  Conflict caused by glitch-soc changing the path to images, and upstream
  removing styling using such an image.
  Removed the styling as upstream did.
- `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-12-02 21:49:12 +01:00
Claire cc5c125cc7 Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 2024-12-02 16:20:32 +01:00
Claire 5b6b23eeef Fix titles being escaped twice (#32889) 2024-12-02 16:20:32 +01:00
Claire 0cbf03efa7 Fix list creation limit check (#32869) 2024-12-02 16:20:32 +01:00
Matt Jankowski 90f2c7a1e9 Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 2024-12-02 16:20:32 +01:00
Matt Jankowski f0d734cc6e Add `DomainHelpers` spec support module for DNS/MX stub (#32690) 2024-12-02 16:20:32 +01:00
Eugen Rochko 0720ef5f62 Fix `min_id` and `max_id` causing error in search API (#32857) 2024-12-02 16:20:32 +01:00
Claire dc9a106d4c Avoid latest featured tag use on post removal unless necessary (#32787) 2024-12-02 16:20:32 +01:00
Leni Kadali 74f9f7c600 Add error message when user tries to follow their own account (#31910) 2024-12-02 16:20:32 +01:00
Emelia Smith ea1b598246 Add client_secret_expires_at to OAuth Applications (#30317) 2024-12-02 16:20:32 +01:00
Claire 198283a188 Merge commit '36452845d78f6c3501af1e39391d06ab88a45a5a' into glitch-soc/backports-4.3
Conflicts:
- `.env.production.sample`:
  Upstream added a block of three environment variables, while
  glitch-soc has a different version of the file overall.
  Added upstream's changes.
2024-10-16 12:42:12 +02:00
Matt Jankowski 41e342a88f Convert `admin/invites` controller specs to system specs (#32450) 2024-10-16 12:40:58 +02:00
Matt Jankowski 9258ee8847 Improve `app/policies` coverage (#32426) 2024-10-16 12:40:58 +02:00
Matt Jankowski 6d72c13a4d Convert status embed controller to request spec (#32448) 2024-10-16 12:40:58 +02:00
Matt Jankowski 527d1253bf Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` spec (#32488) 2024-10-16 12:40:58 +02:00
Matt Jankowski ae676edc2b Expand coverage for `User#token_for_app` (#32434) 2024-10-16 12:40:58 +02:00
Matt Jankowski 63df649fe5 Expand coverage for `Block` model (#32480) 2024-10-16 12:40:58 +02:00
Christian Schmidt 0ff427fab3 Translate to regional language variant (e.g. pt-BR) (#32428) 2024-10-16 12:40:58 +02:00
Matt Jankowski dc2f9eef77 Reduce factories (36 > 12) in `AccountReachFinder` spec (#32482) 2024-10-16 12:40:58 +02:00
Matt Jankowski ff1247ad16 Use `context` for repeated scenarios in `AccountStatusCleanupPolicy` spec (#32489) 2024-10-16 12:40:58 +02:00
Matt Jankowski fbe55a4545 Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 2024-10-16 12:40:58 +02:00
Matt Jankowski a72819660a Reduce factory creation (48 -> 8) in `AP::Note` serializer spec (#32492) 2024-10-16 12:40:58 +02:00
Matt Jankowski c292ed07fe Expand coverage for `Scheduler::IpCleanupScheduler` worker (#32499) 2024-10-16 12:40:58 +02:00
Matt Jankowski 2d008108a4 Reduce factory creation (132 -> 40) in lib/vacuum/* specs (#32498) 2024-10-16 12:40:58 +02:00
Matt Jankowski 0c59ef44b1 Extend spec coverage for `Poll` model (#32500) 2024-10-16 12:40:58 +02:00
Claire b091e531a5 Merge commit '49b3d5692e6f217e6506674ad8a623a4ba8d0c5f' into glitch-soc/backports-4.3 2024-10-15 17:42:22 +02:00
Matt Jankowski 5ee72f0e2d Convert `admin/tags` controller specs to system specs (#32447) 2024-10-15 11:57:59 +02:00
Claire b40adb4a89 Merge commit 'f99da81ef8b14a851347503d4177f83322c16d9a' into glitch-soc/stable-4.3 2024-10-14 19:18:08 +02:00
Claire e5e0144957 Fix notification requests from suspended accounts still being listed (#32354) 2024-10-14 13:14:38 +02:00
Claire 94c69bba25 Merge branch 'stable-4.3' into glitch-soc/backports-4.3 2024-10-08 13:19:29 +02:00
Matt Jankowski fc5b558b32 Reduce factory usage across `spec/services` area (#32098) 2024-10-08 10:44:32 +02:00
Claire 4a859140ec Merge commit 'edcf3d9234b03d6b1c4b29d1d15339f7f64040fb' into glitch-soc/backports-4.3 2024-10-07 20:03:53 +02:00
Matt Jankowski 25de2f57ee Add coverage for missing status scenario in NotificationMailer (#32256) 2024-10-07 10:54:23 +02:00
Claire dfe851b476 Merge branch 'stable-4.3' into glitch-soc/backports-4.3
Conflicts:
- `app/helpers/application_helper.rb`:
  Upstream added a helper where glitch-soc had its own, not really
  a conflict.
  Added upstream's helper.
2024-10-05 20:45:05 +02:00
Matt Jankowski aa46348c03 Enable hostname config for all system specs (#32109) 2024-10-04 17:48:03 +02:00
Matt Jankowski ceba0f082e Provide `use_path` to qr generator for svg data size reduction (#32127) 2024-10-04 17:48:03 +02:00
Matt Jankowski 7de8d5ffca Add `relevant_params` to ReportFilter (matches account filter) (#32136) 2024-10-04 17:48:03 +02:00
Matt Jankowski f07707a9bb Extract `WebPushRequest` from push notification worker and subscription (#32208) 2024-10-04 17:48:03 +02:00
Matt Jankowski 243a85ec8d Expand coverage for `Export` utility class (#32212) 2024-10-04 17:48:03 +02:00
Christian Schmidt cbf1349370 Support /.well-known/host-meta.json (#32206) 2024-10-04 17:48:03 +02:00
Jeong Arm b8fdffe824 Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-04 17:48:03 +02:00
David Roetzel ce2481a81b Move OTP secret length to configuration (#32125) 2024-10-04 17:48:03 +02:00
Claire 7ef25ae53b Merge commit '9d664f87a04b6a5157ddbe60ee33b5b7a960198e' into glitch-soc/merge-upstream 2024-09-29 11:06:09 +02:00
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec (#32108) 2024-09-27 08:22:40 +00:00
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 2024-09-26 19:27:57 +00:00
Matt Jankowski db57fe80c8
Remove `page_json` var from ap/replies spec (#32000) 2024-09-26 08:54:01 +00:00
Claire 633165ba9c Merge commit '28966fa0a6d7b98ee94696acdc79e45449ce8349' into glitch-soc/merge-upstream 2024-09-25 17:41:37 +02:00
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 2024-09-25 15:21:11 +00:00
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 2024-09-25 13:54:22 +00:00
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 2024-09-25 13:35:37 +00:00