David Roetzel
9be77fc0db
Revert "Add system check for missing database indexes" ( #30909 )
2024-07-03 13:36:42 +00:00
David Roetzel
6cf83a2a64
Improve encoding detection for link cards ( #30780 )
2024-07-03 11:13:40 +02:00
Eugen Rochko
2a5819e8bb
Change search modifiers to be case-insensitive ( #30865 )
2024-07-03 11:13:40 +02:00
David Roetzel
9b6219c48f
Improve encoding detection for link cards ( #30780 )
2024-07-03 10:57:46 +02:00
Eugen Rochko
88b2d6eca5
Change search modifiers to be case-insensitive ( #30865 )
2024-07-03 10:57:46 +02:00
David Roetzel
ebd8e1bbb6
Add system check for missing database indexes ( #30888 )
2024-07-03 07:19:54 +00:00
Eugen Rochko
0f3fef6fda
Change search modifiers to be case-insensitive ( #30865 )
2024-06-27 21:34:34 +00:00
Michael Stanclift
3225954865
Fix browser window color on light theme ( #30861 )
2024-06-27 16:46:20 +00:00
Matt Jankowski
ad53b0ab65
Rely on built-in ruby private IP detection ( #30848 )
2024-06-27 07:16:59 +00:00
Matt Jankowski
72484a194f
Remove CacheBuster
default options ( #30718 )
2024-06-21 15:32:49 +00:00
David Roetzel
2cab1c7b09
Improve encoding detection for link cards ( #30780 )
2024-06-21 12:51:10 +00:00
Matt Jankowski
a8b3d2e4e4
Consolidate time periods methods into base measure ( #30757 )
2024-06-19 08:45:47 +00:00
Claire
58ace2e45e
Fix SQL error in admin measures API ( #30753 )
2024-06-18 16:04:58 +00:00
Matt Jankowski
38c6825eda
Remove unused Extractor#extract_cashtags_with_indices
method ( #30742 )
2024-06-18 12:16:16 +00:00
Michael Stanclift
d5f02adad7
Add option to use native Ruby driver for Redis ( #30717 )
2024-06-17 12:28:01 +00:00
Michael Stanclift
a777f7e3cc
Restore short Ruby version on admin dashboard ( #30711 )
2024-06-14 16:10:16 +00:00
Michael Stanclift
4a5442edaa
Add ffmpeg and ImageMagick versions to admin dashboard ( #30710 )
2024-06-14 15:36:57 +00:00
Claire
bf56e982a9
Fix notifications from limited users being outright dropped ( #30559 )
2024-06-12 13:50:38 +00:00
Matt Jankowski
665f6f09a0
Add expired/revoked scopes for doorkeeper models via extension modules ( #29936 )
2024-06-11 08:50:51 +00:00
Matt Jankowski
88cfc4056d
Extract method to generate series of days in measure sql classes ( #29928 )
2024-06-11 07:42:15 +00:00
Matt Jankowski
9cc4040308
Extract COMMENT_SIZE_LIMIT
constant in AP::Activity::Flag
class ( #30637 )
2024-06-10 15:23:55 +00:00
Claire
496c10542b
Fix division by zero on some video/GIF files ( #30600 )
2024-06-07 17:42:43 +00:00
Emelia Smith
e02d23b549
Change read:me
scope to profile
scope ( #30357 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-06 07:30:10 +00:00
Eugen Rochko
5f15a892fa
Add support for libvips in addition to ImageMagick ( #30090 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-05 19:15:39 +00:00
Emelia Smith
186f916192
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations ( #30316 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-29 16:39:26 +02:00
Emelia Smith
d20a5c3ec9
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations ( #30316 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-29 14:00:05 +00:00
Claire
ba240cea0c
Normalize language code of incoming posts ( #30403 )
2024-05-29 15:31:34 +02:00
Claire
f9c41ae43b
Normalize language code of incoming posts ( #30403 )
2024-05-29 15:31:26 +02:00
Eugen Rochko
128987eded
Add support for fediverse:creator
OpenGraph tag ( #30398 )
2024-05-29 01:34:33 +02:00
Matt Jankowski
c61e356475
Add Status::MEDIA_ATTACHMENTS_LIMIT
configuration constant ( #30433 )
2024-05-27 09:49:44 +00:00
Matt Jankowski
9b5055d34d
Fix Style/SuperArguments
cop ( #30406 )
2024-05-24 08:36:21 +00:00
Claire
133d98fb25
Normalize language code of incoming posts ( #30403 )
2024-05-23 17:28:18 +00:00
Matt Jankowski
def6b686ff
Fix Rails/WhereRange
cop ( #30343 )
2024-05-20 09:37:36 +00:00
Emelia Smith
2da2a1dae9
Support multiple redirect_uris when creating OAuth 2.0 Applications ( #29192 )
2024-05-17 13:46:12 +00:00
Tim Rogers
a6089cdfca
Fixed crash when supplying FFMPEG_BINARY environment variable ( #30022 )
2024-05-17 12:30:07 +02:00
Tim Rogers
e69780ec59
Fixed crash when supplying FFMPEG_BINARY environment variable ( #30022 )
2024-05-17 12:30:00 +02:00
Matt Jankowski
c9ee1437c0
Use ruby language constants to build version string in software version dimension ( #30309 )
2024-05-16 07:43:35 +00:00
Claire
96fb6e491f
Revert "Migrate paperclip _file_size
columns to bigint ( #29263 )" ( #30203 )
2024-05-07 08:46:05 +00:00
Matt Jankowski
b152f936c1
Migrate paperclip _file_size
columns to bigint ( #29263 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-06 15:05:12 +00:00
Claire
8e4fea77e3
Fix race condition in POST /api/v1/push/subscription
( #30166 )
2024-05-06 12:41:14 +00:00
Tim Rogers
2f73e486b7
Switched HTMLEntities to the expanded flavor which supports a larger … ( #30173 )
2024-05-05 02:24:10 +00:00
Tim Rogers
b128474625
Fixed rendering of excess whitespace in status card titles ( #30017 )
2024-04-24 09:09:21 +00:00
Tim Rogers
1ca6ff8ca5
Fixed crash when supplying FFMPEG_BINARY environment variable ( #30022 )
2024-04-22 09:00:24 +00:00
Matt Jankowski
11e0049b08
Use enum-generated scopes/queries for BulkImport
( #29975 )
2024-04-18 10:13:35 +00:00
Matt Jankowski
caad1e2628
Add scope Status.distributable_visibility
( #29950 )
2024-04-16 13:16:54 +00:00
Matt Jankowski
3159c0a547
Add scope Status.list_eligible_visibility
( #29951 )
2024-04-16 09:17:03 +00:00
Matt Jankowski
285f63c02e
Use composable query in User.active
scope ( #29775 )
2024-04-08 13:53:49 +00:00
Matt Jankowski
b61ae28f8d
Separate methods for theme style and meta color tags ( #29802 )
2024-04-05 09:52:43 +00:00
Matt Jankowski
966d7f5bf9
Add missing snowflake range correction ( #29841 )
2024-04-04 11:33:17 +00:00
Jeong Arm
4045c069f8
Use public_visibility
( #29847 )
2024-04-04 07:31:30 +00:00
Matt Jankowski
921c4c1273
Match comment style of FeedManager
list/tags checks ( #29639 )
...
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-04-02 14:07:31 +00:00
Renaud Chaput
672c9f5f05
Change the theme-color
value automatically when using a built-in theme ( #29795 )
2024-03-29 13:32:07 +00:00
Renaud Chaput
02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ( #29748 )
...
Co-authored-by: Nishiki Liu <hello@nshki.com>
2024-03-26 09:25:49 +00:00
Matt Jankowski
d39d625561
Use inclusive range in ActivityTracker#get
( #29413 )
2024-03-14 21:21:01 +00:00
Matt Jankowski
2c0441acd7
Use rails built-in tag
methods in TextFormatter.shortened_link
( #28976 )
2024-03-13 09:19:54 +00:00
Matt Jankowski
7e6eb64f1e
Use full snowflake range in admin/metrics
classes ( #29416 )
2024-03-13 08:56:37 +00:00
Matt Jankowski
a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation ( #29527 )
2024-03-11 09:16:19 +00:00
Matt Jankowski
e1fcb02867
Align TagServersMeasure
to use WITH
query style similar to others ( #29435 )
2024-02-29 11:00:58 +00:00
Matt Jankowski
ea8e7f3e9d
Align TagServersMeasure
query style with other classes ( #29414 )
2024-02-27 16:25:12 +00:00
Matt Jankowski
76d256138e
Wrap media attachment size calculation in COALESCE
( #29415 )
2024-02-27 11:52:37 +00:00
Emelia Smith
68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
...
* Ensure destruction of OAuth Applications notifies streaming
Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.
* Ensure password resets revoke access to Streaming API
* Improve performance of deleting OAuth tokens
---------
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-02-14 15:15:34 +01:00
Claire
d807b3960e
Merge pull request from GHSA-7w3c-p9j8-mq3x
...
* Ensure destruction of OAuth Applications notifies streaming
Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.
* Ensure password resets revoke access to Streaming API
* Improve performance of deleting OAuth tokens
---------
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2024-02-14 15:15:34 +01:00
Claire
0b0c7af2c1
Merge pull request from GHSA-7w3c-p9j8-mq3x
...
* Ensure destruction of OAuth Applications notifies streaming
Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.
* Ensure password resets revoke access to Streaming API
* Improve performance of deleting OAuth tokens
---------
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2024-02-14 15:15:34 +01:00
Claire
eff447a455
Rewrite signature verification using regexps and StringScanner
( #29133 )
2024-02-07 17:24:42 +00:00
Claire
7efc33b909
Move HTTP Signature parsing code to its own class ( #28932 )
2024-02-07 13:35:37 +00:00
Claire
5799bc4af7
Merge pull request from GHSA-3fjr-858r-92rw
...
* Fix insufficient origin validation
* Bump version to v4.1.13
2024-02-01 15:56:46 +01:00
Claire
a6641f828b
Merge pull request from GHSA-3fjr-858r-92rw
...
* Fix insufficient origin validation
* Bump version to v4.2.5
2024-02-01 15:56:46 +01:00
Claire
1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
...
* Fix insufficient origin validation
* Bump version to 4.3.0-alpha.1
2024-02-01 15:56:46 +01:00
KMY(雪あすか)
9a8293f58d
Fix process of receiving posts with bearcaps is not working ( #26527 )
2024-01-25 10:37:09 +00:00
Claire
3837ec2227
Fix Mastodon not correctly processing HTTP Signatures with query strings ( #28476 )
2024-01-24 15:31:13 +01:00
Claire
c609b726cb
Fix error when processing link preview with an array as inLanguage
( #28252 )
2024-01-24 15:31:13 +01:00
MitarashiDango
0a01bc01d2
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ( #18482 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 15:31:13 +01:00
Claire
a12b7551cf
Fix N+1s because of association preloaders not actually getting called ( #28339 )
2024-01-24 15:31:13 +01:00
Claire
9292d998fe
Fix Mastodon not correctly processing HTTP Signatures with query strings ( #28476 )
2024-01-24 15:31:06 +01:00
MitarashiDango
4c5575e8e0
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ( #18482 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 15:31:06 +01:00
Matt Jankowski
1290fede65
Fix Rails/WhereExists
cop in app/lib ( #28862 )
2024-01-24 11:51:09 +00:00
Eugen Rochko
b19ae521b7
Add confirmation when redirecting logged-out requests to permalink ( #27792 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 10:49:19 +00:00
Matt Jankowski
7a1f087659
Add created_before
and updated_before
scopes to MediaAttachment
( #28869 )
2024-01-24 10:32:54 +00:00
Eugen Rochko
5b1eb09d54
Add annual reports for accounts ( #28693 )
2024-01-24 09:38:10 +00:00
Matt Jankowski
fd64817fbe
Fix Rails/WhereExists
cop in app/lib/status_cache_hydrator ( #28808 )
2024-01-19 09:19:48 +00:00
Matt Jankowski
a2f02a0775
Disable Rails/SkipsModelValidations
cop ( #28712 )
2024-01-15 13:46:47 +00:00
Claire
1070804a1a
Fix RedownloadMediaWorker
not being called on transient S3 failure ( #28714 )
2024-01-12 17:00:17 +00:00
MitarashiDango
2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ( #18482 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-12 15:58:28 +00:00
Claire
10203bd57a
Clean up Setting
model and remove dead code ( #28661 )
2024-01-09 14:01:53 +00:00
Matt Jankowski
3e7a9266ea
Remove unused EmojiFormatter#count_tag_nesting
method ( #28643 )
2024-01-08 13:36:47 +00:00
Claire
5f4643b895
Add PAPERCLIP_ROOT_URL
to Content-Security-Policy when used ( #28561 )
2024-01-05 10:45:36 +00:00
Claire
092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings ( #28476 )
2024-01-03 11:29:26 +00:00
Claire
2bf84b93d4
Fix media attachment order of remote posts ( #28469 )
2023-12-22 15:10:39 +00:00
Eugen Rochko
b5ac61b2c5
Change algorithm of follow recommendations ( #28314 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-19 10:59:43 +00:00
Matt Jankowski
0e5b8fc46b
Fix Style/RedundantReturn
cop ( #28391 )
2023-12-18 09:50:51 +00:00
Claire
dcc24db793
Fix N+1s because of association preloaders not actually getting called ( #28339 )
2023-12-13 07:47:32 +00:00
Michael Stanclift
afc8550b63
Change preview card deletes to be done using batch method ( #28183 )
2023-12-11 07:49:10 +00:00
Michael Stanclift
da3d8aff79
Error handling for attachment batch delete process ( #28184 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-07 14:40:44 +00:00
Claire
7593465c23
Fix error when processing link preview with an array as inLanguage
( #28252 )
2023-12-07 09:05:08 +00:00
Claire
1076a6cd62
Fix incoming status creation date not being restricted to standard ISO8601 ( #27655 )
2023-12-04 15:28:15 +01:00
Claire
de86e822f4
Fix error when trying to delete already-deleted file with OpenStack Swift ( #27569 )
2023-12-04 15:28:15 +01:00
Claire
4c38706474
Fix batch attachment deletion when using OpenStack Swift ( #27554 )
2023-12-04 15:28:15 +01:00
Claire
c66ade7de8
Fix processing LDSigned activities from actors with unknown public keys ( #27474 )
2023-12-04 15:28:15 +01:00
Claire
13205b54fd
Fix handling of inLanguage
attribute in preview card processing ( #27423 )
2023-12-04 15:28:15 +01:00
KMY(雪あすか)
8be33d4316
Fix when unfollow a tag, my post also disappears from the home timeline ( #27391 )
2023-12-04 15:28:15 +01:00