Commit Graph

409 Commits

Author SHA1 Message Date
Alejandro Celaya
197cfa8811 Apply fixes for PHPUnit 13 2026-02-09 12:35:39 +01:00
Alejandro Celaya
900de9e800 Extend and normalize output from visits console commands 2026-01-03 11:53:09 +01:00
Alejandro Celaya
a6286c247a Allow visits to be generated in CSV format 2025-12-29 10:43:37 +01:00
Alejandro Celaya
c0edcd3cfd Support paginating the output of visits commands to avoid out of memory errors 2025-12-29 10:22:50 +01:00
Alejandro Celaya
9ae2dce261 Support dynamic redirects based on an after-date condition 2025-12-18 09:41:07 +01:00
Alejandro Celaya
ca183d6e21 Some changes in before-date rule wording 2025-12-18 09:27:11 +01:00
Alejandro Celaya
54dc82cb90 Type date in RedirectCondition::forBeforeDate as Chronos 2025-12-18 09:21:13 +01:00
Andrei Vasilev
dae52fedf4 Support for redirects with a condition before date 2025-12-18 09:04:57 +01:00
Alejandro Celaya
c6b83a6437 Convert GetShortUrlVisitsCommand into invokable command 2025-12-17 15:43:14 +01:00
Alejandro Celaya
83e373e96a Decouple database commands from AbstractDatabaseCommand 2025-12-16 09:07:17 +01:00
Alejandro Celaya
da53c5a206 Fix notices reported by latest PHPUnit version 2025-12-15 14:17:36 +01:00
Alejandro Celaya
9e4ea80139 Convert ResolveUrlCommand into invokable command 2025-12-15 10:16:09 +01:00
Alejandro Celaya
d481c06f09 Convert DeleteShortUrlVisitsCommand into invokable command 2025-12-15 10:04:48 +01:00
Alejandro Celaya
36cb760a88 Convert DeleteShortUrlCommand into invokable command 2025-12-15 09:47:16 +01:00
Alejandro Celaya
635e968bb2 Convert EditShortUrlCommand into invokable command 2025-12-15 09:35:38 +01:00
Alejandro Celaya
965d191ce1 Convert CreateShortUrlCommand into invokable command 2025-12-15 09:27:52 +01:00
Alejandro Celaya
b7ae228a95 Make tag and exclude-tag trully optional in ShortUrlsParamsInput 2025-12-15 08:57:54 +01:00
Alejandro Celaya
7cdefcb4b6 Convert ManageRedirectRulesCommand into invokable command 2025-12-15 08:39:05 +01:00
Alejandro Celaya
5a390894ea Use Ask attribute to simplify RenameApiKeyCommand 2025-12-13 16:55:31 +01:00
Alejandro Celaya
5df3abbce9 Migrate GenerateKeyCommand to symfony/console attributes 2025-12-13 16:49:52 +01:00
Alejandro Celaya
a75ee138e1 Migrate ListShortUrlsCommand to symfony/console attributes 2025-12-13 11:05:20 +01:00
Alejandro Celaya
1996745f64 Update to Symfony 8.0 2025-12-02 12:20:52 +01:00
Alejandro Celaya
933c54e884 Improve some console commands coverage 2025-11-18 08:44:15 +01:00
Alejandro Celaya
f3ff059d48 Improve RoleResolver coverage 2025-11-17 12:33:08 +01:00
Alejandro Celaya
0604237b94 Remove dead code that is affecting code coverage 2025-11-17 12:12:06 +01:00
Alejandro Celaya
c42fb67efc Simplify NotFoundRedirectConfigInterface with property hooks and asymetric visibility 2025-11-08 22:47:24 +01:00
Alejandro Celaya
359129f586 Remove deprecated --tags option in console commands 2025-11-08 10:22:02 +01:00
Alejandro Celaya
8bafd82e1d Remove deprecated options from short-url:list command 2025-11-08 10:07:51 +01:00
Alejandro Celaya
9f564b9785 Do not allow API keys to be disabled by plain-text key 2025-11-08 09:16:15 +01:00
Alejandro Celaya
6113c28768 Make RenameTagCommand invokable 2025-11-01 12:28:04 +01:00
Alejandro Celaya
2d83b8d046 Make InitialApiKeyCommand invokable 2025-11-01 11:41:50 +01:00
Alejandro Celaya
dfef735c89 Make ReadEnvVarCommand invokable 2025-11-01 11:38:10 +01:00
Alejandro Celaya
532700028a Remove all calls to ReflectionProperty::setAccessible 2025-10-28 11:03:41 +01:00
Alejandro Celaya
9c22c7fc9c Add more tests for apiKeyName short URLs filtering 2025-10-22 08:28:45 +02:00
Alejandro Celaya
b5a9353b85 Add new command to delete API keys 2025-10-20 10:34:53 +02:00
Alejandro Celaya
25de0263c5 Deprecate --tags and add --tag for short-url:list command 2025-10-17 08:35:41 +02:00
Alejandro Celaya
223901324f Enhance RedirectRuleHandlerTest with new query-param-related conditions 2025-07-17 08:44:19 +02:00
Alejandro Celaya
850e8574e9 Use invokable commands approach on some API console commands 2025-06-26 08:41:18 +02:00
Alejandro Celaya
f1157aa177 Adjust tests to fix warnings 2025-06-24 19:47:18 +02:00
Alejandro Celaya
cea8a982e2 Replace ExitCode with standard symfony Command constants 2025-04-22 12:07:41 +02:00
Alejandro Celaya
65c01034ff Update to PHPUnit 12 2025-02-13 10:35:58 +01:00
Alejandro Celaya
2807b9ce2f Fix ImportedLinksProcessorTest 2024-12-22 18:41:03 +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
a77e07f906 Refactor geolocation download logic based on database table 2024-12-15 10:05:32 +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
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
4a0b7e3fc9 Refactor Visitor model and allow a Location object to be passed to it 2024-11-14 14:48:18 +01:00