Alejandro Celaya
|
8298ef36f8
|
Use more meaningful domain exceptions to represent ApiKeyService thrown errors
|
2024-11-18 09:51:27 +01:00 |
|
Alejandro Celaya
|
9a69d06531
|
Update to PHPStan 2.0
|
2024-11-12 10:22:23 +01:00 |
|
Alejandro Celaya
|
7ca605e216
|
Remove unnecessary flush calls when used in wrapInTransaction
|
2024-11-11 09:31:23 +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
|
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
|
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
|
a661d05100
|
Allow API keys to be renamed
|
2024-11-08 08:25:07 +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
|
1b9c8377ae
|
Hash existing API keys, and do checks against the hash
|
2024-11-05 23:27:39 +01:00 |
|
Alejandro Celaya
|
a094be2b9e
|
Fall back API key names to auto-generated keys
|
2024-11-05 11:26:39 +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
|
3f1d61e01e
|
Update to PHP coding standard 2.4.0
|
2024-11-03 11:38:31 +01:00 |
|
Alejandro Celaya
|
525a306ec6
|
Create constant representing default domain identifier
|
2024-11-03 11:37:59 +01:00 |
|
Alejandro Celaya
|
46601443f5
|
Load specific env file when running API tests
|
2024-10-23 09:17:00 +02:00 |
|
Alejandro Celaya
|
c8e5196aab
|
Remove dependencies on url_shortener raw config
|
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
|
b52ceaff9a
|
Update to latest shlink-common and remove deprecation references
|
2024-07-29 19:41:40 +02: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
|
60e9443b12
|
Modernize ApiKey entity
|
2024-03-18 18:33:56 +01:00 |
|
Alejandro Celaya
|
8f233221e5
|
Add SetRedirectRulesAction unit test
|
2024-02-29 20:14:15 +01:00 |
|
Alejandro Celaya
|
ab7824aa85
|
Add unit test for ListRedirectRulesAction
|
2024-02-28 09:14:27 +01:00 |
|
Alejandro Celaya
|
e073b4331a
|
Update to doctrine ORM 3.0
|
2024-02-17 10:23:37 +01:00 |
|
Alejandro Celaya
|
ad3805a560
|
Removed deprecated features
|
2024-02-12 23:18:30 +01:00 |
|
Alejandro Celaya
|
48a8290e92
|
Allow type filter property for orphan visits list
|
2024-02-10 17:51:42 +01:00 |
|
Alejandro Celaya
|
5bde273d59
|
Fix Rest's ConfigProvider test
|
2023-10-20 09:42:48 +02:00 |
|
Alejandro Celaya
|
25b1138000
|
Fix merge conflicts
|
2023-09-23 09:06:38 +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
|
637d8334f4
|
New CLI command to create the initial API key idempotently
|
2023-09-21 09:47:21 +02:00 |
|
Alejandro Celaya
|
65a0a90a51
|
Allow custom API keys to be created
|
2023-09-19 09:10:17 +02:00 |
|
Alejandro Celaya
|
b747b8448e
|
Update dependencies
|
2023-08-19 12:03:29 +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
|
8b03532ddb
|
Add ORPHAN_VISITS_EXCLUDED API key role
|
2023-05-30 09:15:35 +02:00 |
|
Alejandro Celaya
|
bdfb220126
|
Create REST action to delete orphan visits
|
2023-05-18 09:04:28 +02:00 |
|
Alejandro Celaya
|
ffc0555c7c
|
Create DeleteShortUrlVisitsActionTest
|
2023-05-14 12:15:35 +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
|
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
|
39adef8ab8
|
Make it impossible to create a short URL with an empty long URL
|
2023-01-22 11:27:16 +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
|
812c5f4993
|
Added new handled error for when request body is not valid JSON
|
2023-01-02 13:33:24 +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
|
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 |
|