Alejandro Celaya
|
0a5c265b12
|
Extracted ApiKey metadata to the ApiKeyMeta object
|
2021-03-14 09:59:35 +01:00 |
|
Alejandro Celaya
|
85dd023c0e
|
Created methods to get orphan visits lists
|
2021-02-09 23:09:42 +01:00 |
|
Alejandro Celaya
|
55e7f7ccb0
|
Improved VisitRepository tests
|
2021-02-09 23:09:42 +01:00 |
|
Alejandro Celaya
|
12b07bb0ac
|
Created named constructors for Visit entity and added tracking of the visited URL
|
2021-02-09 23:09:42 +01:00 |
|
Alejandro Celaya
|
2640c7b43c
|
Updated to a shlink-importer version that supports titles
|
2021-02-04 15:24:27 +01:00 |
|
Alejandro Celaya
|
c58fa586e1
|
Removed use of deprecated methods in DB tests
|
2021-01-31 11:51:00 +01:00 |
|
Alejandro Celaya
|
82091c7951
|
Added logic to resolve tags during short URL creation through ShortUrlRelationResolver
|
2021-01-31 10:53:18 +01:00 |
|
Alejandro Celaya
|
063ee9c195
|
Inlcuded tags as part of the ShortUrlMeta
|
2021-01-30 19:17:12 +01:00 |
|
Alejandro Celaya
|
07b12fac3c
|
Refactored short URL creation so that the long URL is part of the ShortUrlMeta
|
2021-01-30 14:18:44 +01:00 |
|
Alejandro Celaya
|
c5fc8fbf00
|
Simplified database tests by updating to shlinkio/shlink-test-utils 2
|
2021-01-13 20:21:24 +01:00 |
|
Alejandro Celaya
|
9e9d213f20
|
Added roles info to api key generation and api key list
|
2021-01-11 16:32:59 +01:00 |
|
Alejandro Celaya
|
380915948b
|
Improved TagRepositoryTest
|
2021-01-09 18:00:08 +01:00 |
|
Alejandro Celaya
|
14eeb91c58
|
Added db test for VisitRepository::countVisits
|
2021-01-09 17:54:04 +01:00 |
|
Alejandro Celaya
|
01dceca9ef
|
Enhanced ShorturlRepository::findOneMatching test to cover ApiKey use cases
|
2021-01-09 14:39:19 +01:00 |
|
Alejandro Celaya
|
ba32366b0b
|
Added tagExists to TagRepositoryTest
|
2021-01-09 13:44:47 +01:00 |
|
Alejandro Celaya
|
bef1b13a33
|
Enhanced DomainRepositoryTest covering API key permissions
|
2021-01-09 13:16:33 +01:00 |
|
Alejandro Celaya
|
19834f6715
|
Applied API role specs to domains list
|
2021-01-04 15:55:59 +01:00 |
|
Alejandro Celaya
|
8d3ceaf462
|
#901 Ensured only domains in use are returned to lists
|
2020-11-21 08:44:28 +01:00 |
|
Alejandro Celaya
|
fdcf88de67
|
Added database tests for ShortUrlRepository::importedUrlExists
|
2020-10-25 12:06:48 +01:00 |
|
Daniel Londero
|
065d314608
|
Invoke PHPUnit's assertions statically
|
2020-10-04 00:35:14 +02:00 |
|
Alejandro Celaya
|
614e1c37f8
|
Added database test for Domainrepository
|
2020-09-27 10:18:49 +02:00 |
|
Alejandro Celaya
|
4e94f07050
|
Added tests for new ShortUrlRepository::findOneMatching method
|
2020-09-23 07:34:36 +02:00 |
|
Alejandro Celaya
|
460ca032d2
|
Drastically improved performance when creating new short URLs with findIfExists by moving logic to DB query
|
2020-09-23 00:22:29 +02:00 |
|
Alejandro Celaya
|
dd4b4277c9
|
Added test for VisitRepository tag methods
|
2020-05-08 20:11:37 +02:00 |
|
Alejandro Celaya
|
7da00fbc8c
|
Updated Visit entity so that the address can be optionally obfuscated
|
2020-05-08 12:58:49 +02:00 |
|
Alejandro Celaya
|
bdd14427d9
|
Added tests for TagRepository::findTagsWithInfo
|
2020-05-08 11:09:28 +02:00 |
|
Alejandro Celaya
|
fb8ab0b5fe
|
Implemented how to reprocess the locations of all existing visits
|
2020-03-28 09:12:15 +01:00 |
|
Alejandro Celaya
|
43a3d469e7
|
Improved how visits with some conditions are fetched from the database, so all internal logic is 100% transparent regardless the purpose
|
2020-03-27 22:01:26 +01:00 |
|
Alejandro Celaya
|
f730c24ecb
|
Created method to return visits with empty location
|
2020-03-26 22:56:53 +01:00 |
|
Alejandro Celaya
|
10f79ec01d
|
Created new repository method which will look for short URLs without doing domain fallback
|
2020-02-02 12:44:35 +01:00 |
|
Alejandro Celaya
|
a3ff545d43
|
Improved VisitsRepositoryTest to cover fetching visits for URL with domain
|
2020-02-01 17:44:37 +01:00 |
|
Alejandro Celaya
|
279bd12a2d
|
Ensured domain can be passed when fetching visits for a short URL
|
2020-02-01 17:34:16 +01:00 |
|
Alejandro Celaya
|
452bfea088
|
Created DTOs with implicit validation to wrap short URLs lists params
|
2020-01-28 10:49:55 +01:00 |
|
Alejandro Celaya
|
f32e7cc7c4
|
Removed tests checking domain logic from ShortUrlRepositoryTest
|
2020-01-26 19:25:41 +01:00 |
|
Alejandro Celaya
|
45151cdde6
|
Standardized how the ShortUrlMeta object is created by exposing a single named constructor
|
2020-01-26 08:42:51 +01:00 |
|
Alejandro Celaya
|
50100c251e
|
Updated to coding standard v2.1
|
2020-01-01 20:48:31 +01:00 |
|
Alejandro Celaya
|
bfeb915cd2
|
Replaced regular callbacks by arrow functions when possible
|
2019-12-29 23:16:55 +01:00 |
|
Alejandro Celaya
|
b904c6d00d
|
Added property types to some classes
|
2019-12-29 22:27:00 +01:00 |
|
Alejandro Celaya
|
35eeaf4282
|
Improved repository tests covering fetching and counting filtered short URL lists
|
2019-12-16 22:17:33 +01:00 |
|
Alejandro Celaya
|
9538f474de
|
Added logic to check if a short code is in use and regenerate it otherwise
|
2019-10-11 11:09:33 +02:00 |
|
Alejandro Celaya
|
2f09ff456c
|
Updated logic to generate random short codes, increasing entropy
|
2019-10-11 09:14:25 +02:00 |
|
Alejandro Celaya
|
e0d20bf8ff
|
Updated to coding styles v2
|
2019-10-05 17:26:10 +02:00 |
|
Alejandro Celaya
|
8d3a49a319
|
Fixed issue with postgres when fetching resultset ordering by nullable column
|
2019-10-04 18:07:26 +02:00 |
|
Alejandro Celaya
|
eced1af21d
|
Added more database cases covering different combinations of finding short URL by short code and domain
|
2019-10-04 17:34:34 +02:00 |
|
Alejandro Celaya
|
495643f4f1
|
Ensured domain is taken into account when checking if a slug is in use
|
2019-10-01 21:42:35 +02:00 |
|
Alejandro Celaya
|
7c349e42fd
|
Created TestUtils module
|
2019-08-11 16:30:46 +02:00 |
|
Alejandro Celaya
|
30314fd532
|
Moved all ip-geolocation related stuff to its own module
|
2019-08-10 13:43:52 +02:00 |
|
Alejandro Celaya
|
6fa255386b
|
Defined config to run database tests against mysql and postgres
|
2019-03-05 20:36:35 +01:00 |
|
Alejandro Celaya
|
4b556cd79f
|
Updated to shlinkio coding standard 1.1.0
|
2019-02-26 22:56:43 +01:00 |
|
Alejandro Celaya
|
d2fad0128f
|
Fixed bug missing unprocessed visits while iterating and updating, while drastically improving the performance
|
2019-02-23 09:58:02 +01:00 |
|