Alejandro Celaya
|
cdf5082cff
|
Fix incorrect timeout in init commands
|
2023-06-15 18:53:42 +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
|
ee6a8ede0a
|
Drop support for PHP 8.1
|
2023-05-29 09:43:12 +02:00 |
|
Alejandro Celaya
|
3916c68126
|
Add DeleteOrphanVisitsTest API test
|
2023-05-18 09:09:44 +02:00 |
|
Alejandro Celaya
|
bdfb220126
|
Create REST action to delete orphan visits
|
2023-05-18 09:04:28 +02:00 |
|
Alejandro Celaya
|
a4d8ebdfc9
|
Create DB logic to delete orphan visits
|
2023-05-18 08:58:07 +02:00 |
|
Alejandro Celaya
|
39095a3098
|
Fix coding styles
|
2023-05-17 08:57:36 +02:00 |
|
Alejandro Celaya
|
02a8ef7dd9
|
Create DeleteShortUrlVisitsCommand
|
2023-05-15 09:48:24 +02:00 |
|
Alejandro Celaya
|
0365728337
|
Create DeleteShortUrlVisitsTest
|
2023-05-14 13:35:15 +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
|
74069f2d24
|
Skip API tests fetching Twitter during CI
|
2023-05-02 19:51:37 +02:00 |
|
Alejandro Celaya
|
4ee9c9bbe3
|
Migrate to shlinkio/shlink-json
|
2023-04-18 23:04:58 +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
|
1d155298c1
|
Fix API 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
|
e51384fcc0
|
Reduce duplicated logic when checking if an API key is admin
|
2023-03-04 10:22:46 +01:00 |
|
Alejandro Celaya
|
f4d10df0f3
|
Delete no longer used spec file
|
2023-02-27 09:28:27 +01:00 |
|
Alejandro Celaya
|
3c12a55872
|
Merge branch 'develop' into feature/phpunit-10
|
2023-02-13 11:54:49 +01:00 |
|
Alejandro Celaya
|
76a86c452e
|
Optimize tags list query performance by using more subqueries
|
2023-02-12 13:09:24 +01:00 |
|
Alejandro Celaya
|
245cb0e35d
|
Fixed merge conflicts
|
2023-02-10 20:44:05 +01:00 |
|
Alejandro Celaya
|
70c1c9f018
|
Fix dependency injected in CrawlingHelper
|
2023-02-10 20:26:18 +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
|
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
|
05acd4ae88
|
Add two modes for short URLs
|
2023-01-25 20:33: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
|
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
|
48bd97fe41
|
Return deviceLongUrls as part of the short URL data and document API changes
|
2023-01-21 12:05:54 +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
|
a93edf158e
|
Added logic to persist device long URLs while creating/editing a short URL
|
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
|
1447687ebe
|
Add deviceLongUrls to short URL creation
|
2023-01-21 10:12:52 +01:00 |
|
Alejandro Celaya
|
80e3f01562
|
Replace references to doma.in with s.test
|
2023-01-19 09:05:52 +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
|
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
|
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
|
8ecc241a4b
|
Added API test for the visits stats endpoint
|
2023-01-02 12:45:08 +01:00 |
|
Alejandro Celaya
|
1f66ec2af5
|
Fixed API tests
|
2022-12-16 10:53:44 +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
|
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
|
01e0a95e14
|
Added rest of tests to phpstan check
|
2022-10-24 20:25:06 +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
|
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
|
bcd5d2848d
|
Used PHPUnit mocks in RoleResolverTest instead of prophezy
|
2022-10-12 12:47:58 +02:00 |
|
Alejandro Celaya
|
27b680e0cd
|
Created CLI test for short URLs list
|
2022-10-06 21:01:11 +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
|
0c6f8f1136
|
Refactored global entities into their own proper namespaces
|
2022-09-23 19:03:32 +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
|
f5f990511c
|
Refactored global models into their own proper namespaces
|
2022-09-23 18:05:17 +02:00 |
|
Alejandro Celaya
|
3f01fad12f
|
Ensured empty initial PAI keys are discarded
|
2022-09-18 09:29:38 +02:00 |
|
Alejandro Celaya
|
8d244c8d34
|
Migrated UrlShortenerOptions to immutable object
|
2022-09-17 15:54:43 +02:00 |
|
Alejandro Celaya
|
20f457a3e9
|
Migrated NotFoundRedirectOptions to immutable object
|
2022-09-17 13:32:40 +02:00 |
|
Alejandro Celaya
|
9685929824
|
Migrated AppOptions to immutable object
|
2022-09-17 13:01:28 +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 |
|