Matt Jankowski
ad68686bec
Simplify model validation specs for CustomFilter ( #33248 )
2024-12-11 09:55:35 +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
e76aff7de5
Standardize uniqueness validation declaration on Mention ( #33247 )
2024-12-10 15:45:13 +00:00
Matt Jankowski
7d52b24569
Add coverage for AccountPin model ( #33231 )
2024-12-10 13:02:52 +00:00
Eugen Rochko
30aa0df88c
Add terms of service ( #33055 )
2024-12-09 10:04:46 +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
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
Claire
c2817c7fad
Merge commit '752d49eefef48262d501ba5fc2006d2c8466a000' into glitch-soc/merge-upstream
...
Conflicts:
- `app/lib/feed_manager.rb`:
Upstream changed how notifications from follow subscriptions were handled,
refactoring this file in the process.
Conflict is due to glitch-soc having an extra timeline type (direct).
Ported upstream's changes.
- `app/workers/feed_insert_worker.rb`:
Ditto.
2024-12-02 21:08:15 +01:00
Matt Jankowski
3cd308523a
Add shared example for RankedTrend concern ( #33125 )
2024-12-02 00:44:14 +00:00
Claire
48827e1210
Merge commit 'a27bafa59653328a0f06bedb1dfb2b6ee92af43d' into glitch-soc/merge-upstream
...
- `app/controllers/application_controller.rb`:
Minor conflict due to glitch-soc's theming system.
- `spec/helpers/application_helper_spec.rb`:
Minor conflict due to glitch-soc's theming system.
2024-12-01 17:36:49 +01: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
Claire
6374937147
Merge commit 'e68b26c8df2056182564abcee230927ed53200c8' into glitch-soc/merge-upstream
...
Conflicts:
- `app/models/trends/statuses.rb`:
Upstream added a date restriction to trendable posts, while glitch-soc had
slightly different conditions.
Added the date restriction to glitch-soc's conditions.
2024-11-24 16:46:28 +01: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
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
Claire
4f1242964b
Merge commit '44d92fa4f6aac5c45ad358287af48cd879f5665e' into glitch-soc/merge-upstream
2024-11-15 18:44:32 +01:00
Matt Jankowski
319109029d
Fix logic in "last used at per application" oauth token list ( #32912 )
2024-11-15 15:52:37 +00:00
Matt Jankowski
766358e52b
Add coverage for malformed version cleanup in SoftwareUpdateCheckService, add helper query methods ( #32876 )
2024-11-14 14:03:57 +00:00
Claire
8f5cbf5370
Fix list creation limit check ( #32869 )
2024-11-13 10:22:11 +00:00
Matt Jankowski
884bbf7ae2
Prepare the way for banning a bunch of usernames ( #32856 )
2024-11-12 15:43:55 +00:00
Matt Jankowski
5d9dde3ec0
Add age/expiry duration constants to BulkImport class ( #32839 )
2024-11-12 08:57:06 +00:00
Matt Jankowski
c78dc23b49
Move account sensitize-related methods to concern ( #28865 )
2024-11-11 13:08:23 +00:00
Matt Jankowski
d033920b7e
Move account silence-related methods to concern ( #28866 )
2024-11-11 08:29:55 +00:00
Claire
f0f807cec7
Merge commit '1e71c4e247eb8900a718b04113ffce9c1b8ad2f4' into glitch-soc/merge-upstream
2024-11-10 13:18:43 +01:00
Claire
2bea74e69d
Avoid latest featured tag use on post removal unless necessary ( #32787 )
2024-11-06 10:51:54 +00:00
Claire
f624ef2778
Merge commit 'b06fd54c305915527e3a6edc575dc23b623143ef' into glitch-soc/merge-upstream
...
Conflicts:
- `app/helpers/formatting_helper.rb`:
Upstream wrapped some code glitch-soc had modified in an OTEL instrumentation span.
Wrapped the modified code.
2024-11-03 20:51:58 +01:00
Matt Jankowski
a20ac20302
Add model spec for Tombstone ( #32697 )
2024-10-31 13:27:47 +00:00
Matt Jankowski
babee06794
Add coverage for StatusTrend and PreviewCardTrend models, add locales class method to RankedTrend ( #32688 )
2024-10-29 15:46:32 +00:00
Matt Jankowski
1edb527072
Enhance coverage for StatusPin model ( #32515 )
2024-10-28 07:34:58 +00:00
Jonny Saunders
9074c1fac9
Use likes and shares totalItems on status creations and updates ( #32620 )
2024-10-28 04:55:18 +00:00
Claire
8103e69b17
Merge commit '77cd16f4ee7ab807df6fffb1538a6659a8182a9e' into glitch-soc/merge-upstream
...
Conflicts:
- `app/javascript/styles/mastodon/components.scss`:
Conflict caused by glitch-soc changing the path to images, and upstream
removing styling using such an image.
Removed the styling as upstream did.
- `app/models/account.rb`:
Conflict due to upstream changing lines adjacent to a change made in glitch-soc
to have configurable limits.
Ported upstream's changes.
- `yarn.lock`:
Dependencies adjacent to glitch-soc-only dependencies updated.
Updated them as well.
2024-10-26 13:38:07 +02:00
Matt Jankowski
1775e151ec
Simplify model validation specs for DomainAllow ( #32496 )
2024-10-25 08:42:14 +00:00
Matt Jankowski
9464281f29
Simplify model validation specs for AccountStatusCleanupPolicy ( #32495 )
2024-10-25 08:41:24 +00:00
Matt Jankowski
15f6336cdd
Simplify model validation specs for AccountMigration ( #32494 )
2024-10-25 08:02:13 +00:00
Matt Jankowski
86132f7dd3
Provide establish_policy helper method in AccountStatusesCleanupPolicy spec ( #32490 )
2024-10-25 08:00:58 +00:00
Matt Jankowski
2e3bbb6861
Move account suspension related coverage to concern spec ( #32432 )
2024-10-25 07:58:41 +00:00
Matt Jankowski
4134ccdbe0
Simplify model validation specs for WebauthnCredential ( #32466 )
2024-10-25 07:55:45 +00:00
Matt Jankowski
e5be4bf8d8
Simplify model validation specs for PreviewCard ( #32469 )
2024-10-25 07:55:33 +00:00
Matt Jankowski
37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote ( #31792 )
2024-10-24 12:52:38 +00:00
Matt Jankowski
dea6c454fd
Contribute more coverage for Account model ( #32474 )
2024-10-24 12:47:06 +00:00
Matt Jankowski
b16435e79f
Explore more resplendent model validation specs for Form::AdminSettings ( #32465 )
2024-10-24 12:44:13 +00:00
Matt Jankowski
67504dbf9c
Simplify uniqueness validation spec for IpBlock ( #32066 )
2024-10-24 12:43:40 +00:00
Matt Jankowski
2f906ed55a
Constants for account refresh ( #32420 )
2024-10-23 13:29:01 +00:00
Matt Jankowski
bd0c826a3d
Simplify model validation specs for Announcement ( #32481 )
2024-10-23 07:47:46 +00:00