Page MenuHomePhorge

Geo-lockin UI
ClosedPublic

Authored by machniak on Jun 20 2022, 9:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 6, 5:21 PM
Unknown Object (File)
Thu, Jul 4, 1:41 AM
Unknown Object (File)
Thu, Jul 4, 12:33 AM
Unknown Object (File)
Thu, Jun 27, 5:59 AM
Unknown Object (File)
Tue, Jun 25, 1:17 AM
Unknown Object (File)
Mon, Jun 24, 1:50 AM
Unknown Object (File)
Sat, Jun 22, 11:05 PM
Unknown Object (File)
Sat, Jun 22, 8:19 PM
Subscribers
Restricted Project

Details

Reviewers
mollekopf
Group Reviewers
Restricted Project
Commits
rKdfabb5e2e0ac: Geo-lockin UI
rK0ea3b1c42771: Geo-lockin UI
Summary

Geo-lockin UI

Also added tests for nginx controller regarding geo-lockin

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • A better world map
  • Current location handling, style improvements
  • Map zooming
  • Geo-lockin reset button for admins/resellers
  • Merge branch 'master' into dev/geo-lock-ui
  • More tests
  • Secure login and password-reset with geo-lockin

I'm not sure if the required data for \App\Utils::countryForIP is actually available in production, but the UI is functional and the implementation looks good to me.

src/app/Http/Controllers/API/V4/UsersController.php
187

Is this intentional?

This revision is now accepted and ready to land.Jul 6 2022, 4:51 PM
src/app/Http/Controllers/API/V4/UsersController.php
187

Yes. We hide the geo-lockin setting in the UI if user has no private beta entitlement, for now.

This revision was automatically updated to reflect the committed changes.