Commit graph

  • d89f3ec8f1 webpush.Sender: take type converter as ctor param Vyr Cossont 2025-01-23 10:00:55 -08:00
  • 01adf8f307 Merge branch 'main' into delivery_recipient_pre_sort tobi 2025-01-23 18:18:48 +01:00
  • 9333bbc4d0
    [feature] Serve bot accounts over AP as Service instead of Person (#3672) tobi 2025-01-23 17:18:23 +00:00
  • 1a672e70b6 bollocks tobi 2025-01-23 17:47:34 +01:00
  • 3880fc80b4 oopsie doopsie tobi 2025-01-23 17:23:40 +01:00
  • a79217400c pepis tobi 2025-01-23 17:19:18 +01:00
  • b42cb7a802
    [feature] Add warning about trusted-proxies to make config easier (#3675) tobi 2025-01-23 14:48:09 +00:00
  • 1472d92a8d
    [feature] Add published property to outgoing AP Actor representations (#3671) tobi 2025-01-23 14:42:31 +00:00
  • 1c116c5b96 thank you linter, hugs and kisses to you tobi 2025-01-23 14:53:40 +01:00
  • 70dddb08d9 [feature] Add warning about trusted-proxies to make config easier tobi 2025-01-23 14:44:31 +01:00
  • b9f759d922 Stub policy and standard Vyr Cossont 2025-01-22 11:18:55 -08:00
  • fbf6db3cda [feature] Add published property to outgoing AP Actor representations tobi 2025-01-22 16:14:38 +01:00
  • f88c398423 Merge branch 'main' into delivery_recipient_pre_sort tobi 2025-01-22 16:00:10 +01:00
  • 0a99901c65
    [performance] reduce InboxForward->Create calls by partially implementing Exists() (#3647) kim 2025-01-22 12:42:12 +00:00
  • fee12158c4 update to latest activity tobi 2025-01-22 13:17:59 +01:00
  • a8ae0e3173 Always load target account settings Vyr Cossont 2025-01-21 17:19:28 -08:00
  • 301e822abf weeeeenus tobi 2025-01-21 10:35:46 +01:00
  • b982944e85 Restore treating all 5xx codes as temporary problems Vyr Cossont 2025-01-20 22:49:26 -08:00
  • 4f39da77bb Use Tobi's style for wrapping errors Vyr Cossont 2025-01-20 22:26:03 -08:00
  • 63ce52cbfa Make realsender.go more readable Vyr Cossont 2025-01-20 22:19:56 -08:00
  • c1cc2a5217 Remove redundant index on unique column Vyr Cossont 2025-01-20 21:44:29 -08:00
  • 8542e8a7a3 Fix lint Vyr Cossont 2025-01-19 16:24:50 -08:00
  • b0d0f8c0c6 Disallow cleartext HTTP for Web Push servers Vyr Cossont 2025-01-19 16:23:11 -08:00
  • 93aeadbd9f Improve titles, trim body to reasonable length Vyr Cossont 2025-01-19 16:19:50 -08:00
  • 13eda35985 Special-case 400 errors other than 408/429 Vyr Cossont 2025-01-19 14:16:44 -08:00
  • 87d0229292 go mod tidy Vyr Cossont 2025-01-19 13:50:33 -08:00
  • 920ec76fd2 Post-rebase fixes Vyr Cossont 2025-01-19 13:49:25 -08:00
  • bff26f4ebc Make GetVAPIDKeyPair idempotent Vyr Cossont 2024-12-28 16:01:00 -08:00
  • 9b8b3885bd Add notification type for update notifications Vyr Cossont 2024-12-28 14:38:54 -08:00
  • bfc967f690 Remove unused date columns Vyr Cossont 2024-12-26 18:23:39 -08:00
  • 255833683f Use packed notification flags Vyr Cossont 2024-12-25 17:40:23 -08:00
  • 464d920cfd Fix malformed VAPID sub claim Vyr Cossont 2024-12-19 23:32:42 -08:00
  • 3a239fbe5a Accept any 2xx code as a success Vyr Cossont 2024-12-01 21:25:55 -08:00
  • 8ae57782ff Send instance URL as Web Push JWT subject Vyr Cossont 2024-12-01 21:17:54 -08:00
  • 23847f0e18 Log Web Push server error messages Vyr Cossont 2024-12-01 20:41:27 -08:00
  • 56a31656ef Create web push subscriptions table with indexes Vyr Cossont 2024-12-01 20:22:02 -08:00
  • 51113b8f27 Fix GetVAPIDKeyPair Vyr Cossont 2024-12-01 20:02:00 -08:00
  • 9f110a4af4 Fix enum to int migration Vyr Cossont 2024-12-01 20:01:51 -08:00
  • 26d99209a9 Update Swagger Vyr Cossont 2024-11-30 20:20:26 -08:00
  • 2cb7a8bf2a Linter fixes Vyr Cossont 2024-11-30 20:18:56 -08:00
  • 8b9a228ea2 Implement push subscription API Vyr Cossont 2024-11-30 20:13:06 -08:00
  • 1fe29c7c43 Delete Web Push subscriptions when account is deleted Vyr Cossont 2024-11-30 18:18:29 -08:00
  • 8e72a8fd24 Test Web Push notifications from workers Vyr Cossont 2024-11-30 14:03:53 -08:00
  • c9aa25b42b Add no-op push senders to most processor tests Vyr Cossont 2024-11-30 12:32:35 -08:00
  • 0c92f9f0f3 Add Web Push sender (similar to email sender) Vyr Cossont 2024-11-30 12:29:46 -08:00
  • 0cffb8784e Store Web Push subscriptions in DB Vyr Cossont 2024-11-30 12:24:13 -08:00
  • db2ba34630 Return VAPID public key when registering an app Vyr Cossont 2024-11-23 20:41:35 -08:00
  • 86fcc61879 Add VAPID public key to instance info API Vyr Cossont 2024-11-23 20:35:02 -08:00
  • 821c1da688 Generate VAPID key pair during startup Vyr Cossont 2024-11-23 20:32:55 -08:00
  • 7a02a19c3c Single-row table for storing instance's VAPID key pair Vyr Cossont 2024-11-23 19:48:51 -08:00
  • c4012b6f15 Add webpush-go dependency Vyr Cossont 2024-11-23 19:47:50 -08:00
  • f62859b61a Update push subscription API model to be Mastodon 4.0 compatible Vyr Cossont 2024-11-23 19:47:03 -08:00
  • 87ddcdadf9
    Merge 225b7601e1 into 37fd7c7a6a dependabot[bot] 2025-01-20 10:15:27 +00:00
  • 5c0514e83c
    [chore]: Bump github.com/coreos/go-oidc/v3 from 3.11.0 to 3.12.0 (#3662) dependabot[bot] 2025-01-20 10:15:27 +00:00
  • 37fd7c7a6a
    [bugfix] Store LastModified for domain perm subs + send as If-Modified-Since (#3655) tobi 2025-01-20 09:56:00 +00:00
  • 225b7601e1
    [chore]: Bump github.com/coreos/go-oidc/v3 from 3.11.0 to 3.12.0 dependabot[bot] 2025-01-20 09:51:05 +00:00
  • 9835d3e65d
    [chore]: Bump github.com/gin-contrib/cors from 1.7.2 to 1.7.3 (#3661) dependabot[bot] 2025-01-20 09:47:07 +00:00
  • 1a92165767
    [chore]: Bump github.com/gin-contrib/cors from 1.7.2 to 1.7.3 dependabot[bot] 2025-01-20 09:05:23 +00:00
  • 77ea30542b
    [chore]: Bump golang.org/x/net from 0.33.0 to 0.34.0 (#3660) dependabot[bot] 2025-01-20 09:03:10 +00:00
  • cfe6ac5a42
    [chore]: Bump github.com/jackc/pgx/v5 from 5.7.1 to 5.7.2 (#3663) dependabot[bot] 2025-01-20 10:01:46 +01:00
  • 0096222c0e
    [chore]: Bump github.com/gin-contrib/sessions from 1.0.1 to 1.0.2 (#3664) dependabot[bot] 2025-01-20 10:01:17 +01:00
  • c4bb66f64c remove -X POST from curl commands Marcus Jaschen 2025-01-20 09:13:34 +01:00
  • ba93d74f4b
    [chore]: Bump github.com/gin-contrib/sessions from 1.0.1 to 1.0.2 dependabot[bot] 2025-01-20 06:41:02 +00:00
  • 1173c42e6b
    [chore]: Bump github.com/jackc/pgx/v5 from 5.7.1 to 5.7.2 dependabot[bot] 2025-01-20 06:40:53 +00:00
  • a8ecf04c77
    [chore]: Bump golang.org/x/net from 0.33.0 to 0.34.0 dependabot[bot] 2025-01-20 06:40:28 +00:00
  • c92270c873 Fix: missing period at the end of "hide boosts" settings label. S0yKaf/profile-boosts S0yKaf 2025-01-19 15:53:05 -05:00
  • e7b2f87699 [bugfix] Store LastModified for domain perm subs + send as If-Modified-Since tobi 2025-01-19 13:53:13 +01:00
  • 0e137c0f2d Merge remote-tracking branch 'origin/main' into HEAD S0yKaf 2025-01-18 13:55:15 -05:00
  • 634d4f408f
    [bugfix] Fix existing perm adoption (#3651) tobi 2025-01-18 17:55:27 +00:00
  • f81df9428a test, small log fix tobi 2025-01-18 17:38:37 +01:00
  • 655c0d1269 go fmt tobi 2025-01-18 13:19:52 +01:00
  • 288cc3dbe5 [bugfix] Fix existing perm adoption tobi 2025-01-18 13:10:08 +01:00
  • e6a3a73944 increase cache size, since all we're storing is string keys kim 2025-01-15 16:13:07 +00:00
  • 3aa9abe5f3 reduce number of inbox forwarding create calls by partially implementing Exists() kim 2025-01-15 16:02:18 +00:00
  • 2aee3a2605 keep a cache of activity IDs we have handled creates for kim 2025-01-15 16:00:25 +00:00
  • 2f447702d2 alphabetical reordering kim 2025-01-15 16:00:06 +00:00
  • 81b66ad7e3
    update ncruces/go-sqlite3 v0.21.3 -> v0.22.0, gruf/go-ffmpreg v0.6.4 -> v0.6.5 (#3646) kim 2025-01-14 18:30:55 +00:00
  • 7a93783784 update ncruces/go-sqlite3 v0.21.3 -> v0.22.0, gruf/go-ffmpreg v0.6.4 -> v0.6.5 kim 2025-01-14 18:08:28 +00:00
  • b8ef9fc4bc
    bump uptrace/bun dependencies from 1.2.6 to 1.2.8 (#3645) kim 2025-01-14 14:23:28 +00:00
  • e77c7e16b6
    [chore] better dns validation (#3644) kim 2025-01-14 14:23:18 +00:00
  • 2cf7a97466 bump uptrace/bun dependencies from 1.2.6 to 1.2.8 kim 2025-01-14 13:51:19 +00:00
  • afd5f8a80a
    [chore]: Bump github.com/uptrace/bun/dialect/sqlitedialect dependabot[bot] 2025-01-14 13:12:59 +00:00
  • 1d8bd30603
    [chore]: Bump github.com/uptrace/bun from 1.2.6 to 1.2.8 dependabot[bot] 2025-01-14 13:12:55 +00:00
  • a864845cf8
    [chore]: Bump github.com/uptrace/bun/extra/bunotel from 1.2.6 to 1.2.8 dependabot[bot] 2025-01-14 13:12:50 +00:00
  • b95498b8c2
    [chore]: Bump mvdan.cc/xurls/v2 from 2.5.0 to 2.6.0 (#3643) dependabot[bot] 2025-01-14 13:11:20 +00:00
  • 4d423102c1
    [chore]: Bump github.com/gin-contrib/gzip from 1.0.1 to 1.1.0 (#3639) dependabot[bot] 2025-01-14 13:10:39 +00:00
  • 8db867b6df rename function, strip port from domain validation kim 2025-01-14 13:08:51 +00:00
  • 6c9a3e4a56 add seperate PunifyValidate() function for properly validating domain names when converting to punycode kim 2025-01-13 15:20:38 +00:00
  • 552790e217
    [chore]: Bump mvdan.cc/xurls/v2 from 2.5.0 to 2.6.0 dependabot[bot] 2025-01-13 07:48:09 +00:00
  • 6a87df3aca
    [chore]: Bump github.com/gin-contrib/gzip from 1.0.1 to 1.1.0 dependabot[bot] 2025-01-13 06:49:31 +00:00
  • 8cfae010a9
    [bugfix] migration to cleanup dropped status edits (#3637) kim 2025-01-09 00:02:22 +00:00
  • b941325a0c actually update by the currently set status ID field 🤦 kim 2025-01-08 23:40:51 +00:00
  • 80a65366e0 fix query to work for both postgres and sqlite kim 2025-01-08 22:31:44 +00:00
  • be0982ee87 fix join statement kim 2025-01-08 11:43:34 +00:00
  • fc9f99666e don't use bun.Ident where not needed kim 2025-01-08 11:34:46 +00:00
  • 44ee9421a0 add migration to cleanup dropped status edits from previous bug, relinking with statuses kim 2025-01-07 20:41:17 +00:00
  • 8daa4dae34
    [bugfix] More permissive CSV parsing for perm subs, text parse fix (#3638) tobi 2025-01-08 22:38:27 +01:00
  • fefdb7b7be we're just normal men tobi 2025-01-08 22:16:16 +01:00
  • 41ceb67acc me oh my, i'm just a little guy tobi 2025-01-08 21:54:02 +01:00
  • af14acb266 change the way dry works, slightly tobi 2025-01-08 21:46:54 +01:00