Commit Graph

837 Commits (main)

Author SHA1 Message Date
Claire f8b0f38636 Merge commit '902aab1245a06319b7acd20045bd9ce051627300' into glitch-soc/merge-upstream 2025-03-29 17:02:39 +01:00
David Roetzel 97b9994743
Basic FASP support () 2025-03-28 12:16:40 +00:00
Claire 0efa669fe9 Merge commit '2f98134ac69ee840095c9d8389e4b2fff72f20c1' into glitch-soc/merge-upstream 2025-03-15 17:49:32 +01:00
Eugen Rochko d213c585ff
Add age verification on sign-up () 2025-03-14 14:07:29 +00:00
Claire b330cc21c4 Merge commit 'aff51823752b809c3349698b6be02bfdda7a9010' into glitch-soc/merge-upstream 2025-03-12 19:48:51 +01:00
Jonny Saunders 46e13dd81c
Add Fetch All Replies Part 1: Backend ()
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Co-authored-by: jonny <j@nny.fyi>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Kouhai <66407198+kouhaidev@users.noreply.github.com>
2025-03-12 09:03:01 +00:00
Claire 4bea9a0a66 Merge commit '04492e7f934d07f8e89fa9c3d4fe3381f251e8a2' into glitch-soc/merge-upstream 2025-03-07 18:34:27 +01:00
Claire dbd3e05812 Merge commit 'b57687083f4af178f2e2f43665eb4e49d32a50c2' into glitch-soc/merge-upstream 2025-03-07 17:37:36 +01:00
Claire e30b9083cb
Fix weird line wrap in db/schema.rb () 2025-03-07 08:33:52 +00:00
Claire 5a100bf38f
Add ability to email announcements to all users () 2025-03-06 14:05:27 +00:00
Eugen Rochko cadda2f957
Add effective date to terms of service () 2025-03-05 09:01:33 +00:00
Claire 1dbeac2196 Merge commit '3b1ba46c93de63268d20104dee63374d0708deb0' into glitch-soc/merge-upstream 2025-02-04 18:38:41 +01:00
Claire b1c9cff71b
Add `language` column to public timelines index () 2025-02-03 13:41:44 +00:00
Claire ab152ebed4 Merge commit 'e1d7efadc04dd0826c6bcfe43325688566e13881' into glitch-soc/merge-upstream
Conflicts:
- `app/models/status.rb`:
  Upstream refactored `visibility` handling to a concern, while glitch-soc had
  custom code adjacent to some of the changed lines.
  Applied upstream's changes.
- `lib/mastodon/version.rb`:
  Upstream moved some definitions to `config/mastodon.yml`, while glitch-soc's
  default github repository had been modified.
  Applied upstream's changes and updated `config/mastodon.yml` accordingly.
2025-01-14 20:38:32 +01:00
S1m 4a2813158d
Add support for standard webpush ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2025-01-14 09:14:00 +00:00
Claire 5e65586161
Merge `MoveGlitchUserSettings` migration into `MoveUserSettings` () 2024-12-29 19:24:52 +01:00
Claire 0d25e4f54d Fix rubocop failure in old glitch-soc migration 2024-12-25 21:21:39 +01:00
Claire 0aa69487a2 Merge commit '877090518682b6c77ba9bdfa0231afd56daec44d' into glitch-soc/merge-upstream
Conflicts:
- `app/models/concerns/user/has_settings.rb`:
  Not a real conflict, upstream added a setting textually close to a glitch-soc one.
  Added upstream's new setting.
- `app/views/settings/preferences/appearance/show.html.haml`:
  Not a real conflict, upstream added a setting textually close to a glitch-soc one.
  Added upstream's new setting.
- `config/routes.rb`:
  Upstream moved web app routes to `config/routes/web_app.rb`, while glitch-soc had
  an extra route.
  Moved the extra route to `config/routes/web_app.rb`.
- `spec/controllers/settings/preferences/appearance_controller_spec.rb`:
  This spec got converted to a system spec upstream.
  However, the theme setting works differently in glitch-soc, so the spec had been
  changed.
  Changed the corresponding system spec as well.
2024-12-25 18:01:37 +01:00
Matt Jankowski b648c64e2e
Add `NOT NULL` requirement to columns on `polls` () 2024-12-20 14:33:48 +00:00
Claire 85792cc375
Fix incorrect notification settings migration for non-followers () 2024-12-18 12:25:40 +00:00
Jesse Karmani db749c7d2b
Fix down clause for notification policy v2 migrations () 2024-12-18 08:52:47 +00:00
Matt Jankowski 978142ac9e
Add missing `NOT NULL` on more columns from "large but valid" tables () 2024-12-17 13:38:18 +00:00
Matt Jankowski c68eb82ffa
Use explicit config loading from `bin/rubocop` () 2024-12-16 13:50:58 +00:00
Matt Jankowski cf4595967b
Add `NOT NULL` requirement to columns on `account_conversations` () 2024-12-16 08:20:08 +00:00
Matt Jankowski efc85e39a0
Add missing `NOT NULL` requirement to small, indexed, valid data tables () 2024-12-14 00:16:03 +00:00
Matt Jankowski 708919ee93
Update deprecated `enum` style in older migrations () 2024-12-12 10:44:58 +00:00
Matt Jankowski d56aa9031a
Disable `Naming/VariableNumber` cop in old migrations () 2024-12-12 08:15:38 +00:00
Matt Jankowski 43702b95a2
Enable `Rails/ReversibleMigration` cop () 2024-12-11 15:50:50 +00:00
Matt Jankowski d6241f6751
Fix `Rails/ThreeStateBooleanColumn` cop () 2024-12-11 14:25:48 +00:00
Matt Jankowski e4e35ab134
Add NOT NULL requirement to account columns on `AccountPin` () 2024-12-10 15:50:49 +00:00
Eugen Rochko 30aa0df88c
Add terms of service () 2024-12-09 10:04:46 +00:00
Claire fbcd14ff7e
Always remove setting keys in legacy user settings migrations () 2024-12-06 10:58:18 +00:00
Matt Jankowski a1143c522b
Add missing `on_delete: :cascade` foreign keys option () 2024-12-06 08:29:54 +00:00
Eugen Rochko d29eddc401
Fix tag trend migration failing due to duplicate rows () 2024-12-05 16:12:26 +00:00
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table () 2024-12-05 14:34:14 +00:00
Matt Jankowski 4934242aca
Update schema/annotations after tag trend db/redis migrate () 2024-12-04 17:55:56 +00:00
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis ()
Co-authored-by: David Roetzel <david@roetzel.de>
2024-12-04 11:59:17 +00:00
Claire 4f1242964b Merge commit '44d92fa4f6aac5c45ad358287af48cd879f5665e' into glitch-soc/merge-upstream 2024-11-15 18:44:32 +01:00
Matt Jankowski 897cb1803e
Run `bin/rails db:schema:dump` under Rails 7.2 () 2024-11-12 08:56:04 +00:00
Claire f0f807cec7 Merge commit '1e71c4e247eb8900a718b04113ffce9c1b8ad2f4' into glitch-soc/merge-upstream 2024-11-10 13:18:43 +01:00
Matt Jankowski f180880f65
Remove postgres version support check for `REINDEX` in migration () 2024-11-07 15:40:41 +00:00
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports () 2024-11-04 10:11:06 +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
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates () 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 fae1de699c
Remove duplicate indexes from database () 2024-10-23 13:26:51 +00:00
Claire c574f5b53f
Change how migrations duplicated between glitch and upstream are handled () 2024-10-09 18:36:19 +02:00
Claire 7e06d724c9 Merge commit '4238da6ee3c93dfd5752e9133cbec958f8ebb18a' into glitch-soc/merge-upstream 2024-10-07 20:45:07 +02:00
Claire a59160cf01
Add missing `on_delete: :cascade` on `notification_permissions` () 2024-10-07 07:46:03 +00:00
Claire b28ce2424c Merge commit 'c40ab43dc703be988c277d4ba6b7987a3a80e16c' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/application_helper.rb`:
  Upstream added a helper where glitch-soc had its own, not really
  a conflict.
  Added upstream's helper.
- `lib/sanitize_ext/sanitize_config.rb`:
  Upstream renamed a constant that was used slightly differently in glitch-soc.
  Renamed it as upstream did.
2024-10-06 16:07:58 +02:00