mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-04 14:13:52 +09:00
Upgrade GeoIP functionality & replace the databases (#2471)
* Replaced Maxmind's IP database * Began rebuilding GeoIP reader functionality The GeoIP2 package does not worth with DB's that aren't built by maxmind themselves, making it rather unhelpful for us. Since my long-term goal is for someone to be able to bring in their own DB, making a custom implementation seems like the reasonable choice. (Plus my aim is already to replace the MaxMind DB due to it's licencing) * Created an IP address lookup page * + ASN info * Bump last patch * Make PHPStan happy * Very minor refactor + PHPDocs
This commit is contained in:
1 parent
2b431f8757
commit
a5d15c2a99
27 files changed
+526
-210
No files matched your search
@@ -315,7 +315,7 @@ LOCK TABLES `setting` WRITE;
|
||||
|
||||
INSERT INTO `setting` (`id`, `param`, `value`, `public`, `category`, `hash`, `created_at`, `updated_at`)
|
||||
VALUES
|
||||
(1,'last_patch','42',0,NULL,NULL,'2024-01-04 12:00:00','2024-01-04 12:00:00'),
|
||||
(1,'last_patch','43',0,NULL,NULL,'2024-01-04 12:00:00','2024-01-04 12:00:00'),
|
||||
(2,'company_name','Company Name',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
(3,'company_email','company@email.com',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
(4,'company_signature','FOSSBilling.org - Client Management, Invoicing and Support Software',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
|
||||
@@ -480,7 +480,7 @@ LOCK TABLES `setting` WRITE;
|
||||
|
||||
INSERT INTO `setting` (`id`, `param`, `value`, `public`, `category`, `hash`, `created_at`, `updated_at`)
|
||||
VALUES
|
||||
(1,'last_patch','42',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
(1,'last_patch','43',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
(2,'company_name','FOSSBilling demo',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
(3,'company_email','demo@fossbilling.org',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
(4,'company_signature','FOSSBilling.org - Client Management, Invoicing and Support Software',0,NULL,NULL,'2022-12-01 12:00:00','2022-12-01 12:00:00'),
|
||||
|
||||
Reference in new issue
Block a user