Nameless icon indicating copy to clipboard operation
Nameless copied to clipboard

Add user sessions page in staffcp

Open supercrafter100 opened this issue 2 years ago • 4 comments

image

supercrafter100 avatar Oct 10 '22 09:10 supercrafter100

image updated screenshot

supercrafter100 avatar Oct 10 '22 15:10 supercrafter100

image Additional screenshot (ips are dummy data for obvious reasons)

supercrafter100 avatar Oct 10 '22 16:10 supercrafter100

image Latest example

supercrafter100 avatar Oct 10 '22 19:10 supercrafter100

image I lied this is the latest image now (I'm posting these because I know people will wonder how it looks)

supercrafter100 avatar Oct 10 '22 20:10 supercrafter100

Maxmind GeoLite2 is a possible alternative to the online API. It provides a local database, with easy to use PHP library (can be installed using composer). Downloading the database seems to be somewhat of a hassle though.

License agreement:

The term "Services" as used in this Agreement means the Geolite2 Databases, the GeoLite2 Web Services and the GeoLite2 Data.

(a) Disclosure of Services. Except as explicitly permitted by the Creative Commons License, you will not disclose the Services to any third party or after notifying MaxMind of the anticipated disclosure and obtaining MaxMind's prior written consent to the disclosure. To the extent you disclose the Services to a third party as permitted by this Agreement, you will impose upon the third party the same or substantially similar contractual duties imposed on you and the rights provided to MaxMind as in this Agreement, including those in Section 3 (LIMITED GRANT OF RIGHTS), Section 6 (ADDITIONAL RESTRICTIONS), and the DPA and, where not inconsistent with the other terms of this Agreement, as in the Creative Commons License. You are responsible for the acts or omissions of any third parties with which you share the Services.

So we should be able to redistribute the database with NamelessMC? ToS says simply "Creative Commons License", but this is clarified on the main page to mean CC BY SA.

https://dev.maxmind.com/geoip/geolite2-free-geolocation-data

Derkades avatar Nov 06 '22 21:11 Derkades

Another possible fully open source alternative: https://github.com/geoacumen/geoacumen-country

It only provides country-level granularity, however

Derkades avatar Nov 06 '22 21:11 Derkades

Something went wonky pushing to this branch again locally, moved to new PR on branch which lives on this repo rather than a fork #3278

tadhgboyle avatar Mar 08 '23 05:03 tadhgboyle