Johann150
2ea6daaf7a
rename extractDbHost to extractPunyHost
2023-06-27 22:02:32 +02:00
Johann150
597de07465
server: refactor HTTP signature validation
2023-06-27 21:46:00 +02:00
Johann150
51a319e8ca
use extractDbHost
2023-06-23 22:00:31 +02:00
Johann150
4fbbfff145
activitypub: also check incoming activity host for block
2023-04-16 19:34:15 +02:00
Johann150
5f4aab6d46
translate yet another japanese comment
2023-04-16 19:33:50 +02:00
Johann150
75fd42b070
server: check for valid keyId URL before parse
2023-04-16 19:33:28 +02:00
Johann150
768d9bbdfb
refactor: remove default export for perform
2022-12-11 18:23:19 +01:00
Johann150
3ef1a4b0f9
refactor: remove default export for Resolver
2022-12-11 18:23:07 +01:00
Johann150
fde751df8f
fix: properly supply resolver (2)
2022-12-08 19:06:55 +01:00
Norm
c1a51547a9
BREAKING: server: remove wildcard blocking and instead block subdomains ( #269 )
...
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: FoundKeyGang/FoundKey#269
Changelog: Changed
2022-12-05 17:55:38 +00:00
Johann150
a421dd401c
activitypub: refactor to always apply recursion limit
...
Refactor to remove as many "new Resolver" as possible.
2022-12-04 21:11:44 +01:00
Johann150
03b673165f
server: refactor "authUser" functions into separate file
...
They did not really fit into the DbResolver because they may fetch data
from remote instances even though DbResolver is only supposed to access
the database.
2022-12-04 21:11:35 +01:00
Norm
075e251822
server: add wildcard matching to blocked hosts
...
This adds in wildcard matching. For instance:
- `*.bad.tld` will match: `very.bad.tld`
- `bad.*` will match: `bad.something`
- `*.bad.*` will match: `very.bad.evil`
Changelog: Changed
2022-12-01 11:29:02 -05:00
Johann150
36a0e48e49
bacakend: prefer absolute over relative imports
...
There are still many places where import paths with `..` are used and
maybe should use absolute paths also.
2022-10-01 14:40:30 +02:00
Johann150
7ceb96b148
limit id length of all incoming activities
2022-09-12 18:30:53 +02:00
Johann150
09a7eabda1
backend: fix lint "no-throw-literal"
2022-08-04 11:00:02 +02:00
Johann150
37e47a257e
fix lints "import/order" and "import/no-duplicate"
...
Also simplified some import paths by replacing relative with absolute paths.
2022-08-03 14:05:50 +02:00
Johann150
a6df127d3b
fix lint "quotes"
2022-08-02 23:25:36 +02:00
Johann150
9c80403072
use http-signature module that supports hs2019 ( #8635 )
2022-05-26 09:12:17 +09:00
syuilo
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
2e89b21544
fix esm
2022-03-01 01:34:53 +09:00
syuilo
d071d18dd7
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
syuilo
c1b264e4e9
Improve chart engine ( #8253 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update core.ts
* wip
* wip
* #7361
* delete network chart
* federationChart強化 apRequestChart追加
* tweak
2022-02-06 00:13:52 +09:00
syuilo
bd7662e5e4
refactor
2022-02-04 11:10:53 +09:00
syuilo
c69b72e199
fix lint
2021-12-09 23:58:30 +09:00
syuilo
0e4a111f81
refactoring
...
Resolve #7779
2021-11-12 02:02:25 +09:00