Alejandro Celaya
|
2c5d6d1651
|
Moved env vars to common global config files, so that theycan be used in non-docker contexts too
|
2021-08-07 11:05:20 +02:00 |
|
Alejandro Celaya
|
6ae0c7dcfc
|
Updated to latest common with symfony/cache support
|
2021-08-05 14:05:44 +02:00 |
|
Alejandro Celaya
|
4d48482d1e
|
Added support to define differnet not-found redirects per domain
|
2021-07-21 09:28:21 +02:00 |
|
Alejandro Celaya
|
57d816b862
|
Replaced map with match
|
2021-07-20 14:03:19 +02:00 |
|
Alejandro Celaya
|
02fd28edec
|
Installed phpstan-dcotrine and fixed more static analysis errors
|
2021-07-20 13:29:50 +02:00 |
|
Alejandro Celaya
|
2eeb762cd9
|
Moved specific phpstan ignore to their own lines
|
2021-07-19 22:50:32 +02:00 |
|
Alejandro Celaya
|
934d266880
|
Added phpstan-symfony plugin to improve inspections on getArgument and getOption
|
2021-07-19 20:00:53 +02:00 |
|
Alejandro Celaya
|
20575a2b0f
|
Added support to provide append_extra_path config from installer or env vars for docker
|
2021-07-15 18:57:32 +02:00 |
|
Alejandro Celaya
|
32f7b4fbf6
|
Created new middleware that redirects to short URLs with an extra path
|
2021-07-15 16:54:54 +02:00 |
|
Alejandro Celaya
|
265e8cdeaf
|
Refactored tracking actions
|
2021-07-15 13:28:31 +02:00 |
|
Alejandro Celaya
|
3535688c3b
|
Updated to latest installer with support for all tracking options
|
2021-05-16 13:21:12 +02:00 |
|
Alejandro Celaya
|
9cff570c45
|
Updated changelog
|
2021-05-16 10:12:35 +02:00 |
|
Alejandro Celaya
|
f0dc32b6e5
|
Added logic for new tracking options
|
2021-05-16 09:53:44 +02:00 |
|
Alejandro Celaya
|
d423d18249
|
Defined new structure for tracking config, together with new options
|
2021-05-16 09:30:15 +02:00 |
|
Alejandro Celaya
|
1efa973507
|
Updated ImportedLinksProcessor to support importing visits if provided
|
2021-04-11 11:44:10 +02:00 |
|
Alejandro Celaya
|
e23cd6a856
|
Removed old MySQL connection options
|
2021-04-11 11:44:10 +02:00 |
|
Alejandro Celaya
|
d9b675fc8b
|
Updated to an installer version with support to download the GeoLite db file
|
2021-04-08 16:56:55 +02:00 |
|
Alejandro Celaya
|
d72b9cf646
|
Updated to symfony/mercure 0.5
|
2021-04-02 09:46:02 +02:00 |
|
Alejandro Celaya
|
d7523bcb57
|
Reduced duplication by creating a function that builds test logger config
|
2021-03-14 09:01:11 +01:00 |
|
Alejandro Celaya
|
4439685403
|
Fixed logs generated by shlink during API tests
|
2021-03-14 08:49:38 +01:00 |
|
Alejandro Celaya
|
9feb72235a
|
Added config to log in filesystem while running API tests
|
2021-03-14 08:33:00 +01:00 |
|
Alejandro Celaya
|
1498b72966
|
Updated to happyr/doctrine-specification 2, with some fixes
|
2021-02-26 20:01:16 +01:00 |
|
Alejandro Celaya
|
656346bd04
|
Ensured mezzio-swoole config provider is dynamically loaded
|
2021-02-13 17:48:03 +01:00 |
|
Alejandro Celaya
|
9c48e6578d
|
Removed mezzio-helpers and used ContentLengthMiddleware from shlink-common
|
2021-02-12 09:24:13 +01:00 |
|
Alejandro Celaya
|
cc42f037c7
|
Merge branch 'develop' into feature/not-found-tracking
|
2021-02-11 13:53:21 +01:00 |
|
Alejandro Celaya
|
bec467c703
|
Fixed issue with swoole 4.6.3
|
2021-02-11 13:52:36 +01:00 |
|
Alejandro Celaya
|
bd09b1571a
|
Updated shlink-installer with support for orphan visits tracking option
|
2021-02-10 20:42:42 +01:00 |
|
Alejandro Celaya
|
2fc6fb0a9a
|
Added option to disable orphan visitstracking
|
2021-02-10 20:09:25 +01:00 |
|
Alejandro Celaya
|
b01487ac91
|
Ensured IP address is resolved when tracking orphan visits
|
2021-02-09 23:09:42 +01:00 |
|
Alejandro Celaya
|
15061d3e0d
|
Created new middlewares to track not found visits
|
2021-02-09 23:09:42 +01:00 |
|
Alejandro Celaya
|
de4e677f18
|
Fixed database started for API tests in GitHub workflow
|
2021-02-05 18:33:36 +01:00 |
|
Alejandro Celaya
|
7192480751
|
Update installer version
|
2021-02-03 18:26:50 +01:00 |
|
Alejandro Celaya
|
8b54098299
|
Added option to automatically resolve url titles
|
2021-02-03 11:07:47 +01:00 |
|
Alejandro Celaya
|
b0c4582f3f
|
Used EntitySpecificationRepository as default entity repository
|
2021-01-09 10:56:02 +01:00 |
|
Alejandro Celaya
|
84331135f7
|
Created API tests for CORS
|
2020-12-31 13:28:06 +01:00 |
|
Alejandro Celaya
|
5040f5b177
|
Changed condition to determine if tests are run in CI
|
2020-12-13 11:07:37 +01:00 |
|
Alejandro Celaya
|
e54745b250
|
#833 Enabled unix socket option during installation
|
2020-11-29 14:01:26 +01:00 |
|
Alejandro Celaya
|
49ea5cc78b
|
#912 Removed dependency on league/plates
|
2020-11-22 18:03:27 +01:00 |
|
Alejandro Celaya
|
6259c73b33
|
#827 Fixed swoole config getting loaded on non-swoole contexts when running CLI command first
|
2020-11-22 10:24:06 +01:00 |
|
Alejandro Celaya
|
6e83b90028
|
#899 Changed temp directory in which geolite DB files are downloaded
|
2020-11-21 12:36:30 +01:00 |
|
Alejandro Celaya
|
97f89bcede
|
Simplified transactional URL shortening
|
2020-11-06 20:05:57 +01:00 |
|
Alejandro Celaya
|
1621f3a943
|
Updated dependencies
|
2020-11-02 11:53:14 +01:00 |
|
Alejandro Celaya
|
33d3837795
|
Added dependency on shlinkio/shlink-importer
|
2020-10-22 18:12:22 +02:00 |
|
Alejandro Celaya
|
cbc9f1257d
|
Enabled Diactoros as module
|
2020-10-16 19:21:40 +02:00 |
|
Alejandro Celaya
|
d9d57743e6
|
Fixed code copverage on API tests being exported as Clover instead of PHP
|
2020-09-26 10:49:56 +02:00 |
|
Alejandro Celaya
|
cc57dcd01a
|
Added code coverage to API tests
|
2020-09-26 10:43:50 +02:00 |
|
Alejandro Celaya
|
f2f07be11f
|
Updated to latest installer, supporting redirects customizations
|
2020-06-20 11:07:15 +02:00 |
|
Alejandro Celaya
|
cb70dc5389
|
Removed stuff from local config file which already comes on third party config
|
2020-06-20 09:20:01 +02:00 |
|
Alejandro Celaya
|
68db52679b
|
Added support to serve redirects with status 301 and Cache-Control
|
2020-06-17 19:01:56 +02:00 |
|
Alejandro Celaya
|
f4bf3551f6
|
Updated shlink-installer to a version supporting IP anonymization param
|
2020-05-08 15:50:16 +02:00 |
|
Alejandro Celaya
|
8f06e4b20f
|
Replaced references to obfuscate by anonymize
|
2020-05-08 15:43:09 +02:00 |
|
Alejandro Celaya
|
eac468514b
|
Allow to determine if remote addresses should be obfuscated at configuration level
|
2020-05-08 13:10:58 +02:00 |
|
Alejandro Celaya
|
e747a0b250
|
Updated how database tests are run in travis, so that all DB engines are covered
|
2020-05-04 19:55:03 +02:00 |
|
Alejandro Celaya
|
56932e4ea6
|
Disabled swoole coroutines
|
2020-05-01 18:24:48 +02:00 |
|
Alejandro Celaya
|
4498386f56
|
Fixed merge conflicts
|
2020-04-30 20:26:00 +02:00 |
|
Alejandro Celaya
|
93a2c83652
|
Enabled GeoLite installer config option
|
2020-04-29 20:31:06 +02:00 |
|
Alejandro Celaya
|
4917e53acd
|
Configured an nginx container acting as a reverse proxy for the mercure container
|
2020-04-25 13:44:09 +02:00 |
|
Alejandro Celaya
|
e6d914cfe1
|
Ensured mysql config is not loaded for sqlite test envs
|
2020-04-18 14:01:24 +02:00 |
|
Alejandro Celaya
|
7c6827ea9f
|
Added MYSQL_ATTR_USE_BUFFERED_QUERY driver option with value true for mysql/maria connections
|
2020-04-18 13:21:46 +02:00 |
|
Alejandro Celaya
|
078c8ea011
|
Changed default mercure token duration to 1 day
|
2020-04-18 11:29:49 +02:00 |
|
Alejandro Celaya
|
3908f63b0d
|
Updated to latest installer version
|
2020-04-14 20:30:05 +02:00 |
|
Alejandro Celaya
|
ba0678946f
|
Updated installer to use a version supporting mercure options
|
2020-04-13 09:38:18 +02:00 |
|
Alejandro Celaya
|
8d888cb43d
|
Documented how to use a mercure hub when using the docker image
|
2020-04-12 18:39:28 +02:00 |
|
Alejandro Celaya
|
72d8edf4ff
|
Created event listener that notifies mercure hub for new visits
|
2020-04-12 17:05:59 +02:00 |
|
Alejandro Celaya
|
2ffbf03cf8
|
Created action to get mercure integration info
|
2020-04-12 13:59:10 +02:00 |
|
Alejandro Celaya
|
85440c1c5f
|
Improved mercure-related configs
|
2020-04-12 12:21:05 +02:00 |
|
Alejandro Celaya
|
10cad33248
|
Added configuration for mercure integration
|
2020-04-11 18:10:56 +02:00 |
|
Alejandro Celaya
|
34c7b870a7
|
Removed unnecessary service registration, as it comes preregistered from third party config provider
|
2020-04-08 23:56:39 +02:00 |
|
Alejandro Celaya
|
ec8cbf82e5
|
Added HEAD request implicit handling
|
2020-04-08 17:27:26 +02:00 |
|
Alejandro Celaya
|
b8522b8c17
|
Created new method to locate empty visits
|
2020-03-26 22:37:46 +01:00 |
|
Alejandro Celaya
|
4539ab2dcf
|
Moved hardcoded class alias to a namespaced constant
|
2020-03-22 17:42:56 +01:00 |
|
Alejandro Celaya
|
d32112fe7e
|
Updated shlink packages and installed shlink-config
|
2020-03-15 17:14:37 +01:00 |
|
Alejandro Celaya
|
fb89cb80ac
|
Added formatting to swoole logs, to avoid duplicating the date
|
2020-02-19 19:48:48 +01:00 |
|
Alejandro Celaya
|
d0a986dd5a
|
Added request ID to logs with monolog
|
2020-02-19 19:37:47 +01:00 |
|
Alejandro Celaya
|
bb231e668b
|
Registered middleware generating request ID
|
2020-02-19 18:58:25 +01:00 |
|
Alejandro Celaya
|
33a404f051
|
Updated CLI command to create short URLs so that it respects configs for short code length
|
2020-02-18 20:34:48 +01:00 |
|
Alejandro Celaya
|
13555366e3
|
Short code lengths can now be customized
|
2020-02-18 18:54:40 +01:00 |
|
Alejandro Celaya
|
bb9e57fa8b
|
Added support for mssql on dev env
|
2020-02-09 18:01:11 +01:00 |
|
Alejandro Celaya
|
d22169803f
|
Ensured any user can write in generated log files
|
2020-02-08 11:50:25 +01:00 |
|
Alejandro Celaya
|
96350c8b8f
|
Updated entities mapping config so that they return a function
|
2020-01-29 10:06:42 +01:00 |
|
Alejandro Celaya
|
b07a603456
|
Updated dependencies
|
2020-01-27 11:30:29 +01:00 |
|
Alejandro Celaya
|
8ec686f4e2
|
Updated order in which headers for remote IP detection are inspected
|
2020-01-24 21:19:40 +01:00 |
|
Alejandro Celaya
|
af1dd78b2c
|
Fixed typo
|
2020-01-12 10:32:03 +01:00 |
|
Alejandro Celaya
|
15a72e2a88
|
Updated local config files which were not fulfilling the project's coding standards
|
2020-01-12 10:06:45 +01:00 |
|
Alejandro Celaya
|
2e0f8067aa
|
Enabled redis config option
|
2020-01-05 17:04:22 +01:00 |
|
Alejandro Celaya
|
4fadd523f1
|
Updated config to read redis from config.redis
|
2020-01-05 16:45:14 +01:00 |
|
Alejandro Celaya
|
f3f35218c3
|
Updated to installer v4
|
2020-01-04 13:18:28 +01:00 |
|
Alejandro Celaya
|
40c014b663
|
Fixed merge conflicts
|
2020-01-02 22:58:40 +01:00 |
|
Alejandro Celaya
|
32de74b23e
|
Updated URL from which GeoLite DB is downloaded
|
2020-01-02 22:46:56 +01:00 |
|
Alejandro Celaya
|
86e701dccc
|
Updated local config file
|
2020-01-01 21:15:23 +01:00 |
|
Alejandro Celaya
|
2151b97bec
|
Project migrated from zend to laminas
|
2020-01-01 21:13:09 +01:00 |
|
Alejandro Celaya
|
0cf1d8d375
|
Changed validate_url to have default value of false
|
2019-12-31 16:30:59 +01:00 |
|
Alejandro Celaya
|
339121fbb1
|
Removed PathVersionMiddleware as routes without version are not longer supported
|
2019-12-31 16:26:00 +01:00 |
|
Alejandro Celaya
|
434b56fa8c
|
Removed several deprecated components
|
2019-12-31 15:38:37 +01:00 |
|
Alejandro Celaya
|
78b484e657
|
Deleted everything related with previews generation
|
2019-12-31 13:40:38 +01:00 |
|
Alejandro Celaya
|
bd6243b2ac
|
Updated to problem-details 1.1, removing custom code
|
2019-12-30 22:42:29 +01:00 |
|
Alejandro Celaya
|
bfeb915cd2
|
Replaced regular callbacks by arrow functions when possible
|
2019-12-29 23:16:55 +01:00 |
|
Alejandro Celaya
|
8667544b3a
|
Updated to installer v3.3
|
2019-12-29 14:09:51 +01:00 |
|
Alejandro Celaya
|
25243a10ec
|
Moved common bootstrapping code to run.php script
|
2019-12-27 14:02:43 +01:00 |
|
Alejandro Celaya
|
3fdba53995
|
Added basic implementation for new webhook events
|
2019-12-27 13:37:59 +01:00 |
|
Alejandro Celaya
|
34d8b396a4
|
Fixed merge conflicts
|
2019-12-23 11:17:20 +01:00 |
|
Alejandro Celaya
|
3634236214
|
Fixed some comments
|
2019-12-23 11:00:38 +01:00 |
|
Alejandro Celaya
|
35f5f4851e
|
Moved class alias to container.php to avoid it from being lost after configuration is cached
|
2019-12-23 10:38:06 +01:00 |
|
Alejandro Celaya
|
4334ea295d
|
Added missing local config
|
2019-12-18 15:00:39 +01:00 |
|
Alejandro Celaya
|
0152f6fa1a
|
Added dev php config and removed .env dependencies
|
2019-12-17 21:20:24 +01:00 |
|
Alejandro Celaya
|
6bcdd5e6c8
|
Cleaned last beats of to make everything BC
|
2019-11-30 18:08:30 +01:00 |
|
Alejandro Celaya
|
cf3d763731
|
Replaced monolog-cascade by MonologFactory
|
2019-11-30 17:59:04 +01:00 |
|
Alejandro Celaya
|
e558bb17cb
|
Updated dependencies
|
2019-11-30 17:21:36 +01:00 |
|
Alejandro Celaya
|
5d76a55c46
|
Updated how monolog handlers are registered so that it is possible to overwrite them via local config
|
2019-11-30 09:28:30 +01:00 |
|
Alejandro Celaya
|
6c37905c15
|
Fixed cross-domain headers being lost when ProblemDetailsMiddleware throws an error
|
2019-11-29 19:24:04 +01:00 |
|
Alejandro Celaya
|
6f0afe269d
|
Moved InvalidShortCode exception handling to problem details
|
2019-11-24 12:41:12 +01:00 |
|
Alejandro Celaya
|
1bafe54a75
|
Split NotFoundHandler into two different middlewares
|
2019-11-23 10:25:12 +01:00 |
|
Alejandro Celaya
|
89e373f775
|
Moved NotFoundHandler to ErrorHandler namespace
|
2019-11-23 10:11:34 +01:00 |
|
Alejandro Celaya
|
74854b3dac
|
Added zend problem details to the project
|
2019-11-22 19:49:14 +01:00 |
|
Alejandro Celaya
|
4e5ab21a47
|
Removed whoops dev dependency
|
2019-11-22 18:03:11 +01:00 |
|
Alejandro Celaya
|
a0510d6a69
|
Removed content-based-error-handler in preparation for the problem details module
|
2019-11-22 18:01:38 +01:00 |
|
Alejandro Celaya
|
d030fd1aa6
|
Updated GeolocationDbUpdater to always use a local lock even if redis config is provided
|
2019-11-17 11:09:37 +01:00 |
|
Alejandro Celaya
|
9df8bd63d4
|
Updated to installer 3.1
|
2019-11-10 13:07:57 +01:00 |
|
Alejandro Celaya
|
b66268867a
|
Updated to shlink-installer 3
|
2019-11-02 21:15:26 +01:00 |
|
Alejandro Celaya
|
24c3a3e84c
|
Defined new options for new redirect configuration
|
2019-11-02 17:23:21 +01:00 |
|
Alejandro Celaya
|
b59f4e2805
|
Defined new configs for not found redirects
|
2019-11-02 11:30:09 +01:00 |
|
Alejandro Celaya
|
1f449e8ce1
|
Disabled coroutines on swoole during API tests
|
2019-11-01 10:10:43 +01:00 |
|
Alejandro Celaya
|
2f09ff456c
|
Updated logic to generate random short codes, increasing entropy
|
2019-10-11 09:14:25 +02:00 |
|
Alejandro Celaya
|
42e84e526e
|
Added mariadb container for development environment
|
2019-10-06 11:21:41 +02:00 |
|
Alejandro Celaya
|
e0d20bf8ff
|
Updated to coding styles v2
|
2019-10-05 17:26:10 +02:00 |
|
Alejandro Celaya
|
636df2a736
|
Read request's authority when tracking a visit and passed it down
|
2019-10-04 21:36:54 +02:00 |
|
Alejandro Celaya
|
baf3093893
|
Added support for domain param to command and action to resolve a short URL
|
2019-10-04 21:17:02 +02:00 |
|
Alejandro Celaya
|
df1de020d1
|
Updated to shlink installer 2
|
2019-09-28 09:30:20 +02:00 |
|
Alejandro Celaya
|
d7a3aeb0a2
|
Created a config prost-processor which adds the base path on every applicable configuration
|
2019-09-13 20:03:53 +02:00 |
|
Alejandro Celaya
|
28b5d8445e
|
Ensured installer does not ask for the locale
|
2019-09-13 18:51:51 +02:00 |
|
Alejandro Celaya
|
7b0ccc9f69
|
Removed references to anything related with translations
|
2019-09-12 08:09:17 +02:00 |
|
Alejandro Celaya
|
fdb98fa2a9
|
Added service aliases that were removed from shlink-common
|
2019-09-11 20:25:04 +02:00 |
|
Alejandro Celaya
|
6720d12ab8
|
Removed use of Interop container
|
2019-08-12 18:59:02 +02:00 |
|
Alejandro Celaya
|
ef70e44a17
|
Registered Preview generator module
|
2019-08-11 19:43:06 +02:00 |
|
Alejandro Celaya
|
7c349e42fd
|
Created TestUtils module
|
2019-08-11 16:30:46 +02:00 |
|
Alejandro Celaya
|
8f929c0ee3
|
Dropped Integrations module and created LICENSE files for new modules
|
2019-08-11 13:20:18 +02:00 |
|
Alejandro Celaya
|
5fa4fa0225
|
Moved some elements in Common module to more proper locations
|
2019-08-10 23:58:21 +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
|
b7cc460844
|
Deprecated previews generation
|
2019-08-09 18:12:33 +02:00 |
|
Alejandro Celaya
|
38016b3ba3
|
Created delegator factory that injects logger on services implementing LoggerAware, and used it for locks factory
|
2019-08-08 13:42:14 +02:00 |
|
Alejandro Celaya
|
6b8ca3e611
|
Updated SimplifiedConfigParser so that it properly converts the redis_servers keys and aliases the store as a side effect
|
2019-08-07 18:45:28 +02:00 |
|
Alejandro Celaya
|
73fd348490
|
Ensured Redis lock store is wrapped into a retry adapter
|
2019-08-07 17:37:24 +02:00 |
|
Alejandro Celaya
|
7aa246b550
|
Created RedisFactoryTest
|
2019-08-07 16:07:17 +02:00 |
|
Alejandro Celaya
|
1e294fe1bc
|
Created RedisFactory which will create the redis adapter for the redis lock
|
2019-08-07 14:17:15 +02:00 |
|
Alejandro Celaya
|
dcfb12f454
|
Moved some classes to proper namespaces
|
2019-08-07 13:50:38 +02:00 |
|
Alejandro Celaya
|
8407fee96d
|
Ensured generated installation config is not loaded on test envs
|
2019-08-07 10:59:05 +02:00 |
|
Alejandro Celaya
|
c04f0af56f
|
Created command to run migrations with a lock
|
2019-08-06 20:48:48 +02:00 |
|
Alejandro Celaya
|
f78fa58cf1
|
Updated CreateDatabaseCommand to create the empty database if it does not exist
|
2019-08-05 10:08:59 +02:00 |
|
Alejandro Celaya
|
bdc93a45b5
|
Created EntityManagerDecorator to handle the automatic reopening, and removed this behavior from ClosDbConnectionMiddleware
|
2019-08-02 19:28:10 +02:00 |
|
Alejandro Celaya
|
ac08ed7cf9
|
Updated changelog
|
2019-08-01 18:31:18 +02:00 |
|
Alejandro Celaya
|
9cb316bdfa
|
Added more headers to inspect while looking for the remote IP address
|
2019-08-01 18:27:43 +02:00 |
|
Alejandro Celaya
|
999beef349
|
Fixed GeolocationDbUpdater so that it does not try to interact with the reader if the file does not exist, preventing later errors
|
2019-07-23 17:07:40 +02:00 |
|
Alejandro Celaya
|
c6fdd8a59f
|
Improvements and ensured LocateVisitsCommand does not swallow exceptions
|
2019-07-23 16:41:32 +02:00 |
|
Alejandro Celaya
|
af40e8de5c
|
Improved ListenerProviderFactoryTest
|
2019-07-19 20:28:56 +02:00 |
|
Alejandro Celaya
|
d086131630
|
Moved all event-dispatching stuff to its own module
|
2019-07-19 19:54:39 +02:00 |
|
Alejandro Celaya
|
bccc177414
|
Created task running system based on event listener which are transparently cast into tasks
|
2019-07-18 19:07:07 +02:00 |
|
Alejandro Celaya
|
0dfadcbb4a
|
Added package to delegate the execution of event listeners to a swoole task worker
|
2019-07-14 10:46:31 +02:00 |
|
Alejandro Celaya
|
91698034e7
|
Added event dispatcher to track when a short URL is visited
|
2019-07-13 12:04:21 +02:00 |
|
Alejandro Celaya
|
42a5145895
|
Renamed Swoole logger to Access logger
|
2019-05-13 19:16:14 +02:00 |
|
Alejandro Celaya
|
479760c0ee
|
Created config post processor that parses a simplified config to what shlink expects
|
2019-04-18 10:37:38 +02:00 |
|
Alejandro Celaya
|
df40199134
|
Renamed common config files so that they have the same preffix
|
2019-04-14 10:25:32 +02:00 |
|
Alejandro Celaya
|
249b8a4768
|
Added config to reload swoole during development
|
2019-03-16 09:57:09 +01:00 |
|
Alejandro Celaya
|
a22beeed08
|
Replaced localhost name by 127.0.0.1 for databases when in travis
|
2019-03-05 21:01:52 +01:00 |
|
Alejandro Celaya
|
840e377245
|
Added execution of db tests with mysql and postgres to travis
|
2019-03-05 20:50:32 +01: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
|
456960e1f0
|
Updated required shlink-installer version and added config for installer plugins
|
2019-02-10 21:57:29 +01:00 |
|
Alejandro Celaya
|
2059b4050b
|
Removed installer and used external package instead
|
2019-02-04 20:14:59 +01:00 |
|
Alejandro Celaya
|
abbc66ac07
|
Unified config for installer tool
|
2019-02-03 13:12:17 +01:00 |
|
Alejandro Celaya
|
2d18ef5cee
|
Updated installer so that it no longer asks for a charset and instead just generates one
|
2019-02-03 13:02:12 +01:00 |
|
Alejandro Celaya
|
810b25ff14
|
Added API tests covering creating short URLs with new findIfExists param
|
2019-02-03 11:01:38 +01:00 |
|
Alejandro Celaya
|
772494f46f
|
Moved process of sluggifying custom slug to a filter
|
2019-02-03 08:17:27 +01:00 |
|
Alejandro Celaya
|
4c46aaead8
|
Improved API tests and added test for short URLs creation
|
2019-02-02 11:05:28 +01:00 |
|
Alejandro Celaya
|
ea1b285d52
|
Little refactopring on tests config file
|
2019-02-02 11:05:28 +01:00 |
|
Alejandro Celaya
|
d289c62532
|
Fixed config file being deleted by mistake by build script
|
2019-01-28 10:52:05 +01:00 |
|
Alejandro Celaya
|
d6a7a6ce66
|
Created new API test
|
2019-01-27 12:36:22 +01:00 |
|
Alejandro Celaya
|
05c7672de3
|
Improved API tests by adding fixtures
|
2019-01-27 12:14:22 +01:00 |
|
Alejandro Celaya
|
558e259b84
|
Minor refactorings
|
2019-01-27 10:30:38 +01:00 |
|
Alejandro Celaya
|
f467bed24c
|
Used multiple commands with && instead of composer array for API tests command
|
2019-01-27 10:15:48 +01:00 |
|
Alejandro Celaya
|
fa753ad6fb
|
Added api test to test:ci command
|
2019-01-26 11:04:50 +01:00 |
|
Alejandro Celaya
|
22d61fead7
|
Prepared configs for API tests
|
2019-01-26 10:19:20 +01:00 |
|
Alejandro Celaya
|
c4af1471f0
|
Simplified and united configs for tests
|
2019-01-26 09:42:08 +01:00 |
|
Alejandro Celaya
|
87ba7a7179
|
Updated structure for tests config files
|
2019-01-26 09:09:57 +01:00 |
|
Alejandro Celaya
|
284de28f76
|
Removed duplicated code to define testing database connection params
|
2019-01-20 22:08:32 +01:00 |
|
Alejandro Celaya
|
3f65ef998c
|
Created HealthAction
|
2018-12-29 11:54:28 +01:00 |
|
Alejandro Celaya
|
2db03a163d
|
Updated how config is imported and merged, so that it includes any config file in json format from config/params dir
|
2018-12-07 20:48:20 +01:00 |
|
Alejandro Celaya
|
c0bdd8fc77
|
Removed concept of execution context and piped CloseDbConnectionMiddleware always
|
2018-12-07 19:46:46 +01:00 |
|
Alejandro Celaya
|
9095e5b057
|
Enabled static files with swoole, otherwise, robots.txt and favicon.ico are never served when running shlink with swoole
|
2018-12-07 09:38:07 +01:00 |
|
Alejandro Celaya
|
accda36a7b
|
Updated default secret_key value
|
2018-12-07 02:49:50 +01:00 |
|
Alejandro Celaya
|
7c5825d1bc
|
Removed custom AccessLogFactory by updating to zend-expressive-swoole 2.2
|
2018-12-05 21:26:19 +01:00 |
|
Alejandro Celaya
|
e9972783d2
|
Removed non-needed services from expressive-helpers
|
2018-12-01 21:53:46 +01:00 |
|
Alejandro Celaya
|
d7e89ebdae
|
Ensured custom slugs are case sensitive
|
2018-12-01 21:38:29 +01:00 |
|
Alejandro Celaya
|
aa413dab6d
|
Configured improvements introduced in expressive swoole 2.1
|
2018-11-29 21:14:24 +01:00 |
|
Alejandro Celaya
|
6947805b5c
|
Updated to zend-expressive-swoole 2.0.1 removing all workarounds
|
2018-11-28 20:43:44 +01:00 |
|
Alejandro Celaya
|
282ffef200
|
Ensured different loggers are used for swoole and for the app regular logs
|
2018-11-25 17:14:03 +01:00 |
|
Alejandro Celaya
|
ccbc6c7a75
|
Created middleware which closes DB connection after every request
|
2018-11-24 12:55:00 +01:00 |
|
Alejandro Celaya
|
2fc2ad98aa
|
Updated config so that shlink logger dynamically uses standard output when running with swoole
|
2018-11-24 09:38:00 +01:00 |
|
Alejandro Celaya
|
16590b2dbb
|
Prepared project to support both swoole and regular app servers with fast cgi
|
2018-11-24 08:43:48 +01:00 |
|
Alejandro Celaya
|
09add5fbff
|
Moved locale middleware to before the not found handler, so that it never gets executed otherwise
|
2018-11-18 20:15:37 +01:00 |
|
Alejandro Celaya
|
c5015f5828
|
Removed translations from CLI module
|
2018-11-18 16:02:52 +01:00 |
|
Alejandro Celaya
|
1ceabf3bc3
|
Added locking capabilities to process visits command
|
2018-11-17 14:11:16 +01:00 |
|
Alejandro Celaya
|
e915b7e499
|
Updated GeoLite2 db reader service so that it is lazily created
|
2018-11-12 20:22:42 +01:00 |
|
Alejandro Celaya
|
3d7cf6992e
|
Created service to update geolite2 database file
|
2018-11-11 21:28:42 +01:00 |
|
Alejandro Celaya
|
bbe85cde31
|
Migrated to GeoLite2 for IP location resolution
|
2018-11-11 21:28:42 +01:00 |
|
Alejandro Celaya
|
3eddacdff8
|
Created options to enable redirection to external page when short code is not found
|
2018-11-03 11:37:43 +01:00 |
|
Alejandro Celaya
|
77d810b735
|
Replaced all FQ global function and constants by explicit imports
|
2018-10-28 08:24:06 +01:00 |
|
Alejandro Celaya
|
2eca0da852
|
Updated logger to properly format exceptions using processors
|
2018-10-20 12:37:35 +02:00 |
|
Alejandro Celaya
|
1b4343ffc2
|
Moved update and install duplicated code to common config file
|
2018-09-29 10:00:17 +02:00 |
|
Alejandro Celaya
|
a65ce649ac
|
Created new Installer module and moved everything from CLI there
|
2018-09-29 09:52:32 +02:00 |
|
Alejandro Celaya
|
e88468d867
|
Renamed CheckAuthenticationMiddleware to just AuthenticationMiddleware
|
2018-09-24 23:07:10 +02:00 |
|
Alejandro Celaya
|
7ab993b764
|
Created and registered middleware which replaces short-code from short-url on rest paths
|
2018-09-20 20:27:34 +02:00 |
|
Alejandro Celaya
|
394d9ff4d2
|
Defined config and implementation to delete short URLs
|
2018-09-15 11:01:28 +02:00 |
|
Alejandro Celaya
|
af4c66d40a
|
Added version placeholder in place of hardcoded version in config
|
2018-07-26 18:42:53 +02:00 |
|
Alejandro Celaya
|
63a69b05a1
|
Added Zend expressive swoole config provider to global config when present
|
2018-07-04 20:40:38 +02:00 |
|
Alejandro Celaya
|
1437ff48ce
|
Ensured all core actions log errors
|
2018-05-07 10:58:49 +02:00 |
|
Alejandro Celaya
|
334710e92c
|
Added middleware which injects the content-length header in the response if not present
|
2018-05-03 18:25:57 +02:00 |
|
Alejandro Celaya
|
91d350b12f
|
Removed path workaround in PathVersionMiddleware and simplified code
|
2018-04-07 08:31:03 +02:00 |
|
Alejandro Celaya
|
6935b2ebe2
|
Updated system so that NotFoundDelegate is used
|
2018-03-26 20:37:04 +02:00 |
|
Alejandro Celaya
|
a27b01b895
|
Fixed tests
|
2018-03-26 19:02:41 +02:00 |
|
Alejandro Celaya
|
16dd1838aa
|
Updated to expressive 3
|
2018-03-26 18:49:28 +02:00 |
|
Alejandro Celaya
|
4d0fc1da07
|
Fixed PathVersionMiddleware not being properly propagated
|
2018-03-26 17:53:22 +02:00 |
|
Bruce Weirdan
|
f7e63710e4
|
updated tests to fix deprecations
also fixed cs errors in middleware-pipeline
|
2018-03-21 02:05:55 +02:00 |
|
Bruce Weirdan
|
d3b5cd5c57
|
fixed middleware deprecations
|
2018-03-21 01:46:26 +02:00 |
|
Alejandro Celaya
|
ea80b6d48a
|
Replaced vlucas/phpdotenv package by symfony/dotenv
|
2017-12-27 16:33:06 +01:00 |
|
Alejandro Celaya
|
af0ff0f65b
|
Console commands are now lazy loaded
|
2017-12-27 15:37:26 +01:00 |
|
Alejandro Celaya
|
781ca39938
|
Fixed merge conflicts
|
2017-10-23 13:28:09 +02:00 |
|
Alejandro Celaya
|
91442a3379
|
Ensured same testing database is used to generate with entities and to run functional tests
|
2017-10-23 12:19:28 +02:00 |
|
Mikolaj Gogula
|
d04abd1f75
|
Added validate_url config key for development.
|
2017-10-23 11:28:04 +02:00 |
|
Alejandro Celaya
|
c2feffa50c
|
First version of functional tests working
|
2017-10-23 11:21:00 +02:00 |
|
Alejandro Celaya
|
97a54aef06
|
Imported function in config file
|
2017-10-21 11:28:44 +02:00 |
|
Alejandro Celaya
|
6208f6f0d5
|
Improved Exception management to be more specific
|
2017-10-12 11:28:45 +02:00 |
|
Alejandro Celaya
|
c422a14c5c
|
Improved coding styles
|
2017-10-12 10:13:20 +02:00 |
|
Alejandro Celaya
|
e53ffc8d43
|
Migrated templates to plates
|
2017-10-12 10:03:20 +02:00 |
|
Alejandro Celaya
|
453ca1728e
|
Updated system to use plates instead of twig
|
2017-10-12 09:40:42 +02:00 |
|
Alejandro Celaya
|
602e11d5e7
|
Added namespace to functions
|
2017-07-16 09:28:40 +02:00 |
|
Alejandro Celaya
|
5d2698e8a1
|
Created EmptyResponseImplicitOptionsMiddlewareFactoryTest
|
2017-04-13 09:52:17 +02:00 |
|
Alejandro Celaya
|
596d1ee797
|
Registered implicit options middleware
|
2017-04-13 09:43:11 +02:00 |
|
Alejandro Celaya
|
f6c39285c9
|
Updated to expressive 2 and used new error handling system
|
2017-03-24 21:10:25 +01:00 |
|
Alejandro Celaya
|
0e2a289f9f
|
Updated to phpunit 6
|
2017-03-24 20:34:18 +01:00 |
|
Alejandro Celaya
|
b4548f3401
|
Added configs to enable fastroute cache
|
2017-01-22 11:07:18 +01:00 |
|
Alejandro Celaya
|
a8bf699f2d
|
Fixed error with non-registered service on latest expressive-twig-renderer version
|
2017-01-21 20:19:30 +01:00 |
|
Alejandro Celaya
|
7781f07352
|
Added local entity manager config that allows db host name to be set
|
2017-01-21 09:16:00 +01:00 |
|
Alejandro Celaya
|
2c91ded514
|
Improved PreviewGenerator by composing an ImageBuilder that creates new Image objects fore each URL
|
2016-08-18 12:21:26 +02:00 |
|
Alejandro Celaya
|
60c68c914b
|
Managed error while generating URL previews by throwing an exception
|
2016-08-18 11:17:17 +02:00 |
|
Alejandro Celaya
|
26adf48b48
|
Added wkhtmltopdf stuff and created preview generator service
|
2016-08-18 10:19:33 +02:00 |
|
Alejandro Celaya
|
25380e4727
|
Moved console Application creation to factory
|
2016-08-14 23:08:26 +02:00 |
|
Alejandro Celaya
|
12322b7368
|
Improved config loading by using only one config provider object
|
2016-08-14 22:56:22 +02:00 |
|
Alejandro Celaya
|
a608f7d0f4
|
Minor name change
|
2016-08-14 21:28:21 +02:00 |
|
Alejandro Celaya
|
9a42d70604
|
Added custom config params to merged confg
|
2016-08-14 18:15:10 +02:00 |
|
Alejandro Celaya
|
cffa43a155
|
Created installation script and installation command
|
2016-08-14 09:09:23 +02:00 |
|