Skip to content

Releases

2.1.7

Choose a tag to compare

@gp247net gp247net released this 07 Nov 01:41

fix(security): match IP rules against the one visitor address (2.1.7)

Allow and deny rules are now matched against request()->ip() only. This is
the address Laravel resolves through TRUSTED_PROXIES. Before, they were
matched against request()->ips(), which also returns every untrusted
address listed in X-Forwarded-For, including whatever the visitor wrote
there. A forged entry could then hit the localhost or allow-list branch,
even behind a correctly declared Cloudflare.

The rule lists are read through ipsAllow() / ipsDeny(). The README
(en/vi/ja) explains the Docker setting: never REMOTE_ADDR or *.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

2.1.6

Choose a tag to compare

@gp247net gp247net released this 04 Nov 15:38

feat(admin): "+ Create new" in the form header; the form foot keeps only submit (2.1.6)

While an IP rule is being edited, the head of the form shows the shared
x-gp247::form-new-button to return to an empty form; the Reset button at
the foot is gone. The button ships with GP247 Core 3.10, so requireCore is
now 3.10; requireUpdateFrom becomes minUpdateFrom.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

2.1.5

Choose a tag to compare

@gp247net gp247net released this 22 Oct 22:50

feat(locale): Japanese (ja) translation; 2.1.5

  • Lang/ja mirrors Lang/en (same keys and placeholders).
  • README in Japanese (readme_ja.md / README_ja.md) and a three-language bar
    (Tiếng Việt · English · 日本語) on every README; version bumped to 2.1.5.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

2.1.4

Choose a tag to compare

@gp247net gp247net released this 02 Oct 15:58

chore: support GP247 Core 3.0 and 3.1 (2.1.4)

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

2.1.3

Choose a tag to compare

@gp247net gp247net released this 05 Sep 01:53

Update version

2.1.2

Choose a tag to compare

@gp247net gp247net released this 04 Sep 13:36

fix(route): register Livewire admin screen outside the namespaced group

The Core 2.0 admin screen is a full-page Livewire component registered with
Route::get('/', AdminLivewire::class). It sat inside a route group carrying
'namespace' => '\App\GP247\Plugins\CheckIP\Admin', so Laravel prepended that
namespace to the class-string action and produced an invalid, doubled reference
(...CheckIP\Admin\App\GP247\Plugins\CheckIP\Livewire\AdminLivewire), breaking
route registration whenever the plugin was active ("#GP247::plugin_load:: Invalid
route action").

Register the Livewire route in the outer prefix/middleware group (no namespace),
and keep the legacy AdminController string routes in their own nested namespaced
group — mirroring the pattern used by CashPayment/ShippingStandard. Bump 2.1.1 -> 2.1.2.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

2.1.1

Choose a tag to compare

@gp247net gp247net released this 30 Aug 10:49

Update version

2.1

2.1

Choose a tag to compare

@gp247net gp247net released this 23 Aug 02:50

Bump version one minor level for core 2.1 line

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

2.0

2.0

Choose a tag to compare

@gp247net gp247net released this 03 Aug 09:54

Upgrade CheckIP to GP247 Core 2.0 and harden IP resolution

  • Migrate admin UI to TailAdmin/Livewire: add Livewire/AdminLivewire.php
    and Views/livewire.blade.php (reactive add/edit/delete, allow/deny lists),
    route the main admin path to it with a class_exists-guarded legacy fallback.
  • gp247.json -> requireCore ["2.0"]; drop the removed gp247-core::layout in
    Views/Admin.blade.php (now a static TailAdmin fallback stub, no jQuery).
  • Legacy AdminController index/edit collapsed to the Livewire screen; remove
    jQuery/pjax/SweetAlert; delete now uses Livewire wire:confirm.
  • Security: CheckIP middleware no longer trusts raw X-Forwarded-For /
    CF-Connecting-IP headers. Resolve the client IP via request()->ips(), which
    honours config/trustedproxy.php, closing a spoofing bypass (e.g. sending
    "X-Forwarded-For: 127.0.0.1" previously matched the localhost allow branch).
  • Docs: refresh readme.md / readme_vi.md (Core 2.0, Livewire UI, trusted-proxy
    guidance, lockout warning) with a bilingual language switcher.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

1.0.2

Choose a tag to compare

@gp247net gp247net released this 25 Sep 10:24
Improve plugin