Commit Graph

  • c33f8d0ea2 Cast database credentials to string when read from the env Alejandro Celaya 2024-03-15 14:27:02 +01:00
  • 0f2cd3cb7f Remove useless return annotation Alejandro Celaya 2024-03-12 09:09:59 +01:00
  • 2441ac5e77 Update Bug template Alejandro Celaya 2024-03-12 09:00:49 +01:00
  • 8888e33ccc Merge pull request #2052 from acelaya-forks/feature/fix-geolite-update-backport v3.7.4 3.x Alejandro Celaya 2024-03-09 09:53:00 +01:00
  • f248001460 Merge pull request #2053 from shlinkio/develop v4.0.2 Alejandro Celaya 2024-03-09 09:49:51 +01:00
  • 1fe2c93946 Merge pull request #2051 from acelaya-forks/feature/fix-geolite-update Alejandro Celaya 2024-03-09 09:39:31 +01:00
  • 250f9f2d89 Update changelog Alejandro Celaya 2024-03-09 09:37:28 +01:00
  • 9fd864df0b Make sure GeoLite2 db file is always read from the filesystem befor etrying to operate on it Alejandro Celaya 2024-03-09 09:30:05 +01:00
  • a3d50605c1 Update changelog Alejandro Celaya 2024-03-09 09:32:05 +01:00
  • 5427152f15 Make sure GeoLite2 db file is always read from the filesystem befor etrying to operate on it Alejandro Celaya 2024-03-09 09:30:05 +01:00
  • a4e9c2fdde Merge pull request #2046 from shlinkio/develop v4.0.1 Alejandro Celaya 2024-03-08 08:57:40 +01:00
  • e244b2dc51 Add v4.0.1 to changelog Alejandro Celaya 2024-03-08 08:56:55 +01:00
  • 31dea8fa99 Merge pull request #2045 from acelaya-forks/feature/match-languages-fix Alejandro Celaya 2024-03-07 23:23:58 +01:00
  • be8cf56240 Ensure language redirect conditions do not match for too low quality accepted languages Alejandro Celaya 2024-03-07 10:03:11 +01:00
  • 0bc7412430 Fix incorrect redirect condition type definiition Alejandro Celaya 2024-03-05 15:09:44 +01:00
  • 6d56e92306 Merge pull request #2042 from acelaya-forks/feature/qr-code-color-args Alejandro Celaya 2024-03-05 11:16:49 +01:00
  • 97c94f8fcc Document color and bgColor QR code query params Alejandro Celaya 2024-03-05 11:14:07 +01:00
  • 92b5a5296d Merge pull request #2039 from shlinkio/develop v4.0.0 Alejandro Celaya 2024-03-03 19:23:35 +01:00
  • febca6d441 Small reword in UPGRADE guide Alejandro Celaya 2024-03-03 19:16:46 +01:00
  • bf29abc468 Merge pull request #2040 from acelaya-forks/feature/redirect-checks Alejandro Celaya 2024-03-03 18:54:15 +01:00
  • 97cb30565c Add v4.0.0 Alejandro Celaya 2024-03-03 18:50:23 +01:00
  • 9809f050ef Update changelog Alejandro Celaya 2024-03-03 18:19:40 +01:00
  • 7ecfb24584 Merge pull request #2038 from acelaya-forks/feature/redirect-rules-cli Alejandro Celaya 2024-03-03 13:19:42 +01:00
  • 4aa65f750e Add CLI test for manage redirects command, to cover validation errors Alejandro Celaya 2024-03-03 13:16:37 +01:00
  • 63c533fa62 Fix incorrect rule selection when deleting rules with same long URL Alejandro Celaya 2024-03-03 12:59:58 +01:00
  • 8751d6c315 Add unit test for RedirectRuleHandler Alejandro Celaya 2024-03-03 12:51:17 +01:00
  • eb40dc2d5d Add unit test for ShortUrlRedirectRuleService::saveRulesForShortUrl Alejandro Celaya 2024-03-03 10:36:17 +01:00
  • c9d1a955b9 Add ManageRedirectRulesCommand unit test Alejandro Celaya 2024-03-03 10:27:21 +01:00
  • c346fd0602 Reduce duplicated code when parsing short codes and domains from CLI Alejandro Celaya 2024-03-03 10:10:39 +01:00
  • a45550b0c6 Extract logic to determine list of rules from ManageRedirectRulesCommand to a helper service Alejandro Celaya 2024-03-03 09:48:56 +01:00
  • a843c59d77 Fix inconsistencies when editing rules and saving a mix of new and old ones Alejandro Celaya 2024-03-03 09:09:19 +01:00
  • 3bfb29a51c Test new methods for RedirectCondition and ShortUrlRedirectRule Alejandro Celaya 2024-03-03 08:47:31 +01:00
  • d8ede3263f Implement command to manage redirect rules for a short URL Alejandro Celaya 2024-03-02 22:44:22 +01:00
  • c36e43e249 Merge pull request #2037 from acelaya-forks/feature/improve-rules-swagger Alejandro Celaya 2024-03-01 08:58:11 +01:00
  • 52150b3067 Define different swagger models for get and set redirect rules Alejandro Celaya 2024-03-01 08:56:03 +01:00
  • e7796cc917 Merge pull request #2033 from acelaya-forks/feature/redirect-rule-creation Alejandro Celaya 2024-02-29 20:23:42 +01:00
  • 7f560e6a65 Add SetRedirectRulesAction API test Alejandro Celaya 2024-02-29 20:20:04 +01:00
  • 8f233221e5 Add SetRedirectRulesAction unit test Alejandro Celaya 2024-02-29 20:14:15 +01:00
  • f700abd65d Add tests for ShortUrlRedirectionRuleService::setRulesForShortUrl Alejandro Celaya 2024-02-29 19:55:34 +01:00
  • f9e4d6d617 Create RedirectRulesDataTest Alejandro Celaya 2024-02-29 19:17:10 +01:00
  • d9286765e1 Create endpoint to set redirect rules for a short URL Alejandro Celaya 2024-02-28 20:24:16 +01:00
  • a7cde9364a Merge pull request #2035 from acelaya-forks/feature/improve-rules-persistence Alejandro Celaya 2024-02-29 09:26:51 +01:00
  • 070d74830b Remove name and uniqueness in redirect condition table Alejandro Celaya 2024-02-29 09:05:30 +01:00
  • 23c07c4e82 Merge pull request #2031 from acelaya-forks/feature/redirect-rules-api Alejandro Celaya 2024-02-28 09:17:05 +01:00
  • ab7824aa85 Add unit test for ListRedirectRulesAction Alejandro Celaya 2024-02-28 09:14:27 +01:00
  • 67bafbe44e Add API test for redirect rules list Alejandro Celaya 2024-02-28 08:53:35 +01:00
  • c4805b8152 Remove old error models and examples from swagger spec Alejandro Celaya 2024-02-28 08:39:26 +01:00
  • 33729289c7 Create endpoint to list redirect rules for a specific short URL Alejandro Celaya 2024-02-27 21:00:53 +01:00
  • 721e3d9ef9 Merge pull request #2030 from acelaya-forks/feature/device-redirect-rules Alejandro Celaya 2024-02-27 19:27:59 +01:00
  • a72e22e046 Unit-test RedirectCondition for devices Alejandro Celaya 2024-02-27 19:22:30 +01:00
  • 36749658da Remove device long URLs support Alejandro Celaya 2024-02-27 18:46:49 +01:00
  • 4ad3dc0bc7 Create new migration to drop old device_long_urls table Alejandro Celaya 2024-02-27 09:09:03 +01:00
  • 73864b923d Add migration to migrate device_long_urls to redirect_rules Alejandro Celaya 2024-02-26 23:42:37 +01:00
  • 71277e979a Merge pull request #2026 from acelaya-forks/feature/language-redirects Alejandro Celaya 2024-02-26 20:10:26 +01:00
  • 60fef3de74 Merge lines Alejandro Celaya 2024-02-26 20:06:15 +01:00
  • 0fe503fa0e Update changelog Alejandro Celaya 2024-02-26 19:59:34 +01:00
  • db02d9f1ba Finalize logic to dynamically match accept language rules Alejandro Celaya 2024-02-26 19:58:46 +01:00
  • 89a987d03a Merge pull request #2024 from acelaya-forks/feature/rule-based-redirects Alejandro Celaya 2024-02-26 19:11:13 +01:00
  • 3284cea6f2 Update changelog Alejandro Celaya 2024-02-26 19:08:21 +01:00
  • df5ad554c1 Add E2E tests for dynamic rule-based redirects Alejandro Celaya 2024-02-26 19:05:39 +01:00
  • 07ae92943d Add test for ShortUrlRedirectResolver rule matching Alejandro Celaya 2024-02-25 23:09:16 +01:00
  • 175712d4a9 Add test for ShortUrlRedirectRule request matching Alejandro Celaya 2024-02-25 19:38:54 +01:00
  • 3f1b253c31 Add test for RedirectCondition request matching Alejandro Celaya 2024-02-25 19:21:39 +01:00
  • 202d0b86b3 Extract logic to match every type of redirect condition to its own private method Alejandro Celaya 2024-02-25 17:13:54 +01:00
  • 4e87affb0b Take redirect rules into consideration when resolving the long URL for a short URL Alejandro Celaya 2024-02-25 12:25:55 +01:00
  • 7f83d37b3c Add logic to match redirect conditions based on query params or language Alejandro Celaya 2024-02-24 23:33:16 +01:00
  • 09e81b00c5 Create component to resolve the long URL to redirect to for a short URL Alejandro Celaya 2024-02-24 23:10:08 +01:00
  • 68b77e22c5 Merge pull request #2025 from acelaya-forks/feature/old-migrations Alejandro Celaya 2024-02-25 12:33:49 +01:00
  • c5ddd8302a Delete old migrations Alejandro Celaya 2024-02-25 12:28:20 +01:00
  • 1a0fe0429a Merge pull request #2022 from acelaya-forks/feature/redirect-rules-persistence Alejandro Celaya 2024-02-24 20:27:47 +01:00
  • 6646232311 Set eager loading for redirect rule conditions Alejandro Celaya 2024-02-24 20:24:41 +01:00
  • c1e88c3e83 Use named args to avoid passing default values for args Alejandro Celaya 2024-02-24 18:21:53 +01:00
  • c91a534d1a Create new entities for redirect rules Alejandro Celaya 2024-02-24 18:17:09 +01:00
  • 752100f1ce Create migration for new rules and conditions tables Alejandro Celaya 2024-02-24 13:35:59 +01:00
  • dae083c540 Merge pull request #2023 from acelaya-forks/feature/unused-env-vars Alejandro Celaya 2024-02-24 17:29:46 +01:00
  • 857c3a4f8d Remove unused entries from EnvVars enum Alejandro Celaya 2024-02-24 17:26:12 +01:00
  • acc4c4756e Simplify and normalize API tests script Alejandro Celaya 2024-02-23 19:30:58 +01:00
  • 0bacb215c5 Merge pull request #2019 from acelaya-forks/feature/long-url-as-text Alejandro Celaya 2024-02-22 09:39:46 +01:00
  • d1a6e60b01 Add migration to update long URLs columns to text type Alejandro Celaya 2024-02-22 09:35:14 +01:00
  • 8f954151ca Change long URL columns to TEXT type Alejandro Celaya 2024-02-20 22:57:33 +01:00
  • 145d4eaaed Merge pull request #2020 from acelaya-forks/feature/path-prefix Alejandro Celaya 2024-02-21 19:41:19 +01:00
  • 7673232793 Add --path-prefix to short URL creation Alejandro Celaya 2024-02-21 19:38:11 +01:00
  • f08951a9b9 Add unit test for short URL path prefix Alejandro Celaya 2024-02-21 19:24:30 +01:00
  • ff963a9df4 Add API test for short URL path prefix Alejandro Celaya 2024-02-21 19:14:30 +01:00
  • f30c74b987 Prepend path prefix to generated short code or custom slug Alejandro Celaya 2024-02-21 18:06:06 +01:00
  • 467dbdd183 Update to latest shlink-common Alejandro Celaya 2024-02-21 17:57:45 +01:00
  • 0e78deb8f2 Refactor ShortUrlInputFilter for creation and edition Alejandro Celaya 2024-02-21 10:12:40 +01:00
  • 50cc7ae632 Fix donate URL Alejandro Celaya 2024-02-20 22:33:10 +01:00
  • 512d765d60 Merge pull request #2018 from acelaya-forks/feature/remove-infection Alejandro Celaya 2024-02-20 22:28:48 +01:00
  • 7b9331bd14 Merge DB test jobs into one with a matrix Alejandro Celaya 2024-02-20 22:26:04 +01:00
  • 4f5ce9fb43 Remove dependency on infection and mutation tests Alejandro Celaya 2024-02-20 22:16:09 +01:00
  • 83f73eb631 Merge pull request #2017 from acelaya-forks/feature/improve-e2e-coverage Alejandro Celaya 2024-02-20 22:03:17 +01:00
  • 3f1b89d665 Install dependencies in upload-coverage CI job Alejandro Celaya 2024-02-20 18:30:34 +01:00
  • 8f6fc97fc8 Simplify and improve how code coverage is generated in API and CLI tests Alejandro Celaya 2024-02-20 18:23:37 +01:00
  • a463e6f9d7 Merge pull request #2014 from acelaya-forks/feature/qr-code-improvements Alejandro Celaya 2024-02-19 23:22:57 +01:00
  • 2a0364ca8f Update changelog Alejandro Celaya 2024-02-19 23:13:09 +01:00
  • 23e9ed93bb Add test for QrCodeAction with logo URL Alejandro Celaya 2024-02-19 23:10:51 +01:00
  • 689343d1c9 Test QR codes logic when providing a color Alejandro Celaya 2024-02-18 21:02:35 +01:00
  • d01dc334d7 Update to endroid/qr-code 5 Alejandro Celaya 2024-02-18 19:58:19 +01:00
  • 58a3791a5c Allow customizing color, background color and logo in QR codes Alejandro Celaya 2024-02-18 14:06:03 +01:00