Skip to content

exp_request_shield 0.0.1.4

Choose a tag to compare

@se7enxweb se7enxweb released this 15 Nov 02:19
· 11 commits to main since this release
  • Updated: The admin rules let the layout editor (Exponential Layouts) save and discard drafts: PUT, PATCH and
    DELETE are allowed for the editor's API only (EXP-ADMIN-SPA below /admin/explayouts_ui_api/, EXP-AH-SPA on
    an admin host), and refused everywhere else as before. Without them, "discard draft" in the editor answered
    405 ("Something went wrong") on every site with the shield. A site's copy of the admin rules is written once,
    when its rule file is made: take these two rules into it, or the new copy.
  • Added: The dashboard shows how many browser checks were passed (the answers that set a pass), next to how many
    were sent, and the activity summary counts both.
  • Updated: The default rules give images a budget of their own (EXP-IMAGES, 3000 a minute per visitor, then the
    browser check) and leave them out of the pace (EXP-PACE, still the check past 120 pages a minute). Exponential
    6.0.15 makes image aliases on demand: a page with hundreds of new images asks content/image, or
    index_image.php for a storage image that is not there yet, once per image, and the pace counted each of those
    as a page view, so a page of 500 new images got a few hundred answers 429 and never finished loading. The default
    budget requests is switched off (no-limit requests) and the pace is the budget pages. A site rule file that
    restated the pace the same way (a limit pages of its own) must drop it when it takes this copy.