Alejandro Celaya
6991138812
Merge pull request #2379 from shlinkio/develop
...
Release 4.4.5
2025-03-01 09:41:16 +01:00
Alejandro Celaya
5eb1808217
Update CHANGELOG.md with V4.4.5
2025-03-01 09:14:37 +01:00
Alejandro Celaya
5eb14c5315
Merge pull request #2375 from acelaya-forks/feature/deprecation-error-reporting
...
Disable deprecation warnings when running in production envs
2025-02-21 21:18:44 +01:00
Alejandro Celaya
a18360a4d6
Disable deprecation warnings when running in production envs
2025-02-21 21:13:29 +01:00
Alejandro Celaya
104b1e7d04
Merge pull request #2371 from shlinkio/develop
...
Release 4.4.4
2025-02-19 19:40:28 +01:00
Alejandro Celaya
af2d67695b
Merge pull request #2370 from acelaya-forks/feature/missing-join-fix
...
Fix 500 error when listing non-orphan visits with short-url-depending API key
2025-02-19 19:37:36 +01:00
Alejandro Celaya
449a588796
Fix 500 error when listing non-orphan visits with short-url-depending API key
2025-02-19 19:33:44 +01:00
Alejandro Celaya
7bbc938743
Merge pull request #2369 from acelaya-forks/feature/redis-cluster-fix
...
Downgrade to symfony/lock 7.1.6
2025-02-19 17:55:53 +01:00
Alejandro Celaya
766758ff9b
Downgrade to symfony/lock 7.1.6
2025-02-19 17:45:52 +01:00
Alejandro Celaya
bee9f2a9cc
Merge pull request #2364 from shlinkio/develop
...
Release 4.4.3
2025-02-15 11:28:09 +01:00
Alejandro Celaya
63d943d59d
Merge pull request #2363 from acelaya-forks/feature/find-url-perf
...
Fix unique_short_code_plus_domain index in Microsoft SQL
2025-02-15 11:24:26 +01:00
Alejandro Celaya
053e1f3073
Update changelog
2025-02-15 11:19:30 +01:00
Alejandro Celaya
f3da345bf3
Fix unique_short_code_plus_domain index in Microsoft SQL
2025-02-15 11:17:14 +01:00
Alejandro Celaya
745255736a
Simplify query to find short URL when domain is null
2025-02-14 10:20:50 +01:00
Alejandro Celaya
8fd53afe3f
Merge pull request #2361 from acelaya-forks/feature/lock-downgrade
...
Downgrade symfony/lock to v7.2.0 to work around redis issue
2025-02-14 08:52:33 +01:00
Alejandro Celaya
259635ea2a
Downgrade symfony/lock to v7.2.0 to work around redis issue
2025-02-14 08:40:06 +01:00
Alejandro Celaya
a1f2e6dc5c
Merge pull request #2359 from acelaya-forks/feature/multi-proxy-fix
...
Workaround for IP resolution from x-Forwarded-For with multiple proxies
2025-02-13 22:03:36 +01:00
Alejandro Celaya
81e07bf08d
Merge pull request #2358 from acelaya-forks/feature/phpunit-12
...
Update to PHPUnit 12
2025-02-13 21:59:00 +01:00
Alejandro Celaya
c650a3e665
Workaround for IP resolution from x-Forwarded-For with multiple proxies
2025-02-13 21:52:38 +01:00
Alejandro Celaya
65c01034ff
Update to PHPUnit 12
2025-02-13 10:35:58 +01:00
Alejandro Celaya
48f910aaaa
Merge pull request #2355 from acelaya-forks/feature/openapi-warnings
...
Remove suppressed warnings when running openapi tools
2025-02-05 08:43:28 +01:00
Alejandro Celaya
e511e15a87
Remove suppressed warnings when running openapi tools
2025-02-05 08:39:22 +01:00
Alejandro Celaya
888dc84d3f
Merge pull request #2348 from shlinkio/develop
...
Release 4.4.2
2025-01-29 12:08:51 +01:00
Alejandro Celaya
ed09bf90eb
Tag v4.4.2 in changelog
2025-01-29 12:05:53 +01:00
Alejandro Celaya
0ddfcb75dd
Merge pull request #2347 from acelaya-forks/feature/docker-arm
...
Get back docker image building for ARM architecture
2025-01-29 12:02:19 +01:00
Alejandro Celaya
193be55f0c
Get back docker image building for ARM architecture
2025-01-29 11:59:42 +01:00
Alejandro Celaya
3ba7ad3839
Merge pull request #2345 from shlinkio/develop
...
Release 4.4.1 - fixes
2025-01-28 15:53:49 +01:00
Alejandro Celaya
7ffb64eee1
Do not build docker image for ARM
2025-01-28 15:51:20 +01:00
Alejandro Celaya
0a2cc554c6
Build docker image with buildx 0.19.2
2025-01-28 15:38:47 +01:00
Alejandro Celaya
7c2b918d5d
Merge pull request #2344 from shlinkio/develop
...
Release 4.4.1
2025-01-28 10:15:24 +01:00
Alejandro Celaya
af783dea57
Add v4.4.1 to changelog
2025-01-28 10:12:15 +01:00
Alejandro Celaya
a68a17f6b4
Merge pull request #2343 from acelaya-forks/feature/defensive-title-encoding
...
Fix error when creating short URL for page with unsupported encoding
2025-01-28 10:11:04 +01:00
Alejandro Celaya
e9fe1ac5d4
Fix error when creating short URL for page with unsupported encoding
2025-01-28 10:04:30 +01:00
Alejandro Celaya
88e97f18ad
Merge pull request #2342 from acelaya-forks/feature/too-many-connections
...
Close connections after every async job that uses the db
2025-01-27 15:48:22 +01:00
Alejandro Celaya
3372a2a9c8
Close connections after every async job that uses the db
2025-01-27 15:45:37 +01:00
Alejandro Celaya
f02a8c876c
Merge pull request #2340 from acelaya-forks/feature/update-shlink-deps
...
Update shlink packages
2025-01-25 16:16:42 +01:00
Alejandro Celaya
1549509eb8
Update shlink packages
2025-01-25 16:13:40 +01:00
Alejandro Celaya
62fde5a8e2
Update changelog
2025-01-13 08:47:19 +01:00
Alejandro Celaya
221e061ea6
Merge pull request #2332 from MaZe3D/develop
...
Add ADDRESS environment vairable to define the listening interface.
2025-01-13 08:45:20 +01:00
Mark Orlando Zeller
9ad565f8c8
Add ADDRESS environment vairable to define the listening interface.
2025-01-10 22:10:51 +01:00
Alejandro Celaya
0a67f71b94
Merge pull request #2317 from shlinkio/develop
...
Release 4.4.0
2024-12-27 16:31:44 +01:00
Alejandro Celaya
11fa28e489
Merge pull request #2316 from acelaya-forks/feature/v4.4
...
Add v4.4.0 to changelog and update dependencies
2024-12-27 16:27:06 +01:00
Alejandro Celaya
d7e51b388e
Add v4.4.0 to changelog and update dependencies
2024-12-27 16:24:25 +01:00
Alejandro Celaya
5ef2df3d53
Merge pull request #2315 from acelaya-forks/feature/import-redirect-rules
...
Implement logic to import redirect rules from other Shlink instances
2024-12-22 18:50:10 +01:00
Alejandro Celaya
9c251b3646
Update changelog
2024-12-22 18:41:58 +01:00
Alejandro Celaya
2807b9ce2f
Fix ImportedLinksProcessorTest
2024-12-22 18:41:03 +01:00
Alejandro Celaya
2f39aff2fe
Implement logic to import redirect rules from other Shlink instances
2024-12-22 12:42:06 +01:00
Alejandro Celaya
b8d7917691
Merge pull request #2314 from acelaya-forks/feature/database-ssl
...
Support encrypted connections to MySQL/Maria and Postgres
2024-12-20 09:54:59 +01:00
Alejandro Celaya
d228c16f82
Fix test for ip middleware
2024-12-20 09:52:30 +01:00
Alejandro Celaya
c34bfac6b1
Update installer with support for DB_USE_ENCRYPTION option
2024-12-20 09:29:28 +01:00
Alejandro Celaya
4e7d09035a
Support encrypted connections to MySQL/Maria and Postgres
2024-12-19 09:00:01 +01:00
Alejandro Celaya
83570f5c25
Merge pull request #2313 from acelaya-forks/feature/qr-disable-logo
...
Allow QR code logo to be individually disabled
2024-12-18 09:14:47 +01:00
Alejandro Celaya
6ad8b03850
Allow QR code logo to be individually disabled
2024-12-18 09:10:53 +01:00
Alejandro Celaya
736e09adfe
Merge pull request #2310 from acelaya-forks/feature/less-restrictive-custom-slugs
...
Be less restrictive on what characters are disallowed in custom slugs
2024-12-17 18:08:51 +01:00
Alejandro Celaya
e80af78e09
Be less restrictive on what characters are disallowed in custom slugs
2024-12-17 18:04:38 +01:00
Alejandro Celaya
d533adf7ce
Merge pull request #2308 from acelaya-forks/feature/geolocation-updates
...
Improve how geolocation DB files are downloaded/updated
2024-12-16 20:21:35 +01:00
Alejandro Celaya
509ef668e6
Fix GeolocationDbUpdater test
2024-12-16 19:50:06 +01:00
Alejandro Celaya
e715a0fb6f
Track reason for which a geolocation db download was attempted
2024-12-16 09:23:30 +01:00
Alejandro Celaya
72a962ec6d
Handle differently when trying to update geolocation and already in progress
2024-12-15 12:03:01 +01:00
Alejandro Celaya
853c50a819
Fix some cases of database download in GeolocationDbUpdater
2024-12-15 11:34:38 +01:00
Alejandro Celaya
f10a9d3972
Simplify geolocation_db_updates indexes
2024-12-15 10:08:22 +01:00
Alejandro Celaya
a77e07f906
Refactor geolocation download logic based on database table
2024-12-15 10:05:32 +01:00
Alejandro Celaya
d4d97c3182
Create new table to track geolocation updates
2024-12-13 10:33:53 +01:00
Alejandro Celaya
55724dbff6
Merge pull request #2306 from acelaya-forks/feature/update-docker-images
...
Update docker images to Alpine 3.21
2024-12-12 09:06:49 +01:00
Alejandro Celaya
9e34183901
Update docker images to Alpine 3.21
2024-12-12 08:52:01 +01:00
Alejandro Celaya
88c283952c
Merge pull request #2304 from acelaya-forks/feature/geolocation-services-refactor
...
Move GeolocationDbUpdater to Core module
2024-12-11 08:58:23 +01:00
Alejandro Celaya
2ede615da8
Fix DownloadGeoLiteDbCommandTest
2024-12-11 08:50:56 +01:00
Alejandro Celaya
84d12f6811
Move GeolocationDbUpdaterTest to Core module
2024-12-11 08:47:13 +01:00
Alejandro Celaya
4f3c2c7d2d
Fix UpdateGeoLiteDbTest
2024-12-11 08:35:24 +01:00
Alejandro Celaya
b8ac9f3673
Add more strict parameter for GeolocationDbUpdater
2024-12-11 08:27:56 +01:00
Alejandro Celaya
06c0a94b31
Move GeolocationDbUpdater from CLI to Core module
2024-12-10 10:58:08 +01:00
Alejandro Celaya
5d12b1d952
Merge pull request #2302 from acelaya-forks/feature/openapi-names
...
Use the openapi terminology over swagger
2024-12-06 11:40:15 +01:00
Alejandro Celaya
85c4c09afa
Use the openapi terminology over swagger
2024-12-06 11:36:47 +01:00
Alejandro Celaya
e7c83d0b38
Merge pull request #2300 from acelaya-forks/feature/drop-8.2-support
...
Drop support for PHP 8.2
2024-12-02 09:21:50 +01:00
Alejandro Celaya
58de998596
Drop support for PHP 8.2
2024-12-02 09:16:15 +01:00
Alejandro Celaya
bfaab6c494
Merge pull request #2298 from acelaya-forks/feature/ignore-extra-path
...
Allow the extra path to be ignored when redirecting
2024-12-01 12:37:56 +01:00
Alejandro Celaya
d83081f4e9
Update shlink-installer
2024-12-01 12:28:29 +01:00
Alejandro Celaya
c65349d265
Allow the extra path to be ignored when redirecting
2024-12-01 09:56:09 +01:00
Alejandro Celaya
e74ee793a0
Merge pull request #2297 from acelaya-forks/feature/docker-php-8.4
...
Update docker images to PHP 8.4
2024-11-30 18:35:03 +01:00
Alejandro Celaya
ede58efe96
Update docker images to PHP 8.4
2024-11-30 13:53:19 +01:00
Alejandro Celaya
3f30af4794
Merge pull request #2294 from acelaya-forks/feature/user-agent
...
Migrate from mobiledetectlib to phpuseragentparser
2024-11-28 12:11:29 +01:00
Alejandro Celaya
6331fa3ed3
Migrate from mobiledetectlib to phpuseragentparser
2024-11-28 12:05:10 +01:00
Alejandro Celaya
d121d4d496
Merge pull request #2289 from acelaya-forks/feature/delete-old-migrations
...
Delete some old migrations
2024-11-28 09:00:40 +01:00
Alejandro Celaya
8499087a3b
Move DEFAULT_DOMAIN constant to domains module
2024-11-28 08:54:29 +01:00
Alejandro Celaya
bb72c96ebb
Delete some old migrations
2024-11-26 10:17:28 +01:00
Alejandro Celaya
8d4f2bbd12
Merge pull request #2288 from shlinkio/develop
...
Release 4.3.1
2024-11-25 23:49:37 +01:00
Alejandro Celaya
557c74286b
Add v4.3.1 to changelog
2024-11-25 23:45:02 +01:00
Alejandro Celaya
67abe21716
Merge pull request #2287 from acelaya-forks/feature/ms-index-fix
...
Fix columns order in unique_short_code_plus_domain index in MSSQL
2024-11-25 23:43:55 +01:00
Alejandro Celaya
33cea36b15
Fix columns order in unique_short_code_plus_domain index in MSSQL
2024-11-25 22:48:04 +01:00
Alejandro Celaya
4e8f3f737a
Merge pull request #2286 from acelaya-forks/feature/crawler-detect
...
Use jaybizzle/crawler-detect instead of acelaya/crawler-detect
2024-11-25 22:21:14 +01:00
Alejandro Celaya
35b835ec7b
Use jaybizzle/crawler-detect instead of acelaya/crawler-detect
2024-11-25 22:17:15 +01:00
Alejandro Celaya
eff4f1fca3
Merge pull request #2284 from acelaya-forks/feature/rka-ip-address
...
Go back to using akrabat/ip-address-middleware instead of acelaya/ip-address-middleware
2024-11-25 09:31:43 +01:00
Alejandro Celaya
6f6388b2fc
Go back to using akrabat/ip-address-middleware instead of acelaya/ip-address-middleware
2024-11-25 09:23:43 +01:00
Alejandro Celaya
6428903e7d
Merge pull request #2283 from shlinkio/develop
...
Release 4.3.0
2024-11-24 14:31:16 +01:00
Alejandro Celaya
19f56e7ab0
Add v4.3.0 to changelog
2024-11-24 14:26:09 +01:00
Alejandro Celaya
6a96b72b94
Add real version constraints for Shlink packages
2024-11-24 14:23:12 +01:00
Alejandro Celaya
7634f55587
Merge pull request #2282 from acelaya-forks/feature/track-redirect-url
...
Add redirect_url field to track where a visitor is redirected for a visit
2024-11-24 14:20:12 +01:00
Alejandro Celaya
571a4643ab
Update changelog
2024-11-24 14:13:59 +01:00
Alejandro Celaya
d5544554ef
Improve API docs description for redirectUrl fields
2024-11-24 14:08:23 +01:00
Alejandro Celaya
85065c9330
Test behavior to track redirect URL
2024-11-24 14:05:33 +01:00
Alejandro Celaya
86cc2b717c
Save where a visitor is redirected for any kind of tracked visit
2024-11-24 13:21:48 +01:00
Alejandro Celaya
89f70114e4
Fix typo in migration
2024-11-24 13:18:32 +01:00
Alejandro Celaya
8274525f75
Add redirect_url field to track where a visitor is redirected for a visit
2024-11-24 12:53:49 +01:00
Alejandro Celaya
fef512a7a3
Merge pull request #2280 from acelaya-forks/feature/php-8.4-support
...
Feature/php 8.4 support
2024-11-24 11:41:59 +01:00
Alejandro Celaya
deb9d4bdc7
Update docker images to Alpine 3.20
2024-11-24 11:37:08 +01:00
Alejandro Celaya
259aadfdb2
Update changelog
2024-11-24 11:05:36 +01:00
Alejandro Celaya
fe660654ed
Add PHP 8.4 to the release pipeline
2024-11-24 11:04:41 +01:00
Alejandro Celaya
b2fc19af44
Replace akrabat/ip-address-middleware with acelaya/ip-address-middleware
2024-11-24 11:04:14 +01:00
Alejandro Celaya
7434616a8d
Update mobiledetect/mobiledetectlib to a commit including PHP 8.4 fixes
2024-11-24 10:55:55 +01:00
Alejandro Celaya
fbf1aabcf5
Replace jaybizzle/crawler-detect with acelaya/crawler-detect
2024-11-24 10:49:44 +01:00
Alejandro Celaya
8ee905882f
Merge pull request #2277 from acelaya-forks/feature/ip-address-factory
...
Use `IpAddressFactory` from akrabat/ip-address-middleware
2024-11-22 09:13:01 +01:00
Alejandro Celaya
2946b630c5
Use IpAddressFactory from akrabat/ip-address-middleware
2024-11-22 09:01:27 +01:00
Alejandro Celaya
b2bfe9799a
Merge pull request #2276 from acelaya-forks/feature/visits-list-duplication
...
Reduce duplication in actions listing visits
2024-11-20 09:51:54 +01:00
Alejandro Celaya
d7e300e2d5
Reduce duplication in actions listing visits
2024-11-20 09:48:12 +01:00
Alejandro Celaya
0c75202936
Merge pull request #2273 from acelaya-forks/feature/remove-laminas-config
...
Remove dependency on laminas config
2024-11-19 20:15:28 +01:00
Alejandro Celaya
81bed53f90
Update Shlink libraries to remove dependency on laminas-config
2024-11-19 20:12:38 +01:00
Alejandro Celaya
a56ff1293e
Remove direct dependency on laminas/laminas-config
2024-11-19 09:18:06 +01:00
Alejandro Celaya
c323bfcd63
Merge pull request #2272 from acelaya-forks/feature/geolocate-localhost-fix
...
Make sure IpGeolocationMiddleware skips localhost
2024-11-19 09:14:45 +01:00
Alejandro Celaya
f57f159002
Remove no longer used Visit::isLocatable method
2024-11-19 09:10:47 +01:00
Alejandro Celaya
fa08014226
Make sure IpGeolocationMiddleware skips localhost
2024-11-19 09:08:04 +01:00
Alejandro Celaya
052c9e76a1
Merge pull request #2271 from acelaya-forks/feature/api-key-domain-exceptions
...
Use more meaningful domain exceptions to represent ApiKeyService thrown errors
2024-11-18 09:59:25 +01:00
Alejandro Celaya
8298ef36f8
Use more meaningful domain exceptions to represent ApiKeyService thrown errors
2024-11-18 09:51:27 +01:00
Alejandro Celaya
b11d5c6864
Do not ignore platform reqs when using PHP 8.4
2024-11-18 08:50:20 +01:00
Alejandro Celaya
08394431f8
Merge pull request #2269 from acelaya-forks/feature/no-php-8.4-error
...
Do not allow pipelines to continue on error
2024-11-17 10:25:33 +01:00
Alejandro Celaya
a9ae4a24d0
Do not allow pipelines to continue on error
2024-11-17 10:15:25 +01:00
Alejandro Celaya
9b7b91402c
Merge pull request #2268 from acelaya-forks/feature/delete-visits-fix
...
Fix visits counts not being deleted when deleting short URL or orphan visits
2024-11-15 19:26:57 +01:00
Alejandro Celaya
178a99b993
Fix visits counts not being deleted when deleting short URL or orphan visits
2024-11-15 19:22:29 +01:00
Alejandro Celaya
a8f046dfff
Merge pull request #2266 from acelaya-forks/feature/geolocation-middleware
...
Feature/geolocation middleware
2024-11-15 10:47:18 +01:00
Alejandro Celaya
42ff0d5b69
Create IpGeolocationMiddlewareTest
2024-11-15 10:17:56 +01:00
Alejandro Celaya
6aaea2ac26
Simplify logic in RedirectRule when checking geolocation conditions
2024-11-15 09:00:59 +01:00
Alejandro Celaya
b5ff568651
Use IpGeolocationMiddleware to geolocate visitors instead of LocateVisit event
2024-11-15 08:55:43 +01:00
Alejandro Celaya
4a0b7e3fc9
Refactor Visitor model and allow a Location object to be passed to it
2024-11-14 14:48:18 +01:00
Alejandro Celaya
1fee745786
Merge pull request #2263 from acelaya-forks/feature/geolocation-city-name-redirects
...
Add support for city name dynamic redirects
2024-11-14 10:07:01 +01:00
Alejandro Celaya
a6e0916272
Add support for city name dynamic redirects
2024-11-14 09:58:53 +01:00
Alejandro Celaya
dbef32ffcb
Merge pull request #2257 from acelaya-forks/feature/geolocation-country-code-redirects
...
Add new geolocatio-country-code redirect condition type
2024-11-14 09:43:10 +01:00
Alejandro Celaya
7ddb3e7a70
Add tests covering country code validation
2024-11-14 09:40:10 +01:00
Alejandro Celaya
fd34332e69
Improve ExtraPathRedirectMiddlewareTest
2024-11-14 09:28:10 +01:00
Alejandro Celaya
51d838870d
Add reference to ISO 3166-1 alpha-2 country codes wikipedia page
2024-11-14 09:14:17 +01:00
Alejandro Celaya
4619ebd014
After tracking a visit, set its location in the request as attribute
2024-11-14 08:21:16 +01:00
Alejandro Celaya
f2371b6124
Update RedirectRuleHandlerTest
2024-11-13 10:01:52 +01:00
Alejandro Celaya
b5b5f92eda
Add validation for country-code redirect conditions
2024-11-12 10:25:39 +01:00
Alejandro Celaya
781c083c9f
Add new geolocatio-country-code redirect condition type
2024-11-12 10:25:39 +01:00
Alejandro Celaya
a444ed0246
Merge pull request #2258 from acelaya-forks/feature/phpstan-2
...
Update to PHPStan 2.0
2024-11-12 10:25:02 +01:00
Alejandro Celaya
9a69d06531
Update to PHPStan 2.0
2024-11-12 10:22:23 +01:00
Alejandro Celaya
15cb3bb73c
Merge pull request #2256 from acelaya-forks/feature/unecessary-flush
...
Remove unnecessary flush calls when used in wrapInTransaction
2024-11-11 09:35:30 +01:00
Alejandro Celaya
7ca605e216
Remove unnecessary flush calls when used in wrapInTransaction
2024-11-11 09:31:23 +01:00
Alejandro Celaya
59a4704658
Merge pull request #2255 from acelaya-forks/feature/expose-tracked-visits
...
Return `Visit` object created when tracking a visit successfully
2024-11-11 09:19:20 +01:00
Alejandro Celaya
48ecef3436
Update RequestTracker so that its methods return the new Visit instance, if any
2024-11-11 08:58:16 +01:00
Alejandro Celaya
a5a98bd578
Update VisitsTracker so that its methods return the new Visit instance, if any
2024-11-11 08:51:55 +01:00
Alejandro Celaya
12a08cb373
Merge pull request #2253 from acelaya-forks/feature/api-key-improvements
...
Feature/api key improvements
2024-11-09 12:23:10 +01:00
Alejandro Celaya
3c6f12aec6
Ensure auto-generated name API keys do not throw duplicated name
2024-11-09 12:07:07 +01:00
Alejandro Celaya
d228b88e51
Lock transaction to avoid race conditions when renaming an API key
2024-11-09 11:16:36 +01:00
Alejandro Celaya
95685d958d
Update to latest test utils
2024-11-09 11:02:10 +01:00
Alejandro Celaya
1a278eaf07
Merge pull request #2252 from acelaya-forks/feature/readonly-classes
...
Make classes readonly when possible
2024-11-09 09:58:56 +01:00
Alejandro Celaya
72f1e243b5
Make classes readonly when possible
2024-11-09 09:55:51 +01:00
Alejandro Celaya
d6b103de83
Merge pull request #2251 from acelaya-forks/feature/inject-repos
...
Feature/inject repos
2024-11-09 09:54:06 +01:00
Alejandro Celaya
fca3891819
Inject ShortUrlRepository in ShortCodeUniquenessHelper
2024-11-09 09:47:47 +01:00
Alejandro Celaya
3ec24e3c67
Inject ShortUrlRepository in UrlShortener
2024-11-09 09:43:55 +01:00
Alejandro Celaya
532102e662
Inject ShortUrlRepository in ShortUrlResolver
2024-11-09 09:39:56 +01:00
Alejandro Celaya
fcd82522ab
Merge pull request #2250 from acelaya-forks/feature/inject-tag-repo
...
Inject TagRepository in TagService, instead of getting it from EntityManager
2024-11-09 09:39:03 +01:00
Alejandro Celaya
102169b6c7
Inject DomainRepository in DomainService
2024-11-09 09:34:24 +01:00
Alejandro Celaya
dba9302f78
Inject TagRepository in TagService, instead of getting it from EntityManager
2024-11-09 09:25:01 +01:00
Alejandro Celaya
92ad6d2732
Merge pull request #2249 from acelaya-forks/feature/hash-api-keys
...
Feature/hash api keys
2024-11-09 09:14:38 +01:00
Alejandro Celaya
7e573bdb9b
Add tests for RenameApiKeyCOmmand and ApiKeyMeta
2024-11-08 09:58:02 +01:00
Alejandro Celaya
6f837b3b91
Move logic to determine if a new key has a duplicated name to the APiKeyService
2024-11-08 09:03:50 +01:00
Alejandro Celaya
b08c498b13
Create command to rename API keys
2024-11-08 08:47:49 +01:00
Alejandro Celaya
a661d05100
Allow API keys to be renamed
2024-11-08 08:25:07 +01:00
Alejandro Celaya
9e6f129de6
Make sure a unique name is required by api-key:generate command
2024-11-07 14:52:06 +01:00
Alejandro Celaya
4c1ff72438
Add method to check if an API exists for a given name
2024-11-07 09:55:10 +01:00
Alejandro Celaya
6f95acc202
Inject ApiKeyRepository in ApiKeyService
2024-11-07 09:34:42 +01:00
Alejandro Celaya
bd73362c94
Update api-key:disable command to allow passing a name
2024-11-06 20:10:06 +01:00
Alejandro Celaya
f6d70c599e
Make name required in ApiKey entity
2024-11-06 08:57:10 +01:00
Alejandro Celaya
1b9c8377ae
Hash existing API keys, and do checks against the hash
2024-11-05 23:27:39 +01:00
Alejandro Celaya
9f6975119e
Show only API key name in short URLs list
2024-11-05 22:52:01 +01:00
Alejandro Celaya
a094be2b9e
Fall back API key names to auto-generated keys
2024-11-05 11:26:39 +01:00
Alejandro Celaya
819a535bfe
Create migration to set API keys in name column
2024-11-05 11:08:11 +01:00
Alejandro Celaya
e4fe7adf00
Merge pull request #2248 from acelaya-forks/feature/api-key-simplification
...
Simplify ApiKey entity by exposing key as a readonly prop
2024-11-04 23:17:17 +01:00
Alejandro Celaya
79c5418ac2
Simplify ApiKey entity by exposing key as a readonly prop
2024-11-04 14:22:39 +01:00
Alejandro Celaya
b5010e4d8c
Merge pull request #2246 from acelaya-forks/feature/nanoid-2
...
Update to hidehalo/nanoid-php 2.0
2024-11-04 08:55:17 +01:00
Alejandro Celaya
3085fa76cf
Update to hidehalo/nanoid-php 2.0
2024-11-04 08:50:58 +01:00
Alejandro Celaya
1fd7d58084
Update Bluesky handle
2024-11-03 11:38:31 +01:00
Alejandro Celaya
eae001a34a
Rename ShortUrlWithVisitsSummary to ShortUrlWithDeps
2024-11-03 11:38:31 +01:00
Alejandro Celaya
d7ecef94f2
Avoid selecting domains for every short URL in list
2024-11-03 11:38:31 +01:00
Alejandro Celaya
98364a1aae
Update to mlocati/ip-lib 1.18.1
2024-11-03 11:38:31 +01:00
Alejandro Celaya
9ccb866e5e
Display warnings and deprecations in all test suites
2024-11-03 11:38:31 +01:00
Alejandro Celaya
3f1d61e01e
Update to PHP coding standard 2.4.0
2024-11-03 11:38:31 +01:00
Alejandro Celaya
93a277a94d
Allow short URLs to be filtered by domain from the command line
2024-11-03 11:38:30 +01:00
Alejandro Celaya
a10ca655a2
Cover domain filtering in ListShortUrls API test
2024-11-03 11:37:59 +01:00
Alejandro Celaya
bb270396b6
Allow short URLs list to be filtered by domain authority
2024-11-03 11:37:59 +01:00
Alejandro Celaya
525a306ec6
Create constant representing default domain identifier
2024-11-03 11:37:59 +01:00
Alejandro Celaya
1dd71d2ee7
Update changelog
2024-11-03 11:37:59 +01:00
Alejandro Celaya
ac2e249746
Update swagger Short URL examples to include forwardQuery and hasRedirectRules
2024-11-03 11:37:16 +01:00
Alejandro Celaya
af569ad7a5
Fix PHPStan rules
2024-11-03 11:37:16 +01:00
Alejandro Celaya
bf121c58ba
Fix API tests
2024-11-03 11:37:16 +01:00
Alejandro Celaya
d2403367b5
Fix PublishingUpdatesGeneratorTest
2024-11-03 11:37:16 +01:00
Alejandro Celaya
84a187a26f
Include left join with domains when listing short URLs to avoid N+1 SELECT problem
2024-11-03 11:37:15 +01:00
Alejandro Celaya
3149adebdb
Expose the fact that a short URL has redirect rules attached to it
2024-11-03 11:36:50 +01:00
Alejandro Celaya
228bf093d3
Merge pull request #2245 from acelaya-forks/feature/fix-redis-7.4-scan
...
Update to shlink-common 6.5 to fix integration with redis 7.4
2024-11-03 11:35:50 +01:00
Alejandro Celaya
26589e6126
Update to shlink-common 6.5 to fix integration with redis 7.4
2024-11-03 11:32:44 +01:00
Alejandro Celaya
02e48ae665
Merge pull request #2237 from shlinkio/develop
...
Release 4.2.4
2024-10-27 08:48:05 +01:00
Alejandro Celaya
0d627ce808
Set user to 0 in database containers when running in CI
2024-10-27 08:45:11 +01:00
Alejandro Celaya
99639b9844
Depend on actual versions for shlink packages
2024-10-27 08:36:57 +01:00
Alejandro Celaya
0c3c7ff3b2
Add v4.2.4 to changelog
2024-10-27 08:23:38 +01:00
Alejandro Celaya
d7423585ff
Build docker image in CI using reusable workflow
2024-10-26 10:25:11 +02:00
Alejandro Celaya
7de07a9cd4
Merge pull request #2236 from acelaya-forks/feature/normalize-composer-json
...
Feature/normalize composer json
2024-10-24 14:25:01 +02:00
Alejandro Celaya
2a734b5d89
Ensure proper env vars are promoted for dev and test envs
2024-10-24 14:20:49 +02:00
Alejandro Celaya
4520afb271
Normalize composer.json scripts with composer capabilities
2024-10-24 14:08:48 +02:00
Alejandro Celaya
e7a9ad1db0
Merge pull request #2224 from acelaya-forks/feature/dev-config-as-env
...
Migrate dev-specific configuration to env vars via .env file
2024-10-24 12:01:13 +02:00
Alejandro Celaya
84860539ce
Ensure dev env files are not accidentally leaked to locally built docker images
2024-10-24 11:58:04 +02:00
Alejandro Celaya
2901fe8b7b
Reduce duplication in CLI tests
2024-10-24 11:50:06 +02:00
Alejandro Celaya
f9694333c5
Add ADR for transition to env vars for dev configs
2024-10-24 11:44:05 +02:00
Alejandro Celaya
fc1f35ad59
Update CONTRIBUTING file removing references to old local config files
2024-10-24 10:12:34 +02:00
Alejandro Celaya
9a58748581
Get LC_ALL env var back to docker compose
2024-10-24 10:00:57 +02:00
Alejandro Celaya
45e108d21e
Load dev env as a PHP array instead of an env file
2024-10-24 09:59:13 +02:00
Alejandro Celaya
f4da9c1fcc
Update dependencies to stop using cuyz/valinor
2024-10-24 09:22:44 +02:00
Alejandro Celaya
a3ea8f56dd
Remove app_options config
2024-10-24 08:49:58 +02:00
Alejandro Celaya
f3244b35e3
Remove remaining local config files
2024-10-23 10:53:09 +02:00
Alejandro Celaya
442eea0ea7
Add script to run CLI tests that loads and exports test env vars
2024-10-23 10:16:38 +02:00
Alejandro Celaya
46601443f5
Load specific env file when running API tests
2024-10-23 09:17:00 +02:00
Alejandro Celaya
c0200317dd
Load dev env vars via roadrunner instead of docker compose
2024-10-22 15:31:53 +02:00
Alejandro Celaya
c8e5196aab
Remove dependencies on url_shortener raw config
2024-10-22 15:15:41 +02:00
Alejandro Celaya
b991b1699e
Define unique dev .env file
2024-10-22 15:15:41 +02:00
Alejandro Celaya
582033ceb3
Migrate dev-specific configuration to env vars via .env file
2024-10-22 15:15:41 +02:00
Alejandro Celaya
549a8d8837
Merge pull request #2233 from acelaya-forks/feature/endroid-qr-code-6
...
Update to endroid/qr-code 6.0
2024-10-22 09:06:30 +02:00
Alejandro Celaya
5fb6c8708c
Update to endroid/qr-code 6.0
2024-10-22 09:02:32 +02:00
Alejandro Celaya
7ee757243a
Merge pull request #2230 from acelaya-forks/feature/xdebug-coverage
...
Switch to xdebug for code coverage reports
2024-10-21 12:01:29 +02:00
Alejandro Celaya
044efe6ee4
Switch to xdebug for code coverage reports
2024-10-21 11:54:45 +02:00
Alejandro Celaya
9b16749737
Remove twitter badge from readme
2024-10-17 16:27:38 +02:00
Alejandro Celaya
6d51ff831f
Merge pull request #2228 from acelaya-forks/feature/docker-signals
...
Feature/docker signals
2024-10-17 15:09:08 +02:00
Alejandro Celaya
0635615149
Run RoadRunner in docker with exec to ensure signals are properly handled
2024-10-17 15:03:55 +02:00
Alejandro Celaya
51de4b17c0
Merge pull request #2227 from shlinkio/develop
...
Release 4.2.3
2024-10-17 09:41:21 +02:00
Alejandro Celaya
615b443652
Merge pull request #2226 from acelaya-forks/feature/fix-qr-codes
...
Update to shlink-config 3.2.1, which fixes skipping config options with null value
2024-10-17 09:37:21 +02:00
Alejandro Celaya
4b7b530f49
Update to shlink-config 3.2.1, which fixes skipping config options with null value
2024-10-17 09:33:53 +02:00
Alejandro Celaya
fa7969c746
Merge pull request #2222 from shlinkio/develop
...
Release 4.2.2
2024-10-14 09:50:13 +02:00
Alejandro Celaya
aef04af4f0
Merge pull request #2220 from acelaya-forks/feature/env-var-command
...
Feature/env var command
2024-10-14 09:45:48 +02:00
Alejandro Celaya
f118ea252c
Depend on shlink-config 3.2
2024-10-14 09:41:47 +02:00
Alejandro Celaya
d514f39a82
Update changelog
2024-10-14 09:41:46 +02:00
Alejandro Celaya
e17556a7ae
Add ReadEnvVarCommand test
2024-10-14 09:41:22 +02:00
Alejandro Celaya
d79f11eeb8
Add missing default value for DEFAULT_QR_CODE_BG_COLOR env var
2024-10-14 09:41:22 +02:00
Alejandro Celaya
1ec950ee1e
Fix tests not properly unsetting env vars
2024-10-14 09:41:22 +02:00
Alejandro Celaya
14ba9fd6a4
Create command to return the value of an env var for current env
2024-10-14 09:41:22 +02:00
Alejandro Celaya
83e8801827
Move env var default values to EnvVars enum
2024-10-14 09:41:22 +02:00
Alejandro Celaya
be822646e4
Update changelog
2024-10-13 09:49:34 +02:00
Alejandro Celaya
3a4a27a60c
Merge pull request #2214 from acelaya-forks/feature/fix-query-params
...
Ensure query parameters are preserved verbatim when forwarded to long URL
2024-10-10 11:38:15 +02:00
Alejandro Celaya
1773e6ecae
Ensure query parameters are preserved verbatim when forwarded to long URL
2024-10-10 11:35:29 +02:00
Alejandro Celaya
a8e4b2fceb
Merge pull request #2211 from acelaya-forks/feature/explicit-env-from-config
...
Promote installer config options as env vars explicitly
2024-10-08 09:07:11 +02:00
Alejandro Celaya
15b53ef43c
Update changelog
2024-10-08 09:04:30 +02:00
Alejandro Celaya
11a4702b10
Promote installer config options as env vars explicitly
2024-10-08 08:57:51 +02:00
Alejandro Celaya
6b15cd6d51
Merge pull request #2204 from shlinkio/develop
...
Release 4.2.1
2024-10-04 12:53:11 +02:00
Alejandro Celaya
00169a5729
Require shlink-common 6.3
2024-10-04 12:48:19 +02:00
Alejandro Celaya
94702791d9
Merge pull request #2203 from acelaya-forks/feature/fix-memory-limit
...
Fix `MEMORY_LIMIT` being ignored when provided as installer config option
2024-10-04 12:43:38 +02:00
Alejandro Celaya
447cccacdf
Update changelog
2024-10-04 12:41:02 +02:00
Alejandro Celaya
0413399102
Make sure MEMORY_LIMIT env var is read after config options have been promoted to env vars
2024-10-04 12:33:27 +02:00
Alejandro Celaya
9afc7876c4
Merge pull request #2184 from acelaya-forks/feature/redis-db-index
...
Allow specifying the redis database index to be used
2024-08-26 10:00:05 +02:00
Alejandro Celaya
187c17319a
Take all Postgres platform classes into consideration
2024-08-26 09:57:17 +02:00
Alejandro Celaya
7310ecd886
Allow specifying the redis database index to be used
2024-08-25 12:51:34 +02:00
Alejandro Celaya
620cd92d11
Merge pull request #2172 from shlinkio/develop
...
Release v4.2.0
2024-08-11 18:33:09 +02:00
Alejandro Celaya
f9658c8da1
Add v4.2.0 to changelog
2024-08-11 18:30:06 +02:00
Alejandro Celaya
613b1d3045
Update changelog
2024-08-06 10:13:55 +02:00
Alejandro Celaya
d39711ec51
Merge pull request #2170 from acelaya-forks/feature/testdox-summary
...
Add --testdox-summary flag to phpunit executions
2024-08-04 13:16:32 +02:00
Alejandro Celaya
69dcab96f8
Add --testdox-summary flag to phpunit executions
2024-08-04 13:13:03 +02:00
Alejandro Celaya
d76c96ad41
Fix coding standard
2024-08-01 08:38:49 +02:00
Alejandro Celaya
133efff2cd
Improve PHPStan config
2024-07-31 19:53:05 +02:00
Alejandro Celaya
c10f0db170
Merge pull request #2168 from acelaya-forks/feature/update-common
...
Update to latest shlink-common and remove deprecation references
2024-07-29 20:47:04 +02:00
Alejandro Celaya
037cd8a389
Add missing generic tyoes annotations
2024-07-29 20:43:52 +02:00
Alejandro Celaya
1d24750f43
Fix phpstan checks
2024-07-29 19:59:46 +02:00
Alejandro Celaya
b52ceaff9a
Update to latest shlink-common and remove deprecation references
2024-07-29 19:41:40 +02:00
Alejandro Celaya
6b0b52853c
Improve repro steps description in bug issue template
2024-07-28 10:49:24 +02:00
Alejandro Celaya
64d7ac7093
Merge pull request #2166 from acelaya-forks/feature/options-enum
...
Reduce hardcoded options in ShortUrlDataInput
2024-07-27 09:15:16 +02:00
Alejandro Celaya
b9ba1246d4
Reduce hardcoded options in ShortUrlDataInput
2024-07-27 09:12:54 +02:00
Alejandro Celaya
7f9dc10f6a
Merge pull request #2164 from acelaya-forks/feature/update-url-cli
...
Add command to update short URLs
2024-07-26 20:14:02 +02:00
Alejandro Celaya
a1afc90150
Fix sqlcmd path
2024-07-26 20:09:59 +02:00
Alejandro Celaya
df94c68e2e
Add unit test for EditShortUrlCommand
2024-07-26 19:54:39 +02:00
Alejandro Celaya
65ea1e00a6
Prevent resetting of non-providen params in EditShortUrlCommand
2024-07-26 19:26:48 +02:00
Alejandro Celaya
5bccdded8a
Create command to edit existing short URLs
2024-07-26 09:21:00 +02:00
Alejandro Celaya
8917ed5c2e
Create command to edit existing short URLs
2024-07-26 00:01:40 +02:00
Alejandro Celaya
fabc752398
Extract reading and parsing of arguments for short URLs data in commands
2024-07-25 23:44:46 +02:00
Alejandro Celaya
38d8086516
Merge pull request #2161 from acelaya-forks/feature/php-8.4-ci
...
Add PHP 8.4 to CI
2024-07-23 20:06:09 +02:00
Alejandro Celaya
ae0ff5f23c
Add PHP 8.4 to CI
2024-07-23 20:02:49 +02:00
Alejandro Celaya
7c659699f3
Merge pull request #2151 from acelaya-forks/feature/ip-dynamic-redirects
...
Add logic for IP-based dynamic redirects
2024-07-18 21:32:24 +02:00
Alejandro Celaya
9e6cdcb838
Update changelog
2024-07-18 21:26:28 +02:00
Alejandro Celaya
7e2f755dfd
Validate IP address patterns when creating ip-address redirect conditions
2024-07-18 21:23:48 +02:00
Alejandro Celaya
ce2ed237c7
Add ip-address condition type to redirect rules API spec docs
2024-07-17 20:23:58 +02:00
Alejandro Celaya
626caa4afa
Add API test for dynamic IP-based redirects
2024-07-17 20:13:46 +02:00
Alejandro Celaya
f4a7712ded
Add InvalidIpFormatExceptionTest
2024-07-17 19:59:13 +02:00
Alejandro Celaya
bab6a3951e
Add missing unit test
2024-07-17 19:56:53 +02:00
Alejandro Celaya
f49d98f2ea
Add logic for IP-based dynamic redirects
2024-07-17 19:51:13 +02:00
Alejandro Celaya
1312ea61f4
Add new IP address redirect condition
2024-07-06 10:35:33 +02:00
Alejandro Celaya
8d90661d0a
Extract logic to match IP address against list of groups
2024-07-06 10:12:05 +02:00
Alejandro Celaya
b6b2530cb6
Merge pull request #2149 from acelaya-forks/feature/robots-user-agents
...
Add option to customize user agents in robots.txt
2024-07-06 10:08:03 +02:00
Alejandro Celaya
e4f66b7ce6
Update installer
2024-07-05 09:41:26 +02:00
Alejandro Celaya
4b52c92e97
Add option to customize user agents in robots.txt
2024-07-05 08:54:54 +02:00
Alejandro Celaya
76c42bc17c
Merge pull request #2148 from acelaya-forks/feature/roadrunner-2024
...
Update to RoadRunner 2024
2024-07-03 19:56:36 +02:00
Alejandro Celaya
c4f8da5f02
Fix phpstan error definition
2024-07-03 19:53:26 +02:00
Alejandro Celaya
80bdeb280a
Update to RoadRunner 2024
2024-07-03 19:52:06 +02:00
Alejandro Celaya
99010b6eae
Fix merge conflicts
2024-05-23 09:26:27 +02:00
Alejandro Celaya
b2dabf06bf
Merge pull request #2136 from acelaya-forks/release/4.1.1
...
Release/4.1.1
2024-05-23 09:21:56 +02:00
Alejandro Celaya
67ae05f473
Add v4.1.1 to changelog
2024-05-23 09:18:58 +02:00
Alejandro Celaya
fb4fecf411
Merge pull request #2135 from acelaya-forks/feature/non-utf8-titles
...
Convert encoding of resolved titles based on page encoding
2024-05-23 09:17:49 +02:00
Alejandro Celaya
c855f011d1
Merge pull request #2132 from acelaya-forks/feature/update-phpstan
...
Update to latest phpstan
2024-05-23 09:17:37 +02:00
Alejandro Celaya
02717eb2fb
Merge pull request #2130 from marijnvandevoorde/nanoid
...
Replaces short-id by nano-id
2024-05-23 09:17:26 +02:00
Alejandro Celaya
de70ebe769
Merge pull request #2125 from acelaya-forks/feature/phpunit-11
...
Update to PHPUnit 11
2024-05-23 09:16:56 +02:00
Alejandro Celaya
c6109fd396
Merge pull request #2115 from acelaya-forks/feature/fix-oas-docs
...
Fix typo in OAS docs
2024-05-23 09:16:24 +02:00
Alejandro Celaya
83584a3175
Link crchived changelogs from main one
2024-05-23 09:15:40 +02:00
Alejandro Celaya
f5dcc52b3b
Migrate to new docker-publish-image reusable workflow
2024-05-23 09:15:16 +02:00
Alejandro Celaya
1901964de1
Merge pull request #2135 from acelaya-forks/feature/non-utf8-titles
...
Convert encoding of resolved titles based on page encoding
2024-05-22 18:14:56 +02:00
Alejandro Celaya
80e9c2452b
Convert encoding of resolved titles based on page encoding
2024-05-22 18:11:55 +02:00
Alejandro Celaya
5ad4b39160
Merge pull request #2132 from acelaya-forks/feature/update-phpstan
...
Update to latest phpstan
2024-05-21 19:05:39 +02:00
Alejandro Celaya
89b73a9cfa
Update to latest phpstan
2024-05-21 18:09:45 +02:00
Alejandro Celaya
e2d8334d69
Merge pull request #2130 from marijnvandevoorde/nanoid
...
Replaces short-id by nano-id
2024-05-21 17:58:53 +02:00
Marijn Vandevoorde
9b16d7acc0
Replaces short-id by nano-id
2024-05-16 14:00:39 +02:00
Alejandro Celaya
6836840746
Merge pull request #2125 from acelaya-forks/feature/phpunit-11
...
Update to PHPUnit 11
2024-05-12 13:22:26 +02:00
Alejandro Celaya
4084d301ca
Update to PHPUnit 11
2024-05-12 12:49:53 +02:00
Alejandro Celaya
added21b18
Merge pull request #2118 from shlinkio/revert-2117-feature/superfluous-distinct
...
Revert "Remove unneeded DISTINCT from list short URLs query"
2024-05-09 10:00:29 +02:00
Alejandro Celaya
8cd77391cc
Revert "Remove unneeded DISTINCT from list short URLs query"
2024-05-09 09:43:55 +02:00
Alejandro Celaya
05ebfccc63
Merge pull request #2117 from acelaya-forks/feature/superfluous-distinct
...
Remove unneeded DISTINCT from list short URLs query
2024-05-06 18:54:01 +02:00
Alejandro Celaya
cb3a690294
Remove unneeded DISTINCT from list short URLs query
2024-05-06 18:50:10 +02:00
Alejandro Celaya
194a7b0e57
Merge pull request #2115 from acelaya-forks/feature/fix-oas-docs
...
Fix typo in OAS docs
2024-04-29 15:22:32 +02:00
Alejandro Celaya
98e4d01feb
Fix typo in OAS docs
2024-04-29 15:18:54 +02:00
Alejandro Celaya
c22e3895b5
Allow more dev hosts in dev mercure
2024-04-29 08:52:18 +02:00
Alejandro Celaya
9a76c19615
Migrate to new docker-publish-image reusable workflow
2024-04-26 09:27:21 +02:00
Alejandro Celaya
59fa088975
Merge pull request #2107 from acelaya-forks/feature/robots-allow-all
...
Add option to allow all URLs to be crawlable via robots.txt
2024-04-22 09:23:34 +02:00
Alejandro Celaya
163244f40f
Add option to allow all URLs to be crawlable via robots.txt
2024-04-22 09:16:44 +02:00
Alejandro Celaya
a89b53af4f
Link crchived changelogs from main one
2024-04-21 16:46:24 +02:00
Alejandro Celaya
35508e253d
Merge pull request #2099 from shlinkio/develop
...
Release 4.1.0
2024-04-14 09:12:56 +02:00
Alejandro Celaya
e586fec338
Rearrange changelog
2024-04-14 08:53:31 +02:00
Alejandro Celaya
93fa27bdba
Add v4.1.0 to changelog
2024-04-14 08:40:52 +02:00
Alejandro Celaya
048856c333
Merge pull request #2098 from acelaya-forks/feature/matomo-command
...
Create console command to send visits to matomo
2024-04-13 20:59:57 +02:00
Alejandro Celaya
986f1162dd
Set COLUMNS env var when running unit tests
2024-04-13 20:56:59 +02:00
Alejandro Celaya
dc8dfa9f0c
Update changelog
2024-04-13 20:49:34 +02:00
Alejandro Celaya
82e7094f3a
Fix VisitIterationRepositoryTest for MS SQL
2024-04-13 20:48:03 +02:00
Alejandro Celaya
f0e62004d5
Add unit test to MatomoSendVisitsCommand
2024-04-13 20:30:31 +02:00
Alejandro Celaya
bbdbafd8db
Test MatomoVisitSender::sendVisitsInDateRange
2024-04-13 19:27:03 +02:00
Alejandro Celaya
6121efec59
Create command to send visits to matomo
2024-04-13 18:59:09 +02:00
Alejandro Celaya
4fdbcc25a0
Pass visit date to matomo when tracking
2024-04-13 18:59:09 +02:00
Alejandro Celaya
ca42425b33
Make Visit::date field readonly
2024-04-13 18:59:09 +02:00
Alejandro Celaya
ce0f61b66d
Allow filtering by date in VisitIterationRepository
2024-04-13 18:59:09 +02:00
Alejandro Celaya
13ee71f351
Move allowed HTTP methods definition to RedirectStatus enum
2024-04-13 18:59:09 +02:00
Alejandro Celaya
c57494d7cd
Extract logic to send visits to Matomo to its own service
2024-04-13 18:59:09 +02:00
Alejandro Celaya
d2e74ab330
Merge pull request #2097 from acelaya-forks/feature/bitly-custom-slugs
...
Fix custom slugs not being properly imported from bitly
2024-04-12 22:31:12 +02:00
Alejandro Celaya
850dde1a06
Fix custom slugs not being properly imported from bitly
2024-04-12 22:28:13 +02:00
Alejandro Celaya
5e83f301ff
Merge pull request #2092 from acelaya-forks/customizable-memory-limit
...
Allow memory_limit to be configurable
2024-04-09 09:45:08 +02:00
Alejandro Celaya
5e74dd7a6d
Update to installer version with support for memory limit option
2024-04-09 09:40:08 +02:00
Alejandro Celaya
8a273e01e9
Allow memory_limit to be configurable
2024-04-09 08:47:01 +02:00
Alejandro Celaya
75f6f8dd18
Merge pull request #2090 from acelaya-forks/feature/propagate-job-request-id
...
Forward request ID from sync request process to async job processes
2024-04-07 11:30:47 +02:00
Alejandro Celaya
e1cf0c4ea7
Forward request ID from sync request process to async job processes
2024-04-07 11:26:17 +02:00
Alejandro Celaya
cc134abd12
Merge pull request #2086 from acelaya-forks/feature/delete-expired
...
Feature/delete expired
2024-04-03 19:27:17 +02:00
Alejandro Celaya
b7db676cba
Test non-interactivity on DeleteExpiredShortUrlsCommand
2024-04-03 19:24:08 +02:00
Alejandro Celaya
3881996560
Migrate from docker-compose to docker compose in CI pipelines
2024-04-03 19:20:38 +02:00
Alejandro Celaya
527d28ad81
Add DeleteExpiredShortUrlsCommand test
2024-04-03 19:18:56 +02:00
Alejandro Celaya
f2371e8a80
Add command to delete expired short URLs
2024-04-03 18:57:09 +02:00
Alejandro Celaya
fd882834d3
Create repository to handle expired short URLs deletion
2024-04-03 09:52:38 +02:00
Alejandro Celaya
f92a720d63
Use short_url_visits_counts table when excluding short URLs which reached max visits
2024-04-03 09:06:43 +02:00
Alejandro Celaya
d6f58698b7
Merge pull request #2082 from acelaya-forks/feature/orphan-visits-counts
...
Track orphan visits counts
2024-04-01 10:28:05 +02:00
Alejandro Celaya
d090260b17
Track orphan visits counts
2024-04-01 10:22:51 +02:00
Alejandro Celaya
cd43c1c01f
Merge pull request #2083 from acelaya-forks/feature/matomo-title
...
Track short URL title as document title when sending visits to matomo
2024-03-31 13:53:58 +02:00
Alejandro Celaya
284b28e8d9
Track short URL title as document title when sending visits to matomo
2024-03-31 13:51:03 +02:00
Alejandro Celaya
b50547d868
Create new orphan_visits_counts table
2024-03-31 13:18:44 +02:00
Alejandro Celaya
401046fbe5
Merge pull request #2081 from acelaya-forks/feature/performant-count-visits
...
Load non-orphan visits overview via short url visits counts
2024-03-31 13:07:52 +02:00
Alejandro Celaya
6e82509964
Update changelog
2024-03-31 13:04:58 +02:00
Alejandro Celaya
ab6fa490e5
Test ShortUrlVisitsCountRepository via VisitRepositoryTest
2024-03-31 12:37:22 +02:00
Alejandro Celaya
55e2780f50
Load non-orphan visits overview via short url visits counts
2024-03-31 12:27:20 +02:00
Alejandro Celaya
f4803c675c
Merge pull request #2079 from acelaya-forks/feature/fix-order-by-title
...
Ensure ordering by title is consistent between database engines
2024-03-29 09:38:25 +01:00
Alejandro Celaya
90514c603f
Ensure ordering by title is consistent between database engines
2024-03-29 09:35:54 +01:00
Alejandro Celaya
7f4137e7cc
Merge pull request #2078 from acelaya-forks/feature/tags-stats-improvements
...
Improve tags stats performance by using the new short_url_visits_counts table
2024-03-28 19:26:33 +01:00
Alejandro Celaya
071cb9af2b
Improve tags stats performance by using the new short_url_visits_counts table
2024-03-28 19:17:37 +01:00
Alejandro Celaya
6ce1550457
Merge pull request #2074 from acelaya-forks/feature/slotted-counts
...
Feature/slotted counts
2024-03-28 17:44:31 +01:00
Alejandro Celaya
8cb5d44dc9
Update changelog
2024-03-28 17:27:49 +01:00
Alejandro Celaya
1331b3f87c
Fix RabbitMQ dev port
2024-03-28 17:24:00 +01:00
Alejandro Celaya
ab96297e58
Make sure VisitsTracker wraps as little operations as possible in the transaction
2024-03-28 17:06:18 +01:00
Alejandro Celaya
c4fd3a74c5
Fix type hint in migration
2024-03-28 16:10:56 +01:00
Alejandro Celaya
da922fb2a7
Add ShortUrlVisitsCountTrackerTest
2024-03-28 09:43:58 +01:00
Alejandro Celaya
4a05c4be40
Wrap visits tracking in transaction
2024-03-27 19:14:41 +01:00
Alejandro Celaya
cef30c8e2d
Fix type in Version20240318084804
2024-03-27 19:08:25 +01:00
Alejandro Celaya
8417498f08
Fixes on static check and unit tests
2024-03-27 19:08:25 +01:00
Alejandro Celaya
10e941cea6
Add missing COALESCE when summing visits counts
2024-03-27 19:08:25 +01:00
Alejandro Celaya
3d7b1ca799
Move from preFlush to onFlush + postFlush
2024-03-27 19:08:25 +01:00
Alejandro Celaya
b236354fc7
Fix order in which entities are flushed in ShortUrlListRepositoryTest
2024-03-27 19:08:25 +01:00
Alejandro Celaya
6fbb5a380d
Add missing default value for short url visits count
2024-03-27 19:08:25 +01:00
Alejandro Celaya
054eb42613
Remove no-longer used methods in OrderableField enum
2024-03-27 19:08:25 +01:00
Alejandro Celaya
6074f4475d
Add preFlush listener to track visits counts
2024-03-27 19:08:25 +01:00
Alejandro Celaya
7afd3fd6a2
Load visits and nonBotVisits via sub-queries in ShortUrlListRepository
2024-03-27 19:08:25 +01:00
Alejandro Celaya
7d415e40b2
Add unique index in short_url_visits_counts
2024-03-27 19:08:25 +01:00
Alejandro Celaya
3c89d252d2
Simplify logic to match order by for short URL lists
2024-03-27 19:08:25 +01:00
Alejandro Celaya
f678873e9f
Use pre-calculated visits counts when listing short URLs
2024-03-27 19:08:25 +01:00
Alejandro Celaya
17d37a062a
Add new table to track short URL visits counts
2024-03-27 19:08:25 +01:00
Alejandro Celaya
14702063f2
Merge pull request #2076 from acelaya-forks/feature/fix-array-inputs
...
Make sure tags fallback to empty array when null
2024-03-27 19:08:06 +01:00
Alejandro Celaya
c599d8a0ed
Make sure tags fallback to empty array when null
2024-03-27 13:04:42 +01:00
Alejandro Celaya
207d5adceb
Merge pull request #2070 from acelaya-forks/feature/visited-url-always
...
Feature/visited url always
2024-03-24 17:27:57 +01:00
Alejandro Celaya
b4c46ce222
Update changelog
2024-03-24 17:24:46 +01:00
Alejandro Celaya
6fe269193a
Expose visitedUrl when serializing any kind of visit, not only orphan visits
2024-03-24 17:20:41 +01:00
Alejandro Celaya
d948543d5c
Wrap JSON serialization for any kind of visit in Visit entity itself
2024-03-24 17:06:11 +01:00
Alejandro Celaya
a327e6c0a7
Make Visit::jsonSerialize() return different props for orphan visits
2024-03-24 16:54:49 +01:00
Alejandro Celaya
fbd35b7974
Add more named constructors to Ordering class
2024-03-20 09:15:45 +01:00
Alejandro Celaya
b94a22e6a7
Rename Ordering::emptyInstance to Ordering::none to make it more clear
2024-03-20 09:06:35 +01:00
Alejandro Celaya
63ea9e4a21
Merge pull request #2069 from acelaya-forks/feature/short-url-simplification
...
Move logic to serialize ShortUrls to entity itself
2024-03-19 07:34:59 +01:00
Alejandro Celaya
e028d8ea31
Move logic to serialize ShortUrls to entity itself
2024-03-18 22:09:15 +01:00
Alejandro Celaya
457a7a14e5
Merge pull request #2068 from acelaya-forks/feature/modernize-entities
...
Feature/modernize entities
2024-03-18 20:26:47 +01:00
Alejandro Celaya
cd387328be
Update changelog
2024-03-18 20:22:54 +01:00
Alejandro Celaya
5524476787
Modernize ShortUrl entity
2024-03-18 20:21:26 +01:00
Alejandro Celaya
78526fb405
Modernize Visit entity
2024-03-18 19:57:30 +01:00
Alejandro Celaya
b2dee43bb0
Modernize VisitLocation entity
2024-03-18 19:11:42 +01:00
Alejandro Celaya
60e9443b12
Modernize ApiKey entity
2024-03-18 18:33:56 +01:00
Alejandro Celaya
ab8fa52ca4
Modernize Domain entity
2024-03-18 18:15:05 +01:00
Alejandro Celaya
16f64f6247
Merge pull request #2064 from shlinkio/develop
...
Release 4.0.3
2024-03-15 23:07:25 +01:00
Alejandro Celaya
98992c656f
Merge pull request #2063 from acelaya-forks/feature/non-http-url
...
Fix error when redirecting to a non-http URL
2024-03-15 23:05:02 +01:00
Alejandro Celaya
053e026982
Fix error when redirecting to a non-http URL
2024-03-15 23:00:40 +01:00
Alejandro Celaya
74180a4381
Merge pull request #2062 from acelaya-forks/feature/string-db-credentials
...
Feature/string db credentials
2024-03-15 18:33:29 +01:00
Alejandro Celaya
293725f933
Update changelog
2024-03-15 18:22:27 +01:00
Alejandro Celaya
c33f8d0ea2
Cast database credentials to string when read from the env
2024-03-15 14:32:53 +01:00
Alejandro Celaya
0f2cd3cb7f
Remove useless return annotation
2024-03-12 09:09:59 +01:00
Alejandro Celaya
2441ac5e77
Update Bug template
2024-03-12 09:00:49 +01:00
Alejandro Celaya
f248001460
Merge pull request #2053 from shlinkio/develop
...
Release 4.0.2
2024-03-09 09:49:51 +01:00
Alejandro Celaya
1fe2c93946
Merge pull request #2051 from acelaya-forks/feature/fix-geolite-update
...
Fix infinite GeoLite2 downloads
2024-03-09 09:39:31 +01:00
Alejandro Celaya
a3d50605c1
Update changelog
2024-03-09 09:32:05 +01:00
Alejandro Celaya
5427152f15
Make sure GeoLite2 db file is always read from the filesystem befor etrying to operate on it
2024-03-09 09:30:05 +01:00
Alejandro Celaya
a4e9c2fdde
Merge pull request #2046 from shlinkio/develop
...
Release 4.0.1
2024-03-08 08:57:40 +01:00
Alejandro Celaya
e244b2dc51
Add v4.0.1 to changelog
2024-03-08 08:56:55 +01:00
Alejandro Celaya
31dea8fa99
Merge pull request #2045 from acelaya-forks/feature/match-languages-fix
...
Ensure language redirect conditions do not match for too low quality accepted languages
2024-03-07 23:23:58 +01:00
Alejandro Celaya
be8cf56240
Ensure language redirect conditions do not match for too low quality accepted languages
2024-03-07 23:21:31 +01:00
Alejandro Celaya
0bc7412430
Fix incorrect redirect condition type definiition
2024-03-05 15:09:44 +01:00
Alejandro Celaya
6d56e92306
Merge pull request #2042 from acelaya-forks/feature/qr-code-color-args
...
Document color and bgColor QR code query params
2024-03-05 11:16:49 +01:00
Alejandro Celaya
97c94f8fcc
Document color and bgColor QR code query params
2024-03-05 11:14:07 +01:00
Alejandro Celaya
92b5a5296d
Merge pull request #2039 from shlinkio/develop
...
Release 4.0.0
2024-03-03 19:23:35 +01:00
Alejandro Celaya
febca6d441
Small reword in UPGRADE guide
2024-03-03 19:16:46 +01:00
Alejandro Celaya
bf29abc468
Merge pull request #2040 from acelaya-forks/feature/redirect-checks
...
Feature/redirect checks
2024-03-03 18:54:15 +01:00
Alejandro Celaya
97cb30565c
Add v4.0.0
2024-03-03 18:50:23 +01:00
Alejandro Celaya
9809f050ef
Update changelog
2024-03-03 18:19:40 +01:00
Alejandro Celaya
7ecfb24584
Merge pull request #2038 from acelaya-forks/feature/redirect-rules-cli
...
Add command to manage the redirect rules for a short URLs
2024-03-03 13:19:42 +01:00
Alejandro Celaya
4aa65f750e
Add CLI test for manage redirects command, to cover validation errors
2024-03-03 13:16:37 +01:00
Alejandro Celaya
63c533fa62
Fix incorrect rule selection when deleting rules with same long URL
2024-03-03 12:59:58 +01:00
Alejandro Celaya
8751d6c315
Add unit test for RedirectRuleHandler
2024-03-03 12:51:17 +01:00
Alejandro Celaya
eb40dc2d5d
Add unit test for ShortUrlRedirectRuleService::saveRulesForShortUrl
2024-03-03 10:36:17 +01:00
Alejandro Celaya
c9d1a955b9
Add ManageRedirectRulesCommand unit test
2024-03-03 10:27:21 +01:00
Alejandro Celaya
c346fd0602
Reduce duplicated code when parsing short codes and domains from CLI
2024-03-03 10:11:12 +01:00
Alejandro Celaya
a45550b0c6
Extract logic to determine list of rules from ManageRedirectRulesCommand to a helper service
2024-03-03 09:51:56 +01:00
Alejandro Celaya
a843c59d77
Fix inconsistencies when editing rules and saving a mix of new and old ones
2024-03-03 09:09:43 +01:00
Alejandro Celaya
3bfb29a51c
Test new methods for RedirectCondition and ShortUrlRedirectRule
2024-03-03 08:47:31 +01:00
Alejandro Celaya
d8ede3263f
Implement command to manage redirect rules for a short URL
2024-03-02 23:01:49 +01:00
Alejandro Celaya
c36e43e249
Merge pull request #2037 from acelaya-forks/feature/improve-rules-swagger
...
Define different swagger models for get and set redirect rules
2024-03-01 08:58:11 +01:00
Alejandro Celaya
52150b3067
Define different swagger models for get and set redirect rules
2024-03-01 08:56:03 +01:00
Alejandro Celaya
e7796cc917
Merge pull request #2033 from acelaya-forks/feature/redirect-rule-creation
...
Create endpoint to set redirect rules for a short URL
2024-02-29 20:23:42 +01:00
Alejandro Celaya
7f560e6a65
Add SetRedirectRulesAction API test
2024-02-29 20:20:04 +01:00
Alejandro Celaya
8f233221e5
Add SetRedirectRulesAction unit test
2024-02-29 20:14:15 +01:00
Alejandro Celaya
f700abd65d
Add tests for ShortUrlRedirectionRuleService::setRulesForShortUrl
2024-02-29 19:55:34 +01:00
Alejandro Celaya
f9e4d6d617
Create RedirectRulesDataTest
2024-02-29 19:17:10 +01:00
Alejandro Celaya
d9286765e1
Create endpoint to set redirect rules for a short URL
2024-02-29 10:16:41 +01:00
Alejandro Celaya
a7cde9364a
Merge pull request #2035 from acelaya-forks/feature/improve-rules-persistence
...
Remove name and uniqueness in redirect condition table
2024-02-29 09:26:51 +01:00
Alejandro Celaya
070d74830b
Remove name and uniqueness in redirect condition table
2024-02-29 09:05:30 +01:00
Alejandro Celaya
23c07c4e82
Merge pull request #2031 from acelaya-forks/feature/redirect-rules-api
...
Create endpoint to list redirect rules for a specific short URL
2024-02-28 09:17:05 +01:00
Alejandro Celaya
ab7824aa85
Add unit test for ListRedirectRulesAction
2024-02-28 09:14:27 +01:00
Alejandro Celaya
67bafbe44e
Add API test for redirect rules list
2024-02-28 08:55:44 +01:00
Alejandro Celaya
c4805b8152
Remove old error models and examples from swagger spec
2024-02-28 08:39:26 +01:00
Alejandro Celaya
33729289c7
Create endpoint to list redirect rules for a specific short URL
2024-02-27 21:00:53 +01:00
Alejandro Celaya
721e3d9ef9
Merge pull request #2030 from acelaya-forks/feature/device-redirect-rules
...
Feature/device redirect rules
2024-02-27 19:27:59 +01:00
Alejandro Celaya
a72e22e046
Unit-test RedirectCondition for devices
2024-02-27 19:24:26 +01:00
Alejandro Celaya
36749658da
Remove device long URLs support
2024-02-27 18:46:49 +01:00
Alejandro Celaya
4ad3dc0bc7
Create new migration to drop old device_long_urls table
2024-02-27 09:09:03 +01:00
Alejandro Celaya
73864b923d
Add migration to migrate device_long_urls to redirect_rules
2024-02-26 23:42:37 +01:00
Alejandro Celaya
71277e979a
Merge pull request #2026 from acelaya-forks/feature/language-redirects
...
Feature/language redirects
2024-02-26 20:10:26 +01:00
Alejandro Celaya
60fef3de74
Merge lines
2024-02-26 20:06:15 +01:00
Alejandro Celaya
0fe503fa0e
Update changelog
2024-02-26 19:59:34 +01:00
Alejandro Celaya
db02d9f1ba
Finalize logic to dynamically match accept language rules
2024-02-26 19:58:46 +01:00
Alejandro Celaya
89a987d03a
Merge pull request #2024 from acelaya-forks/feature/rule-based-redirects
...
Logic to resolve the long URL to redirect to for a short URL
2024-02-26 19:11:13 +01:00
Alejandro Celaya
3284cea6f2
Update changelog
2024-02-26 19:08:21 +01:00
Alejandro Celaya
df5ad554c1
Add E2E tests for dynamic rule-based redirects
2024-02-26 19:05:39 +01:00
Alejandro Celaya
07ae92943d
Add test for ShortUrlRedirectResolver rule matching
2024-02-25 23:09:16 +01:00
Alejandro Celaya
175712d4a9
Add test for ShortUrlRedirectRule request matching
2024-02-25 19:38:54 +01:00
Alejandro Celaya
3f1b253c31
Add test for RedirectCondition request matching
2024-02-25 19:21:39 +01:00
Alejandro Celaya
202d0b86b3
Extract logic to match every type of redirect condition to its own private method
2024-02-25 17:13:54 +01:00
Alejandro Celaya
4e87affb0b
Take redirect rules into consideration when resolving the long URL for a short URL
2024-02-25 12:34:27 +01:00
Alejandro Celaya
7f83d37b3c
Add logic to match redirect conditions based on query params or language
2024-02-25 12:34:27 +01:00
Alejandro Celaya
09e81b00c5
Create component to resolve the long URL to redirect to for a short URL
2024-02-25 12:34:27 +01:00
Alejandro Celaya
68b77e22c5
Merge pull request #2025 from acelaya-forks/feature/old-migrations
...
Delete old migrations
2024-02-25 12:33:49 +01:00
Alejandro Celaya
c5ddd8302a
Delete old migrations
2024-02-25 12:28:20 +01:00
Alejandro Celaya
1a0fe0429a
Merge pull request #2022 from acelaya-forks/feature/redirect-rules-persistence
...
Create migration for new rules and conditions tables
2024-02-24 20:27:47 +01:00
Alejandro Celaya
6646232311
Set eager loading for redirect rule conditions
2024-02-24 20:24:41 +01:00
Alejandro Celaya
c1e88c3e83
Use named args to avoid passing default values for args
2024-02-24 18:21:53 +01:00
Alejandro Celaya
c91a534d1a
Create new entities for redirect rules
2024-02-24 18:17:09 +01:00
Alejandro Celaya
752100f1ce
Create migration for new rules and conditions tables
2024-02-24 17:30:46 +01:00
Alejandro Celaya
dae083c540
Merge pull request #2023 from acelaya-forks/feature/unused-env-vars
...
Remove unused entries from EnvVars enum
2024-02-24 17:29:46 +01:00
Alejandro Celaya
857c3a4f8d
Remove unused entries from EnvVars enum
2024-02-24 17:26:12 +01:00
Alejandro Celaya
acc4c4756e
Simplify and normalize API tests script
2024-02-23 19:30:58 +01:00
Alejandro Celaya
0bacb215c5
Merge pull request #2019 from acelaya-forks/feature/long-url-as-text
...
Change long URL columns to TEXT type
2024-02-22 09:39:46 +01:00
Alejandro Celaya
d1a6e60b01
Add migration to update long URLs columns to text type
2024-02-22 09:35:14 +01:00
Alejandro Celaya
8f954151ca
Change long URL columns to TEXT type
2024-02-21 19:43:02 +01:00
Alejandro Celaya
145d4eaaed
Merge pull request #2020 from acelaya-forks/feature/path-prefix
...
Feature/path prefix
2024-02-21 19:41:19 +01:00
Alejandro Celaya
7673232793
Add --path-prefix to short URL creation
2024-02-21 19:38:11 +01:00
Alejandro Celaya
f08951a9b9
Add unit test for short URL path prefix
2024-02-21 19:24:30 +01:00
Alejandro Celaya
ff963a9df4
Add API test for short URL path prefix
2024-02-21 19:14:30 +01:00
Alejandro Celaya
f30c74b987
Prepend path prefix to generated short code or custom slug
2024-02-21 18:06:06 +01:00
Alejandro Celaya
467dbdd183
Update to latest shlink-common
2024-02-21 17:57:45 +01:00
Alejandro Celaya
0e78deb8f2
Refactor ShortUrlInputFilter for creation and edition
2024-02-21 10:12:40 +01:00
Alejandro Celaya
50cc7ae632
Fix donate URL
2024-02-20 22:33:10 +01:00
Alejandro Celaya
512d765d60
Merge pull request #2018 from acelaya-forks/feature/remove-infection
...
Remove dependency on infection and mutation tests
2024-02-20 22:28:48 +01:00
Alejandro Celaya
7b9331bd14
Merge DB test jobs into one with a matrix
2024-02-20 22:26:04 +01:00
Alejandro Celaya
4f5ce9fb43
Remove dependency on infection and mutation tests
2024-02-20 22:20:16 +01:00
Alejandro Celaya
83f73eb631
Merge pull request #2017 from acelaya-forks/feature/improve-e2e-coverage
...
Simplify and improve how code coverage is generated in API and CLI tests
2024-02-20 22:03:17 +01:00
Alejandro Celaya
3f1b89d665
Install dependencies in upload-coverage CI job
2024-02-20 18:30:34 +01:00
Alejandro Celaya
8f6fc97fc8
Simplify and improve how code coverage is generated in API and CLI tests
2024-02-20 18:23:37 +01:00
Alejandro Celaya
a463e6f9d7
Merge pull request #2014 from acelaya-forks/feature/qr-code-improvements
...
Allow customizing color, background color and logo in QR codes
2024-02-19 23:22:57 +01:00
Alejandro Celaya
2a0364ca8f
Update changelog
2024-02-19 23:13:09 +01:00
Alejandro Celaya
23e9ed93bb
Add test for QrCodeAction with logo URL
2024-02-19 23:10:51 +01:00
Alejandro Celaya
689343d1c9
Test QR codes logic when providing a color
2024-02-18 21:02:35 +01:00
Alejandro Celaya
d01dc334d7
Update to endroid/qr-code 5
2024-02-18 19:58:19 +01:00
Alejandro Celaya
58a3791a5c
Allow customizing color, background color and logo in QR codes
2024-02-18 14:22:25 +01:00
Alejandro Celaya
1a133af141
Merge pull request #2013 from acelaya-forks/feature/title-resolution-timeout
...
Add a 5-second timeout to title resolution
2024-02-18 14:21:46 +01:00
Alejandro Celaya
938fb6509e
Add API test to verify titles for timing-out long URLs
2024-02-18 12:45:59 +01:00
Alejandro Celaya
d3bfd99210
Add a 3-second timeout to title resolution
2024-02-18 11:32:31 +01:00
Alejandro Celaya
3a1740fdca
Merge pull request #2012 from acelaya-forks/feature/remove-validate-url
...
Feature/remove validate url
2024-02-17 12:13:05 +01:00
Alejandro Celaya
e3de403c6c
Remove support to validate long URLs during short URL creation/edition
2024-02-17 12:02:57 +01:00
Alejandro Celaya
5c1ab02753
Update shlink dependencies
2024-02-17 10:59:06 +01:00
Alejandro Celaya
e5713df008
Merge pull request #2011 from acelaya-forks/feature/update-symfony
...
Update to Symfony 7
2024-02-17 10:52:41 +01:00
Alejandro Celaya
95ea64980b
Update to Symfony 7
2024-02-17 10:46:29 +01:00
Alejandro Celaya
c0a77b790d
Merge pull request #2009 from acelaya-forks/feature/doctrine-orm-3
...
Update to doctrine ORM 3.0
2024-02-17 10:36:29 +01:00
Alejandro Celaya
e073b4331a
Update to doctrine ORM 3.0
2024-02-17 10:23:37 +01:00
Alejandro Celaya
e919901487
Merge pull request #2007 from acelaya-forks/feature/coverage-improvements
...
Feature/coverage improvements
2024-02-17 08:46:18 +01:00
Alejandro Celaya
13f9f106be
Update to event-dispatcher without swoole
2024-02-17 08:41:53 +01:00
Alejandro Celaya
e9c7053ef5
Move code around generating code coverage to test-utils lib
2024-02-17 08:41:17 +01:00
Alejandro Celaya
62051c8809
Merge pull request #2006 from acelaya-forks/feature/fix-ci
...
Recover prev approach to generate API tests coverage
2024-02-16 23:46:06 +01:00
Alejandro Celaya
0a6a794e23
Recover prev approach to generate API tests coverage
2024-02-16 23:32:20 +01:00
Alejandro Celaya
01846657d1
Merge pull request #2003 from acelaya-forks/feature/improve-coverage-collection
...
Move E2E coverage collectors to shlink-test-utils
2024-02-16 23:27:44 +01:00
Alejandro Celaya
dd7545afdf
Move E2E coverage collectors to shlink-test-utils
2024-02-16 23:25:42 +01:00
Alejandro Celaya
9296013596
Merge pull request #2005 from acelaya-forks/feature/remove-swoole
...
Drop support for openswoole
2024-02-16 23:18:39 +01:00
Alejandro Celaya
8015c6cc88
Skip extensions cache if there are no extensions to install
2024-02-16 23:11:38 +01:00
Alejandro Celaya
8c93444286
Do not set default value for php-extensions input in ci-setup action
2024-02-16 23:08:03 +01:00
Alejandro Celaya
96ed7cae0d
Drop support for openswoole
2024-02-16 23:02:46 +01:00
Alejandro Celaya
72c4628b79
Merge pull request #2002 from acelaya-forks/feature/rr-e2e-tests
...
Feature/rr e2e tests
2024-02-16 07:57:04 +01:00
Alejandro Celaya
1117631717
Move rr tests config back to the config/roadrunner folder
2024-02-16 00:01:35 +01:00
Alejandro Celaya
60176060cb
Update changelog
2024-02-15 23:42:03 +01:00
Alejandro Celaya
d949b54ef4
Switch to roadrunner as the default runtime for API tests
2024-02-15 23:39:50 +01:00
Alejandro Celaya
720db64a03
Switch to RoadRunner as default API test runtime
2024-02-14 09:31:26 +01:00
Alejandro Celaya
37e0978bfc
Merge pull request #1999 from acelaya-forks/feature/remove-deprecated-stuff
...
Removed deprecated features
2024-02-13 22:52:00 +01:00
Alejandro Celaya
cf355b0b69
Update shlink-common and shlink-installer
2024-02-13 22:46:25 +01:00
Alejandro Celaya
f2edb54b8b
Document changes from v3 to v4
2024-02-13 09:30:37 +01:00
Alejandro Celaya
13ec27039d
Ensure non-root user in Dockerfile
2024-02-13 08:55:22 +01:00
Alejandro Celaya
ad3805a560
Removed deprecated features
2024-02-12 23:18:30 +01:00
Alejandro Celaya
cc4afa7b62
Merge pull request #1998 from acelaya-forks/feature/default-php-8.3
...
Feature/default php 8.3
2024-02-11 11:56:20 +01:00
Alejandro Celaya
7a6bfed445
Update changelog
2024-02-11 11:23:34 +01:00
Alejandro Celaya
f2a7b687a9
Update docker images to PHP 8.3
2024-02-11 11:22:48 +01:00
Alejandro Celaya
522d021264
Merge pull request #1995 from acelaya-forks/feature/orphan-visits-filter
...
Support filtering orphan visits by type in VisitRepository
2024-02-10 18:37:17 +01:00
Alejandro Celaya
14a0db1f34
Update changelog
2024-02-10 18:28:54 +01:00
Alejandro Celaya
430883987a
Add API test for type-filtering in orphan visits list
2024-02-10 18:26:19 +01:00
Alejandro Celaya
f17b641d46
Allow filtering orphan visits by type from the CLI
2024-02-10 18:19:28 +01:00
Alejandro Celaya
48a8290e92
Allow type filter property for orphan visits list
2024-02-10 17:51:42 +01:00
Alejandro Celaya
46acf4de1c
Support filtering orphan visits by type in VisitRepository
2024-02-10 13:58:03 +01:00
Alejandro Celaya
17792a1603
Merge pull request #1994 from acelaya-forks/feature/docker-compose-secrets
...
Support loading env vars from secret files
2024-02-10 10:12:02 +01:00
Alejandro Celaya
a8611f5d80
Support loading env vars from secret files
2024-02-10 09:54:59 +01:00
Alejandro Celaya
deef938e97
Merge pull request #1991 from acelaya-forks/feature/remove-league-uri
...
Feature/remove league uri
2024-02-05 23:12:17 +01:00
Alejandro Celaya
e014cfa72a
Remove dependency on league/uri
2024-02-05 23:05:31 +01:00
Alejandro Celaya
aa242eba25
Remove League\Uri from ShortUrlRedirectionBuilder
2024-02-05 22:13:59 +01:00
Alejandro Celaya
0ac5569d60
Merge pull request #1989 from acelaya-forks/feature/request-id-lib
...
Feature/request id lib
2024-02-04 14:38:49 +01:00
Alejandro Celaya
7c3e3442c2
Update changelog
2024-02-04 14:18:16 +01:00
Alejandro Celaya
0f894dcdfe
Replace request-id middleware dependency with userland code
2024-02-04 14:16:42 +01:00
Alejandro Celaya
361d987f47
Merge pull request #1970 from shlinkio/develop
...
Release 3.7.3
2024-01-04 14:07:53 +01:00
Alejandro Celaya
6017db260a
Add v3.7.3 to changelog
2024-01-04 14:02:00 +01:00
Alejandro Celaya
f9c9b3d981
Merge pull request #1969 from acelaya-forks/feature/mountable-data-dir
...
Feature/mountable data dir
2024-01-04 08:42:41 +01:00
Alejandro Celaya
e7b876f4e6
Update changelog
2024-01-03 19:42:33 +01:00
Alejandro Celaya
554b948775
Create data directories in docker entry point if they don't exist
2024-01-03 19:22:33 +01:00
Alejandro Celaya
9bdbb59401
Update shlinkio/shlink-testing-utils
2024-01-03 10:08:03 +01:00
Alejandro Celaya
377861c5f1
Move migrations to module/Core
2024-01-02 17:55:23 +01:00
Alejandro Celaya
26c2aaf567
Merge pull request #1963 from shlinkio/develop
...
Release 3.7.2
2023-12-26 16:23:49 +01:00
Alejandro Celaya
62b54ceaaf
Add v3.7.2 to changelog
2023-12-26 16:16:10 +01:00
Alejandro Celaya
625eba76c7
Merge pull request #1962 from acelaya-forks/feature/disabled-qr-codes
...
Allow QR codes to be generated for disabled short URLs
2023-12-24 16:55:52 +01:00
Alejandro Celaya
e12bda3f42
Add API test to verify QR codes return a 404 for disabled short URLs
2023-12-24 10:37:09 +01:00
Alejandro Celaya
0f0301ae5c
Update changelog
2023-12-24 10:27:25 +01:00
Alejandro Celaya
8d1776af98
Test error when short URLs cannot be resolved
2023-12-24 10:25:58 +01:00
Alejandro Celaya
c597738915
Test how URLs are resolved in QrCodeAction
2023-12-24 10:13:19 +01:00
Alejandro Celaya
639329dbe4
Update installer
2023-12-24 09:48:44 +01:00
Alejandro Celaya
92b0525b6e
Update Twitter badge
2023-12-23 11:14:12 +01:00
Alejandro Celaya
06306aabd5
Allow QR codes to be generated for disabled short URLs
2023-12-22 13:29:22 +01:00
Alejandro Celaya
225905fcdb
update changelog
2023-12-19 11:22:40 +01:00
Alejandro Celaya
8ca2b3c641
Merge pull request #1955 from acelaya-forks/feature/artifact-actions
...
Update artifact GitHub actions
2023-12-19 11:19:34 +01:00
Alejandro Celaya
ac1737492b
Update artifact GitHub actions
2023-12-19 11:13:13 +01:00
Alejandro Celaya
a63075eb4c
Merge pull request #1953 from shlinkio/develop
...
Release 3.7.1
2023-12-17 20:06:25 +01:00
Alejandro Celaya
97e9dfad67
Merge pull request #1952 from shlinkio/feature/rr-logs-improvement
...
Feature/rr logs improvement
2023-12-17 19:59:21 +01:00
Alejandro Celaya
17c4f13568
Set fixed versions for Shlink dependencies
2023-12-17 19:49:50 +01:00
Alejandro Celaya
3b5243689b
Fine-tune RoadRunner logs to avoid too many useless info
2023-12-17 19:26:28 +01:00
Alejandro Celaya
4d28adf4a7
Merge pull request #1948 from acelaya-forks/feature/fix-postgres-import
...
Fix error when importing short URLs while using Postgres
2023-12-16 20:38:46 +01:00
Alejandro Celaya
1b14bb07b1
Fix error when importing short URLs while using Postgres
2023-12-16 20:22:39 +01:00
Alejandro Celaya
3a43aa4d41
Merge pull request #1942 from acelaya-forks/feature/geoip-3
...
Update to geolite2 v3
2023-12-07 07:52:58 +01:00
Alejandro Celaya
2340b4f601
Update to geolite2 v3
2023-12-06 21:48:54 +01:00
Alejandro Celaya
664886eddf
Support laminas-diactoros 3
2023-11-30 22:10:41 +01:00
Alejandro Celaya
d3570dac0b
Merge pull request #1937 from acelaya-forks/feature/remove-functional
...
Feature/remove functional
2023-11-30 18:53:21 +01:00
Alejandro Celaya
1854cc2f19
Remove last references to functional-php
2023-11-30 18:39:27 +01:00
Alejandro Celaya
bff4bd12ae
Removed more functional-php usages
2023-11-30 14:34:44 +01:00
Alejandro Celaya
549c6605f0
Replaced usage of Functional\contians
2023-11-30 09:13:29 +01:00
Alejandro Celaya
f50263d2d9
Remove usage of Functional\map function
2023-11-29 12:34:13 +01:00
Alejandro Celaya
c80ec54508
Merge pull request #1933 from shlinkio/develop
...
Release 3.7.0
2023-11-25 20:22:38 +01:00
Alejandro Celaya
a91a560651
Fix typo in version contraint
2023-11-25 20:12:41 +01:00
Alejandro Celaya
a931c60230
Point to actual versions on shlink deps
2023-11-25 20:08:29 +01:00
Alejandro Celaya
479a331008
Merge pull request #1932 from acelaya-forks/feature/ssl-connections
...
Feature/ssl connections
2023-11-25 18:11:30 +01:00
Alejandro Celaya
5d99b1aef0
Update changelog
2023-11-25 13:08:15 +01:00
Alejandro Celaya
17e0c9176e
Add support for SSL on Redis and RabbitMQ connections
2023-11-25 13:04:30 +01:00
Alejandro Celaya
48d7388bdc
Merge pull request #1931 from acelaya-forks/feature/update-installer
...
Update to installer with runtime question
2023-11-25 10:01:19 +01:00
Alejandro Celaya
aa01c034db
Update to installer with runtime question
2023-11-25 09:55:01 +01:00
Alejandro Celaya
9035161b65
Merge pull request #1928 from acelaya-forks/feature/redis-urlencoded
...
Allow redis credentials be URL-decoded before passing them to connection
2023-11-23 11:29:46 +01:00
Alejandro Celaya
df57ca5edb
Allow redis credentials be URL-decoded before passing them to connection
2023-11-23 11:22:23 +01:00
Alejandro Celaya
0511c73cc8
Merge pull request #1926 from acelaya-forks/feature/geolite-download-warn
...
Print a warning when manually running visit:download-db with no license
2023-11-23 09:42:31 +01:00
Alejandro Celaya
a3554eaf74
Print a warning when manually running visit:download-db with no license
2023-11-23 09:31:02 +01:00
Alejandro Celaya
cb0bac55d2
Merge pull request #1920 from acelaya-forks/feature/matomo-integration
...
Feature/matomo integration
2023-11-22 18:59:45 +01:00
Alejandro Celaya
bd5d3f6897
Update changelog
2023-11-22 18:51:47 +01:00
Alejandro Celaya
5e6e386c5a
Add matomo dev config
2023-11-22 18:30:03 +01:00
Alejandro Celaya
e783bdc456
Set referrer when sending visits to Matomo
2023-11-21 10:01:27 +01:00
Alejandro Celaya
316b88cea6
Add 10 second timeout to matomo requests
2023-11-21 08:34:37 +01:00
Alejandro Celaya
c03eea789c
Fix LocateVisitTest
2023-11-21 08:25:58 +01:00
Alejandro Celaya
bd5d3cb6fa
Create SendVisitToMatomoTest
2023-11-20 10:11:15 +01:00
Alejandro Celaya
e1f2dcc136
Create MatomoTrackerBuilderTest
2023-11-17 23:31:23 +01:00
Alejandro Celaya
5e6ebfa5a9
Update shlink-event-dispatcher
2023-11-17 09:32:07 +01:00
Alejandro Celaya
a7ed14a1c9
Enhance EnableListenerCheckerTest with support for matomo listener
2023-11-16 09:24:52 +01:00
Alejandro Celaya
f88d57b2b6
Do not dispatch async job for matomo if disabled
2023-11-15 20:02:35 +01:00
Alejandro Celaya
9dbd15bc0c
Add logic to send visits to a matomo instance
2023-11-15 19:57:58 +01:00
Alejandro Celaya
0edb3e5c2c
Update to installer with support for matomo
2023-11-11 20:12:39 +01:00
Alejandro Celaya
7501eca71e
Update matomo container
2023-11-09 09:04:41 +01:00
Alejandro Celaya
b145d106b0
Add matomo env vars and config
2023-11-09 08:59:34 +01:00
Alejandro Celaya
b4386a3508
Add matomo container
2023-11-09 08:58:58 +01:00
Alejandro Celaya
36e2a9387d
Merge pull request #1917 from acelaya-forks/feature/php-8.3-deps
...
Update native deps for PHP 8.3 preparation
2023-11-08 19:13:29 +01:00
Alejandro Celaya
14c68b4bbe
Update native deps for PHP 8.3 preparation
2023-11-08 18:51:03 +01:00
Alejandro Celaya
d6fedaf926
Merge pull request #1913 from acelaya-forks/feature/fix-delete-multi-segment-visits
...
Fix short URL visits deletion when multi-segment slugs are enabled
2023-11-08 09:20:06 +01:00
Alejandro Celaya
8d35c1dde2
Fix short URL visits deletion when multi-segment slugs are enabled
2023-11-08 09:06:12 +01:00
Alejandro Celaya
85b5f760e5
Update dev swagger UI
2023-11-05 10:58:41 +01:00
Alejandro Celaya
1a4a107952
Merge pull request #1911 from acelaya-forks/feature/slug-url-chars
...
Feature/slug url chars
2023-11-05 10:52:46 +01:00
Alejandro Celaya
e431395a12
Update changelog
2023-11-05 10:31:51 +01:00
Alejandro Celaya
cfc3d54122
Do not allow URL reserved characters in custom slugs
2023-11-05 10:30:40 +01:00
Alejandro Celaya
d9d6d5bd9c
Merge pull request #1907 from acelaya-forks/feature/php-8.3
...
Add support for PHP 8.3
2023-11-04 13:30:31 +01:00
Alejandro Celaya
32f465f7a6
Add PHP 8.3 to building pipeline
2023-11-04 13:15:15 +01:00
Alejandro Celaya
4cddb573a0
Ignore all platform reqs on PHP 8.3, as openswoole cannot be installed there
2023-11-04 13:03:10 +01:00
Alejandro Celaya
2cb8486bb3
Add support for PHP 8.3
2023-11-04 12:42:31 +01:00
Alejandro Celaya
2a782ab60b
Merge pull request #1897 from acelaya-forks/feature/disable-health-endpoint-logs
...
Do not log requests to the health endpoint
2023-10-20 20:44:49 +02:00
Alejandro Celaya
5bde273d59
Fix Rest's ConfigProvider test
2023-10-20 09:42:48 +02:00
Alejandro Celaya
41e322fd47
Update changelog
2023-10-20 09:34:20 +02:00
Alejandro Celaya
55885b0f25
Do not log requests to the health endpoint
2023-10-20 09:33:29 +02:00
Alejandro Celaya
d419b9d62d
Merge pull request #1891 from acelaya-forks/feature/customizable-cache-namespace
...
Feature/customizable cache namespace
2023-10-07 11:33:40 +02:00
Alejandro Celaya
3bdc05fbc4
Fix CliTestUtils for PHPUnit 10.4
2023-10-07 10:56:04 +02:00
Alejandro Celaya
57053d66a4
Update changelog
2023-10-06 09:21:53 +02:00
Alejandro Celaya
9d8ea0a4f6
Allow cache namespace to be customizable via env var
2023-10-06 09:19:55 +02:00
Alejandro Celaya
46354baae9
Merge pull request #1886 from acelaya-forks/feature/chronos-3
...
Update to chronos 3
2023-09-30 21:19:01 +02:00
Alejandro Celaya
27c48414da
Update to chronos 3
2023-09-30 21:03:17 +02:00
Alejandro Celaya
25b1138000
Fix merge conflicts
2023-09-23 09:06:38 +02:00
Alejandro Celaya
4cf3bc08f9
Merge pull request #1883 from shlinkio/release/v3.6.4
...
Release 3.6.4
2023-09-23 08:57:10 +02:00
Alejandro Celaya
7e093a3fd8
Fix date in changelog
2023-09-23 08:41:57 +02:00
Alejandro Celaya
abecf3be02
Merge pull request #1882 from acelaya-forks/feature/create-api-key
...
Feature/create api key
2023-09-23 08:40:53 +02:00
Alejandro Celaya
3d9b48c5fd
Create InitialApiKeyCommand cli test
2023-09-23 08:28:57 +02:00
Alejandro Celaya
ba4a66f772
Add InitialApiKeyCommand unit test
2023-09-23 08:16:22 +02:00
Alejandro Celaya
ec839183e8
Add unit test for ApiKeyService::createInitial
2023-09-23 08:01:10 +02:00
Alejandro Celaya
b0ec0601c1
Update to latest shlink-installer
2023-09-22 10:00:19 +02:00
Alejandro Celaya
637d8334f4
New CLI command to create the initial API key idempotently
2023-09-21 09:47:21 +02:00
Alejandro Celaya
6db46b50e9
Roll back change to allow creating API keys with custom value
2023-09-21 08:58:05 +02:00
Alejandro Celaya
f6b1cc7556
Test API key creation with custom key
2023-09-19 10:14:04 +02:00
Alejandro Celaya
65a0a90a51
Allow custom API keys to be created
2023-09-19 09:10:17 +02:00
Alejandro Celaya
38a7872fbf
Merge pull request #1878 from acelaya-forks/feature/add-swagger-ui-dev
...
Add a swagger ui container for dev env
2023-09-17 12:01:05 +02:00
Alejandro Celaya
5839cc5926
Add a swagger ui container for dev env
2023-09-17 11:59:23 +02:00
Alejandro Celaya
49bd230474
Merge pull request #1874 from acelaya-forks/feature/redis-lock-namespace
...
Make sure locks include the same cache namespace when sent to Redis
2023-09-12 21:44:45 +02:00
Alejandro Celaya
074f2135f6
Make sure locks include the same cache namespace when sent to Redis
2023-09-12 21:20:38 +02:00
Alejandro Celaya
ef073d59ca
Merge pull request #1872 from acelaya-forks/bugfix/db-commands-timeout
...
Fix incorrect timeout in init commands
2023-09-12 08:33:13 +02:00
Alejandro Celaya
a3b2f94339
Make sure local config is not loaded in tests
2023-09-12 08:21:34 +02:00
Alejandro Celaya
b17c576a30
Fix incorrect timeout in init commands
2023-09-11 09:07:18 +02:00
Alejandro Celaya
bc4156ca3c
Merge pull request #1858 from acelaya-forks/feature/update-deps
...
Update dependencies
2023-08-19 12:51:02 +02:00
Alejandro Celaya
b747b8448e
Update dependencies
2023-08-19 12:03:29 +02:00
Alejandro Celaya
aa4b9fc27e
Replace references to docker-compose with docker compose
2023-08-03 09:10:05 +02:00
Alejandro Celaya
3f3c2c3d1e
Add form config for Feature Request issues
2023-08-03 09:08:35 +02:00
Alejandro Celaya
4b49f8fb7f
Use issue form for bugs
2023-07-25 08:45:24 +02:00
Alejandro Celaya
550f3b28ea
Use textarea instead of markdown for main field in help-wanted discussion
2023-07-15 11:09:36 +02:00
Alejandro Celaya
6d4c232345
Merge pull request #1844 from acelaya-forks/feature/help-discussion-template
...
Add discussion template for 'Help wanted'
2023-07-15 10:59:51 +02:00
Alejandro Celaya
2d085ad6f4
Add discussion template for 'Help wanted'
2023-07-15 10:59:39 +02:00
Alejandro Celaya
3ea83f5cc3
Merge pull request #1836 from acelaya-forks/feature/oas-3.1
...
Feature/oas 3.1
2023-07-12 19:42:42 +02:00
Alejandro Celaya
b47bd0fc7a
Use stable version of devizzent/cebe-php-openapi
2023-07-12 11:33:58 +02:00
Alejandro Celaya
27e90c4c26
Update changelog
2023-07-12 11:30:12 +02:00
Alejandro Celaya
ad1a846d8e
Remove references to nullable in OAS
2023-07-12 11:29:44 +02:00
Alejandro Celaya
78f75a06df
Updated swagger docs to v3.1, and fixed some 'required' definitions
2023-07-12 11:29:44 +02:00
Alejandro Celaya
262d714751
Add ADR for latest docker image publishing change
2023-07-09 11:31:13 +02:00
Alejandro Celaya
f71c3bba5c
Merge pull request #1842 from acelaya-forks/feature/docker-build-on-tag
...
Build docker image only on tags
2023-07-09 09:59:25 +02:00
Alejandro Celaya
8b495064b2
Build docker image only on tags
2023-07-09 09:45:46 +02:00
Alejandro Celaya
57a36204db
Merge pull request #1840 from acelaya-forks/feature/docker-no-interactive-init
...
Improve verbosity hint when an error occurs during docker init
2023-07-06 09:11:04 +02:00
Alejandro Celaya
7cc1722858
Improve verbosity hint when an error occurs during docker init
2023-07-05 09:58:51 +02:00
Alejandro Celaya
af50887361
Fix typo
2023-07-01 16:33:52 +02:00
Alejandro Celaya
99c8c6c8d4
Merge pull request #1832 from acelaya-forks/feature/migrations-config
...
Refactor cli-config file as it's currently used by doctrine migrations only
2023-06-23 22:05:24 +02:00
Alejandro Celaya
1d7c9fd553
Refactor cli-config file as it's currently used by doctrine migrations only
2023-06-23 09:16:33 +02:00
Alejandro Celaya
274c454fa4
Merge pull request #1827 from acelaya-forks/feature/question-discussion
...
Make sure people asking questions opens a discussion instead of an issue
2023-06-21 08:55:07 +02:00
Alejandro Celaya
453fcc4675
Make sure people asking questions opens a discussion instead of an issue
2023-06-21 08:54:03 +02:00
Alejandro Celaya
42427bfd74
Merge pull request #1824 from acelaya-forks/feature/api-coverage-fix
...
Update shlink-test-utils to fix coverage ID on API tests
2023-06-18 19:24:03 +02:00
Alejandro Celaya
33eedd2270
Update shlink-test-utils to fix coverage ID on API tests
2023-06-18 18:59:15 +02:00
Alejandro Celaya
edaf9e34f4
Merge pull request #1823 from acelaya-forks/feature/external-data-providers
...
Feature/external data providers
2023-06-18 11:06:24 +02:00
Alejandro Celaya
965325aa7c
Replace traits with static classes in CLI unit tests
2023-06-18 10:51:59 +02:00
Alejandro Celaya
bdf2bbd0f1
Replace traits with external data providers in Core unit tests
2023-06-18 10:41:24 +02:00
Alejandro Celaya
dc4aab2cab
Replace traits with external data providers in API tests
2023-06-18 10:36:45 +02:00
Alejandro Celaya
3b1f6c69de
Merge pull request #1822 from acelaya-forks/feature/fix-installer-command-timeouts
...
Fix incorrect timeout in init commands
2023-06-15 19:07:32 +02:00
Alejandro Celaya
cdf5082cff
Fix incorrect timeout in init commands
2023-06-15 18:53:42 +02:00
Alejandro Celaya
61686ed6ea
Fix JamesIves/github-pages-deploy-action version
2023-06-14 18:27:03 +02:00
Alejandro Celaya
f63b96fd05
Fix merge conflicts
2023-06-14 18:25:09 +02:00
Alejandro Celaya
228bd83b75
Merge pull request #1818 from acelaya-forks/feature/fix-sqlite-db-creation
...
Fix Shlink trying to create SQLite database tables even if they already exist
2023-06-14 18:22:39 +02:00
Alejandro Celaya
a21dcb852a
Fix Shlink trying to create SQLite database tables even if they already exist
2023-06-14 18:08:39 +02:00
Alejandro Celaya
6558c37b9a
Fix merge conflicts
2023-06-11 20:10:29 +02:00
Alejandro Celaya
e6720cce12
Merge pull request #1814 from acelaya-forks/feature/update-test-utils
...
Update to latest test utils lib
2023-06-11 20:05:45 +02:00
Alejandro Celaya
22d039c550
Update to latest test utils lib
2023-06-11 19:54:33 +02:00
Alejandro Celaya
a21fcd72ce
Merge pull request #1807 from acelaya-forks/feature/mercure-options
...
Use MercureOptions instead of raw config, where possible
2023-06-08 19:00:43 +02:00
Alejandro Celaya
058391cf06
Merge pull request #1809 from acelaya-forks/feature/fix-rr-download
...
Update to a shlink-installer version that fixes rr download
2023-06-08 18:59:28 +02:00
Alejandro Celaya
24e6acc6e8
Update to a shlink-installer version that fixes rr download
2023-06-08 18:47:55 +02:00
Alejandro Celaya
8e3508f28d
Use MercureOptions instead of raw config, where possible
2023-06-06 20:25:14 +02:00
Alejandro Celaya
e72b424968
Fix merge conflicts
2023-06-04 09:33:16 +02:00
Alejandro Celaya
56d299a7dc
Merge pull request #1804 from acelaya-forks/feature/release-3.6.1
...
Feature/release 3.6.1
2023-06-04 09:30:19 +02:00
Alejandro Celaya
575e6bf707
Downgrade PHPUnit to avoid infection error
2023-06-04 09:13:37 +02:00
Alejandro Celaya
e50c21440f
Define default values for env vars used in rr prod config
2023-06-04 09:07:41 +02:00
Alejandro Celaya
7cff11080d
Update changelog
2023-06-04 08:57:07 +02:00
Alejandro Celaya
72381f9844
Change order to create initial database to avoid permission errors
2023-06-04 08:54:08 +02:00
Alejandro Celaya
7c649e7497
Merge pull request #1801 from acelaya-forks/feature/no-run-disabled-tasks
...
Feature/no run disabled tasks
2023-06-03 19:19:08 +02:00
Alejandro Celaya
eff308cd43
Update changelog
2023-06-03 17:58:26 +02:00
Alejandro Celaya
bd3745118e
Add logic to prevent roadrunner/openswoole jobs for tasks that will do nothing
2023-06-03 17:56:52 +02:00
Alejandro Celaya
602ebef02a
Merge pull request #1800 from acelaya-forks/feature/deprecate-openswoole
...
Deprecate support for openswoole
2023-06-03 10:06:03 +02:00
Alejandro Celaya
9040937376
Stick with PHPUnit 10.1 until API tests coverage is fixed
2023-06-03 09:24:43 +02:00
Alejandro Celaya
a11be5b2ff
Deprecate support for openswoole
2023-06-03 09:08:07 +02:00
Alejandro Celaya
6351d0b87d
Merge pull request #1797 from acelaya-forks/feature/improve-new-db-check
...
Feature/improve new db check
2023-06-01 20:01:39 +02:00
Alejandro Celaya
fae3434393
Update changelog
2023-06-01 19:28:15 +02:00
Alejandro Celaya
4013ae87dd
Change order to create initial database to avoid permission errors
2023-06-01 19:27:04 +02:00
Alejandro Celaya
cb4ba58b08
Merge pull request #1795 from acelaya-forks/feature/non-orphan-role
...
Feature/non orphan role
2023-05-31 09:43:18 +02:00
Alejandro Celaya
8c94452348
Fix CLI tests
2023-05-31 09:33:05 +02:00
Alejandro Celaya
ea96a00b12
Update changelog
2023-05-31 09:24:23 +02:00
Alejandro Celaya
be26dd58c3
Add API tests to cover usage of orphan visits restricted keys
2023-05-31 09:22:40 +02:00
Alejandro Celaya
eaba5edf7f
Restrict interaction with orphan visits when API key has that role
2023-05-31 09:11:20 +02:00
Alejandro Celaya
12da04ef37
Add ApiKey check to tell if it has any role that is short-url restrictive
2023-05-30 09:32:44 +02:00
Alejandro Celaya
8b03532ddb
Add ORPHAN_VISITS_EXCLUDED API key role
2023-05-30 09:15:35 +02:00
Alejandro Celaya
112b54ec7d
Merge pull request #1793 from acelaya-forks/feature/drop-php-8.1
...
Drop support for PHP 8.1
2023-05-29 21:53:30 +02:00
Alejandro Celaya
ee6a8ede0a
Drop support for PHP 8.1
2023-05-29 09:43:12 +02:00
Alejandro Celaya
07ce5f05a2
Add missing entry to v3.6.0 changelog
2023-05-29 09:02:59 +02:00
Alejandro Celaya
7b04016ca2
Fix version number on JamesIves/github-pages-deploy-action GitHub action
2023-05-24 08:59:21 +02:00
Alejandro Celaya
b6792d3fb8
Merge pull request #1792 from shlinkio/develop
...
Release 3.6.0
2023-05-24 08:46:25 +02:00
Alejandro Celaya
2f0d658432
Merge pull request #1791 from acelaya-forks/feature/fix-cpu-100
...
Update changelog
2023-05-23 23:25:39 +02:00
Alejandro Celaya
8c1865c3ec
Update changelog
2023-05-23 23:15:59 +02:00
Alejandro Celaya
096d2098d6
Update installer
2023-05-23 18:42:50 +02:00
Alejandro Celaya
882d64ae11
Add deprecation note for ENABLE_PERIODIC_VISIT_LOCATE env var
2023-05-23 10:55:49 +02:00
Alejandro Celaya
3352bcd186
Merge pull request #1789 from acelaya-forks/feature/improved-dependency-locks
...
Feature/improved dependency locks
2023-05-21 18:44:10 +02:00
Alejandro Celaya
9743c1624d
Update changelog
2023-05-21 18:10:08 +02:00
Alejandro Celaya
e85d59c5a4
Add locks when creating short URL dependencies, to avoid race condition
2023-05-21 18:08:17 +02:00
Alejandro Celaya
ac0ff8fb94
Merge pull request #1787 from acelaya-forks/feature/shlink-init-command
...
Feature/shlink init command
2023-05-21 14:44:08 +02:00
Alejandro Celaya
90f93ee4ec
Update changelog
2023-05-21 14:32:00 +02:00
Alejandro Celaya
794d926e3a
Update docker entry point to use new shlink-installer init command
2023-05-21 14:30:20 +02:00
Alejandro Celaya
bd41ebef9f
Merge pull request #1785 from acelaya-forks/feature/non-root-support
...
Allow running docker container as non-root
2023-05-19 20:29:40 +02:00
Alejandro Celaya
725370704f
Update changelog
2023-05-19 19:50:05 +02:00
Alejandro Celaya
f03b7689ce
Allow running docker container as non-root
2023-05-19 19:48:20 +02:00
Alejandro Celaya
fb31e2a5e4
Merge pull request #1782 from acelaya-forks/feature/clear-orphan-visits
...
Feature/clear orphan visits
2023-05-18 09:49:31 +02:00
Alejandro Celaya
d688c6da7e
Update changelog
2023-05-18 09:36:50 +02:00
Alejandro Celaya
618784dc3b
Create command to delete all orphan visits
2023-05-18 09:35:42 +02:00
Alejandro Celaya
9d64d4ed1d
Create abstract base class for commands deleting visits
2023-05-18 09:33:15 +02:00
Alejandro Celaya
7f02243c6c
Rename short-url:delete-visits to short-url:visits-delete for consistency with other commands
2023-05-18 09:19:01 +02:00
Alejandro Celaya
3916c68126
Add DeleteOrphanVisitsTest API test
2023-05-18 09:09:44 +02:00
Alejandro Celaya
a6f0c66331
Document endpoint to delete orphan visits
2023-05-18 09:06:52 +02:00
Alejandro Celaya
bdfb220126
Create REST action to delete orphan visits
2023-05-18 09:04:28 +02:00
Alejandro Celaya
abcf2f86be
Create service to delete orphan visits
2023-05-18 09:01:57 +02:00
Alejandro Celaya
a4d8ebdfc9
Create DB logic to delete orphan visits
2023-05-18 08:58:07 +02:00
Alejandro Celaya
b51c149c30
Merge pull request #1779 from acelaya-forks/feature/clear-short-url-visits
...
Feature/clear short url visits
2023-05-17 09:20:28 +02:00
Alejandro Celaya
39095a3098
Fix coding styles
2023-05-17 08:57:36 +02:00
Alejandro Celaya
765199727e
Update changelog
2023-05-16 09:29:22 +02:00
Alejandro Celaya
c7043af853
Create DeleteShortUrlVisitsCommandTest
2023-05-16 09:26:29 +02:00
Alejandro Celaya
02a8ef7dd9
Create DeleteShortUrlVisitsCommand
2023-05-15 09:48:24 +02:00
Alejandro Celaya
6bb8c1b2f5
Rename CLI Option namespace to Input
2023-05-15 09:02:23 +02:00
Alejandro Celaya
3cf253fd0f
Document short URLs visits deletion endpoint
2023-05-14 18:25:27 +02:00
Alejandro Celaya
0365728337
Create DeleteShortUrlVisitsTest
2023-05-14 13:35:15 +02:00
Alejandro Celaya
b8143a5bb4
Create VisitDeleterRepositoryTest
2023-05-14 13:04:45 +02:00
Alejandro Celaya
531a19dde9
Refactor short URL visits deletion layers
2023-05-14 13:04:17 +02:00
Alejandro Celaya
69ff7de481
Create ShortUrlVisitsDeleterTest
2023-05-14 12:32:54 +02:00
Alejandro Celaya
ffc0555c7c
Create DeleteShortUrlVisitsActionTest
2023-05-14 12:15:35 +02:00
Alejandro Celaya
84a7981dfa
Create REST action to delete short URL visits
2023-05-14 12:00:08 +02:00
Alejandro Celaya
2573c2bf98
Update roadrunner config
2023-05-14 11:56:49 +02:00
Alejandro Celaya
3b4c1501f3
Set platforms to be used for openswoole docker image
2023-05-07 17:13:26 +02:00
Alejandro Celaya
e836bedecc
Merge pull request #1775 from acelaya-forks/feature/default-roadrunner
...
Feature/default roadrunner
2023-05-07 13:34:53 +02:00
Alejandro Celaya
a797b74a70
Standardize logger for all Shlink execution contexts
2023-05-07 13:18:19 +02:00
Alejandro Celaya
ab497403ca
Merge pull request #1773 from acelaya-forks/feature/rr-friendly-installer
...
Update shlink-installer
2023-05-06 18:07:57 +02:00
Alejandro Celaya
d4dea9a1d2
Update shlink-installer
2023-05-06 10:12:42 +02:00
Alejandro Celaya
28d93ea5e0
Update changelog
2023-05-03 08:59:47 +02:00
Alejandro Celaya
e6a31b16ed
Switch to roadrunner as default docker runtime
2023-05-03 08:59:09 +02:00
Alejandro Celaya
9553192281
Merge pull request #1766 from acelaya-forks/feature/rr-cli-2.5
...
Update to rr-cli 2.5, and do not generate config
2023-05-02 20:01:51 +02:00
Alejandro Celaya
74069f2d24
Skip API tests fetching Twitter during CI
2023-05-02 19:51:37 +02:00
Alejandro Celaya
b4b00a57c1
Update chrome user agent used for anti-bots
2023-05-02 19:40:23 +02:00
Alejandro Celaya
a516ef691d
Update to rr-cli 2.5, and do not generate config
2023-05-02 08:43:14 +02:00
Alejandro Celaya
e80b7448f5
Merge pull request #1761 from acelaya-forks/feature/null-default-domain
...
Feature/null default domain
2023-04-23 15:57:02 +02:00
Alejandro Celaya
f129544f83
Update changelog
2023-04-23 15:22:40 +02:00
Alejandro Celaya
9fa291a32f
Update shlink-common
2023-04-23 15:20:33 +02:00
Alejandro Celaya
d06e92ffc2
Created CLI test for short URL importing
2023-04-23 13:26:59 +02:00
Alejandro Celaya
1b83344995
Create CLI test checking default domain is ignored even if explicitly provided
2023-04-23 11:20:54 +02:00
Alejandro Celaya
cf49393ef2
Add --show-domain flag to list short URLs command
2023-04-23 11:19:05 +02:00
Alejandro Celaya
f2ecbceae9
Update changelog
2023-04-22 19:46:28 +02:00
Alejandro Celaya
c582eba753
Make sure short URL domain is resolved as null when default one is provided
2023-04-22 19:44:04 +02:00
Alejandro Celaya
de86b62cdd
Merge pull request #1759 from acelaya-forks/feature/fix-docker-build
...
Fix docker image build
2023-04-20 09:00:39 +02:00
Alejandro Celaya
73150471e9
Fix docker image build
2023-04-19 18:57:35 +02:00
Alejandro Celaya
ec751f4ac2
Merge pull request #1758 from acelaya-forks/feature/roadrunner-2023
...
Feature/roadrunner 2023
2023-04-19 08:11:18 +02:00
Alejandro Celaya
e652166289
Update changelog
2023-04-18 23:24:21 +02:00
Alejandro Celaya
a671d555cb
Update to roadrunner 2023
2023-04-18 23:22:48 +02:00
Alejandro Celaya
6240554f4c
Merge pull request #1757 from acelaya-forks/feature/shlink-json
...
Migrate to shlinkio/shlink-json
2023-04-18 23:14:11 +02:00
Alejandro Celaya
4ee9c9bbe3
Migrate to shlinkio/shlink-json
2023-04-18 23:04:58 +02:00
Alejandro Celaya
c830439085
Merge pull request #1752 from acelaya-forks/feature/phpunit-10.1
...
Update phpunit configs to fulfil v10.1
2023-04-14 09:55:38 +02:00
Alejandro Celaya
f2196583c8
Update phpunit configs to fulfil v10.1
2023-04-14 09:44:01 +02:00
Alejandro Celaya
3dbca2115c
Merge pull request #1751 from acelaya-forks/feature/openswoole-22
...
Add support for openswoole 22
2023-04-14 09:16:47 +02:00
Alejandro Celaya
b45d8de27d
Ignore openswoole dep on roadrunner tests CI
2023-04-14 09:02:17 +02:00
Alejandro Celaya
3ba46bbbfa
Add support for openswoole 22
2023-04-14 08:58:54 +02:00
Alejandro Celaya
06f3f0c86c
Merge pull request #1750 from acelaya-forks/feature/update-delete-artifacts
...
Update to geekyeggo/delete-artifact@2
2023-04-13 08:58:24 +02:00
Alejandro Celaya
06f07e3e40
Update to geekyeggo/delete-artifact@2
2023-04-12 19:13:35 +02:00
Alejandro Celaya
740740b8c6
Update to latest JamesIves/github-pages-deploy-action
2023-04-12 19:11:06 +02:00
Alejandro Celaya
b6ed39b18b
Merge pull request #1749 from shlinkio/develop
...
Release 3.5.4
2023-04-12 19:03:25 +02:00
Alejandro Celaya
958c4704f8
Merge pull request #1748 from acelaya-forks/feature/create-error
...
Feature/create error
2023-04-12 18:52:18 +02:00
Alejandro Celaya
ef075fb0ce
Fix test when CLI output viewport is too narrow
2023-04-12 18:36:28 +02:00
Alejandro Celaya
556520583a
Update changelog
2023-04-12 18:31:57 +02:00
Alejandro Celaya
399c56a097
Print warning when trying to create short URL from CLI on openswoole in verbose mode
2023-04-12 18:30:02 +02:00
Alejandro Celaya
f078d95588
Capture error on real-time update when creating short URL
2023-04-12 09:25:01 +02:00
Alejandro Celaya
33911afcd6
Merge pull request #1744 from acelaya-forks/feature/regression-fix
...
Feature/regression fix
2023-04-11 19:13:08 +02:00
Alejandro Celaya
ae8d31e83f
Add test case for deeplink long URLs
2023-04-11 17:24:38 +02:00
Alejandro Celaya
72c4052012
Be less restrictive when validating long URLs
2023-04-10 18:05:57 +02:00
Alejandro Celaya
f713a1fa7e
Merge pull request #1737 from shlinkio/develop
...
Release 3.5.3
2023-03-31 22:07:51 +02:00
Alejandro Celaya
62488ac4e5
Merge pull request #1739 from acelaya-forks/feature/import-memory-leak
...
Feature/import memory leak
2023-03-31 10:00:36 +02:00
Alejandro Celaya
ab4c6e5fca
Update changelog
2023-03-31 09:48:08 +02:00
Alejandro Celaya
26f4a969c9
Fix memory leak when importing big amounts of visits
2023-03-31 09:46:05 +02:00
Alejandro Celaya
703965915d
Merge pull request #1736 from acelaya-forks/feature/lcobucci-jwt-5
...
Update to latest shlink-common
2023-03-30 18:45:39 +02:00
Alejandro Celaya
24e38a3cf9
Update to latest shlink-common
2023-03-30 18:33:53 +02:00
Alejandro Celaya
b12cfaedf3
Merge pull request #1730 from acelaya-forks/feature/validate-uris
...
Feature/validate uris
2023-03-25 13:29:36 +01:00
Alejandro Celaya
71807e698c
Update changelog
2023-03-25 11:23:01 +01:00
Alejandro Celaya
1d155298c1
Fix API tests
2023-03-25 11:23:01 +01:00
Alejandro Celaya
4dfc5ae681
Fix DB tests
2023-03-25 11:23:01 +01:00
Alejandro Celaya
26f237069c
Fixed unit tests
2023-03-25 11:23:01 +01:00
Alejandro Celaya
b6e1c65c4c
Enforce a schema to be provided when short URLs are created
2023-03-25 11:23:00 +01:00
Alejandro Celaya
11f94b8306
Merge pull request #1723 from acelaya-forks/feature/tags-list-performance-join-tags
...
Feature/tags list performance join tags
2023-03-16 21:57:43 +01:00
Alejandro Celaya
01bcedef7a
Simplify how ordering field is resolved in tags list
2023-03-04 11:54:30 +01:00
Alejandro Celaya
e51384fcc0
Reduce duplicated logic when checking if an API key is admin
2023-03-04 10:22:46 +01:00
Alejandro Celaya
83c53c8b2e
Add correct index on visits potential_bot column
2023-03-04 09:51:14 +01:00
Alejandro Celaya
1afe08caed
Simplify how limits are applied to tags query
2023-03-04 09:50:38 +01:00
Alejandro Celaya
7289833928
Move join on short URLs to tags sub-query
2023-03-03 12:10:41 +01:00
Alejandro Celaya
f4d10df0f3
Delete no longer used spec file
2023-02-27 09:28:27 +01:00
Alejandro Celaya
652b0df054
Use native query builders for all queries/sub-queries in tags list
2023-02-27 09:21:11 +01:00
Alejandro Celaya
0e9ea5027c
Merge pull request #1705 from shlinkio/develop
...
Release 3.5.2
2023-02-16 19:36:59 +01:00
Alejandro Celaya
658303d375
Merge pull request #1706 from acelaya-forks/feature/fix-ms-ci
...
Comment-out unixodbc-dev installation in CI, as it's already present …
2023-02-16 19:33:08 +01:00
Alejandro Celaya
ccc3a4b584
Comment-out unixodbc-dev installation in CI, as it's already present in Ubuntu 22.04
2023-02-16 19:24:09 +01:00
Alejandro Celaya
ef5ac86e0a
Add v3.5.2 to changelog
2023-02-15 20:25:55 +01:00
Alejandro Celaya
91b90b276a
Merge pull request #1704 from acelaya-forks/feature/stronger-db-detection
...
Feature/stronger db detection
2023-02-15 19:19:11 +01:00
Alejandro Celaya
85c32c3c9a
Fix CreateDatabaseCommandTest
2023-02-15 18:55:25 +01:00
Alejandro Celaya
40838255a7
Make sure database detection is not affected by the existence of foreign tables
2023-02-15 08:52:17 +01:00
Alejandro Celaya
a67ccb384f
Merge pull request #1697 from acelaya-forks/feature/phpunit-10
...
Feature/phpunit 10
2023-02-13 19:15:33 +01:00
Alejandro Celaya
cb31e5a581
Update to phpcov 9
2023-02-13 19:05:27 +01:00
Alejandro Celaya
3c12a55872
Merge branch 'develop' into feature/phpunit-10
2023-02-13 11:54:49 +01:00
Alejandro Celaya
6da8b11674
Update changelog
2023-02-12 19:52:22 +01:00
Alejandro Celaya
552489611f
Merge pull request #1700 from acelaya-forks/feature/optimize-tags-query
...
Feature/optimize tags query
2023-02-12 19:50:23 +01:00
Alejandro Celaya
e48d0f4f0c
Upgrade deps for MSSQL tests
2023-02-12 19:08:20 +01:00
Alejandro Celaya
49b6063501
Fix ordering on Postgres
2023-02-12 13:35:05 +01:00
Alejandro Celaya
dd049feb40
Add migration with new index for short_url_id+potential_bot on visits table
2023-02-12 13:12:09 +01:00
Alejandro Celaya
76a86c452e
Optimize tags list query performance by using more subqueries
2023-02-12 13:09:24 +01:00
Alejandro Celaya
41aec15fab
Migrate new test to PHPUnit 10
2023-02-10 20:45:09 +01:00
Alejandro Celaya
245cb0e35d
Fixed merge conflicts
2023-02-10 20:44:05 +01:00
Alejandro Celaya
7a0b1e8494
Merge pull request #1699 from acelaya-forks/feature/fix-robots-txt
...
Fix dependency injected in CrawlingHelper
2023-02-10 20:41:10 +01:00
Alejandro Celaya
70c1c9f018
Fix dependency injected in CrawlingHelper
2023-02-10 20:26:18 +01:00
Alejandro Celaya
97e965157b
Update changelog
2023-02-09 20:43:07 +01:00
Alejandro Celaya
04bbd471ff
Migrate from PHPUnit annotations to native attributes
2023-02-09 20:42:18 +01:00
Alejandro Celaya
650a286982
Update to PHPUnit 10
2023-02-09 09:32:38 +01:00
Alejandro Celaya
ad44a8441a
Merge pull request #1694 from acelaya-forks/feature/fix-gha-deprecations
...
Fix usage of deprecated GitHub actions practices
2023-02-06 21:56:35 +01:00
Alejandro Celaya
b339cf2429
Fix usage of deprecated GitHub actions practices
2023-02-06 21:47:04 +01:00
Alejandro Celaya
9cd97c2f1e
Merge pull request #1691 from shlinkio/develop
...
Release 3.5.1
2023-02-04 17:58:27 +01:00
Alejandro Celaya
a7f6b60cba
Merge pull request #1690 from acelaya-forks/feature/uninitialized-prop
...
Update to latest shlink-common including the cache clear fix for redis replication
2023-02-04 17:51:04 +01:00
Alejandro Celaya
0d7dc50670
Update to latest shlink-common including the cache clear fix for redis replication
2023-02-04 17:40:44 +01:00
Alejandro Celaya
4bc5b9261f
Merge pull request #1687 from acelaya-forks/feature/ms-case-sensitive
...
Feature/ms case sensitive
2023-01-30 11:16:13 +01:00
Alejandro Celaya
fb572d5abb
Fix accidentally removed statement in new migration
2023-01-30 10:52:07 +01:00
Alejandro Celaya
8fa4219b30
Update changelog
2023-01-30 10:50:47 +01:00
Alejandro Celaya
a52d0cd419
Ensure short_code column is case sensitive in Microsoft SQL server
2023-01-30 10:49:47 +01:00
Alejandro Celaya
0080ab5132
Merge pull request #1686 from acelaya-forks/feature/loose-mode
...
Rename loosely mode to loose mode
2023-01-29 11:42:52 +01:00
Alejandro Celaya
8afa582aa5
Create ShortUrlModeTest
2023-01-29 11:32:13 +01:00
Alejandro Celaya
d847c7648e
Rename loosely mode to loose mode
2023-01-29 10:30:34 +01:00
Alejandro Celaya
c140db16d1
Improve issue templates requesting roadrunner when appropriate
2023-01-29 09:53:47 +01:00
Alejandro Celaya
adbf7c6f5e
Fix twitter badge
2023-01-28 11:15:46 +01:00
Alejandro Celaya
5cec697be3
Merge pull request #1683 from shlinkio/develop
...
Release 3.5.0
2023-01-28 11:10:49 +01:00
Alejandro Celaya
587bbfdd73
Add SemVer-compliant constraints for shlink libs
2023-01-28 10:48:34 +01:00
Alejandro Celaya
b3a2ceedea
Merge pull request #1680 from acelaya-forks/feature/loosly-mode
...
Feature/loosly mode
2023-01-28 10:36:19 +01:00
Alejandro Celaya
621f18bf40
Recover DB test only for platforms in which it passes
2023-01-28 10:20:57 +01:00
Alejandro Celaya
99c1a59dd4
Refactor CustomSlugFilter for simplicity
2023-01-28 10:16:53 +01:00
Alejandro Celaya
3a149c9edc
Update changelog
2023-01-28 10:09:54 +01:00
Alejandro Celaya
fdaf5fb2f3
Add support for short URL mode in installer, and handle loosely mode in custom slugs
2023-01-28 10:06:11 +01:00
Alejandro Celaya
2f83e90c8b
Add option to do loosely matches on short URLs when mode is loosely
2023-01-26 20:45:36 +01:00
Alejandro Celaya
05acd4ae88
Add two modes for short URLs
2023-01-25 20:33:07 +01:00
Alejandro Celaya
87007677ed
Merge pull request #1679 from acelaya-forks/feature/deprecate-url-validation
...
Deprecated validateUrl option on short URL creation/edition
2023-01-23 20:45:13 +01:00
Alejandro Celaya
4ee0032c2a
Deprecated validateUrl option on short URL creation/edition
2023-01-23 20:30:12 +01:00
Alejandro Celaya
06583a0bc1
Merge pull request #1677 from acelaya-forks/feature/openswoole-4.12.1
...
Updated to openswoole 4.12.1
2023-01-23 08:07:15 +01:00
Alejandro Celaya
024c9c1a7a
Fixed paths glob patterns in some workflows
2023-01-22 21:01:46 +01:00
Alejandro Celaya
f3855dbc6f
Updated to openswoole 4.12.1
2023-01-22 20:57:48 +01:00
Alejandro Celaya
758dac47c3
Merge pull request #1668 from acelaya-forks/feature/device-long-urls
...
Feature/device long urls
2023-01-22 12:50:33 +01:00
Alejandro Celaya
81393a76b4
Ensure GITHUB_TOKEN is exposed to roadrunner api tests workflow
2023-01-22 12:43:03 +01:00
Alejandro Celaya
9949bb654d
Set more accurate swagger docs in terms of what props are required/nullable for device long URLs
2023-01-22 12:35:07 +01:00
Alejandro Celaya
b0b9902f40
Add unit test to cover device URLs edition, and fix bug thanks to it
2023-01-22 12:18:36 +01:00
Alejandro Celaya
5aa8de11f4
Update version on user agent used to validate URLsç
2023-01-22 12:00:16 +01:00
Alejandro Celaya
b18c9e495f
Add API test for short URL edition with device long URLs
2023-01-22 11:47:45 +01:00
Alejandro Celaya
d3590234a3
Add API test for short URL creation with device long URLs
2023-01-22 11:36:00 +01:00
Alejandro Celaya
39adef8ab8
Make it impossible to create a short URL with an empty long URL
2023-01-22 11:27:16 +01:00
Alejandro Celaya
13e443880a
Allow device long URLs to be removed from short URLs by providing null value
2023-01-22 11:03:05 +01:00
Alejandro Celaya
45961144b9
Update changelog
2023-01-22 09:47:15 +01:00
Alejandro Celaya
34129b8d24
Update async API docs with device long URLs
2023-01-21 12:09:38 +01:00
Alejandro Celaya
48bd97fe41
Return deviceLongUrls as part of the short URL data and document API changes
2023-01-21 12:05:54 +01:00
Alejandro Celaya
b1b67c497e
Add logic to dynamically resolve the long URL to redirect to based on requesting device
2023-01-21 11:15:42 +01:00
Alejandro Celaya
237fb95b4b
Update ShortUrlRedirectionBuilder to accept a request object instead of a raw query array
2023-01-21 10:37:12 +01:00
Alejandro Celaya
c1b7c6ba6c
Updated to shlink-common with support for proxies for entities with public readonly props
2023-01-21 10:12:52 +01:00
Alejandro Celaya
d8add9291f
Removed public readonly prop from entity, as it can cause errors when a proxy is generated
2023-01-21 10:12:52 +01:00
Alejandro Celaya
a93edf158e
Added logic to persist device long URLs while creating/editing a short URL
2023-01-21 10:12:52 +01:00
Alejandro Celaya
fdadf3ba07
Created unit test for DeviceLongUrlsValidator
2023-01-21 10:12:52 +01:00
Alejandro Celaya
3e26f1113d
Extract device long URL validation to its own validation class
2023-01-21 10:12:52 +01:00
Alejandro Celaya
822652cac3
Allow providing device long URLs during short URL edition
2023-01-21 10:12:52 +01:00
Alejandro Celaya
1447687ebe
Add deviceLongUrls to short URL creation
2023-01-21 10:12:52 +01:00
Alejandro Celaya
12150f775d
Created persistence for device long URLs
2023-01-21 10:12:52 +01:00
Alejandro Celaya
5f2f179581
Merge pull request #1675 from acelaya-forks/feature/gh-build-improve
...
Extract docker image building during CI to its own workflow
2023-01-21 10:11:48 +01:00
Alejandro Celaya
407134bab1
Extract docker image building during CI to its own workflow
2023-01-21 09:59:43 +01:00
Alejandro Celaya
de5b895fad
Merge pull request #1672 from acelaya-forks/feature/domain
...
Replace references to doma.in with s.test
2023-01-19 09:30:28 +01:00
Alejandro Celaya
80e3f01562
Replace references to doma.in with s.test
2023-01-19 09:05:52 +01:00
Alejandro Celaya
6904dcfed0
Merge pull request #1665 from acelaya-forks/feature/openswoole-env
...
Add support to load openswoole-specific config via env vars
2023-01-12 20:10:21 +01:00
Alejandro Celaya
21863e8de6
Add support to load openswoole-specific config via env vars
2023-01-12 19:39:26 +01:00
Alejandro Celaya
d75be372cb
Merge pull request #1657 from acelaya-forks/feature/extra-method-redirects
...
Feature/extra method redirects
2023-01-07 17:20:17 +01:00
Alejandro Celaya
edaf999bf5
Fixed constant assignment on enum which is not valid for PHP 8.1
2023-01-07 17:09:53 +01:00
Alejandro Celaya
3e98485c8b
Updated to installer supporting redirect status codes 308 and 307
2023-01-07 17:02:34 +01:00
Alejandro Celaya
cc292886a6
Updated changelog
2023-01-07 13:55:46 +01:00
Alejandro Celaya
0c1b36d0d4
Added config post-processor which sets proper allowed methods based on redirect status codes
2023-01-07 13:51:35 +01:00
Alejandro Celaya
a06957e9fa
Moved config post-processors to their own sub-namespace
2023-01-07 13:04:46 +01:00
Alejandro Celaya
390bc59d99
Added support for redirect status code 307 and 308
2023-01-07 11:27:15 +01:00
Alejandro Celaya
85464f0fbb
Added ADR with options to support other HTTP methods in short URLs
2023-01-07 10:44:08 +01:00
Alejandro Celaya
42f7a68ba5
Updated dev container base images
2023-01-05 18:50:49 +01:00
Alejandro Celaya
e3397a7c90
Merge pull request #1652 from acelaya-forks/feature/extended-tags-stats
...
Feature/extended tags stats
2023-01-02 20:25:50 +01:00
Alejandro Celaya
46b4a21617
Fixed missing null check
2023-01-02 20:17:29 +01:00
Alejandro Celaya
fc0aba6311
Updated changelog
2023-01-02 20:03:30 +01:00
Alejandro Celaya
0b96a79c41
Updated async API docs
2023-01-02 20:02:50 +01:00
Alejandro Celaya
a5929ebb29
Added swagger docs for visits summary in tags with stats
2023-01-02 19:58:02 +01:00
Alejandro Celaya
ce9ec0d738
Fixed ordering in tags supporting more fields
2023-01-02 19:49:54 +01:00
Alejandro Celaya
961178fd82
Added amount of bots, non-bots and total visits to the list of tags with stats
2023-01-02 19:28:32 +01:00
Alejandro Celaya
49c73a9590
Merge pull request #1650 from acelaya-forks/feature/handle-malformed-body
...
Feature/handle malformed body
2023-01-02 13:54:52 +01:00
Alejandro Celaya
92c80e7833
Removed superfluous exception code by using named args
2023-01-02 13:47:16 +01:00
Alejandro Celaya
6d5bce0078
Updated changelog
2023-01-02 13:39:13 +01:00
Alejandro Celaya
112cbb9039
Added API test for malformed request JSON body
2023-01-02 13:38:04 +01:00
Alejandro Celaya
812c5f4993
Added new handled error for when request body is not valid JSON
2023-01-02 13:33:24 +01:00
Alejandro Celaya
921f303404
Merge pull request #1649 from acelaya-forks/feature/detailed-visits-stats
...
Feature/detailed visits stats
2023-01-02 13:11:20 +01:00
Alejandro Celaya
e0a9f8120c
Fixed unintended change in phpdoc
2023-01-02 12:48:23 +01:00
Alejandro Celaya
8ecc241a4b
Added API test for the visits stats endpoint
2023-01-02 12:45:08 +01:00
Alejandro Celaya
30e34151ed
Updated changelog
2023-01-02 12:36:25 +01:00
Alejandro Celaya
d734578f74
Reflected changes to visits stats in the swagger docs
2023-01-02 12:35:15 +01:00
Alejandro Celaya
37c8328eed
Added split info about bots, non-bots and total visits to the visits stats
2023-01-02 12:28:34 +01:00
Alejandro Celaya
e71f6bb528
Documented support for PHP 8.2 in readme
2022-12-29 16:35:20 +01:00
Alejandro Celaya
f7ae52f86e
Fixed build badge in README
2022-12-17 10:59:42 +01:00
Alejandro Celaya
067d1cc41c
Merge pull request #1637 from shlinkio/develop
...
Release 3.4.0
2022-12-16 22:55:02 +01:00
Alejandro Celaya
b97af7efb9
Added v3.4.0 to changelog
2022-12-16 22:33:16 +01:00
Alejandro Celaya
fd0ecc05b2
Merge pull request #1634 from acelaya-forks/feature/non-bot-count
...
Feature/non bot count
2022-12-16 21:02:22 +01:00
Alejandro Celaya
5b934c3f9a
Updated changelog
2022-12-16 19:47:17 +01:00
Alejandro Celaya
c7a2f499e0
Added support to order short URLs list by amount of non-bot visits
2022-12-16 19:42:46 +01:00
Alejandro Celaya
713f7e7bc9
Added missing dock block
2022-12-16 18:18:09 +01:00
Alejandro Celaya
09078e4c6a
Updated short URL API docs including new visitsSummary
2022-12-16 13:34:40 +01:00
Alejandro Celaya
1f66ec2af5
Fixed API tests
2022-12-16 10:53:44 +01:00
Alejandro Celaya
936e5b3b86
Fixed PublishingUpdatesGeneratorTest
2022-12-16 10:36:09 +01:00
Alejandro Celaya
99f28b569b
Created method to get non-bot visits count for a short URL
2022-12-16 10:06:39 +01:00
Alejandro Celaya
0c83dea8b7
Merge pull request #1629 from acelaya-forks/feature/docker-8.2
...
Feature/docker 8.2
2022-12-14 18:55:37 +01:00
Alejandro Celaya
30edfdbdc5
Updated docker images to PHP 8.2
2022-12-14 15:01:00 +01:00
Alejandro Celaya
60ef98b836
Extracted method to find crawlable short codes to its own query object
2022-12-14 14:38:22 +01:00
Alejandro Celaya
73c8b53882
Split some logic from VisitRepository into its own injectable repository
2022-12-14 12:28:23 +01:00
Alejandro Celaya
425d8f0a3f
Merge pull request #1628 from acelaya-forks/feature/split-repos-poc
...
Split short URL listing capabilities on its own repo and service
2022-12-13 20:48:34 +01:00
Alejandro Celaya
92a83b82a0
Split short URL listing capabilities on its own repo and service
2022-12-13 19:37:02 +01:00
Alejandro Celaya
d1ec15febf
Merge pull request #1627 from acelaya-forks/feature/redis-credentials
...
Feature/redis credentials
2022-12-12 21:00:40 +01:00
Alejandro Celaya
dd345c82ea
Updated changelog
2022-12-12 20:51:43 +01:00
Alejandro Celaya
2bf3e6a13b
Addedsupport for credentials on redis
2022-12-12 20:50:21 +01:00
Alejandro Celaya
0b04476c99
Merge pull request #1622 from acelaya-forks/feature/filter-out-disabled
...
Feature/filter out disabled
2022-12-11 18:44:42 +01:00
Alejandro Celaya
229dc93132
Fixed typo
2022-12-11 18:36:46 +01:00
Alejandro Celaya
0952c488be
Added exclusion flags to ListShortUrlsCommand
2022-12-11 18:33:40 +01:00
Alejandro Celaya
c4f28b3a32
Renamed ShortUrl::fromMeta to ShortUrl::create
2022-12-11 18:24:47 +01:00
Alejandro Celaya
201f25e0ad
Improved API tests to cover exlucding disabled URLs from lists
2022-12-11 13:38:11 +01:00
Alejandro Celaya
0c3523c34a
Fixed E2E test suites
2022-12-11 13:22:16 +01:00
Alejandro Celaya
0d7a0ee9ea
Fixed more coding styles
2022-12-11 13:11:43 +01:00
Alejandro Celaya
931bdb0cd7
Fixed coding styles
2022-12-11 13:03:19 +01:00
Alejandro Celaya
8807a78463
Improved performance when filtering out shortUrls which reached their limit by using a sub-query
2022-12-11 13:00:06 +01:00
Alejandro Celaya
d832133410
Enhanced db tests for expired short urls filtering
2022-12-11 12:33:17 +01:00
Alejandro Celaya
cdde59b543
Added db test for filtering of disabled short URLs
2022-12-11 11:41:37 +01:00
Alejandro Celaya
463dfe9729
Added support to filter out expired short URLs from list
2022-12-11 10:26:04 +01:00
Alejandro Celaya
805c8c87ba
Fixed nasty typo
2022-12-10 19:59:30 +01:00
Alejandro Celaya
7ba2cfc010
Moved true before false in swagger docs
2022-12-10 19:59:30 +01:00
Alejandro Celaya
40794c476f
Updated API docs with new short URLs list filters
2022-12-10 19:59:30 +01:00
Alejandro Celaya
c3ab871366
Exposed new short URLs list filtering params
2022-12-10 19:59:30 +01:00
Alejandro Celaya
42a5296f93
Added new params to short URLs list to filter out 'disabled' short ones
2022-12-10 19:59:30 +01:00
Alejandro Celaya
183db4ff80
Merge pull request #1626 from acelaya-forks/feature/fix-ms-sql
...
Feature/fix ms sql
2022-12-10 19:57:50 +01:00
Alejandro Celaya
0bc9bd9281
Added TrustServerCertificate=true to mssql connections
2022-12-10 19:40:33 +01:00
Alejandro Celaya
9bed7ef156
Updated docker images to MS ODBC 18 for PDO MSSQL
2022-12-10 19:15:38 +01:00
Alejandro Celaya
8f68e4b9f5
Merge pull request #1624 from acelaya-forks/feature/php-8.2-full-support
...
Feature/php 8.2 full support
2022-12-10 18:37:18 +01:00
Alejandro Celaya
6589c8fce6
Downgraded docker images to latest php 8.1
2022-12-10 17:58:10 +01:00
Alejandro Celaya
38b313a25d
Updated changelog
2022-12-10 17:30:35 +01:00
Alejandro Celaya
dab0ebeb99
Updated dockerimages to PHP 8.2 and added full support for this version
2022-12-10 17:29:52 +01:00
Alejandro Celaya
27bf7220b9
Merge pull request #1623 from acelaya-forks/feature/fix-flush-redis
...
Added missing namespace for cache adapters, causing full cache to be …
2022-12-10 10:21:46 +01:00
Alejandro Celaya
e68ef87c66
Renamed config file from redis to cache
2022-12-10 10:12:56 +01:00
Alejandro Celaya
29b747c192
Added missing namespace for cache adapters, causing full cache to be flushed in some circumstances
2022-12-10 10:11:25 +01:00
Alejandro Celaya
2047d6b772
Merge pull request #1621 from acelaya-forks/feature/default-domain-search
...
Feature/default domain search
2022-12-08 20:43:42 +01:00
Alejandro Celaya
71e7938b7a
Updated changelog
2022-12-08 20:33:59 +01:00
Alejandro Celaya
6bce219eb3
Added test to cover searching short URLs by default domain
2022-12-08 20:32:48 +01:00
Alejandro Celaya
dfcac525bc
Enabled search by default domain
2022-12-08 20:22:50 +01:00
Alejandro Celaya
da307aee0a
Merge pull request #1620 from acelaya-forks/feature/empty-domain-fix
...
Feature/empty domain fix
2022-12-07 19:15:29 +01:00
Alejandro Celaya
edf2b5b4c2
Updated changelog
2022-12-07 19:06:58 +01:00
Alejandro Celaya
f41d947cf7
Ensured empty string is ignored as the domain during short URL creation
2022-12-07 19:06:05 +01:00
Alejandro Celaya
54bc169525
Merge pull request #1619 from acelaya-forks/feature/import-orphan-visits
...
Feature/import orphan visits
2022-12-05 15:03:28 +01:00
Alejandro Celaya
05d55c4000
Added one more case to cover import orphan visits when visits already exist
2022-12-05 14:48:24 +01:00
Alejandro Celaya
739f5eb421
Added test for orphan visits import
2022-12-05 14:42:26 +01:00
Alejandro Celaya
0aab1bdc4e
Added test for findMostRecentOrphanVisit
2022-12-04 20:42:28 +01:00
Alejandro Celaya
47f99cf6cc
Updated changelog
2022-12-04 20:38:07 +01:00
Alejandro Celaya
55c9773a02
Added logic to import orphan visits
2022-12-04 20:35:38 +01:00
Alejandro Celaya
4b66aaba5c
Updated to latest shlink-importer
2022-12-04 12:28:44 +01:00
Alejandro Celaya
4223408090
Updated to common-config with support for valinor 1.0.0
2022-11-28 15:47:59 +01:00
Alejandro Celaya
58e6b0b683
Added badge for Mastodon follow
2022-11-17 19:57:47 +01:00
Alejandro Celaya
891438c672
Updated shlink-config
2022-11-11 16:33:02 +01:00
Alejandro Celaya
910864eaaf
Reduced required MSI to 80
2022-11-05 10:54:12 +01:00
Alejandro Celaya
598c0757be
Merge pull request #1587 from acelaya-forks/feature/phpstan-phpunit
...
Feature/phpstan phpunit
2022-10-24 20:34:11 +02:00
Alejandro Celaya
01e0a95e14
Added rest of tests to phpstan check
2022-10-24 20:25:06 +02:00
Alejandro Celaya
f459a99e7e
Added db tests to phpstan checks
2022-10-24 20:14:48 +02:00
Alejandro Celaya
85e18a4754
Fixed all phpstan inspections on tests
2022-10-24 20:11:25 +02:00
Alejandro Celaya
1650499a38
Added more stricter types for mocks
2022-10-24 19:59:03 +02:00
Alejandro Celaya
51f243995a
Added stricter types for mocks
2022-10-24 19:53:13 +02:00
Alejandro Celaya
aeafb244d9
Merge pull request #1586 from acelaya-forks/feature/phpunit-mocks
...
Feature/phpunit mocks
2022-10-23 23:18:49 +02:00
Alejandro Celaya
142417dda1
Updated changelog
2022-10-23 23:08:54 +02:00
Alejandro Celaya
da658185c3
Fixed coding styles
2022-10-23 23:07:50 +02:00
Alejandro Celaya
ef82158368
Migrated ApiKeyServiceTest to use PHPUnit mocks
2022-10-23 23:07:17 +02:00
Alejandro Celaya
083ccd36b7
Migrated OverrideDomainMiddlewareTest to use PHPUnit mocks
2022-10-23 23:00:57 +02:00
Alejandro Celaya
d61c79da84
Migrated DropDefaultDomainFromRequestMiddlewareTest to use PHPUnit mocks
2022-10-23 22:56:12 +02:00
Alejandro Celaya
8f76c3e202
Migrated DefaultShortCodesLengthMiddlewareTest to use PHPUnit mocks
2022-10-23 22:55:11 +02:00
Alejandro Celaya
23aa7a015c
Migrated CreateShortUrlContentNegotiationMiddlewareTest to use PHPUnit mocks
2022-10-23 22:53:48 +02:00
Alejandro Celaya
674a4416cf
Migrated NotConfiguredMercureErrorHandlerTest to use PHPUnit mocks
2022-10-23 22:51:38 +02:00
Alejandro Celaya
db85915c2f
Migrated BackwardsCompatibleProblemDetailsHandlerTest to use PHPUnit mocks
2022-10-23 22:48:30 +02:00
Alejandro Celaya
dfc8e8d74e
Migrated CrossDomainMiddlewareTest to use PHPUnit mocks
2022-10-23 22:47:34 +02:00
Alejandro Celaya
b2b424a4ed
Migrated BodyParserMiddlewareTest to use PHPUnit mocks
2022-10-23 22:45:23 +02:00
Alejandro Celaya
3433899577
Migrated AuthenticationMiddlewareTest to use PHPUnit mocks
2022-10-23 22:40:14 +02:00
Alejandro Celaya
b1f814e118
Migrated InitialApiKeyDelegatorTest to use PHPUnit mocks
2022-10-23 22:36:16 +02:00
Alejandro Celaya
7aa6afeb30
Migrated TagVisitsActionTest to use PHPUnit mocks
2022-10-23 22:28:29 +02:00
Alejandro Celaya
d414496a3c
Migrated ShortUrlVisitsActionTest to use PHPUnit mocks
2022-10-23 22:27:27 +02:00
Alejandro Celaya
d4684fd01f
Migrated OrphanVisitsActionTest to use PHPUnit mocks
2022-10-23 22:25:54 +02:00
Alejandro Celaya
bb444a02fe
Migrated NonOrphanVisitsActionTest to use PHPUnit mocks
2022-10-23 22:24:06 +02:00
Alejandro Celaya
e980a8d121
Migrated GlobalVisitsActionTest to use PHPUnit mocks
2022-10-23 22:23:08 +02:00
Alejandro Celaya
f493baaf2b
Migrated DomainVisitsActionTest to use PHPUnit mocks
2022-10-23 22:22:14 +02:00
Alejandro Celaya
28f26920dd
Migrated UpdateTagActionTest to use PHPUnit mocks
2022-10-23 22:21:23 +02:00
Alejandro Celaya
69e994c067
Migrated TagsStatsActionTest to use PHPUnit mocks
2022-10-23 22:20:21 +02:00
Alejandro Celaya
656083cb6f
Migrated ListTagsActionTest to use PHPUnit mocks
2022-10-23 22:19:14 +02:00
Alejandro Celaya
ab9ea887d2
Migrated DeleteTagsActionTest to use PHPUnit mocks
2022-10-23 22:17:35 +02:00
Alejandro Celaya
9ac6a50e66
Migrated SingleStepCreateShortUrlActionTest to use PHPUnit mocks
2022-10-23 22:16:19 +02:00
Alejandro Celaya
acc9cb94b5
Migrated ResolveShortUrlActionTest to use PHPUnit mocks
2022-10-23 22:14:28 +02:00
Alejandro Celaya
01829c82ee
Migrated ListShortUrlsActionTest to use PHPUnit mocks
2022-10-23 22:13:27 +02:00
Alejandro Celaya
9c02ea8799
Migrated EditShortUrlActionTest to use PHPUnit mocks
2022-10-23 22:12:27 +02:00
Alejandro Celaya
d202538581
Migrated DeleteShortUrlActionTest to use PHPUnit mocks
2022-10-23 22:10:41 +02:00
Alejandro Celaya
a84b642ba5
Migrated CreateShortUrlActionTest to use PHPUnit mocks
2022-10-23 22:09:37 +02:00
Alejandro Celaya
74176c298f
Migrated ListDomainsActionTest to use PHPUnit mocks
2022-10-23 22:06:48 +02:00
Alejandro Celaya
91e21441f7
Migrated DomainRedirectsActionTest to use PHPUnit mocks
2022-10-23 22:05:51 +02:00
Alejandro Celaya
896b7f2d73
Migrated MercureInfoActionTest to use PHPUnit mocks
2022-10-23 22:04:00 +02:00
Alejandro Celaya
66ed152358
Migrated HealthActionTest to use PHPUnit mocks
2022-10-23 22:02:31 +02:00
Alejandro Celaya
257134cd80
Migrated VisitsForTagPaginatorAdapterTest to use PHPUnit mocks
2022-10-23 21:59:18 +02:00
Alejandro Celaya
a4373aee91
Migrated OrphanVisitsPaginatorAdapterTest to use PHPUnit mocks
2022-10-23 21:56:34 +02:00
Alejandro Celaya
7442905873
Migrated NonOrphanVisitsPaginatorAdapterTest to use PHPUnit mocks
2022-10-23 21:55:06 +02:00
Alejandro Celaya
d3af51f684
Migrated VisitToLocationHelperTest to use PHPUnit mocks
2022-10-23 21:24:30 +02:00
Alejandro Celaya
04419a7242
Migrated VisitLocatorTest to use PHPUnit mocks
2022-10-23 21:21:23 +02:00
Alejandro Celaya
a45d6e6b44
Migrated VisitsTrackerTest to use PHPUnit mocks
2022-10-23 21:08:58 +02:00
Alejandro Celaya
37b1306eb3
Migrated VisitsStatsHelperTest to use PHPUnit mocks
2022-10-23 21:05:13 +02:00
Alejandro Celaya
cff6573767
Migrated RequestTrackerTest to use PHPUnit mocks
2022-10-23 20:45:56 +02:00
Alejandro Celaya
a2f34e02ad
Migrated UrlValidatorTest to use PHPUnit mocks
2022-10-23 20:39:06 +02:00
Alejandro Celaya
796543d194
Migrated DoctrineBatchHelperTest to use PHPUnit mocks
2022-10-23 20:32:13 +02:00
Alejandro Celaya
3b25fb27fe
Migrated TagsPaginatorAdapterTest to use PHPUnit mocks
2022-10-23 20:28:45 +02:00
Alejandro Celaya
3b20f955ff
Migrated TagsInfoPaginatorAdapterTest to use PHPUnit mocks
2022-10-23 20:27:51 +02:00
Alejandro Celaya
c81ae9c40d
Migrated TagServiceTest to use PHPUnit mocks
2022-10-23 20:26:44 +02:00
Alejandro Celaya
7ceae7af87
Merge pull request #1585 from acelaya-forks/feature/phpunit-mocks
...
Feature/phpunit mocks
2022-10-23 20:19:22 +02:00
Alejandro Celaya
5e02cfe375
Fixed coding styles
2022-10-23 18:29:32 +02:00
Alejandro Celaya
6e836b5fd9
Migrated PersistenceShortUrlRelationResolverTest to use PHPUnit mocks
2022-10-23 18:28:28 +02:00
Alejandro Celaya
8753e3a77f
Migrated ShortUrlRepositoryAdapterTest to use PHPUnit mocks
2022-10-23 18:17:29 +02:00
Alejandro Celaya
6a2227efc5
Removed all uinnecessary usages of equalsTo param constraint
2022-10-23 18:15:57 +02:00
Alejandro Celaya
1fbcea7a06
Migrated ExtraPathRedirectMiddlewareTest to use PHPUnit mocks
2022-10-23 17:53:09 +02:00
Alejandro Celaya
168c839cf1
Migrated TrimTrailingSlashMiddlewareTest to use PHPUnit mocks
2022-10-23 17:39:57 +02:00
Alejandro Celaya
162e913cc4
Migrated ShortUrlTitleResolutionHelperTest to use PHPUnit mocks
2022-10-23 17:38:04 +02:00
Alejandro Celaya
5aaf50d68e
Migrated ShortCodeUniquenessHelperTest to use PHPUnit mocks
2022-10-23 17:35:50 +02:00
Alejandro Celaya
d2f5be1d18
Migrated UrlShortenerTest to use PHPUnit mocks
2022-10-23 11:32:13 +02:00
Alejandro Celaya
36ab455a49
Migrated ShortUrlServiceTest to use PHPUnit mocks
2022-10-23 11:14:01 +02:00
Alejandro Celaya
ee8cab8455
Migrated ShortUrlResolverTest to use PHPUnit mocks
2022-10-23 11:09:40 +02:00
Alejandro Celaya
bd884e85d4
Migrated DeleteShortUrlServiceTest to use PHPUnit mocks
2022-10-23 11:03:47 +02:00
Alejandro Celaya
5ceb6fb740
No longer let pipelines pass on error with PHP 8.2
2022-10-23 11:00:50 +02:00
Alejandro Celaya
0d6155e8bc
Merge pull request #1584 from acelaya-forks/feature/phpunit-mocks
...
Feature/phpunit mocks
2022-10-22 20:51:01 +02:00
Alejandro Celaya
a78c59c11a
Fixed coding styles
2022-10-22 20:41:17 +02:00
Alejandro Celaya
173420c608
Migrated ImportedLinksProcessorTest to use PHPUnit mocks
2022-10-22 20:39:55 +02:00
Alejandro Celaya
10b0ec301b
Migrated ValidationExceptionTest to use PHPUnit mocks
2022-10-22 20:05:06 +02:00
Alejandro Celaya
1706a869d9
Migrated NotifyVisitToRedisTest to use PHPUnit mocks
2022-10-22 20:04:12 +02:00
Alejandro Celaya
d0393799d2
Migrated NotifyNewShortUrlToRedisTest to use PHPUnit mocks
2022-10-22 19:59:32 +02:00
Alejandro Celaya
739433ba8b
Migrated NotifyVisitToRabbitMqTest to use PHPUnit mocks
2022-10-22 19:05:34 +02:00
Alejandro Celaya
a15e9c29c8
Migrated NotifyNewShortUrlToRabbitMqTest to use PHPUnit mocks
2022-10-22 18:49:43 +02:00
Alejandro Celaya
d58f89aa26
Merge pull request #1583 from acelaya-forks/feature/phpunit-mocks
...
Feature/phpunit mocks
2022-10-22 15:14:57 +02:00
Alejandro Celaya
b7671f70da
Fixed coding styles
2022-10-22 14:41:42 +02:00
Alejandro Celaya
52366b9dd4
Removed last reference to prophecytrait in CLI module
2022-10-22 14:41:22 +02:00
Alejandro Celaya
32417e40cb
Migrated ShlinkTableTest to use PHPUnit mocks
2022-10-22 14:40:35 +02:00
Alejandro Celaya
4cb44be9a0
Migrated ProcessRunnerTest to use PHPUnit mocks
2022-10-22 14:37:13 +02:00
Alejandro Celaya
a484455b0b
Migrated GeolocationDbUpdaterTest to use PHPUnit mocks
2022-10-22 14:27:07 +02:00
Alejandro Celaya
4b3ed2b7ba
Migrated LocateVisitsCommandTest to use PHPUnit mocks
2022-10-22 14:16:42 +02:00
Alejandro Celaya
e2986a7b4c
Migrated GetOrphanVisitsCommandTest to use PHPUnit mocks
2022-10-22 14:06:54 +02:00
Alejandro Celaya
82e04800aa
Migrated GetNonOrphanVisitsCommandTest to use PHPUnit mocks
2022-10-22 14:06:00 +02:00
Alejandro Celaya
5d367da626
Migrated DownloadGeoLiteDbCommandTest to use PHPUnit mocks
2022-10-22 14:02:38 +02:00
Alejandro Celaya
59de5a5f55
Migrated RenameTagCommandTest to use PHPUnit mocks
2022-10-22 13:53:45 +02:00
Alejandro Celaya
0855104068
Migrated ListTagsCommandTest to use PHPUnit mocks
2022-10-22 13:49:11 +02:00
Alejandro Celaya
8c6f97c4e2
Migrated GetTagVisitsCommandTest to use PHPUnit mocks
2022-10-22 13:47:28 +02:00
Alejandro Celaya
2d16856582
Migrated DeleteTagsCommandTest to use PHPUnit mocks
2022-10-22 13:45:11 +02:00
Alejandro Celaya
41e903cf26
Migrated ResolveUrlCommandTest to use PHPUnit mocks
2022-10-22 13:44:10 +02:00
Alejandro Celaya
4872bd3a92
Migrated ListShortUrlsCommandTest to use PHPUnit mocks
2022-10-22 13:42:46 +02:00
Alejandro Celaya
8b675f55cc
Migrated GetShortUrlVisitsCommandTest to use PHPUnit mocks
2022-10-22 13:38:46 +02:00
Alejandro Celaya
acda7f02c6
Migrated DeleteShortUrlCommandTest to use PHPUnit mocks
2022-10-22 13:36:33 +02:00
Alejandro Celaya
184ff90b9f
Migrated CreateShortUrlCommandTest to use PHPUnit mocks
2022-10-22 13:27:48 +02:00
Alejandro Celaya
d8be3c28cb
Migrated ListDomainsCommandTest to use PHPUnit mocks
2022-10-22 13:21:54 +02:00
Alejandro Celaya
3d358ab046
Migrated GetDomainVisitsCommandTest to use PHPUnit mocks
2022-10-22 13:21:00 +02:00
Alejandro Celaya
960bdfc232
Migrated DomainRedirectsCommandTest to use PHPUnit mocks
2022-10-22 13:17:12 +02:00
Alejandro Celaya
101b4daff4
Migrated MigrateDatabaseCommandTest to use PHPUnit mocks
2022-10-22 13:08:05 +02:00
Alejandro Celaya
13431ff8cf
Migrated CreateDatabaseCommandTest to use PHPUnit mocks
2022-10-22 13:05:36 +02:00
Alejandro Celaya
4cdcad29df
Migrated ListKeysCommandTest to use PHPUnit mocks
2022-10-22 12:53:28 +02:00
Alejandro Celaya
a4c34ff7be
Migrated GenerateKeyCommandTest to use PHPUnit mocks
2022-10-22 12:52:11 +02:00
Alejandro Celaya
2b7b5e9a8f
Migrated DisableKeyCommandTest to use PHPUnit mocks
2022-10-22 12:48:17 +02:00
Alejandro Celaya
58db902084
Migrated CliTestUtilsTrait to use PHPUnit mocks
2022-10-22 12:46:16 +02:00
Alejandro Celaya
983e3c9eaa
Merge pull request #1582 from acelaya-forks/feature/phpunit-mocks
...
Feature/phpunit mocks
2022-10-22 10:11:30 +02:00
Alejandro Celaya
dbe35cf567
Fixed coding styles
2022-10-22 10:03:28 +02:00
Alejandro Celaya
8298f9d491
Migrated NotifyVisitToMercureTest to use PHPUnit mocks
2022-10-22 10:03:05 +02:00
Alejandro Celaya
16a951b938
Migrated NotifyNewShortUrlToMercureTest to use PHPUnit mocks
2022-10-22 09:50:12 +02:00
Alejandro Celaya
51fcbfb3c2
Migrated UpdateGeoLiteDbTest to use PHPUnit mocks
2022-10-22 09:42:21 +02:00
Alejandro Celaya
e01e370d16
Migrated NotifyVisitToWebHooksTest to use PHPUnit mocks
2022-10-22 08:08:49 +02:00
Alejandro Celaya
736ac8ba90
Migrated LocateVisitTest to use PHPUnit mocks
2022-10-22 07:54:57 +02:00
Alejandro Celaya
d07104b8d9
Migrated LocateUnlocatedVisitsTest to use PHPUnit mocks
2022-10-22 07:34:38 +02:00
Alejandro Celaya
cad53e397a
Migrated CloseDbConnectionEventListenerTest to use PHPUnit mocks
2022-10-22 07:32:37 +02:00
Alejandro Celaya
3608a6d068
Migrated CloseDbConnectionEventListenerDelegatorTest to use PHPUnit mocks
2022-10-22 07:28:15 +02:00
Alejandro Celaya
92ddd2eebe
Merge pull request #1581 from acelaya-forks/feature/phpunit-mocks
...
Feature/phpunit mocks
2022-10-21 19:42:58 +02:00
Alejandro Celaya
bf0b58b344
Migrated NotFoundTypeResolverMiddlewareTest to use PHPUnit mocks
2022-10-21 19:32:25 +02:00
Alejandro Celaya
ff543b151c
Migrated NotFoundTrackerMiddlewareTest to use PHPUnit mocks
2022-10-21 19:29:02 +02:00
Alejandro Celaya
d842025835
Migrated NotFoundTemplateHandlerTest to use PHPUnit mocks
2022-10-21 19:25:29 +02:00
Alejandro Celaya
230e56370a
Migrated NotFoundRedirectHandlerTest to use PHPUnit mocks
2022-10-21 19:24:39 +02:00
Alejandro Celaya
a8514a9ae4
Migrated DomainServiceTest to use PHPUnit mocks
2022-10-21 19:01:41 +02:00
Alejandro Celaya
148f7a9cfe
Migrated CrawlingHelperTest to use PHPUnit mocks
2022-10-21 18:49:47 +02:00
Alejandro Celaya
29d50cabc2
Migrated NotFoundRedirectResolverTest to use PHPUnit mocks
2022-10-21 18:47:10 +02:00
Alejandro Celaya
a8f8297131
Migrated RedirectActionTest to use PHPUnit mocks
2022-10-21 18:44:55 +02:00
Alejandro Celaya
cd4b632d75
Migrated QrActionTest to use PHPUnit mocks
2022-10-21 18:39:22 +02:00
Alejandro Celaya
843754b7e7
Migrated PixelActionTest to use PHPUnit mocks
2022-10-21 18:32:34 +02:00
Alejandro Celaya
847cc2bc50
Updated shlink-config
2022-10-19 14:19:03 +02:00
Alejandro Celaya
751bd15785
Fixed merge conflicts
2022-10-18 19:08:20 +02:00
Alejandro Celaya
c12db7567e
Merge pull request #1577 from acelaya-forks/feature/fix-enum-hydration
...
Feature/fix enum hydration
2022-10-18 19:05:07 +02:00
Alejandro Celaya
e8069a10ba
Updated changelog
2022-10-18 18:49:52 +02:00
Alejandro Celaya
9742bf13e4
Upgraded to latest doctrine/orm
2022-10-18 18:48:35 +02:00
Alejandro Celaya
6441707c76
Merge branch 'develop' of github.com:shlinkio/shlink into develop
2022-10-18 18:32:02 +02:00
Alejandro Celaya
23bcba4fd9
Updated shlink-ip-geolocation
2022-10-12 19:07:05 +02:00
Alejandro Celaya
9049a205b7
Merge pull request #1570 from acelaya-forks/feature/phpunit-mocks
...
Migrated to PHPUnit mocks in RobotsActionTest
2022-10-12 18:56:24 +02:00
Alejandro Celaya
8cfa0b595c
Migrated to PHPUnit mocks in RobotsActionTest
2022-10-12 18:23:36 +02:00
Alejandro Celaya
4b958e8b87
Merge pull request #1568 from acelaya-forks/feature/phpunit-mocks-experiment
...
Used PHPUnit mocks in RoleResolverTest instead of prophezy
2022-10-12 12:55:34 +02:00
Alejandro Celaya
bcd5d2848d
Used PHPUnit mocks in RoleResolverTest instead of prophezy
2022-10-12 12:47:58 +02:00
Alejandro Celaya
b59cbeceac
Updated deps
2022-10-12 08:49:58 +02:00
Alejandro Celaya
46f948a584
Merge pull request #1565 from acelaya-forks/feature/command-reusable-args
...
Feature/command reusable args
2022-10-06 21:38:19 +02:00
Alejandro Celaya
14bf3a134b
Updated changelog
2022-10-06 21:30:23 +02:00
Alejandro Celaya
1557438fdf
Moved logic to reuse command options to option classes instead of base abstract command classes
2022-10-06 21:29:27 +02:00
Alejandro Celaya
27b680e0cd
Created CLI test for short URLs list
2022-10-06 21:01:11 +02:00
Alejandro Celaya
14314ef939
Updated shlink deps
2022-10-06 19:49:32 +02:00
Alejandro Celaya
bf5c168d7d
Merge pull request #1560 from acelaya-forks/feature/openswoole-4.12
...
Updated to openswoole 4.12
2022-10-03 20:26:25 +02:00
Alejandro Celaya
1e0791416d
Downgraded openswoole ide helper
2022-10-03 20:05:43 +02:00
Alejandro Celaya
ab8d42b609
Updated to openswoole 4.12 in main Dockerfile
2022-10-03 20:01:46 +02:00
Alejandro Celaya
96dbdbe7c9
Updated to openswoole 4.12
2022-10-03 20:00:31 +02:00
Alejandro Celaya
6f135ad6ab
Fixed typo
2022-09-30 17:45:36 +02:00
Alejandro Celaya
5b9a1e1978
Merge pull request #1559 from shlinkio/develop
...
Release 3.3.1
2022-09-30 17:37:29 +02:00
Alejandro Celaya
4ba3522e79
Merge pull request #1558 from acelaya-forks/feature/multisegment-trailing-slash
...
Feature/multisegment trailing slash
2022-09-30 17:35:01 +02:00
Alejandro Celaya
d3faa22b78
Fixed usage of enum where the enum's value should be used
2022-09-30 17:26:22 +02:00
Alejandro Celaya
1daad334a5
Updated changelog
2022-09-30 17:21:27 +02:00
Alejandro Celaya
3dda49dab4
Created middleware which ensures trailing slash and multi-segment features work properly together
2022-09-30 17:19:07 +02:00
Alejandro Celaya
c6c4e5580b
Merge pull request #1554 from acelaya-forks/feature/php-8.2
...
Added PHP 8.2 to build matrixes
2022-09-24 08:26:54 +02:00
Alejandro Celaya
3f808e3813
Updated changelog
2022-09-24 08:17:14 +02:00
Alejandro Celaya
e5107c40f9
Ignored platform req during roadrunner API tests in CI workflow when using PHP 8.2
2022-09-24 08:14:59 +02:00
Alejandro Celaya
0871ca884e
Fixed typo
2022-09-24 08:06:41 +02:00
Alejandro Celaya
62ce9311bf
Added PHP 8.2 to build matrixes
2022-09-24 08:03:38 +02:00
Alejandro Celaya
70b15a7ab0
Merge pull request #1553 from acelaya-forks/feature/organize-namespaces
...
Feature/organize namespaces
2022-09-24 07:35:53 +02:00
Alejandro Celaya
708bff20f0
Updated changelog
2022-09-23 19:09:38 +02:00
Alejandro Celaya
369628ee95
Migrated infection config files to json5
2022-09-23 19:08:54 +02:00
Alejandro Celaya
0c6f8f1136
Refactored global entities into their own proper namespaces
2022-09-23 19:03:32 +02:00
Alejandro Celaya
9f9d011d46
Moved ShortCodeUniquenessHelper to ShortUrl\Helper namespace
2022-09-23 18:46:51 +02:00
Alejandro Celaya
e28b73c130
Refactored global services into their own proper namespaces
2022-09-23 18:42:38 +02:00
Alejandro Celaya
56f953ab2f
Refactored global validations into their own proper namespaces
2022-09-23 18:30:07 +02:00
Alejandro Celaya
3ad8be175c
Refactored global repositories into their own proper namespaces
2022-09-23 18:24:14 +02:00
Alejandro Celaya
f5f990511c
Refactored global models into their own proper namespaces
2022-09-23 18:05:17 +02:00
Alejandro Celaya
1e3ccba503
Merge pull request #1552 from acelaya-forks/feature/visit-geolocation-namespace
...
Feature/visit geolocation namespace
2022-09-23 15:07:42 +02:00
Alejandro Celaya
a842b5b7cd
Updated changelog
2022-09-23 14:58:00 +02:00
Alejandro Celaya
909e42b0be
Moved services related to geolocating visits to the Visit\Geolocation namespace
2022-09-23 14:50:26 +02:00
Alejandro Celaya
c8acb5de68
Merge pull request #1549 from shlinkio/develop
...
Release 3.3.0
2022-09-18 19:36:55 +02:00
Alejandro Celaya
53b9e3ddc1
Merge pull request #1548 from acelaya-forks/feature/deferred-geolite-download
...
Feature/deferred geolite download
2022-09-18 19:35:00 +02:00
Alejandro Celaya
68e1c61e7f
Removed unnecessary ADR entry
2022-09-18 19:28:14 +02:00
Alejandro Celaya
8605b35b57
Removed unneeded injected dependency
2022-09-18 19:22:57 +02:00
Alejandro Celaya
36680e82aa
Reduced duplication in LocateVisitsCommand by reusing VisitToLocationHelper
2022-09-18 19:21:59 +02:00
Alejandro Celaya
83b7d5a5f1
Extracted logic to geolocate a visit, handling possible domain errors
2022-09-18 18:44:01 +02:00
Alejandro Celaya
fe41e9d573
Updated changelog
2022-09-18 17:12:21 +02:00
Alejandro Celaya
d76e6647d2
Added real version for composer dependencies
2022-09-18 17:10:11 +02:00
Alejandro Celaya
6f17f70137
Allowed to delay GeoLite2 db download on docker images
2022-09-18 17:00:03 +02:00
Alejandro Celaya
ef01754ad5
Added event dispatching to UpdateGeoLiteDb dispatcher so that it locates visits when file has just been created
2022-09-18 11:17:17 +02:00
Alejandro Celaya
eab9347522
Created enum to determine what was the result of updating a geolite DB
2022-09-18 10:31:14 +02:00
Alejandro Celaya
59bcd62717
Moved Geolocation services to its own namespace inside CLI module
2022-09-18 10:01:22 +02:00
Alejandro Celaya
3f01fad12f
Ensured empty initial PAI keys are discarded
2022-09-18 09:29:38 +02:00
Alejandro Celaya
c7f0d14c1b
Merge pull request #1546 from acelaya-forks/feature/immutable-options
...
Feature/immutable options
2022-09-17 16:02:36 +02:00
Alejandro Celaya
2408829627
Updated changelog
2022-09-17 15:55:54 +02:00
Alejandro Celaya
8d244c8d34
Migrated UrlShortenerOptions to immutable object
2022-09-17 15:54:43 +02:00
Alejandro Celaya
42af057316
Migrated RedirectOptions to immutable object
2022-09-17 15:36:40 +02:00
Alejandro Celaya
8f68078835
Migrated RabbitMqOptions to immutable object
2022-09-17 13:56:59 +02:00
Alejandro Celaya
0c34032fd3
Migrated QrCodeOptions to immutable object
2022-09-17 13:45:09 +02:00
Alejandro Celaya
20f457a3e9
Migrated NotFoundRedirectOptions to immutable object
2022-09-17 13:32:40 +02:00
Alejandro Celaya
39693ca1fe
Added --thread=max to infection command
2022-09-17 13:19:17 +02:00
Alejandro Celaya
784908420e
Migrated DeleteShortUrlsOptions to immutable object
2022-09-17 13:04:49 +02:00
Alejandro Celaya
9685929824
Migrated AppOptions to immutable object
2022-09-17 13:01:28 +02:00
Alejandro Celaya
fe4b2c4ae4
Migrated TrackingOptions to immutable object
2022-09-17 12:57:04 +02:00
Alejandro Celaya
5f87bb13f8
Fixed tracking config
2022-09-17 11:27:56 +02:00
Alejandro Celaya
a87f6c6709
Merge pull request #1541 from acelaya-forks/feature/initial-api-key
...
Feature/initial api key
2022-09-11 13:23:44 +02:00
Alejandro Celaya
da3ee6b65e
Updated installer with support for API key generation
2022-09-11 13:14:36 +02:00
Alejandro Celaya
c5eda37bda
Updated changelog
2022-09-11 12:36:47 +02:00
Alejandro Celaya
1966367caf
Fixed ApiKeyRepository for MS and Postgres
2022-09-11 12:33:28 +02:00
Alejandro Celaya
eed7b6e565
Added db test for ApiKeyRepository
2022-09-11 12:18:04 +02:00
Alejandro Celaya
0e54ed691d
Created InitialApiKeyDelegatorTest
2022-09-11 12:11:39 +02:00
Alejandro Celaya
997289da02
Changed all public setUp methods in tests to be protected
2022-09-11 12:02:49 +02:00
Alejandro Celaya
c841e57db5
Reduced duplication in ApiKeyRepository
2022-09-11 11:59:49 +02:00
Alejandro Celaya
f5138385be
Created new env var to programatically provide an initial API key
2022-09-11 10:45:03 +02:00
Alejandro Celaya
63ceba199d
Removed mention to improvement on mutation tests in changelog
2022-09-11 09:03:25 +02:00
Alejandro Celaya
e6ee4ceae2
Simplified mapping of TagInfo objects
2022-09-08 20:50:11 +02:00
Alejandro Celaya
19a9d815eb
Merge pull request #1538 from acelaya-forks/feature/doctrine-cli
...
Feature/doctrine cli
2022-09-08 17:42:38 +02:00
Alejandro Celaya
5b78b363f0
Updated changelog
2022-09-08 14:11:01 +02:00
Alejandro Celaya
b078c00492
Migrated to custom doctrine cli entry point, as the built-in is deprecated
2022-09-08 14:10:09 +02:00
Alejandro Celaya
e712efd008
Simplified exception
2022-09-06 21:56:18 +02:00
Alejandro Celaya
ab27c0ce53
Merge pull request #1532 from acelaya-forks/feature/trailing-slash-support
...
Feature/trailing slash support
2022-09-05 21:21:09 +02:00
Alejandro Celaya
d97cabbe79
Updated changelog
2022-09-05 21:14:53 +02:00
Alejandro Celaya
c3c7ffad25
Updated to installer supporting trailing slash option
2022-09-05 21:12:05 +02:00
Alejandro Celaya
fe4329d730
Allowed trailing slashes support to be enabled for the short URLs route
2022-09-05 20:59:16 +02:00
Alejandro Celaya
c53ba7b119
Exported defaults for env vars in docker only when the runtime is RoadRunner
2022-09-03 17:02:57 +02:00
Alejandro Celaya
025eec6c70
Merge remote-tracking branch 'upstream/develop' into develop
2022-08-28 10:20:26 +02:00
Alejandro Celaya
40e1670314
Fixed default port in docker entry point
2022-08-28 10:18:02 +02:00
Alejandro Celaya
2bca260627
What're RoadRunner docker images is not tried to build for arm/v7
2022-08-27 21:49:20 +02:00
Alejandro Celaya
463d8e8950
Updated changelog
2022-08-27 19:51:59 +02:00
Alejandro Celaya
e2eed8a728
Merge pull request #1523 from acelaya-forks/feature/roadrunner-support
...
Feature/roadrunner support
2022-08-27 19:48:48 +02:00
Alejandro Celaya
f97effcfe0
Fixed rr E2E tests
2022-08-27 19:40:52 +02:00
Alejandro Celaya
2cf21ab3bd
Fixed openswoole E2E tests
2022-08-27 19:38:05 +02:00
Alejandro Celaya
7daa602630
Removed accidental flag in build script
2022-08-27 17:51:14 +02:00
Alejandro Celaya
7b637d6a61
Ensured RoadRunner deps are removed when building openswoole dist file
2022-08-27 17:48:59 +02:00
Alejandro Celaya
a4f979be08
Enabled support for static files from public dir via RoadRunner
2022-08-27 17:27:54 +02:00
Alejandro Celaya
8852739111
Ensured some dynamic RR config for prod env, based on env vars
2022-08-27 17:17:37 +02:00
Alejandro Celaya
2099ea16ec
Added stage to build docker images for roadrunner
2022-08-27 13:14:27 +02:00
Alejandro Celaya
a739eb6d60
Added support to build the docker image with RoadRunner instead of openswoole
2022-08-27 13:01:38 +02:00
Alejandro Celaya
529ddacafe
Removed usage of bash again from tests in CI, as it does nothing really
2022-08-27 09:54:15 +02:00
Alejandro Celaya
f71c95b74a
Another attempt to make API tests script sh compatible
2022-08-27 09:49:32 +02:00
Alejandro Celaya
8260a0843b
Undone changes for sh on API tests
2022-08-27 09:43:20 +02:00
Alejandro Celaya
bfbeb7b1fb
Improved run-api-tests.sh script to make it compatible with sh
2022-08-27 09:36:37 +02:00
Alejandro Celaya
df70810aa6
Ensured tests are run in bash in CI
2022-08-27 09:23:45 +02:00
Alejandro Celaya
aca5804f98
Fixed usage of inputs instead of matrix on CI workflow
2022-08-27 09:21:17 +02:00
Alejandro Celaya
b7f7288a4b
Fixed reference to unknown job in CI workflow
2022-08-27 09:19:55 +02:00
Alejandro Celaya
d54a2bde0f
Fixed reference to unknown job in CI workflow
2022-08-27 09:18:46 +02:00
Alejandro Celaya
679bb8d357
Added API tests over roadrunner on CI
2022-08-27 09:15:58 +02:00
Alejandro Celaya
ca515998e4
Added support to run API tests on roadrunner
2022-08-27 09:09:14 +02:00
Alejandro Celaya
c5b6d203f5
Simplified RoadRunner worker, and fixed RoadRunner reloading config
2022-08-27 08:01:57 +02:00
Alejandro Celaya
86159c5d86
Updated to latest event dispatcher lib
2022-08-26 19:17:10 +02:00
Alejandro Celaya
846802c003
Slight improvements on RoadRunner config
2022-08-26 17:58:25 +02:00
Alejandro Celaya
e9ec32b3c3
Added support to dispatch async event listeners as RoadRunner jobs
2022-08-26 14:59:27 +02:00
Alejandro Celaya
4882bec118
Added roadrunner to the project
2022-08-21 13:19:27 +02:00
Alejandro Celaya
89ff259be0
Merge pull request #1517 from acelaya-forks/feature/reusable-docker-build
...
Moved to docker build on reusable workflow
2022-08-19 15:18:20 +02:00
Alejandro Celaya
60ece7fbf7
Moved to docker build on reusable workflow
2022-08-19 15:11:46 +02:00
Alejandro Celaya
0c110f574a
Merge pull request #1516 from acelaya-forks/feature/reduce-ci-artifact-download
...
Ensured every mutation test job only downloads the specific coverage …
2022-08-17 19:27:52 +02:00
Alejandro Celaya
dbca5b2a7e
Ensured every mutation test job only downloads the specific coverage report
2022-08-17 19:16:33 +02:00
Alejandro Celaya
3088298e6b
Merge pull request #1515 from acelaya-forks/feature/reusable-docker-build
...
Migrated docker build to a reusable workflow
2022-08-14 18:35:59 +02:00
Alejandro Celaya
a9c6a12182
Migrated docker build to a reusable workflow
2022-08-14 17:36:58 +02:00
Alejandro Celaya
fa5b512629
Merge pull request #1514 from acelaya-forks/feature/ghcr-support
...
Feature/ghcr support
2022-08-14 17:12:56 +02:00
Alejandro Celaya
5c2061a6e6
Updated changelog
2022-08-14 17:07:07 +02:00
Alejandro Celaya
cf0fc956c9
Added publishing of the docker image in GHCR
2022-08-14 17:05:13 +02:00
Alejandro Celaya
a0517dfbeb
Merge pull request #1512 from acelaya-forks/feature/api-v3
...
Feature/api v3
2022-08-14 14:07:32 +02:00
Alejandro Celaya
39c71638e6
Updated changelog
2022-08-14 14:02:09 +02:00
Alejandro Celaya
672b728379
Updated swagger docs, with new API v3 error types
2022-08-14 13:55:43 +02:00
Alejandro Celaya
750a546faf
Disabled mutation tests filtering until it properly works
2022-08-14 13:18:29 +02:00
Alejandro Celaya
a41835573b
Centralized prefix for problem detail types
2022-08-14 13:12:10 +02:00
Alejandro Celaya
2650cb89b5
Created BackwardsCompatibleProblemDetailsExceptionTest
2022-08-14 12:39:05 +02:00
Alejandro Celaya
4a122e0209
Added remaining API tests covering error type convertions
2022-08-14 10:51:12 +02:00
Alejandro Celaya
ce4bf62d75
Added more granular resolution of arguments for infection based on branch
2022-08-14 10:34:27 +02:00
Alejandro Celaya
40bbcb3250
Added some API tests for v3 API errors
2022-08-13 17:49:00 +02:00
Alejandro Celaya
905f51fbd0
Added logic to properly map all existing errors from v3 to v2 in the API
2022-08-13 17:15:04 +02:00
Alejandro Celaya
cd4fe4362b
Created middleware to keep backwards compatibility on errors when using v1 and 2 of the API
2022-08-13 16:50:19 +02:00
Alejandro Celaya
ed7be6eb99
Updated changelog
2022-08-13 12:37:15 +02:00
Alejandro Celaya
555007ab16
Merge pull request #1511 from acelaya-forks/feature/only-changed-mutants
...
Ensured only mutants for changed lines are executed in CI mutation tests
2022-08-13 12:34:52 +02:00
Alejandro Celaya
bd31b99324
Ensured only mutants for changed lines are executed in CI mutation tests
2022-08-13 12:31:12 +02:00
Alejandro Celaya
60237c3c0b
Merge pull request #1509 from acelaya-forks/feature/local-composed-action
...
Extracted all steps for setting up to a reusable action
2022-08-13 12:02:28 +02:00
Alejandro Celaya
eb21833d94
Used ci-setup composite action as much as possible in ci workflow
2022-08-13 11:56:46 +02:00
Alejandro Celaya
763002ae14
Fixed typo when reading etxnesions input on ci-setup action
2022-08-13 11:18:50 +02:00
Alejandro Celaya
ae2dc39a78
Fixed ci-setup local composite action
2022-08-13 11:16:33 +02:00
Alejandro Celaya
fe4ced2709
Moved checkout step back to workflow
2022-08-13 11:06:41 +02:00
Alejandro Celaya
9075d68b7c
Fixed reference to local composed action
2022-08-13 11:03:40 +02:00
Alejandro Celaya
759c0ea957
Extracted all steps for setting up to a reusable action
2022-08-13 10:53:24 +02:00
Alejandro Celaya
67b393d4a3
Merge pull request #1508 from acelaya-forks/feature/improve-cache-key-ci
...
Improved cache keys for extensions in CI workflow to support several …
2022-08-13 10:27:13 +02:00
Alejandro Celaya
de71821759
Updated to latest actions/checkout version
2022-08-13 10:19:38 +02:00
Alejandro Celaya
0c2bcaee34
Fixed typo
2022-08-13 10:12:52 +02:00
Alejandro Celaya
1613975e0e
Improved cache keys for extensions in CI workflow to support several PHP versions when needed
2022-08-13 10:11:41 +02:00
Alejandro Celaya
be82204df2
Merge pull request #1507 from acelaya-forks/feature/improve-ci-uploads
...
Feature/improve ci uploads
2022-08-12 20:52:50 +02:00
Alejandro Celaya
14c2ff5545
Ensured unique cache key
2022-08-12 20:35:59 +02:00
Alejandro Celaya
d7d0e11f2c
Added cache for PHP extensions in CI pipeline
2022-08-12 20:32:16 +02:00
Alejandro Celaya
6654f45cb8
Updated upload/download artifact actions
2022-08-12 18:19:12 +02:00
Alejandro Celaya
23f92179ad
Optimized how and when code coverage reports are generated for different types of tests
2022-08-12 18:10:45 +02:00
Alejandro Celaya
7377917642
Merge pull request #1506 from acelaya-forks/feature/local-reusable-workflows
...
Extracted definition of unit tests job to local reusable workflow
2022-08-12 09:52:01 +02:00
Alejandro Celaya
0f796859f2
Fixed typo in ci workflow
2022-08-12 09:32:30 +02:00
Alejandro Celaya
6383230678
Extracted DB tests and mutation tests to reusable workflows
2022-08-12 09:30:52 +02:00
Alejandro Celaya
51536f8746
Moved reusable ci tests workflow to workflows folder
2022-08-12 09:13:04 +02:00
Alejandro Celaya
e3b6c061c4
Extracted definition of unit tests job to local reusable workflow
2022-08-12 08:35:10 +02:00
Alejandro Celaya
4bd3fa74d1
Merge pull request #1502 from acelaya-forks/feature/cli-tests
...
Feature/cli tests
2022-08-10 17:39:27 +02:00
Alejandro Celaya
71553988d5
Added cli mutation tests to pipeline, and referenced CLI tests in CONTRIBUTING file
2022-08-10 17:21:55 +02:00
Alejandro Celaya
761b24e614
Added CLI tests to to CI pipeline
2022-08-10 17:13:21 +02:00
Alejandro Celaya
10974902b5
Updated changelog
2022-08-10 17:09:54 +02:00
Alejandro Celaya
474407dbc2
Ensured proper coverage is generated during CLI tests
2022-08-10 17:08:42 +02:00
Alejandro Celaya
95d84f354d
Simplified tests config
2022-08-09 19:48:43 +02:00
Alejandro Celaya
db47a9a253
Added mutation tests for CLI E2E tests
2022-08-09 19:15:49 +02:00
Alejandro Celaya
709a4639b3
Fixed merge conflicts
2022-08-09 18:59:55 +02:00
Alejandro Celaya
28b9cd02ef
Merge pull request #1501 from shlinkio/develop
...
Release 3.2.1
2022-08-08 19:51:00 +02:00
Alejandro Celaya
af9ea13933
Merge pull request #1500 from acelaya-forks/feature/fix-env-var-loading
...
Feature/fix env var loading
2022-08-08 19:46:53 +02:00
Alejandro Celaya
bd2cd18916
Tagged stable releases for all shlink teps
2022-08-08 19:33:59 +02:00
Alejandro Celaya
23138dc0b4
Updated changelog
2022-08-08 19:24:51 +02:00
Alejandro Celaya
a2f9742cfc
Fix loading of config options as env vars
2022-08-08 19:23:16 +02:00
Alejandro Celaya
6378e614b0
Merge pull request #1498 from acelaya-forks/feature/update-shlink-deps
...
Feature/update shlink deps
2022-08-07 10:04:23 +02:00
Alejandro Celaya
b116a57aa7
Updated changelog
2022-08-07 09:37:49 +02:00
Alejandro Celaya
a03f32f521
Updated to latest shlink dependencies
2022-08-07 09:36:51 +02:00
Alejandro Celaya
b9180be685
Merge pull request #1496 from acelaya-forks/feature/centralize-multi-segment
...
Feature/centralize multi segment
2022-08-06 09:54:09 +02:00
Alejandro Celaya
334aee64ad
Updated changelog
2022-08-06 09:37:15 +02:00
Alejandro Celaya
16bd368a58
Centralized how routes are configured to support multi-segment slugs
2022-08-06 09:30:13 +02:00
Alejandro Celaya
3266a0f85c
Merge pull request #1494 from shlinkio/develop
...
Release 3.2.0
2022-08-05 19:04:45 +02:00
Alejandro Celaya
4629f1b03f
Merge pull request #1493 from acelaya-forks/feature/update-deps
...
Updated to latest PHP version and native dependencies
2022-08-05 16:44:29 +02:00
Alejandro Celaya
fbd0c6cbea
Merge pull request #1491 from acelaya-forks/feature/multi-segment-slugs
...
Feature/multi segment slugs
2022-08-05 16:31:38 +02:00
Alejandro Celaya
8260051c30
Updated to latest PHP version and native dependencies
2022-08-05 16:31:15 +02:00
Alejandro Celaya
c061c9c3ff
Added v3.2.0 to changelog
2022-08-05 16:19:40 +02:00
Alejandro Celaya
8961191b2e
Documented ADR for multi-segment slugs
2022-08-05 16:18:53 +02:00
Alejandro Celaya
fc0d99be41
Ensure filtering of custom-slug is different depending on the multi-sement lugsfeature flag
2022-08-05 08:38:05 +02:00
Alejandro Celaya
6834e72c4a
Updated changelog
2022-08-04 17:15:35 +02:00
Alejandro Celaya
efe655f880
Enhanced ExtraPathRedirectMiddleware so that it supports multi-segment slugs
2022-08-04 17:03:08 +02:00
Alejandro Celaya
3d5ddce621
Ensured multi-segment feature flag affects how append_extra_path is checked
2022-08-04 16:10:54 +02:00
Alejandro Celaya
a3de3e15cb
Updated installer with support for multi-segment slugs flag
2022-08-04 13:00:09 +02:00
Alejandro Celaya
619999d4f8
Added feature flag to enable/disable multi-segment support
2022-08-04 11:49:33 +02:00
Alejandro Celaya
7acf27dd38
Replaced usage of deprecated methods in DateRange class
2022-08-04 11:27:33 +02:00
Alejandro Celaya
ba517eeeb5
Moved routes config together, and ensure they are loaded last
2022-08-04 11:14:26 +02:00
Alejandro Celaya
fdd3e24967
Added support for multi-segment slugs
2022-08-03 19:32:59 +02:00
Alejandro Celaya
a570ce202a
Updated to latest common
2022-08-03 12:59:09 +02:00
Alejandro Celaya
0a220bbc7a
Allowed slashes on custom slugs during short URL creation
2022-08-01 17:32:54 +02:00
Alejandro Celaya
e0e511f56d
Some improvements and comments in preparation of multi-segment slugs
2022-08-01 17:32:54 +02:00
Alejandro Celaya
d375dece0e
Updated required deps
2022-08-01 17:32:54 +02:00
Alejandro Celaya
f801f265ed
Added comments on places to change
2022-08-01 17:32:54 +02:00
Alejandro Celaya
1b4fc89b07
Merge pull request #1490 from acelaya-forks/feature/ci-composer-cache
...
Added cache for composer dependencies during CI
2022-08-01 17:32:07 +02:00
Alejandro Celaya
3ac2b77bf0
Removed composer cache due to a bug in github runner making it fail
2022-08-01 17:23:51 +02:00
Alejandro Celaya
b2ca4ad66b
Migrated all workflows to ubuntu-22.04
2022-08-01 17:13:34 +02:00
Alejandro Celaya
25a7c7bc7f
Added cache for composer dependencies during CI
2022-08-01 16:56:25 +02:00
Alejandro Celaya
6b009a4de4
Merge pull request #1489 from acelaya-forks/feature/command-error
...
Feature/command error
2022-08-01 12:25:05 +02:00
Alejandro Celaya
0b80a86e88
Updated changelog
2022-08-01 12:07:50 +02:00
Alejandro Celaya
b03f24d59a
Ensured no arguments are passed form locate visits command to download geolite command, is it does not expect any
2022-08-01 12:06:38 +02:00
Alejandro Celaya
78ea13d366
Merge pull request #1488 from acelaya-forks/feature/redis-pub-sub
...
Feature/redis pub sub
2022-07-28 11:04:19 +02:00
Alejandro Celaya
8c2bdfba1c
Refactored match to ifs with eary returns
2022-07-28 10:51:48 +02:00
Alejandro Celaya
3289968a93
Updated changelog
2022-07-28 10:46:24 +02:00
Alejandro Celaya
73ae754aa7
Created NotifyVisitToRedisTest
2022-07-28 10:36:52 +02:00
Alejandro Celaya
20a6e7e210
Created NotifyNewShortUrlToRedisTest
2022-07-28 10:33:26 +02:00
Alejandro Celaya
4cf433a994
Defined enum with supported remote systems
2022-07-28 10:25:55 +02:00
Alejandro Celaya
e36c4d397c
Moved duplicated code in visit listeners to an abstract class
2022-07-27 18:18:36 +02:00
Alejandro Celaya
26037327f9
Moved duplicated code in short URL listeners to an abstract class
2022-07-27 18:06:47 +02:00
Alejandro Celaya
da6aa1d697
Integrated PublishUpdatesGenerator in NotifyVisitToRabbitMq listener
2022-07-27 17:41:48 +02:00
Alejandro Celaya
dada6aa3d1
Integrated PublishUpdatesGenerator in NotifyVisitToRedis listener
2022-07-27 16:55:19 +02:00
Alejandro Celaya
fa5ebb1677
Integrated PublishUpdatesGenerator in NotifyNewShortUrlToRedis listener
2022-07-27 16:47:21 +02:00
Alejandro Celaya
f071df325d
Fixed NotifyNewShortUrlToRabbitMqTest
2022-07-27 10:26:18 +02:00
Alejandro Celaya
3c042c4011
Integrated PublishUpdatesGenerator in NotifyNewShortUrlToRabbitMq listener
2022-07-27 10:18:28 +02:00
Alejandro Celaya
7e8109caa3
Renamed MercureUpdatesGenerator to PublishingUpdatesGenerator to make it general purpose
2022-07-27 09:38:47 +02:00
Alejandro Celaya
d3add6d8e4
Added TODO
2022-07-26 12:18:58 +02:00
Alejandro Celaya
1b089749c0
Migrated mercure event listeners to use new publishing helper from shlink-common
2022-07-26 12:17:37 +02:00
Alejandro Celaya
791d6b7e57
Updated to latest common, with unified publishing API
2022-07-26 12:07:27 +02:00
Alejandro Celaya
233bb603cf
Updated local redis config
2022-07-26 10:25:16 +02:00
Alejandro Celaya
db8a816524
Implemented redis pub/sub listeners
2022-07-26 10:17:50 +02:00
Alejandro Celaya
eff50ca202
Created new event listeners to send events to redis pub/sub
2022-07-25 18:23:13 +02:00
Alejandro Celaya
ceabb5ab2c
Merge pull request #1486 from acelaya-forks/feature/backwards-compatible-rabbit-mq
...
Feature/backwards compatible rabbit mq
2022-07-25 12:55:28 +02:00
Alejandro Celaya
122c2fd5e6
Updated changelog
2022-07-25 12:34:40 +02:00
Alejandro Celaya
cd27a72982
Reduced duplicated code in NotifyNewShortUrlToRabbitMqTest
2022-07-25 12:31:32 +02:00
Alejandro Celaya
19b0f0d7dc
Extended NotifyVisitToRabbitMqTest covering legacy and non-legacy use-cases
2022-07-25 12:30:28 +02:00
Alejandro Celaya
6ce2049935
Added support for legacy and new publishing of visits in RabbitMQ
2022-07-25 12:08:22 +02:00
Alejandro Celaya
53b937be63
Updated coding standard
2022-07-25 09:49:14 +02:00
Alejandro Celaya
71c8f99dab
Merge pull request #1484 from acelaya-forks/feature/short-url-created-event
...
Feature/short url created event
2022-07-25 09:48:44 +02:00
Alejandro Celaya
9eb3fca726
Updated changelog
2022-07-25 09:32:09 +02:00
Alejandro Celaya
019bd4dec8
Created NotifyNewShortUrlToMercureTest
2022-07-25 09:30:25 +02:00
Alejandro Celaya
be1ce06c00
Updated asyn API spec
2022-07-25 09:04:15 +02:00
Alejandro Celaya
074bfe3db2
Updated MercureUpdatesGeneratorTest
2022-07-25 09:02:05 +02:00
Alejandro Celaya
34e72b42dc
Implemented listener to publish new short URL events in Mercure
2022-07-24 19:00:48 +02:00
Alejandro Celaya
97d24d76d8
Fixed new short URL event payload to RabbitMQ, and started to add logic for Mercure
2022-07-24 12:37:57 +02:00
Alejandro Celaya
4d1af867a4
Extracted real-time update topic names to an enum
2022-07-24 12:06:00 +02:00
Alejandro Celaya
fc6b4c12b2
Configured publishing of new short URL events in RabbitMQ
2022-07-24 11:07:20 +02:00
Alejandro Celaya
405c6de591
Created NotifyNewShortUrlToRabbitMq test
2022-07-24 10:53:42 +02:00
Alejandro Celaya
47bfa5fcc0
Simplified NotifyNewShortUrlToRabbitMq
2022-07-24 10:18:19 +02:00
Alejandro Celaya
67d91d5fc5
Migrated rabbit integration to RabbitMqPublishingHelper from shlink-common
2022-07-24 10:12:26 +02:00
Alejandro Celaya
f832c56adb
Moved Mercure and RabbitMq event listeners to their own subnamespaces
2022-07-21 20:07:28 +02:00
Alejandro Celaya
1aa9ae680e
Merge pull request #1479 from acelaya-forks/feature/unknown-visits
...
Added missing implements JsonSerializable on VisitLocation that got l…
2022-07-18 20:43:02 +02:00
Alejandro Celaya
c4b30db82d
Added missing implements JsonSerializable on VisitLocation that got lost when VisitLocationInterface was removed
2022-07-18 20:23:27 +02:00
Alejandro Celaya
abd9f3c6be
Removed style checks disabling due to bug on php code sniffer
2022-07-04 17:12:38 +02:00
Alejandro Celaya
3de3594282
Merge pull request #1465 from jsoref/spelling
...
Spelling
2022-06-08 07:31:25 +02:00
Alejandro Celaya
ed5816d464
Fixed merge conflicts
2022-06-04 11:43:02 +02:00
Alejandro Celaya
3d43bdbb49
Merge pull request #1462 from acelaya-forks/feature/search-with-all-tags
...
Fixed error when filtering short URLs by ALL tags and search term
2022-06-04 11:37:14 +02:00
Alejandro Celaya
1ab492ce5b
Added missing test case
2022-06-04 11:22:10 +02:00
Alejandro Celaya
de30c6ad79
Fixed error when filtering short URLs by ALL tags and search term
2022-06-04 11:20:08 +02:00
Alejandro Celaya
f5a48ff98d
Merge pull request #1460 from acelaya-forks/feature/monolog3
...
Feature/monolog3
2022-06-04 09:11:31 +02:00
Alejandro Celaya
8493ee5b83
Updated changelog
2022-06-04 09:00:00 +02:00
Alejandro Celaya
52a6d55e5d
Updated to monolog 3
2022-06-04 08:59:17 +02:00
Josh Soref
7142295aa5
spelling: urls
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
8b65be26a6
spelling: the
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
60f5deb494
spelling: received
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
0fc09e6dd3
spelling: monolog
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
0c4ccf4e3e
spelling: middleware
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
a0e79bf446
spelling: microsoft
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
aa356ad7c7
spelling: github
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 23:36:42 -04:00
Josh Soref
9e0e384d46
spelling: campaign
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-05-30 22:39:08 -04:00
Alejandro Celaya
a20b99e643
Merge pull request #1451 from acelaya-forks/feature/missing-visits-commands
...
Feature/missing visits commands
2022-05-24 18:44:56 +02:00
Alejandro Celaya
fe4237b2b1
Updated changelog
2022-05-24 18:00:17 +02:00
Alejandro Celaya
4146835f6f
Created GetOrhanVisitsCommand test
2022-05-24 17:59:06 +02:00
Alejandro Celaya
5201ea4516
Created tests for short-url-visits commands
2022-05-24 17:54:44 +02:00
Alejandro Celaya
fba7b36245
Improved GetShortUrlVisitsCommand test
2022-05-24 17:44:12 +02:00
Alejandro Celaya
353ac0fc0c
Added logic to resolve extra columns on visits commands
2022-05-23 21:19:59 +02:00
Alejandro Celaya
00002b1e24
Renamed some visits commands
2022-05-23 20:47:37 +02:00
Alejandro Celaya
aa32830671
Added note to readme
2022-05-23 07:55:33 +02:00
Alejandro Celaya
12b8100d89
Created visits commands for orphan, non-orphan and domain
2022-05-22 19:34:08 +02:00
Alejandro Celaya
72e56d271d
Created tags visits command, with abstract class wrapping common logic for visits lists commands
2022-05-22 19:22:29 +02:00
Alejandro Celaya
2b69f5eff4
Merge pull request #1449 from acelaya-forks/feature/title-html-entities
...
Feature/title html entities
2022-05-22 10:12:54 +02:00
Alejandro Celaya
f224bb98c4
Updated changelog
2022-05-22 08:30:46 +02:00
Alejandro Celaya
ec17eb3fbc
Ensured html entities are parsed when auto-resolving titles
2022-05-22 08:29:26 +02:00
Alejandro Celaya
358b600713
Fixed merge conflicts
2022-05-09 08:21:19 +02:00
Alejandro Celaya
aacb5c39ba
Merge pull request #1445 from acelaya-forks/feature/update-openswoole
...
Updated to openswoole 4.11.1 in docker images
2022-05-09 08:17:01 +02:00
Alejandro Celaya
9ae8804095
Updated to openswoole 4.11.1 in docker images
2022-05-09 08:00:54 +02:00
Alejandro Celaya
2d51bd895d
Merge pull request #1440 from acelaya-forks/feature/url-validation-memory-issue
...
Feature/url validation memory issue
2022-05-01 12:14:52 +02:00
Alejandro Celaya
18f656fed2
Changed logic when resolving the title of a URL, to ensure only html content is tried to be downloaded, and only until the title tag has been parsed
2022-05-01 11:48:20 +02:00
Alejandro Celaya
eea76999b2
Ensured URL validation is doe via HEAD method when the title does not need to be resolved
2022-05-01 09:51:15 +02:00
Alejandro Celaya
bd495adf22
Set SemVer versions for some shlink package versions
2022-05-01 08:40:20 +02:00
Alejandro Celaya
e8c7bee924
Added SemVer constraints for some deps which were left with specific commits by mistake
2022-04-23 19:30:33 +02:00
Alejandro Celaya
24b06c24dc
Merge pull request #1434 from acelaya-forks/feature/drop-php-8.0
...
Feature/drop php 8.0
2022-04-23 19:26:02 +02:00
Alejandro Celaya
6fdd764a35
Updated to phpcov 8.2.1
2022-04-23 19:11:23 +02:00
Alejandro Celaya
2400d1f265
Removed unused method
2022-04-23 19:07:36 +02:00
Alejandro Celaya
cdef430b0b
Set ShortUrlIdentifier constructor to private
2022-04-23 19:01:02 +02:00
Alejandro Celaya
6074e4ae2c
Updated changelog
2022-04-23 18:57:39 +02:00
Alejandro Celaya
6ada704bc3
Moved TagsMode to its own enum
2022-04-23 18:56:27 +02:00
Alejandro Celaya
e8f7daac6f
Converted Role constants to enum
2022-04-23 18:41:16 +02:00
Alejandro Celaya
404455928e
Converted visit types into enum
2022-04-23 18:19:16 +02:00
Alejandro Celaya
bca3e62ced
Updated to readonly public props on as many models as possible
2022-04-23 14:00:47 +02:00
Alejandro Celaya
e79391907a
Added some PHP 8.1 features
2022-04-23 13:08:21 +02:00
Alejandro Celaya
54a23cc7fa
Converted EnvVars to enum
2022-04-23 12:44:17 +02:00
Alejandro Celaya
e8ebe77923
Dropped PHP 8.0 support
2022-04-23 12:08:01 +02:00
Alejandro Celaya
68e0aa1ea9
Merge pull request #1433 from shlinkio/develop
...
Release 3.1.0
2022-04-23 11:39:27 +02:00
Alejandro Celaya
ceaf64c9b3
Fixed typo in changelog
2022-04-23 11:35:55 +02:00
Alejandro Celaya
e015b1bec5
Improved changelog
2022-04-23 11:34:40 +02:00
Alejandro Celaya
ca9726c997
Merge pull request #1432 from acelaya-forks/feature/domain-visits
...
Feature/domain visits
2022-04-23 11:33:04 +02:00
Alejandro Celaya
85c79abd30
Updated changelog
2022-04-23 11:19:14 +02:00
Alejandro Celaya
54c1c7ad84
Created DomainVisits API test
2022-04-23 11:17:32 +02:00
Alejandro Celaya
af15e31b42
Created DomainVisitsActionTest
2022-04-23 11:07:10 +02:00
Alejandro Celaya
99b4f9f4dd
Improved VisitsStatsHelperTest covering visitsForDomain method
2022-04-23 11:02:51 +02:00
Alejandro Celaya
9a0e5ea626
Created method to check if domain exists based on authority and API key
2022-04-23 10:58:33 +02:00
Alejandro Celaya
984205e02c
Extended VisitRepositoryTest with domain visits functions
2022-04-23 10:45:42 +02:00
Alejandro Celaya
e11bf6ac67
Created endpoint to get visits for one specific domain
2022-04-23 10:32:07 +02:00
Alejandro Celaya
e029d91544
Documented new domain visits endpoint
2022-04-23 09:27:52 +02:00
Alejandro Celaya
011856cbfa
Removed redundant var
2022-04-23 09:15:01 +02:00
Alejandro Celaya
9ce8164013
Merge pull request #1431 from acelaya-forks/feature/update-deps
...
Updated docker images and dependencies
2022-04-23 09:13:47 +02:00
Alejandro Celaya
dca6b7bbf5
Updated docker images and dependencies
2022-04-23 08:56:25 +02:00
Alejandro Celaya
2511ec3395
Merge pull request #1424 from acelaya-forks/feature/skip-invalid-imports
...
Added errorhandling for individual imported URLs, so that one failing…
2022-04-23 08:35:21 +02:00
Alejandro Celaya
9f6ffc7186
Added errorhandling for individual imported URLs, so that one failing doe snot make the whole process fail
2022-04-18 14:45:37 +02:00
Alejandro Celaya
622f0217fa
Merge pull request #1421 from acelaya-forks/feature/cast-incoming-dates
...
Feature/cast incoming dates
2022-04-15 20:20:26 +02:00
Alejandro Celaya
09eba49bab
Updated changelog
2022-04-15 20:06:51 +02:00
Alejandro Celaya
c20c3801a8
Ensured all input dates are changed to the default timezone before being used on any inner layer
2022-04-15 19:57:27 +02:00
Alejandro Celaya
f8208b7288
Merge pull request #1420 from acelaya-forks/feature/timezone
...
Feature/timezone
2022-04-15 09:27:17 +02:00
Alejandro Celaya
3db8a65ddb
Fixed test
2022-04-14 16:00:15 +02:00
Alejandro Celaya
0495b6f298
Updated changelog
2022-04-14 14:24:01 +02:00
Alejandro Celaya
52c55f385d
Added support to set the timezone via config/env vars
2022-04-14 14:22:48 +02:00
Alejandro Celaya
fe28d6fba0
Merge pull request #1417 from acelaya-forks/feature/kutt-import
...
Updated importer with support for Kutt.it
2022-04-14 12:51:56 +02:00
Alejandro Celaya
0294e49d4a
Added dist local config for app options
2022-04-14 11:35:12 +02:00
Alejandro Celaya
cbaf51d3ef
Updated importer with support for Kutt.it
2022-04-14 11:31:50 +02:00
Alejandro Celaya
efb604a381
Merge pull request #1415 from acelaya-forks/feature/yourls-domain
...
Feature/yourls domain
2022-04-13 12:54:12 +02:00
Alejandro Celaya
da87f05126
Updated changelog
2022-04-13 12:41:09 +02:00
Alejandro Celaya
21534b78cb
Updated to latest shlink-importer, with support to import on a specific domain for YOURLS
2022-04-13 12:40:21 +02:00
Alejandro Celaya
ab65593f7d
Merge pull request #1414 from acelaya-forks/feature/postgres-db-error
...
Feature/postgres db error
2022-04-12 19:27:35 +02:00
Alejandro Celaya
3a82691503
Small improvements on CreateDatabaseCommand
2022-04-10 19:48:32 +02:00
Alejandro Celaya
430e2ff0b5
Ensured db and api tests can be run without the need of creating the database beforehand
2022-04-09 17:46:13 +02:00
Alejandro Celaya
7d572e7988
Merge pull request #1404 from acelaya-forks/feature/fix-double-paths
...
Feature/fix double paths
2022-03-14 19:56:58 +01:00
Alejandro Celaya
1449e24b66
Improved some tests
2022-03-14 19:41:33 +01:00
Alejandro Celaya
6a671760da
Updated changelog
2022-03-14 19:28:55 +01:00
Alejandro Celaya
613bdd82b0
Ensured base path is not prefixed more than it should
2022-03-14 19:26:02 +01:00
Alejandro Celaya
01bae358f9
Merge pull request #1399 from shlinkio/feature/improve-db-create
...
Feature/improve db create
2022-03-05 11:03:39 +01:00
Alejandro Celaya
3a8e560dc5
Increased required mutation score for unit tests to 85%
2022-03-05 10:51:48 +01:00
Alejandro Celaya
a0c538d9ee
Updated changelog
2022-03-05 10:48:02 +01:00
Alejandro Celaya
07c30f86e9
Excluded migrations table when checking if the database schema exists
2022-03-05 10:41:13 +01:00
Alejandro Celaya
c22e38f9a0
Removed deprecated method call
2022-03-05 10:32:05 +01:00
Alejandro Celaya
4d082a87a1
Added preliminary config to export coverage for CLI tests
2022-02-27 08:11:33 +01:00
Alejandro Celaya
1b6512fc8d
Replaced deprecated transactional function with wrapTransaction
2022-02-27 08:10:18 +01:00
Alejandro Celaya
7502e8a1e4
Merge pull request #1386 from acelaya-forks/feature/mercure-error
...
Feature/mercure error
2022-02-20 15:58:49 +01:00
Alejandro Celaya
5a25211371
Created NotConfiguredMercureErrorHandlerTest
2022-02-20 10:50:21 +01:00
Alejandro Celaya
6983f9b2bf
Added middleware that mitigates big error traces being logged for those not using mercure
2022-02-20 10:36:54 +01:00
Alejandro Celaya
5affe64b61
Removed references in CONTRIBUTING.md file to no longer existing assets
2022-02-19 19:55:36 +01:00
Alejandro Celaya
c52f3c396b
Fixed merge conflicts
2022-02-19 19:47:34 +01:00
Alejandro Celaya
9e32886f60
Created first CLI E2E tests
2022-02-13 12:20:02 +01:00
Alejandro Celaya
79af315b9f
Fixed merge conflicts
2022-02-10 21:48:21 +01:00
Alejandro Celaya
3b5cea5768
Updated changelog
2022-02-07 18:49:22 +01:00
Roy-Orbison
a89f67348d
Optimise RewriteRules/Conds
...
From upstream changes on Mezzio Skeleton.
Closes #1369 .
2022-02-07 18:45:27 +01:00
Alejandro Celaya
af1ae0399c
Fixed merge conflicts
2022-02-04 18:03:29 +01:00
Alejandro Celaya
ffffc68144
Updated readme
2022-02-01 07:36:44 +01:00
Alejandro Celaya
086de9f2a0
Merge pull request #1362 from acelaya-forks/feature/deprecate-webhooks
...
Deprecated webhooks
2022-01-31 12:41:44 +01:00
Alejandro Celaya
1b731aa4a3
Deprecated webhooks
2022-01-31 12:30:29 +01:00
Alejandro Celaya
12913f6b90
Merge pull request #1360 from acelaya-forks/feature/hide-db-commands
...
Marked database commands as hidden
2022-01-30 13:04:10 +01:00
Alejandro Celaya
1d4186392c
Marked database commands as hidden
2022-01-30 12:15:53 +01:00