1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-28 22:15:13 +01:00
Commit graph

288 commits

Author SHA1 Message Date
Matt Jankowski
1e19242134 Extract constants for header and avatar geometry () 2024-10-04 17:48:03 +02:00
Matt Jankowski
04a939d640
Add reviewed and unreviewed scopes to Reviewable model concern () 2024-09-20 08:51:37 +00:00
Matt Jankowski
5405bdd344
Remove unused E2EE messaging code () 2024-09-18 09:27:43 +00:00
David Roetzel
c1b2c4fd9a
Strip protocol from attribution domains () 2024-09-13 11:37:15 +00:00
Eugen Rochko
e0c27a5047
Add ability to manage which websites can credit you in link previews () 2024-09-10 12:00:40 +00:00
Matt Jankowski
7c26e5e4a1
Add Reviewable model concern () 2024-09-03 15:37:45 +00:00
David Roetzel
388d5473e1
Refactor (ruby) redis configuration () 2024-09-02 14:19:55 +00:00
Claire
ad52b04a1c
Add setting to disable hover cards ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2024-07-11 19:42:58 +00:00
Eugen Rochko
5f15a892fa
Add support for libvips in addition to ImageMagick ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-05 19:15:39 +00:00
Matt Jankowski
4a77e477ee
Consolidate account scopes for LOWER (index using) username/domain queries () 2024-05-28 14:11:31 +00:00
Matt Jankowski
9b5055d34d
Fix Style/SuperArguments cop () 2024-05-24 08:36:21 +00:00
Matt Jankowski
def6b686ff
Fix Rails/WhereRange cop () 2024-05-20 09:37:36 +00:00
Claire
2fe1b8d169
Add API to get multiple accounts and statuses ()
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
2024-05-06 15:19:15 +00:00
Râu Cao
9aa31be8d3
Fix local account search on LDAP login being case-sensitive ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-03 09:22:48 +00:00
Matt Jankowski
88882fbbee
Move Rails/HABTM cop out of todo () 2024-05-02 09:40:05 +00:00
Matt Jankowski
1e7d5d2957
Update devise-two-factor to version 5.0.0 ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-02 09:31:41 +00:00
Matt Jankowski
6fed108703
Use Rails upsert to generate update_count! query in Counters concern ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-17 08:16:51 +00:00
Matt Jankowski
caad1e2628
Add scope Status.distributable_visibility () 2024-04-16 13:16:54 +00:00
Matt Jankowski
285f63c02e
Use composable query in User.active scope () 2024-04-08 13:53:49 +00:00
Claire
babbf6017d
Remove caching in cache_collection () 2024-04-08 13:46:13 +00:00
Matt Jankowski
c0fe8a9f13
Extract shared callback behaviour to CustomFilterCache concern () 2024-04-05 09:17:58 +00:00
Claire
37ca59815c
Remove setting for unfollow confirmation modal, and make it unconditional () 2024-03-22 16:24:04 +00:00
Claire
d71d26a3c9
Reattribute notification-related records if possible when merging accounts () 2024-03-22 16:21:53 +00:00
Matt Jankowski
77897cd24c
Use existing SeveredRelationship.about_local_account scope in more places () 2024-03-21 08:36:49 +00:00
Claire
44bf7b8128
Add notifications of severed relationships () 2024-03-20 15:37:21 +00:00
Matt Jankowski
62e266fbd6
Add BrowserDetection model concern () 2024-03-19 15:39:14 +00:00
Matt Jankowski
838b0bdf2d
Remove unused Account::Interactions#endorsed? method () 2024-03-15 09:00:26 +00:00
Matt Jankowski
0bc17a3d48
Use enum-generated public_visibility scope on Status () 2024-03-14 09:31:57 +00:00
Matt Jankowski
d4ed7e466c
Extract by_domain_length scope in DomainNormalizable concern () 2024-03-12 13:09:11 +00:00
Jeong Arm
4a6ddbc9c0
Normalize idna domain before account unblock domain () 2024-03-11 09:28:08 +00:00
Eugen Rochko
50b17f7e10
Add notification policies and notification requests () 2024-03-07 14:53:37 +00:00
Matt Jankowski
8429d07454
Add RankedTrend concern for trends classes () 2024-02-26 13:45:39 +00:00
Matt Jankowski
245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants () 2024-02-19 11:09:43 +00:00
Claire
b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
2024-02-14 15:16:07 +01:00
Emelia Smith
e8b66a0525
Ignore legacy moderator and admin columns on User model () 2024-02-13 17:14:49 +00:00
Matt Jankowski
86500e3312
Extract scenic view model common methods to concern () 2024-02-06 09:08:07 +00:00
Matt Jankowski
89c9a4502d
Fix Rails/WhereExists cop in account/interactions concern () 2024-01-18 09:36:16 +00:00
Claire
98b5f85f10
Rename and refactor User#confirm! to User#mark_email_as_confirmed! () 2024-01-15 18:04:58 +00:00
Michael Stanclift
195b89d336
Fix .opus file uploads being misidentified by Paperclip () 2024-01-03 19:02:53 +00:00
Matt Jankowski
128c5b7db3
Fix Performance/StringIdentifierArgument cop () 2023-12-29 10:23:30 +00:00
Eugen Rochko
b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-19 10:59:43 +00:00
Claire
7d9b209fe8
Fix call to inefficient delete_matched cache method in domain blocks () 2023-12-18 16:14:43 +00:00
Matt Jankowski
1820bad646
Fix Performance/StringIdentifierArgument cop () 2023-12-18 10:26:09 +00:00
Claire
dcc24db793
Fix N+1s because of association preloaders not actually getting called () 2023-12-13 07:47:32 +00:00
Matt Jankowski
5631f139c1
Fix Lint/SymbolConversion cop () 2023-12-01 15:53:35 +00:00
Matt Jankowski
f70f39dd04
Add explicit dependent: nil to associations () 2023-12-01 15:52:47 +00:00
Matt Jankowski
440b80b2e7
Model concerns organization into module namespaces () 2023-12-01 11:00:41 +00:00
Claire
3a24754229
Change GIF max matrix size error to explicitly mention GIF files () 2023-11-24 09:31:28 +00:00
Matt Jankowski
d2aacea8da
Reduce .times usage in AccountSearch spec, use constant for default limit () 2023-11-20 09:08:22 +00:00
Eugen Rochko
0d14fcebae
Change link previews to keep original URL from the status () 2023-11-13 09:58:28 +00:00