Commit Graph

4011 Commits

Author SHA1 Message Date
Matt Jankowski
4130bda12e Convert settings/verifications controller spec to system spec (#33285) 2024-12-13 10:39:07 +00:00
Matt Jankowski
1bd9306ced Add coverage for Tag model validations on name/display_name (#33291) 2024-12-13 09:21:55 +00:00
Matt Jankowski
3c71ee9b90 Use touch_all for time column updates (#33295) 2024-12-13 08:41:42 +00:00
Matt Jankowski
4bf6af3b61 Remove unused model_have_error_on_field matcher (#33273) 2024-12-12 10:28:05 +00:00
Matt Jankowski
b51e0bc3c7 Simplify model validation specs for Report (#33267) 2024-12-12 09:09:35 +00:00
Claire
bcb3b627b9 Fix processing of mentions for post edits with an existing corresponding silent mention (#33227) 2024-12-11 12:59:29 +00:00
Matt Jankowski
ad68686bec Simplify model validation specs for CustomFilter (#33248) 2024-12-11 09:55:35 +00:00
Matt Jankowski
f721e76d13 Avoid double request in admin/export_domain_allows controller spec (#33255) 2024-12-11 08:58:59 +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
39364346bb Add coverage for admin/terms/drafts#update and admin/terms/generates#create actions (#33251) 2024-12-10 23:09:36 +00:00
Matt Jankowski
094e2172ec Add system spec for Admin::TermsOfService index view (#33250) 2024-12-10 23:08:14 +00:00
Matt Jankowski
e76aff7de5 Standardize uniqueness validation declaration on Mention (#33247) 2024-12-10 15:45:13 +00:00
Matt Jankowski
12eb6b0e6d Add coverage for TermsOfServicePolicy class (#33241) 2024-12-10 15:09:44 +00:00
Matt Jankowski
66266ec6fc Add coverage for UserMailer#terms_of_service_changed mailer (#33242) 2024-12-10 14:45:40 +00:00
Matt Jankowski
19c6cb82f6 Add coverage for Admin::DistributeTermsOfServiceNotificationWorker class (#33245) 2024-12-10 14:45:14 +00:00
Matt Jankowski
c72083ad68 Add system spec for TOS page (#33243) 2024-12-10 14:14:28 +00:00
Matt Jankowski
7d52b24569 Add coverage for AccountPin model (#33231) 2024-12-10 13:02:52 +00:00
FND
c8c916e657 Change URL truncation to account for ellipses (#33229) 2024-12-10 08:41:06 +00:00
Eugen Rochko
425311e1d9 Change referrer policy to be controlled by header in web UI (#33214) 2024-12-09 22:42:45 +00:00
Eugen Rochko
30aa0df88c Add terms of service (#33055) 2024-12-09 10:04:46 +00:00
Eugen Rochko
796dd57e1b Change ability to navigate of unconfirmed users (#33209) 2024-12-09 08:31:56 +00:00
Matt Jankowski
72a4da83fd Merge duplicate custom css request specs (#33204) 2024-12-06 18:55:47 +00:00
Matt Jankowski
17c02c9210 Remove thing_type and thing_id columns from settings table (#31971) 2024-12-05 14:34:14 +00:00
Matt Jankowski
86b45a4a48 Add rel alternate rss/json links to tags show html page (#33179) 2024-12-05 11:34:49 +00:00
Claire
21f6780498 Fix deletion of unconfirmed users with Webauthn set (#33186) 2024-12-05 09:38:48 +00:00
Matt Jankowski
0fcf227a92 Add media attachment description limit to instance API response (#33153) 2024-12-04 15:10:20 +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
Claire
c521a62b1e Add tests for broken mention processing (#33171) 2024-12-04 09:45:35 +00:00
Matt Jankowski
e5bea68b20 Fix empty authors preview card serialization (#33151) 2024-12-04 09:05:58 +00:00
Matt Jankowski
6fddf1610c Fix awkwardly-worded nature of scheduled too soon error (#33156) 2024-12-04 07:43:29 +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
752d49eefe Add coverage for api/v1/push/subscriptions#show action (#33134) 2024-12-02 15:08:41 +00:00
Jonathan de Jong
360b6d3a44 Fix exclusive lists interfering with notifications (#28162) 2024-12-02 09:26:04 +00:00
Matt Jankowski
3cd308523a Add shared example for RankedTrend concern (#33125) 2024-12-02 00:44:14 +00:00
Claire
7d52d5df0f Merge commit 'c58967c3bd7b7eee0b284ee2b77a48ed9ce6863e' into glitch-soc/merge-upstream
Conflicts:
- `lib/sanitize_ext/sanitize_config.rb`:
  Conflict due to upstream adding fallback support for MathML Core while
  glitch-soc supported slightly more tags than upstream.
  Added the MathML Core fallback code to glitch-soc.
- `spec/lib/sanitize/config_spec.rb`:
  Ditto.
2024-12-01 18:22:00 +01: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
Calvin Lee
7f4858b339 Correctly sanitize MathML out of post content (#27107) 2024-11-28 12:02:34 +00:00
Eugen Rochko
48f3ed738f Fix list error messages (#33082) 2024-11-28 10:13:06 +00:00
Matt Jankowski
0ea9d8164b Remove body_class_string helper (#33072) 2024-11-26 07:19:20 +00: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
f740611820 Merge commit 'd0753ec276502ea28a1e853cbc6487020a0602e3' into glitch-soc/merge-upstream 2024-11-24 18:56:15 +01: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
Christian Schmidt
0518613dd7 LinkDetailsExtractor adjustments (#31357) 2024-11-22 08:00:14 +00:00
Christian Schmidt
7385016837 rel="me" check should be case-insenstive (#32238) 2024-11-21 14:37:25 +00:00
Emelia Smith
4517e18b79 Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:48:30 +00:00