anubis/lib/policy/config
Xe Iaso f6481b81a2
fix(web): embed challenge ID in pass-challenge invocations (#944)
* refactor: make challenge pages return the challenge component

This means that challenge pages will return only the little bit that
actually matters, not the entire component.

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(web): move Anubis version info to be implicitly in the footer

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(web): embed challenge ID into generated pages

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(lib): make tests pass

Signed-off-by: Xe Iaso <me@xeiaso.net>

* test(lib/policy/config): amend tests

Signed-off-by: Xe Iaso <me@xeiaso.net>

* test(lib): fix tests again

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <xe.iaso@techaro.lol>
2025-08-04 18:49:19 +00:00
..
testdata feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
asn.go feat: implement a client for Thoth, the IP reputation database for Anubis (#637) 2025-06-16 11:57:32 -04:00
asn_test.go fix(config): actually load threshold config (#696) 2025-06-19 17:13:01 -04:00
check.go docs: remove JSON examples from policy file docs (#945) 2025-08-03 18:09:26 +00:00
config.go fix(web): embed challenge ID in pass-challenge invocations (#944) 2025-08-04 18:49:19 +00:00
config_test.go fix(web): embed challenge ID in pass-challenge invocations (#944) 2025-08-04 18:49:19 +00:00
expressionorlist.go feat(config): custom weight thresholds via CEL (#688) 2025-06-18 16:58:31 -04:00
expressionorlist_test.go feat(config): custom weight thresholds via CEL (#688) 2025-06-18 16:58:31 -04:00
geoip.go fix(config): actually load threshold config (#696) 2025-06-19 17:13:01 -04:00
geoip_test.go fix(config): actually load threshold config (#696) 2025-06-19 17:13:01 -04:00
impressum.go feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
impressum_test.go feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
opengraph.go feat: add default OpenGraph tags to configuration file (#694) 2025-06-19 18:00:44 -04:00
opengraph_test.go feat: add default OpenGraph tags to configuration file (#694) 2025-06-19 18:00:44 -04:00
store.go feat(lib): use new challenge creation flow (#749) 2025-07-04 20:42:28 +00:00
store_test.go feat(lib): use new challenge creation flow (#749) 2025-07-04 20:42:28 +00:00
threshold.go feat(config): custom weight thresholds via CEL (#688) 2025-06-18 16:58:31 -04:00
threshold_test.go fix(web): embed challenge ID in pass-challenge invocations (#944) 2025-08-04 18:49:19 +00:00
weight.go feat: add robots2policy CLI to convert robots.txt to Anubis CEL (#657) 2025-06-14 23:41:00 -04:00