Commit Graph

2728 Commits (ffaf458f9938eabaa188743e187eaae21a1371b2)

Author SHA1 Message Date
Matt Jankowski 7ad44e22ed
Remove role color highlighting from custom css (#33493) 2025-01-07 16:28:35 +00:00
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 2025-01-06 23:25:13 +00:00
Matt Jankowski 82d2ce293d
Convert `admin/warning_presets` spec controller->system (#33474) 2025-01-06 18:24:54 +00:00
Matt Jankowski ef39398b82
Add `urgent` scope and `by_version` method to `SoftwareUpdate` (#33470) 2025-01-06 18:23:57 +00:00
Claire dbbf450ef5
Fix `fediverse:creator` metadata not showing up in REST API (#33466) 2025-01-06 10:04:25 +00:00
Matt Jankowski 08dd11f8d4
Use `in_order_of` with `filter: false` in `AccountSummary.localized` (#33446) 2025-01-06 08:18:05 +00:00
zunda f16fbc069a
Use configured limit for number of profile fields (#33463) 2025-01-06 04:47:10 +00:00
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name (#33421) 2025-01-04 19:42:27 +00:00
Matt Jankowski 535866218e
Update `rails` to version 8.0.1 (#32357) 2025-01-03 16:08:21 +00:00
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 2025-01-03 08:28:14 +00:00
Matt Jankowski 8e3fd1b823
Convert `disputes/appeals` spec controller->system (#33434) 2025-01-02 16:08:25 +00:00
Matt Jankowski 1fbd106af9
Convert `admin/report_notes` spec controller->system (#33433) 2025-01-02 15:54:21 +00:00
Matt Jankowski 00a8a5467c
Convert `admin/relays` spec controller->system (#33430) 2025-01-02 15:01:44 +00:00
Matt Jankowski 2e936785b7
Convert `admin/rules` spec controller->system (#33377) 2025-01-02 12:57:55 +00:00
Claire f9fef9864a
Fix intermittent failure on ap/activity/update spec timestamp check (#33425) 2025-01-02 09:17:49 +00:00
Matt Jankowski 441dcd7396
Fix intermittent failure on ap/activity/create spec timestamp check (#33406) 2025-01-02 08:38:22 +00:00
Matt Jankowski 8770905186
Convert `admin/ip_blocks` spec controller->system (#33376) 2024-12-20 15:36:19 +00:00
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope (#33368) 2024-12-20 15:15:11 +00:00
Matt Jankowski d2fbf42b0e
Avoid `validate: false` save in expired poll create activity spec (#33367) 2024-12-20 13:34:05 +00:00
Claire 344e2903b3
Fix featured tags for remote accounts not being kept up to date (#33372) 2024-12-20 11:50:31 +00:00
Matt Jankowski d31d988e24
Add coverage for `UserMailer` not delivering to memorialized users (#33366)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-20 10:27:40 +00:00
Matt Jankowski 28d309fd86
Add shared example for `Expireable` concern (#33369) 2024-12-20 08:21:34 +00:00
Matt Jankowski 87c892191a
Convert `admin/domain_allows` spec controller->system (#33365) 2024-12-20 08:04:22 +00:00
Matt Jankowski 1acc54cfc7
Convert `admin/webhooks` spec controller->system (#33364) 2024-12-20 07:52:16 +00:00
Matt Jankowski 03bf4cde55
Convert `statuses_cleanup` controller specs to system specs (#33363) 2024-12-19 13:34:54 +00:00
Matt Jankowski 0ac43700d8
Add coverage for `REST::AnnualReportEventSerializer` and two `ActivityPub::*` serializers (#33355)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-19 12:30:09 +00:00
Matt Jankowski 22caddaa24
Update user role position range limit (#33349) 2024-12-19 08:10:39 +00:00
Matt Jankowski aee64a465c
Remove unused `Poll.unattached` scope (#33350) 2024-12-19 08:10:06 +00:00
Matt Jankowski 545a6b9eed
Convert `admin/account_moderation_notes` spec controller->system (#33354) 2024-12-19 08:02:08 +00:00
Matt Jankowski 668ce14ff2
Convert `admin/custom_emojis` spec controller->system (#33327) 2024-12-18 08:34:15 +00:00
Matt Jankowski ca2a7d66b8
Fix missing value limits for `UserRole` position (#33172) 2024-12-18 08:29:27 +00:00
Matt Jankowski d65e246192
Convert `statuses#activity` action controller to request spec (#33336) 2024-12-17 16:37:30 +00:00
Matt Jankowski 0085e8c427
Wrap assertions in `change` within `AccountStatusesCleanupPolicy` spec (#33335) 2024-12-17 16:25:02 +00:00
Matt Jankowski ce5c33c65d
Add API datetime/format matcher for serialization specs, reduce factories (#33325) 2024-12-17 13:38:57 +00:00
Claire 1712543c68
Revert "Support animated PNGs in media attachments (#28516)" (#33334) 2024-12-17 10:52:59 +00:00
Matt Jankowski 60bb51eef8
Convert `filters` spec controller->system (#33326) 2024-12-17 09:20:01 +00:00
Matt Jankowski a7673d361d
Fix `application_id` erroneous inclusion in `ScheduledStatusSerializer` (#33159) 2024-12-17 08:54:07 +00:00
Matt Jankowski efe4e72f93
Convert `settings/preferences/appearance` controller spec to system (#33323) 2024-12-16 17:08:19 +00:00
Matt Jankowski 9067a7f696
Convert `settings/preferences/notifications` controller spec to system (#33322) 2024-12-16 16:24:05 +00:00
Matt Jankowski bfef66276a
Convert `settings/preferences/other` controller spec to system (#33321) 2024-12-16 16:23:26 +00:00
Matt Jankowski c68eb82ffa
Use explicit config loading from `bin/rubocop` (#33256) 2024-12-16 13:50:58 +00:00
Matt Jankowski a596f3479b
Convert `settings/login_activities` controller spec to system spec (#33306) 2024-12-16 08:12:36 +00:00
Matt Jankowski 3d00b95359
Convert `settings/profiles` controller spec to system spec (#33305) 2024-12-16 08:11:48 +00:00
Nik Clayton 5cf37248cc
Ensure datetime/date are serialized to correct format (#33086) 2024-12-14 15:50:41 +00:00
Matt Jankowski 4130bda12e
Convert `settings/verifications` controller spec to system spec (#33285) 2024-12-13 10:39:07 +00:00
Matt Jankowski 1bd9306ced
Add coverage for `Tag` model validations on name/display_name (#33291) 2024-12-13 09:21:55 +00:00
Matt Jankowski 3c71ee9b90
Use `touch_all` for time column updates (#33295) 2024-12-13 08:41:42 +00:00
Matt Jankowski 4bf6af3b61
Remove unused `model_have_error_on_field` matcher (#33273) 2024-12-12 10:28:05 +00:00
Matt Jankowski b51e0bc3c7
Simplify model validation specs for `Report` (#33267) 2024-12-12 09:09:35 +00:00
Claire bcb3b627b9
Fix processing of mentions for post edits with an existing corresponding silent mention (#33227) 2024-12-11 12:59:29 +00:00
Matt Jankowski ad68686bec
Simplify model validation specs for `CustomFilter` (#33248) 2024-12-11 09:55:35 +00:00
Matt Jankowski f721e76d13
Avoid double request in `admin/export_domain_allows` controller spec (#33255) 2024-12-11 08:58:59 +00:00
Matt Jankowski f6daf73286
Add non-matching cases to `Report#history` spec (#33253) 2024-12-11 08:24:50 +00:00
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 2024-12-11 02:28:21 +00:00
Matt Jankowski 39364346bb
Add coverage for admin/terms/drafts#update and admin/terms/generates#create actions (#33251) 2024-12-10 23:09:36 +00:00
Matt Jankowski 094e2172ec
Add system spec for `Admin::TermsOfService` index view (#33250) 2024-12-10 23:08:14 +00:00
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` (#33247) 2024-12-10 15:45:13 +00:00
Matt Jankowski 12eb6b0e6d
Add coverage for `TermsOfServicePolicy` class (#33241) 2024-12-10 15:09:44 +00:00
Matt Jankowski 66266ec6fc
Add coverage for `UserMailer#terms_of_service_changed` mailer (#33242) 2024-12-10 14:45:40 +00:00
Matt Jankowski 19c6cb82f6
Add coverage for `Admin::DistributeTermsOfServiceNotificationWorker` class (#33245) 2024-12-10 14:45:14 +00:00
Matt Jankowski c72083ad68
Add system spec for TOS page (#33243) 2024-12-10 14:14:28 +00:00
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model (#33231) 2024-12-10 13:02:52 +00:00
FND c8c916e657
Change URL truncation to account for ellipses (#33229) 2024-12-10 08:41:06 +00:00
Eugen Rochko 425311e1d9
Change referrer policy to be controlled by header in web UI (#33214) 2024-12-09 22:42:45 +00:00
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 2024-12-09 10:04:46 +00:00
Eugen Rochko 796dd57e1b
Change ability to navigate of unconfirmed users (#33209) 2024-12-09 08:31:56 +00:00
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 2024-12-06 18:55:47 +00:00
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 2024-12-05 14:34:14 +00:00
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 2024-12-05 11:34:49 +00:00
Claire 21f6780498
Fix deletion of unconfirmed users with Webauthn set (#33186) 2024-12-05 09:38:48 +00:00
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 2024-12-04 15:10:20 +00:00
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
2024-12-04 11:59:17 +00:00
Claire c521a62b1e
Add tests for broken mention processing (#33171) 2024-12-04 09:45:35 +00:00
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 2024-12-04 09:05:58 +00:00
Matt Jankowski 6fddf1610c
Fix awkwardly-worded nature of scheduled too soon error (#33156) 2024-12-04 07:43:29 +00:00
Matt Jankowski be43b01eb1
Add coverage for `CustomFilter#expires_in` method (#33142) 2024-12-02 21:52:17 +00:00
Matt Jankowski 2381ed55d7
Add coverage for `Report#unresolved_siblings?` (#33141) 2024-12-02 21:52:12 +00:00
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 2024-12-02 15:08:41 +00:00
Jonathan de Jong 360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 2024-12-02 09:26:04 +00:00
Matt Jankowski 3cd308523a
Add shared example for `RankedTrend` concern (#33125) 2024-12-02 00:44:14 +00:00
Calvin Lee 7f4858b339
Correctly sanitize MathML out of post content (#27107) 2024-11-28 12:02:34 +00:00
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 2024-11-28 10:13:06 +00:00
Matt Jankowski 0ea9d8164b
Remove `body_class_string` helper (#33072) 2024-11-26 07:19:20 +00:00
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 2024-11-25 08:19:16 +00:00
Matt Jankowski ab9c62e8c7
Add coverage for `User` validations (#33028) 2024-11-25 08:18:10 +00:00
Matt Jankowski fd90f04f0e
Add coverage for `UserRole` validations (#33029) 2024-11-25 08:18:07 +00: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