Commit graph

2682 commits

Author SHA1 Message Date
Matt Jankowski
3c71ee9b90
Use touch_all for time column updates () 2024-12-13 08:41:42 +00:00
Matt Jankowski
4bf6af3b61
Remove unused model_have_error_on_field matcher () 2024-12-12 10:28:05 +00:00
Matt Jankowski
b51e0bc3c7
Simplify model validation specs for Report () 2024-12-12 09:09:35 +00:00
Claire
bcb3b627b9
Fix processing of mentions for post edits with an existing corresponding silent mention () 2024-12-11 12:59:29 +00:00
Matt Jankowski
ad68686bec
Simplify model validation specs for CustomFilter () 2024-12-11 09:55:35 +00:00
Matt Jankowski
f721e76d13
Avoid double request in admin/export_domain_allows controller spec () 2024-12-11 08:58:59 +00:00
Matt Jankowski
f6daf73286
Add non-matching cases to Report#history spec () 2024-12-11 08:24:50 +00:00
Christian Schmidt
a70ae28644
Support animated PNGs in media attachments () 2024-12-11 02:28:21 +00:00
Matt Jankowski
39364346bb
Add coverage for admin/terms/drafts#update and admin/terms/generates#create actions () 2024-12-10 23:09:36 +00:00
Matt Jankowski
094e2172ec
Add system spec for Admin::TermsOfService index view () 2024-12-10 23:08:14 +00:00
Matt Jankowski
e76aff7de5
Standardize uniqueness validation declaration on Mention () 2024-12-10 15:45:13 +00:00
Matt Jankowski
12eb6b0e6d
Add coverage for TermsOfServicePolicy class () 2024-12-10 15:09:44 +00:00
Matt Jankowski
66266ec6fc
Add coverage for UserMailer#terms_of_service_changed mailer () 2024-12-10 14:45:40 +00:00
Matt Jankowski
19c6cb82f6
Add coverage for Admin::DistributeTermsOfServiceNotificationWorker class () 2024-12-10 14:45:14 +00:00
Matt Jankowski
c72083ad68
Add system spec for TOS page () 2024-12-10 14:14:28 +00:00
Matt Jankowski
7d52b24569
Add coverage for AccountPin model () 2024-12-10 13:02:52 +00:00
FND
c8c916e657
Change URL truncation to account for ellipses () 2024-12-10 08:41:06 +00:00
Eugen Rochko
425311e1d9
Change referrer policy to be controlled by header in web UI () 2024-12-09 22:42:45 +00:00
Eugen Rochko
30aa0df88c
Add terms of service () 2024-12-09 10:04:46 +00:00
Eugen Rochko
796dd57e1b
Change ability to navigate of unconfirmed users () 2024-12-09 08:31:56 +00:00
Matt Jankowski
72a4da83fd
Merge duplicate custom css request specs () 2024-12-06 18:55:47 +00:00
Matt Jankowski
17c02c9210
Remove thing_type and thing_id columns from settings table () 2024-12-05 14:34:14 +00:00
Matt Jankowski
86b45a4a48
Add rel alternate rss/json links to tags show html page () 2024-12-05 11:34:49 +00:00
Claire
21f6780498
Fix deletion of unconfirmed users with Webauthn set () 2024-12-05 09:38:48 +00:00
Matt Jankowski
0fcf227a92
Add media attachment description limit to instance API response () 2024-12-04 15:10:20 +00:00
Eugen Rochko
48ea7552dd
Change hashtag trends to be stored in the database instead of redis ()
Co-authored-by: David Roetzel <david@roetzel.de>
2024-12-04 11:59:17 +00:00
Claire
c521a62b1e
Add tests for broken mention processing () 2024-12-04 09:45:35 +00:00
Matt Jankowski
e5bea68b20
Fix empty authors preview card serialization () 2024-12-04 09:05:58 +00:00
Matt Jankowski
6fddf1610c
Fix awkwardly-worded nature of scheduled too soon error () 2024-12-04 07:43:29 +00:00
Matt Jankowski
be43b01eb1
Add coverage for CustomFilter#expires_in method () 2024-12-02 21:52:17 +00:00
Matt Jankowski
2381ed55d7
Add coverage for Report#unresolved_siblings? () 2024-12-02 21:52:12 +00:00
Matt Jankowski
752d49eefe
Add coverage for api/v1/push/subscriptions#show action () 2024-12-02 15:08:41 +00:00
Jonathan de Jong
360b6d3a44
Fix exclusive lists interfering with notifications () 2024-12-02 09:26:04 +00:00
Matt Jankowski
3cd308523a
Add shared example for RankedTrend concern () 2024-12-02 00:44:14 +00:00
Calvin Lee
7f4858b339
Correctly sanitize MathML out of post content () 2024-11-28 12:02:34 +00:00
Eugen Rochko
48f3ed738f
Fix list error messages () 2024-11-28 10:13:06 +00:00
Matt Jankowski
0ea9d8164b
Remove body_class_string helper () 2024-11-26 07:19:20 +00:00
Matt Jankowski
74df47ad9c
Add coverage for Webhook validations () 2024-11-25 08:19:16 +00:00
Matt Jankowski
ab9c62e8c7
Add coverage for User validations () 2024-11-25 08:18:10 +00:00
Matt Jankowski
fd90f04f0e
Add coverage for UserRole validations () 2024-11-25 08:18:07 +00:00
Christian Schmidt
0518613dd7
LinkDetailsExtractor adjustments () 2024-11-22 08:00:14 +00:00
Christian Schmidt
7385016837
rel="me" check should be case-insenstive () 2024-11-21 14:37:25 +00:00
Emelia Smith
4517e18b79
Update dependency doorkeeper to v5.8.0 ()
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 () 2024-11-20 19:06:41 +00:00
Matt Jankowski
b66fbaeec2
Add AccountWarning case to Report#history spec () 2024-11-20 07:52:00 +00:00
Eugen Rochko
2b5faa2ba3
Change lists to reflect added and removed users retroactively () 2024-11-19 10:04:12 +00:00
Matt Jankowski
87e7ad9b8f
Add LoginActivity model spec and BrowserDetection concern shared example () 2024-11-19 09:15:05 +00:00
Matt Jankowski
425982841d
Use group/count approach in annual report classes () 2024-11-19 08:51:34 +00:00
Matt Jankowski
295ad6f19a
Prep work for coverage addition to ActivityPub::DeliveryWorker spec () 2024-11-18 16:37:21 +00:00
Matt Jankowski
30a7986569
Add coverage for fixing the thing with the dates in the search area () 2024-11-18 15:42:45 +00:00
Matt Jankowski
c0c34d35e2
Move self destruct check to config_for and add constant for verifier string () 2024-11-18 09:57:16 +00:00
Eugen Rochko
911d7dbbf6
Fix min_id and max_id causing error in search API () 2024-11-18 09:37:01 +00:00
Matt Jankowski
03ee08c2da
Use nil instead of false for datetime value in spec () 2024-11-18 09:31:25 +00:00
Matt Jankowski
be413d67de
Form::Import spec reduce factories () 2024-11-18 09:22:09 +00:00
Matt Jankowski
a1ac2a73ff
Remove remnants of embed views () 2024-11-16 20:48:10 +00:00
Matt Jankowski
9d3fcc3546
Remove unused failure action in api/base controller spec () 2024-11-15 16:10:20 +00:00
Matt Jankowski
7bd7705f59
Combine shared-setup examples across spec/controllers/auth/* specs () 2024-11-15 16:07:26 +00:00
Matt Jankowski
319109029d
Fix logic in "last used at per application" oauth token list () 2024-11-15 15:52:37 +00:00
Matt Jankowski
297ce9ef44
Move body class to shared partial for web app controller concern views () 2024-11-15 15:49:26 +00:00
Claire
f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled () 2024-11-15 15:35:30 +00:00
Matt Jankowski
766358e52b
Add coverage for malformed version cleanup in SoftwareUpdateCheckService, add helper query methods () 2024-11-14 14:03:57 +00:00
Matt Jankowski
62d65504f6
Add DomainResource class to wrap MX lookup/normalize () 2024-11-14 13:47:29 +00:00
Claire
e8b6607ece
Fix titles being escaped twice () 2024-11-14 13:28:00 +00:00
Claire
8f5cbf5370
Fix list creation limit check () 2024-11-13 10:22:11 +00:00
Matt Jankowski
a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying --with-dns-records () 2024-11-13 08:39:58 +00:00
Emelia Smith
2bd56f726a
Add client_secret_expires_at to OAuth Applications () 2024-11-12 22:06:13 +00:00
Matt Jankowski
884bbf7ae2
Prepare the way for banning a bunch of usernames () 2024-11-12 15:43:55 +00:00
Matt Jankowski
5d9dde3ec0
Add age/expiry duration constants to BulkImport class () 2024-11-12 08:57:06 +00:00
Matt Jankowski
c099797700
Use mastodon config namespace to load software update default value via config_for () 2024-11-12 08:28:31 +00:00
Matt Jankowski
c78dc23b49
Move account sensitize-related methods to concern () 2024-11-11 13:08:23 +00:00
Matt Jankowski
d033920b7e
Move account silence-related methods to concern () 2024-11-11 08:29:55 +00:00
Matt Jankowski
4ef3a1a38d
Match dependency-generator output for require_relative usage () 2024-11-08 09:55:15 +00:00
Matt Jankowski
870bb06994
Add coverage for misc serializers () 2024-11-07 15:37:26 +00:00
Matt Jankowski
41227aeb95
Update Rails to version 7.2.2 () 2024-11-07 14:58:20 +00:00
Claire
2bea74e69d
Avoid latest featured tag use on post removal unless necessary () 2024-11-06 10:51:54 +00:00
Eugen Rochko
90f4ffa31d
Fix performance of percentile calculation for annual reports () 2024-11-04 10:11:06 +00:00
Matt Jankowski
ff490daa58
Reduce factory generation in AccountStatusesFilter spec () 2024-11-04 09:00:01 +00:00
Matt Jankowski
b231c3c1bf
Drop support for ruby 3.1 () 2024-10-31 15:12:08 +00:00
Matt Jankowski
a20ac20302
Add model spec for Tombstone () 2024-10-31 13:27:47 +00:00
Eugen Rochko
c2b498a2b0
Fix IDs not being serialized as strings in annual reports API () 2024-10-31 09:38:00 +00:00
Emelia Smith
e1b7382ea6
Add userinfo oauth endpoint () 2024-10-30 14:38:10 +00:00
Matt Jankowski
babee06794
Add coverage for StatusTrend and PreviewCardTrend models, add locales class method to RankedTrend () 2024-10-29 15:46:32 +00:00
Matt Jankowski
df3b954720
Add DomainHelpers spec support module for DNS/MX stub () 2024-10-29 15:35:25 +00:00
Emelia Smith
d94a367aeb
Add test coverage for POST /api/v2/media's max description length () 2024-10-29 09:25:38 +00:00
Matt Jankowski
b107fc2e65
Use nil for timestamp column in admin/confirmations spec () 2024-10-29 08:54:30 +00:00
Matt Jankowski
1edb527072
Enhance coverage for StatusPin model () 2024-10-28 07:34:58 +00:00
Jonny Saunders
9074c1fac9
Use likes and shares totalItems on status creations and updates () 2024-10-28 04:55:18 +00:00
Matt Jankowski
1775e151ec
Simplify model validation specs for DomainAllow () 2024-10-25 08:42:14 +00:00
Matt Jankowski
9464281f29
Simplify model validation specs for AccountStatusCleanupPolicy () 2024-10-25 08:41:24 +00:00
Matt Jankowski
15f6336cdd
Simplify model validation specs for AccountMigration () 2024-10-25 08:02:13 +00:00
Matt Jankowski
86132f7dd3
Provide establish_policy helper method in AccountStatusesCleanupPolicy spec () 2024-10-25 08:00:58 +00:00
Matt Jankowski
2a13d6824c
Use subject for FeedManager lib spec () 2024-10-25 07:59:31 +00:00
Matt Jankowski
2e3bbb6861
Move account suspension related coverage to concern spec () 2024-10-25 07:58:41 +00:00
Matt Jankowski
4134ccdbe0
Simplify model validation specs for WebauthnCredential () 2024-10-25 07:55:45 +00:00
Matt Jankowski
e5be4bf8d8
Simplify model validation specs for PreviewCard () 2024-10-25 07:55:33 +00:00
Matt Jankowski
37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote () 2024-10-24 12:52:38 +00:00
Matt Jankowski
dea6c454fd
Contribute more coverage for Account model () 2024-10-24 12:47:06 +00:00
Matt Jankowski
b16435e79f
Explore more resplendent model validation specs for Form::AdminSettings () 2024-10-24 12:44:13 +00:00
Matt Jankowski
67504dbf9c
Simplify uniqueness validation spec for IpBlock () 2024-10-24 12:43:40 +00:00
Matt Jankowski
5c910dc82e
Add coverage for DatabaseHelper primary/replica methods () 2024-10-24 08:04:29 +00:00