Commit graph

  • cf999e9277 catch remaining calls to c.HTML tobi 2023-12-20 21:53:15 +0100
  • 5780d94f35 clean up some cruft tobi 2023-12-20 21:29:13 +0100
  • 21956b4c10 fix ogmeta tests tobi 2023-12-20 18:49:25 +0100
  • 615ede2205 don't lazy load avatar tobi 2023-12-20 18:48:30 +0100
  • d69a632dfd oh lord tobi 2023-12-20 18:46:48 +0100
  • 8862419916 remove break tobi 2023-12-20 18:41:20 +0100
  • 08964b528f dick around with polls a bit more so SR stops saying "clickable" tobi 2023-12-20 18:23:27 +0100
  • 4823ed16a9 fiddle with OG just a tiny bit tobi 2023-12-20 17:17:19 +0100
  • 43a266b70c rss tests tobi 2023-12-20 17:12:29 +0100
  • 9d9618ec90 ignore "Local" tobi 2023-12-20 17:07:20 +0100
  • 235706a387 eslint tobi 2023-12-20 17:06:15 +0100
  • 7b4595fb0a [chore] Refactor HTML templates and CSS tobi 2023-12-20 16:08:05 +0100
  • e2f89c0634
    [chore]: Bump golang.org/x/crypto from 0.16.0 to 0.17.0 dependabot[bot] 2023-12-19 00:06:55 +0000
  • 97a1fd9a29
    [bugfix] 😇 (#2476) kim 2023-12-18 16:40:29 +0000
  • 6c86ef7222 😇 kim 2023-12-18 16:26:20 +0000
  • 47fb9540ea check for empty account domain kim 2023-12-18 15:59:47 +0000
  • e1efb3a1e6 change some var names kim 2023-12-18 15:52:33 +0000
  • 03970e3c18 copy over the same style of freshness checking from status deref -> accounts kim 2023-12-18 15:50:17 +0000
  • 229b2763c4 only perform status-up-to-date checks if no statusable has been provided kim 2023-12-18 15:41:21 +0000
  • 8ebb7775a3
    [feature] request blocking by http headers (#2409) kim 2023-12-18 14:18:25 +0000
  • 46f80ca05d fix envparsing test :) kim 2023-12-18 13:19:04 +0000
  • eaa29f9f4b update headerfilter package to not track stats (moves to middleware), rejig to return matched header + regex kim 2023-12-18 13:14:20 +0000
  • fe86527afb add advanced header filter mode to flags kim 2023-12-18 11:30:06 +0000
  • d03efa0430 rename header filter mode flag to advanced to specify that it's an advanced option kim 2023-12-18 11:27:57 +0000
  • 3a1211dd08 break down the new header filter creation + ptr getting with explanations kim 2023-12-18 11:19:12 +0000
  • fcaf5759ae no need to canonicalise mime header twice kim 2023-12-18 11:14:28 +0000
  • 600a0e17ef convert header key to canonical mime header format before database insert kim 2023-12-18 11:10:23 +0000
  • a5a80ae6f1 make headerfilter a global piece of middleware kim 2023-12-18 10:58:16 +0000
  • 8de563621f use apiutil for param ID error handling kim 2023-12-18 10:55:19 +0000
  • 057b68a409 no need to set created_at, database will already do this kim 2023-12-18 10:52:42 +0000
  • 1bb7686735 [docs] Split iptables and nftables into sections Daniele Sluijters 2023-12-18 11:52:19 +0100
  • 78bfd0842d add unique constraints to header+regex columns to prevent repeats kim 2023-12-18 10:49:12 +0000
  • 036c6ccd22 remove the err already exists check in migrations kim 2023-12-18 10:47:40 +0000
  • 9f1c2b6d5c add license header kim 2023-12-18 10:45:36 +0000
  • 12f66c1697 add back cache atomic ptr field member comments kim 2023-12-18 10:44:25 +0000
  • e78369e427 add warning specifically to allow filtering mode kim 2023-12-18 10:42:07 +0000
  • 87393309c9 improve block filter mode wording to reassure users of existing checks kim 2023-12-18 10:40:07 +0000
  • f5b3fbb4b0 add more test cases kim 2023-12-14 12:32:04 +0000
  • 1d602252fe rename to request filtering modes kim 2023-12-14 12:29:40 +0000
  • 6d487e4116 add http request header filtering mode documentation kim 2023-12-14 12:28:11 +0000
  • 5151ca3ddd always respond forbidden if request filtering enabled and attempt match on header value > MaxHeaderValue kim 2023-12-14 12:11:30 +0000
  • daf56339a1 add config documentation for request header filtering mode variable kim 2023-12-14 11:16:31 +0000
  • 43b839f1cb add update method to test, fix database update method kim 2023-12-14 11:11:05 +0000
  • 4714831b4d add header filter database tests kim 2023-12-14 11:02:30 +0000
  • 43b8a48c19 update delete endpoint to not perform an accept header negotiation kim 2023-12-14 10:41:22 +0000
  • df57251b29 finish writing swagger docs, generate updated swagger docs yaml kim 2023-12-14 10:36:20 +0000
  • ae2e865fc2 separate out header filter gin handlers, start adding swagger docs kim 2023-12-14 10:29:08 +0000
  • d8c2df1fb9 add swagger docs for headerfilter api model types kim 2023-12-14 10:03:57 +0000
  • b13cdafde4 fix some cache comments, remove unused 'AP' caches kim 2023-12-14 09:55:50 +0000
  • f177116f21 set default request header filter mode kim 2023-12-14 09:55:41 +0000
  • 03008ac4b1 update envparsing kim 2023-12-14 09:49:08 +0000
  • 5f1c420f7b remove dead code kim 2023-12-13 16:53:24 +0000
  • 44645f84a8 remove unneeded parts of test kim 2023-12-13 16:49:08 +0000
  • 1c92324cc8 add test for middleware disabled kim 2023-12-13 16:46:37 +0000
  • d8b5edf426 use separate request header filter mode to determine filtering logic kim 2023-12-13 16:42:03 +0000
  • 31a9027753 finish adding code comments for headerfilter database interface kim 2023-12-13 15:10:46 +0000
  • 8400df21b5 even more code comments! kim 2023-12-13 15:07:27 +0000
  • c1221b28cc add more code comments! kim 2023-12-13 15:03:15 +0000
  • 765ffe00e7 add code comments kim 2023-12-13 14:47:19 +0000
  • 40469bc9eb remove dead code, fix linter issue kim 2023-12-12 23:17:28 +0000
  • 467b209c10 fix broken domain cache kim 2023-12-12 23:09:00 +0000
  • 2cce678e88 add headerfilter table migration, add headerfilter middleware test kim 2023-12-12 23:00:24 +0000
  • 8009b873c3 remove unused function kim 2023-12-12 23:00:14 +0000
  • 63211dfcd4 update headerfilters allow / block logic to follow same as federation mode, use improved match function terminology kim 2023-12-11 18:59:26 +0000
  • f83eaa64d7 add header filter http routes, increase code reuse in processor + fully handle filter creation/fetching/deletion kim 2023-12-06 18:39:30 +0000
  • 5c607b13b1 finish commenting a lot of functions kim 2023-12-06 13:48:03 +0000
  • 90632a6ace update to have separate allow / block header filter tables, add filter to middleware chain kim 2023-12-06 13:03:10 +0000
  • 528fa30a33 remove unused modules kim 2023-12-03 18:22:50 +0000
  • 9a21629f70 start adding request header filtering middleware, cache and database functionality kim 2023-12-03 18:18:35 +0000
  • 7e388505a7
    [chore]: Bump modernc.org/sqlite from 1.27.0 to 1.28.0 dependabot[bot] 2023-12-18 06:17:12 +0000
  • bb94e5415a
    [chore]: Bump github.com/google/uuid from 1.4.0 to 1.5.0 dependabot[bot] 2023-12-18 06:16:53 +0000
  • 888512b685
    [chore]: Bump github.com/jackc/pgx/v5 from 5.5.0 to 5.5.1 dependabot[bot] 2023-12-18 06:16:33 +0000
  • a28119c93c
    Update index.md bacardi55 2023-12-16 22:32:31 +0100
  • 07bd848028
    fix poll total vote double count (#2464) Sam Lade 2023-12-16 19:12:25 +0000
  • f83b2fba67 fix poll total vote double count Sam Lade 2023-12-16 17:09:27 +0000
  • ed8ad04200 [docs] Fix indenting of nft rule Daniele Sluijters 2023-12-16 13:35:07 +0100
  • aa6bdb72bc [docs] Describe how to block IPs using a firewall Daniele Sluijters 2023-12-16 13:29:46 +0100
  • 285d55dda8
    [feature] Push status edit messages into open streams (#2418) Sam Lade 2023-12-16 11:55:49 +0000
  • fbe4e60232
    [feature] Run ANALYZE after migrations on SQLite (#2428) Daenney 2023-12-16 12:54:53 +0100
  • d56a8d095e
    [performance] simpler throttling logic (#2407) kim 2023-12-16 11:53:42 +0000
  • 1312695c46
    [docs]: Update FAQ and ROADMAP (#2458) OniriCorpe 2023-12-16 12:49:37 +0100
  • aa20613129
    Add PR links OniriCorpe 2023-12-16 06:51:54 +0100
  • 32a5cceaf4
    Update ROADMAP.md OniriCorpe 2023-12-16 06:45:29 +0100
  • 37815bcd6c
    Update faq.md OniriCorpe 2023-12-16 06:32:30 +0100
  • 16f8741fd6 Merge branch 'main' into feature/stream-edits Sam Lade 2023-12-15 16:54:21 +0000
  • f4fcffc8b5
    [bugfix] use a much shorter refresh limit for statuses with polls (#2453) v0.13.0 kim 2023-12-15 14:24:39 +0000
  • b58984c77d Merge branch 'main' into bugfix/allow-shorter-poll-refresh-interval tobi 2023-12-15 15:18:51 +0100
  • 66195770a5 fix wrong force value being provided for async kim 2023-12-15 12:50:20 +0000
  • 5c954b524a only synchronously refresh if the refresh flag is provided, otherwise do async kim 2023-12-15 12:49:44 +0000
  • baf7b41d36 remove the definitely-not copy-pasted comment i accidentally typed out in full kim 2023-12-15 12:26:05 +0000
  • 7a3453f00d add statuses_poll_id_idx kim 2023-12-15 12:04:15 +0000
  • 7cbc68065f use argument name 'refresh' instead of 'upToDate' to better fit with the codebase kim 2023-12-15 11:58:19 +0000
  • 88bcb587f6 check refresh status error kim 2023-12-14 17:42:04 +0000
  • bc94a50616 remove unused field kim 2023-12-14 17:40:54 +0000
  • ae4f15b219 remove unnecessary force flag checks kim 2023-12-14 17:23:20 +0000
  • c03f7d02d7 remove the PollID check from statusUpToDate() kim 2023-12-14 17:15:04 +0000
  • f44d6cd63f allow specifying whether status must be upToDate in calls to Get(Visible)?TargetStatusBy_(), limit force refresh to 5 minute cooldown kim 2023-12-14 17:13:39 +0000
  • 519970c248 specifically use a much shorter refresh limit for statuses with polls kim 2023-12-14 12:51:52 +0000
  • b9bd2e68bd Merge branch 'main' into feature/stream-edits Sam Lade 2023-12-12 15:58:09 +0000
  • b881e248e0 Merge branch 'main' into template_jiggery_pokery tobi 2023-12-12 15:54:14 +0100