2001 Commits (74fd46d3ab27c0ffe1bed6d0eae2bf1a25d5a20c)

Author SHA1 Message Date
Matt Jankowski 88d33f361f
Fix Lint/DuplicateBranch cop (#24766)
2 years ago
Claire 32a030dd74
Rewrite import feature (#21054)
2 years ago
Matt Jankowski d902a707a3
Fix Rails/CompactBlank cop (#24690)
2 years ago
Matt Jankowski af824db398
Fix Rails/InverseOf cop (#24732)
2 years ago
Claire 12b935fadf Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 (#24237)
2 years ago
Claire abfdafef1e Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire b0eba1a060
Minor clean up and optimization of the automatic post deletion code (#24613)
2 years ago
Robert R George 4db8230194
Add trend management to admin API (#24257)
2 years ago
Heitor de Melo Cardozo bc75e62ca6
Change moderation search an account using the username with @ (#24242)
2 years ago
Claire f9a9f9344b Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire f53d009778
Refactor `Status._insert_record` slightly and tighten the test around reblogs of discarded statuses (#24516)
2 years ago
Kuba Suder aca2cd1528
fixed typo in a constant name (#24511)
2 years ago
Claire ff168ef202
Fix most rubocop issues (#2165)
2 years ago
Claire d13ef49b15 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 0e919397db
Fix unescaped user input in LDAP query (#24379)
2 years ago
Claire 3dcba94e68 Migrate glitch-soc's exclusive user settings
2 years ago
Claire 01d6f7529f Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Nick Schonning cb2ce842b0
Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761)
2 years ago
Christian Schmidt b4f38edf74
Wrong type for user setting when default is defined by lambda (#24321)
2 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
2 years ago
Claire e084b5b82d
Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support (#24200)
2 years ago
Eugen Rochko 9bda933740
Change media upload limits and remove client-side resizing (#23726)
2 years ago
Claire 5ac380c122 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 2626097869
Fix Rails cache namespace being overriden with `v2` for cached statuses (#24202)
2 years ago
Takeshi Umeda 38c84f57b6
Refactoring relations_map (#24195)
2 years ago
Vyr Cossont 94cbd808b5
Webhooks for local status.create, status.update, account.update (#24133)
2 years ago
Claire 193250556c Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 75e5a6e437
Change user backups to use expiring URLs for download when possible (#24136)
2 years ago
Christian Schmidt bd047acc35
Replace `Status#translatable?` with language matrix in separate endpoint (#24037)
2 years ago
Claire 3ef5f62abf Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 86f8aa2db2
Fix unconfirmed accounts being registered as active users (#23803)
2 years ago
Claire 7623e18124 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations (#23616)
2 years ago
Christian Schmidt 5a8c651e8f
Only offer translation for supported languages (#23879)
2 years ago
Claire 6b16b77ab0
Fix external authentication not running onboarding code for new users (#23458)
2 years ago
Claire f8bb4d0d6b
Fix server error when failing to follow back followers from `/relationships` (#23787)
2 years ago
Claire c2a046ded1
Fix “Remove all followers from the selected domains” being more destructive than it claims (#23805)
2 years ago
Claire 276c1d32d6 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Matt Jankowski af578e8ce0
Fix deprecation warning about merging conditions (#23618)
2 years ago
Matt Jankowski 4bb39ac3c3
Fix single-record invalid condition on PollVote (#23810)
2 years ago
Claire 4ed09276d5 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire f682478de8
Fix inefficiency when searching accounts per username in admin interface (#23801)
2 years ago
Nick Schonning 9909b4b653
Autofix Rubocop Rails/WhereEquals (#23759)
2 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679)
2 years ago
Nick Schonning d2dcb6c45a
Autofix Rubocop Style/UnpackFirst (#23741)
2 years ago
Nick Schonning 63e6353886
Autofix Rubocop Rails/EnumHash (#23737)
2 years ago
Nick Schonning 597767a9f7
Autofix Rubocop Rails/RedundantForeignKey (#23731)
2 years ago
Claire 7452a95998 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703)
2 years ago
Nick Schonning ab7816a414
Autofix Rubocop Style/Lambda (#23696)
2 years ago
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697)
2 years ago
Nick Schonning a6f77aa28a
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)
2 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632)
2 years ago
Aaron Patterson fb8503e861
Upgrade to Ruby 3.2 (#22928)
2 years ago
Claire 4ceadc65b0 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire a9c220242b
Fix admin-set follow recommandations being case-sensitive (#23500)
2 years ago
Claire 67de888bad
Fix server status URL being a required server setting (#23499)
2 years ago
Claire 85558a5e18 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Nick Schonning 0592937264
Apply Rubocop Rails/WhereNot (#23448)
2 years ago
Nick Schonning 0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock (#23441)
2 years ago
Nick Schonning f68bb52556
Apply Rubocop Style/NegatedIfElseCondition (#23451)
2 years ago
Nick Schonning 8c1b65c7dd
Apply Rubocop Style/RedundantAssignment (#23452)
2 years ago
Nick Schonning cec005068f
Apply Rubocop Performance/RedundantBlockCall (#23440)
2 years ago
Nick Schonning ed570050c6
Autofix Rails/EagerEvaluationLogMessage (#23429)
2 years ago
Eugen Rochko 8f590b0a21
Add setting for status page URL (#23390)
2 years ago
Claire fad6633156 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 13a2abacc8
Add `roles` attribute to Account entities in REST API (#23255)
2 years ago
Claire 3074338d79 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 6883fddb19
Fix account activation being triggered before email confirmation (#23245)
2 years ago
Claire 3fd3e88b25 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Jeong Arm a1abda39dd
Fix Account Strike causing PG not null validation error (#23178)
2 years ago
Claire 60abcb3c4c Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 3970a6f433
Add option to make the landing page be /about even when trends are enabled (#20808)
2 years ago
Claire 343e1fe8e9
Add confirmation screen when handling reports (#22375)
2 years ago
Claire d1387579b9
Fix situations in which instance actor can be set to a Mastodon-incompatible name (#22307)
2 years ago
Claire fcc4c9b34a
Change domain block CSV parsing to be more robust and handle more lists (#21470)
2 years ago
Claire ab59743c13 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
David Freedman ff70e50199
Don't crash on unobtainable avatars (#22462)
2 years ago
Claire 21a1a8ee88
Fix crash when marking statuses as sensitive while some statuses are deleted (#22134)
2 years ago
Claire 3e63fcd4f0 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Kaspar V ae62e5fa53
Fix/remove calling private method with send in model (#22951)
2 years ago
Claire 9765d2b3f8 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Darius Kazemi 264655c53a
Fix account search not returning followed accounts first (#22956)
2 years ago
Claire 6c20dad201 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire acec1fb745
Fix site upload validations (#22479)
2 years ago
Claire 3654c94583
Strip spaces around URL when adding a relay (#22655)
2 years ago
Alexander Ivanov 8eb29741b4
Add webhook `account.approved` (#22938)
2 years ago
Partho Ghosh 115ab2869b
Fix ・ detection in hashtag regex to construct hashtag correctly (#22888)
2 years ago
Claire f3a4d57be1 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 70415714f1
Add follow request banner on account header (#20785)
2 years ago
Claire 2644a28cb3
Change remote media files to be downloaded outside of transactions (#21796)
2 years ago
Jeong Arm 3656a6b9cc
Add "disabled" user filter for admin/accounts UI (#21282)
2 years ago
Jeong Arm d412147d02
Save avatar or header correctly even if other one fails (#18465)
2 years ago
Francis Murillo 5fb1c3e934
Revoke all authorized applications on password reset (#21325)
2 years ago
Claire e877bb47b8 Merge branch 'main' into glitch-soc/main
2 years ago
Claire ed07f10ca8
Fix failure when “Require a reason to join” is set with open registrations (#22127)
2 years ago
Claire 9a3d91f629 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire b59fb28e90
Fix 500 error when trying to migrate to an invalid address (#21462)
2 years ago
Claire c8849d6cee
Fix unbounded recursion in account discovery (#22025)
2 years ago
Claire 69137f4a90
Fix irreversible and whole_word parameters handling in /api/v1/filters (#21988)
2 years ago
Claire fe523a3045
Fix unbounded recursion in account discovery (#1994)
2 years ago
Claire a2e7997592 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 57b893d505
Fix spaces not being stripped in admin account search (#21324)
2 years ago
Kaspar V 47f0d7021e
refactor(vacuum statuses): reduce amount of db queries and load for each query - improve performance (#21487)
2 years ago
afontenot f17fc5742e
Clear voter count when poll is reset (#21700)
2 years ago
Skyler Hawthorne 5b2ff8d32d
fix media uploads with ffmpeg 5 (#21191)
2 years ago
Claire ff42233aae Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
David Leadbeater 69378eac99
Don't allow URLs that contain non-normalized paths to be verified (#20999)
2 years ago
Claire aec61a703f Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire ab7d99e035
Fix various issues with domain block import (#1944)
2 years ago
lenore gilbert c373148b3d
Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597)
2 years ago
Claire 00b2720ef0
Change automatic post deletion configuration to be accessible to redirected users (#20774)
2 years ago
Claire 0cc77263fc
Change batch account suspension to create a strike (#20897)
2 years ago
Claire 32c70d2f09 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 552d69ad96
Fix error when invalid domain name is submitted (#19474)
2 years ago
Eugen Rochko b31afc6294
Fix error when passing unknown filter param in REST API (#20626)
2 years ago
Eugen Rochko 5c826c408d
Fix image type not being set after conversion for convertible image types (#20624)
2 years ago
Eugen Rochko 2e2ba39abf
Fix rules with same priority being sorted non-deterministically (#20623)
2 years ago
Claire 93912f0498 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Jeong Arm c4c1bee880
Fix trendable status without review (#20214)
2 years ago
Emily Strickland 96f51e593f
Guard against error extracting `body` from URL (#20428)
2 years ago
Eugen Rochko 9bc0a6c861
Fix metadata scrubbing removing color profile from images (#20389)
2 years ago
Claire 86f6631d28
Remove dead code and refactor status threading code (#20357)
2 years ago
Eugen Rochko c6c7c6223d
Change verification to only work for https links (#20304)
2 years ago
Claire c118918520 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 9965a23b04
Change link verification to ignore IDN domains (#20295)
2 years ago
James Tucker 78a6b871fe
Improve performance by avoiding regex construction (#20215)
2 years ago
Eugen Rochko 0cd0786aef
Revert filtering public timelines by locale by default (#20294)
2 years ago
Eugen Rochko e98833748e
Fix being able to spoof link verification (#20217)
2 years ago
Claire a8c854b3ea Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Postmodern ca80beb653
Micro-optimization: use `if`/`else` instead of `Array#compact` and `Array#min` (#19906)
2 years ago
Claire bbf74498f5
Fix validation error in SynchronizeFeaturedTagsCollectionWorker (#20018)
2 years ago
Claire be7032b9cf Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Postmodern 106648b456
Micro-optimization: only split `acct` into two Strings (#19901)
2 years ago
Claire 6c0a6097ff Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
nightpool 54f0f1b9ef
Skip Webfinger cache during migrations as well (#19883)
2 years ago
Claire 0ad919b192 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 3151b260e2
Fix not using GIN index for account search queries (#19830)
2 years ago
Claire c2170991c7
Fix reblogs being discarded after the reblogged status (#19731)
2 years ago
Eugen Rochko b1a219552e
Fix featured tags not saving preferred casing (#19732)
2 years ago
Claire 125322718b
Fix inaccurate admin log entry for re-sending confirmation e-mails (#19674)
2 years ago
txt-file 0f5e6dd02b
Add support for AVIF uploads (#19647)
2 years ago
Eugen Rochko ae07cfb868
Add support for HEIC uploads (#19618)
2 years ago
Eugen Rochko 15bae3e0e4
Change post-processing to be deferred only for large media types (#19617)
2 years ago
Eugen Rochko d0ba77047e
Change max. thumbnail dimensions to 640x360px (360p) (#19619)
2 years ago
Claire 1fe4e5e38c Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 26478f461c
Remove language filtering from hashtag timelines (#19563)
2 years ago
Claire eee36267d6 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko ac9fb0d654
Add reputation and followers score boost to SQL-only account search (#19251)
2 years ago
Eugen Rochko 40c7f3e830
Fix account action type validation (#19476)
2 years ago
Eugen Rochko 3b024c563c
Fix not being able to input featured tag with `#` (#19535)
2 years ago
Eugen Rochko dc5c86add7
Fix account migration form ever using outdated account data (#18429)
2 years ago
Claire 26ff48ee48 Fix domain block export not exporting blocks with only media rejection
2 years ago
Claire b514998dc1 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire cb19be67d1 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire d9d722d74b
Change admin announcement edition interface to use datetime-local (#18321)
2 years ago
Eugen Rochko 07cc201acc
Fix using wrong policy on status-related actions in admin UI (#19490)
2 years ago
Eugen Rochko 5f733ad83a
Remove unused method `searchable?` on accounts (#19489)
2 years ago
Eugen Rochko d2eb726962
Fix notifications about deleted reports not being also deleted (#19475)
2 years ago
zunda 52ebfb7792
Store integer settings as integer (#19478)
2 years ago
Eugen Rochko f8ca3bb2a1
Add ability to view previous edits of a status in admin UI (#19462)
2 years ago
Eugen Rochko 487d81fb92
Fix IP blocks not having a unique index (#19456)
2 years ago
Takeshi Umeda 74ead7d106
Change featured tag updates to add/remove activity (#19409)
2 years ago
Takeshi Umeda 53e86747e4
Fix duplicate featured tags (#19403)
2 years ago
Takeshi Umeda 1d34eff63f
Add featured tag add/remove activity handler (#19408)
2 years ago
Eugen Rochko 7c152acb2c
Change settings area to be separated into categories in admin UI (#19407)
2 years ago
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI (#19319)
2 years ago
Takeshi Umeda b0e3f0312c
Add synchronization of remote featured tags (#19380)
2 years ago
Eugen Rochko f01310dadb
Fix trending statuses returning more than one post by the same author (#19349)
2 years ago
Eugen Rochko 1bd00036c2
Change about page to be mounted in the web UI (#19345)
2 years ago
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail (#19348)
2 years ago
Yamagishi Kazutoshi 05148e2c77
Fix missing `skip_review?` (#19335)
2 years ago
Eugen Rochko 45ebdb72ca
Add support for language preferences for trending statuses and links (#18288)
2 years ago
Eugen Rochko 678fc4d292
Fix privacy policy being empty if custom setting exists but is empty (#19318)
2 years ago
Eugen Rochko a2ba011326
Change privacy policy to be rendered in web UI, add REST API (#19310)
2 years ago
Eugen Rochko 93f340a4bf
Remove setting that disables account deletes (#17683)
2 years ago
Eugen Rochko 9f65909f42
Change public timelines to be filtered by current locale by default (#19291)
2 years ago
Eugen Rochko 02ba9cfa35
Remove code for rendering public and hashtag timelines outside the web UI (#19257)
2 years ago
Claire bfc539cfb4 Revert "Change "Allow trends without prior review" setting to include statuses (#17977)"
2 years ago
Claire 221580a3af Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 1a5150e9c3
Fix content retention policy settings not accepting a blank value (#19248)
2 years ago
Eugen Rochko 0d0f3c15d3
Fix language dropdown sometimes not appearing in web UI (#19246)
2 years ago
Eugen Rochko 5c9abdeff1
Add retention policy for cached content and media (#19232)
2 years ago
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language (#19095)
2 years ago
Claire 077183a121 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 546672e292
Change "Allow trends without prior review" setting to include statuses (#17977)
2 years ago
Eugen Rochko 2a7766dcc9
Add admin API for managing e-mail domain blocks (#19066)
2 years ago
Eugen Rochko c556c3a0d1
Add admin API for managing canonical e-mail blocks (#19067)
2 years ago
Eugen Rochko b399d79545
Add admin API for managing IP blocks (#19065)
2 years ago
Eugen Rochko 0b3e4fd5de
Remove digest e-mails (#17985)
2 years ago
Eugen Rochko 5b0e8cc92b
Add ability to select all accounts matching search for batch actions (#19053)
2 years ago
Eugen Rochko 0396acf39e
Add audit log entries for user roles (#19040)
2 years ago
Claire 2d1d4210f9 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 03241d884e
Add option for EMAIL_DOMAIN_DENYLIST/EMAIL_DOMAIN_ALLOWLIST to apply after confirmation (#18642)
2 years ago
Claire 50487db122
Add ability to filter individual posts (#18945)
2 years ago
Eugen Rochko 0412a4d03e
Change e-mail domain blocks to match subdomains of blocked domains (#18979)
2 years ago
Eugen Rochko d83faa1a89
Add ability to block sign-ups from IP (#19037)
2 years ago
Claire d799fe2082 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 76ff452306
Fix unicode regression in #18809 (#18863)
2 years ago