diff --git a/LICENSE b/LICENSE index cd9e414..5c922e5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,22 @@ -MIT License +Custom Source-Available License Copyright (c) 2026 Bartek Janczak -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +TERMS AND CONDITIONS -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +1. Grant of License +Subject to the terms of this License, the Copyright Holder hereby grants you a worldwide, royalty-free, non-exclusive, non-sublicensable license to: +- Use the Software for personal, internal, or commercial purposes. +- Modify the Software for your own personal, internal, or commercial use. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +2. Restrictions +You are strictly prohibited from: +- Redistributing the Software, in whole or in part, or any modified versions thereof, in any public repository (including but not limited to public repositories on GitHub, GitLab, Bitbucket) or package registry (such as Packagist). +- Selling, renting, leasing, or sublicensing the Software or any modified versions thereof as a standalone package or library. +- Publishing, distributing, or sharing the Software under a different name or package name. + +3. Copyright Notice +The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. + +4. Disclaimer of Warranty +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 23b8750..0e5fe7b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@
-
+
@@ -642,9 +642,6 @@ curl https://yourdomain.com/api/short-url/links \
"max_visits": null,
"activated_at": null,
"expires_at": null,
- "pixel_meta_id": null,
- "pixel_google_id": null,
- "pixel_linkedin_id": null,
"webhook_url": null,
"targeting_rules": null,
"password": null,
@@ -678,7 +675,7 @@ curl -X POST https://yourdomain.com/api/short-url/links \
"notes": "Summer campaign",
"single_use": false,
"max_visits": 1000,
- "pixel_meta_id": "1234567890",
+ "pixels": [1, 2],
"webhook_url": "https://api.mycrm.com/clicks"
}'
```
@@ -698,9 +695,6 @@ curl -X POST https://yourdomain.com/api/short-url/links \
| `expiration_redirect_url` | string (URL) | ❌ | Fallback URL on expiry |
| `activated_at` | datetime | ❌ | Activation timestamp |
| `expires_at` | datetime | ❌ | Expiration timestamp |
-| `pixel_meta_id` | string | ❌ | Meta Pixel ID (Legacy support) |
-| `pixel_google_id` | string | ❌ | Google Tag / GA4 ID (Legacy support) |
-| `pixel_linkedin_id` | string | ❌ | LinkedIn Partner ID (Legacy support) |
| `pixels` | array of integers | ❌ | List of pixel registry IDs to associate with the link |
| `webhook_url` | string (URL) | ❌ | Per-link webhook endpoint |
| `targeting_rules` | array | ❌ | JSON targeting rules (device, geo, rotation, language) |
@@ -1046,4 +1040,4 @@ All migrations are compatible with **SQLite**, **MySQL**, and **PostgreSQL**:
## License
-MIT
+Custom Source-Available License. Please see the [LICENSE](LICENSE) file for the full text.
diff --git a/composer.json b/composer.json
index 7b87bcd..1c4a201 100644
--- a/composer.json
+++ b/composer.json
@@ -4,11 +4,11 @@
"description": "A professional Short URL manager plugin for Filament v5 with QR code design, visit tracking, geo-IP detection, and analytics.",
"keywords": ["filament", "short-url", "qr-code", "analytics", "tracking", "laravel"],
"homepage": "https://github.com/janczakb/filament-short-url",
- "license": "MIT",
+ "license": "proprietary",
"authors": [
{
"name": "Bartek Janczak",
- "email": "hello@bjanczak.dev",
+ "email": "barek122@gmail.com",
"role": "Developer"
}
],
diff --git a/src/FilamentShortUrlPlugin.php b/src/FilamentShortUrlPlugin.php
index 898ff6b..6b25016 100644
--- a/src/FilamentShortUrlPlugin.php
+++ b/src/FilamentShortUrlPlugin.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl;
use Bjanczak\FilamentShortUrl\Filament\Resources\ShortUrlPixelResource;
diff --git a/src/FilamentShortUrlServiceProvider.php b/src/FilamentShortUrlServiceProvider.php
index 673371c..9cb63d3 100644
--- a/src/FilamentShortUrlServiceProvider.php
+++ b/src/FilamentShortUrlServiceProvider.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl;
use Bjanczak\FilamentShortUrl\Console\Commands\SyncBufferedCountersCommand;
diff --git a/src/Models/ShortUrl.php b/src/Models/ShortUrl.php
index 1cf2728..f6f09e5 100644
--- a/src/Models/ShortUrl.php
+++ b/src/Models/ShortUrl.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Models;
use Bjanczak\FilamentShortUrl\Filament\Resources\ShortUrlResource\Widgets\ShortUrlGlobalOverview;
diff --git a/src/Models/ShortUrlDailyStats.php b/src/Models/ShortUrlDailyStats.php
index 72a8a59..04ac641 100644
--- a/src/Models/ShortUrlDailyStats.php
+++ b/src/Models/ShortUrlDailyStats.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/src/Models/ShortUrlPixel.php b/src/Models/ShortUrlPixel.php
index 8795ac6..7626bc6 100644
--- a/src/Models/ShortUrlPixel.php
+++ b/src/Models/ShortUrlPixel.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/src/Models/ShortUrlVisit.php b/src/Models/ShortUrlVisit.php
index 6f201d3..534dcb8 100644
--- a/src/Models/ShortUrlVisit.php
+++ b/src/Models/ShortUrlVisit.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/src/Services/AppLinkingEngine.php b/src/Services/AppLinkingEngine.php
index 18ce812..6a0e746 100644
--- a/src/Services/AppLinkingEngine.php
+++ b/src/Services/AppLinkingEngine.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
class AppLinkingEngine
diff --git a/src/Services/ClientIpExtractor.php b/src/Services/ClientIpExtractor.php
index cd3cd3b..d053ec0 100644
--- a/src/Services/ClientIpExtractor.php
+++ b/src/Services/ClientIpExtractor.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Illuminate\Http\Request;
diff --git a/src/Services/GeoIpService.php b/src/Services/GeoIpService.php
index d167ae7..cdbb2b0 100644
--- a/src/Services/GeoIpService.php
+++ b/src/Services/GeoIpService.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use GeoIp2\Database\Reader;
diff --git a/src/Services/ProxyDetectionService.php b/src/Services/ProxyDetectionService.php
index f8bdec3..f476ee4 100644
--- a/src/Services/ProxyDetectionService.php
+++ b/src/Services/ProxyDetectionService.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Illuminate\Support\Facades\Cache;
diff --git a/src/Services/SafeBrowsingService.php b/src/Services/SafeBrowsingService.php
index 27173f9..d010303 100644
--- a/src/Services/SafeBrowsingService.php
+++ b/src/Services/SafeBrowsingService.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Illuminate\Support\Facades\Http;
diff --git a/src/Services/ShortUrlBuilder.php b/src/Services/ShortUrlBuilder.php
index 7776810..2ec1026 100644
--- a/src/Services/ShortUrlBuilder.php
+++ b/src/Services/ShortUrlBuilder.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Bjanczak\FilamentShortUrl\Models\ShortUrl;
diff --git a/src/Services/ShortUrlService.php b/src/Services/ShortUrlService.php
index 5b3399e..9ffc051 100644
--- a/src/Services/ShortUrlService.php
+++ b/src/Services/ShortUrlService.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Bjanczak\FilamentShortUrl\Models\ShortUrl;
diff --git a/src/Services/ShortUrlSettingsManager.php b/src/Services/ShortUrlSettingsManager.php
index 3149fb8..f36b918 100644
--- a/src/Services/ShortUrlSettingsManager.php
+++ b/src/Services/ShortUrlSettingsManager.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Illuminate\Support\Facades\Artisan;
diff --git a/src/Services/ShortUrlTracker.php b/src/Services/ShortUrlTracker.php
index c0abd74..e55385f 100644
--- a/src/Services/ShortUrlTracker.php
+++ b/src/Services/ShortUrlTracker.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
use Bjanczak\FilamentShortUrl\Models\ShortUrl;
diff --git a/src/Services/UserAgentParser.php b/src/Services/UserAgentParser.php
index fa44f2d..0ad69d7 100644
--- a/src/Services/UserAgentParser.php
+++ b/src/Services/UserAgentParser.php
@@ -1,5 +1,12 @@
+ * @copyright 2026 Bartek Janczak
+ * @license Custom Source-Available License (see LICENSE file)
+ */
+
namespace Bjanczak\FilamentShortUrl\Services;
/**