Commit Graph
100 Commits
Author SHA1 Message Date
Alejandro Celaya ce2b28a0b4 Improved cli entry point so that the language is set to the translator based on the CLI_LANGUAGE env var 2016-08-01 20:44:45 +02:00
Alejandro Celaya 7b98527f2e Improved CacheFactory so that adapter can be set in config 2016-08-01 20:16:13 +02:00
Alejandro Celaya 30988b10d1 Added Laravel's env helper 2016-08-01 14:36:43 +02:00
Alejandro Celaya d73d3049b7 Removed dependency on expressive-helpers package 2016-07-31 16:42:19 +02:00
Alejandro Celaya 7b1e855e7f Renamed services config files to dependencies 2016-07-31 16:32:27 +02:00
Alejandro Celaya a957f66ed0 Renamed services first level config key to dependencies 2016-07-31 16:30:05 +02:00
Alejandro Celaya ce00874dd1 Merge branch 'feature/12' into develop 2016-07-31 16:25:11 +02:00
Alejandro Celaya 3d5e5d5df9 Created ResolveUrlActionTest 2016-07-31 16:24:00 +02:00
Alejandro Celaya 08f6d2de78 Created ListShortcodesActionTest 2016-07-31 16:16:26 +02:00
Alejandro Celaya c6b7515285 Created GetVisitsActionTest 2016-07-31 16:10:16 +02:00
Alejandro Celaya 04e0a192ad Created CreateShortcodeActionTest 2016-07-31 15:58:18 +02:00
Alejandro Celaya 878518ced7 Created AuthenticateActionTest 2016-07-31 13:33:55 +02:00
Alejandro Celaya 6f7e4f7e7f Created RestUtilsTest 2016-07-31 13:18:36 +02:00
Alejandro Celaya f701e65f75 Created RestTokenServiceTest 2016-07-31 13:14:06 +02:00
Alejandro Celaya ef6f4fba66 Improved CheckAuthenticationMiddlewareTest 2016-07-31 13:01:08 +02:00
Alejandro Celaya f904f79c18 Created CheckAuthenticationMiddlewareTest 2016-07-30 23:26:49 +02:00
Alejandro Celaya 41939b790d Added more Rest module tests 2016-07-30 23:17:13 +02:00
Alejandro Celaya 8c446f0f3b Created Core\ConfigProviderTest 2016-07-30 23:07:44 +02:00
Alejandro Celaya 9c6420fe26 Created VisitServiceTest 2016-07-30 23:01:07 +02:00
Alejandro Celaya ce4877d4ac Improved VisitsTrackerTest 2016-07-30 22:55:28 +02:00
Alejandro Celaya ebeaa3c64a Created RedirectActionTest 2016-07-30 20:02:48 +02:00
Alejandro Celaya fcdcfde04f Added missing tests for Common module 2016-07-30 17:45:48 +02:00
Alejandro Celaya 2ce6c1f44b Added more tests to Common module 2016-07-30 17:17:21 +02:00
Alejandro Celaya 00db8a7ea5 Created Common\ErrorHandler tests 2016-07-30 17:07:35 +02:00
Alejandro Celaya 4c6cc9cd11 Created ResolveUrlCommandTest 2016-07-30 16:48:02 +02:00
Alejandro Celaya 50f1549457 Created ProcessVisitsCommand 2016-07-30 14:42:09 +02:00
Alejandro Celaya 3923bf0604 Created GetVisitsCommandTest 2016-07-30 14:30:30 +02:00
Alejandro Celaya bb8404040a Created GenerateShortcodeCommandTest 2016-07-30 14:13:28 +02:00
Alejandro Celaya 5cdd782ce1 Removed whiteline 2016-07-30 13:54:00 +02:00
Alejandro Celaya e345c2bbfe Moved error handler classes from Expressive namespace to ErrorHandler namespace 2016-07-30 13:51:52 +02:00
Alejandro Celaya 2a018f5415 Fixed ContentBasedErrorHandler fatching error handlers from the composed plugin manager 2016-07-30 10:47:29 +02:00
Alejandro Celaya 7394424a43 Merge branch 'develop' into feature/12 2016-07-30 10:41:05 +02:00
Alejandro Celaya 2f5119d0b3 Split ContentBasedErrorHandler responsibilities into two separated classes 2016-07-30 10:08:34 +02:00
Alejandro Celaya c569cef239 Fixed ContentBased error handler not using the default content if accepted contents are not valid 2016-07-29 11:25:53 +02:00
Alejandro Celaya ab6aa99a6d Created more tests on CLI module 2016-07-28 20:49:27 +02:00
Alejandro Celaya f4532c3015 Replaced exclusive ifs by if-else 2016-07-28 09:56:44 +02:00
Alejandro Celaya af9193f721 Removed duplicated error handling for 404 errors 2016-07-28 09:40:36 +02:00
Alejandro Celaya 36259588db Fixed Action prefix on routable middlewares 2016-07-27 20:22:50 +02:00
Alejandro Celaya a3554db1c3 Merge branch 'feature/15' into develop 2016-07-27 20:18:28 +02:00
Alejandro Celaya 75e744838c Created content based error handler which allows managing errors in a different way depending on the Accepted content type from the client 2016-07-27 20:17:23 +02:00
Alejandro Celaya f3d2cf5e15 Deleted ResponseTypeMiddleware which is not ussable anymore 2016-07-26 19:10:43 +02:00
Alejandro Celaya a81dba58bd Defined custom NotFoundMiddleware for rest routes 2016-07-26 19:10:01 +02:00
Alejandro Celaya 83f29080c6 Improved the way rest errors are catched 2016-07-26 11:05:17 +02:00
Alejandro Celaya 0ef1e416c6 Created middleware to catch rest errors and return JSON responses 2016-07-26 09:54:13 +02:00
Alejandro Celaya 57d81115de Added PHP 7.1 to the CI matrix 2016-07-21 18:46:52 +02:00
Alejandro Celaya 5c8353da02 Set collation to utf8_bin in shortCode column of ShortUrl so that the UNIQUE key is case sensitive 2016-07-21 18:46:15 +02:00
Alejandro Celaya 95346ebb7e Merge branch 'feature/23' into develop 2016-07-21 17:00:42 +02:00
Alejandro Celaya cd5bbcd60a Reused middleware to check Accept-Language header on any HTTP related middleware 2016-07-21 16:59:27 +02:00
Alejandro Celaya fb9c7f8eec Used twig extension to load translations on twig templates 2016-07-21 16:54:00 +02:00
Alejandro Celaya e42469b090 Added translations for error messages returned by the REST API 2016-07-21 16:41:16 +02:00
Alejandro Celaya 06868f782b Created middleware for rest that reads the language from the Accept-Language header 2016-07-21 16:20:27 +02:00
Alejandro Celaya 73a35a8f44 Added translator and translations to ResolveUrlCommand 2016-07-21 16:01:16 +02:00
Alejandro Celaya 6a05265a48 Added translator and translations to ProcessVisitsCommand 2016-07-21 15:50:27 +02:00
Alejandro Celaya 8e51b51cae Added translator and translations to ListShortcodesCommand 2016-07-21 15:43:19 +02:00
Alejandro Celaya 545fe7da70 Added translator and translations to GetVisitsCommand 2016-07-21 15:35:52 +02:00
Alejandro Celaya cb99130c1e Created translator and used inside one of the commands 2016-07-21 15:08:46 +02:00
Alejandro Celaya b413b16c86 Merge branch 'feature/21' into develop 2016-07-21 10:16:52 +02:00
Alejandro Celaya 3ba51c5390 Improved visits REST endpoint path 2016-07-21 10:16:36 +02:00
Alejandro Celaya 0ef9db0bdf Added option to filter by date in visits REST endpoint 2016-07-21 10:13:09 +02:00
Alejandro Celaya bdd2d6f8b2 Improved DateRange to check if both wrapped dates are empty 2016-07-21 10:03:37 +02:00
Alejandro Celaya 45d194aced Added option to filter by date in shortcode:views CLI command 2016-07-21 09:58:33 +02:00
Alejandro Celaya 0a57f52309 Fixed typo 2016-07-21 09:46:12 +02:00
Alejandro Celaya d97287ab0c Added option to filter by date the visits list 2016-07-21 09:36:38 +02:00
Alejandro Celaya 84c4021b24 Merge branch 'feature/22' into develop 2016-07-20 19:04:48 +02:00
Alejandro Celaya d39a949992 Fixed wrong exception name 2016-07-20 19:04:38 +02:00
Alejandro Celaya dbe1281d2a Created services and command to process visits 2016-07-20 19:00:23 +02:00
Alejandro Celaya d3c2f4ed2a Created service to resolve IP locations 2016-07-20 12:37:48 +02:00
Alejandro Celaya 06fa33877b Moved some exceptions from core to common 2016-07-20 10:13:53 +02:00
Alejandro Celaya c290bed354 Created VisitLocation entity 2016-07-20 09:35:46 +02:00
Alejandro Celaya 31af0eea04 Improved main config file and fixed tests whitelist 2016-07-19 23:35:47 +02:00
Alejandro Celaya aaf4f1dfe5 Improved config loading so that autoloaded overrides module-specific 2016-07-19 23:30:23 +02:00
Alejandro Celaya e28e984278 Improved CrossDomainMiddleware by allowing the same origin that was requested 2016-07-19 22:38:14 +02:00
Alejandro Celaya 839329d627 Improved CrossDomainMiddleware preventing headers to be injected on non-CORS requests 2016-07-19 20:20:18 +02:00
Alejandro Celaya 0daa24739d Merge branch 'feature/11' into develop 2016-07-19 18:34:02 +02:00
Alejandro Celaya 7ca52ecff9 Removed wrong use statement from old namespace 2016-07-19 18:33:45 +02:00
Alejandro Celaya 39598d8608 Moved templates and templates config to Core module 2016-07-19 18:32:59 +02:00
Alejandro Celaya 923abdf4d2 Added first tests for CLI module 2016-07-19 18:28:21 +02:00
Alejandro Celaya f917697b8e Added first tests to Rest module 2016-07-19 18:19:05 +02:00
Alejandro Celaya fe8ef2030f Fixed elements broken on module separation 2016-07-19 18:05:06 +02:00
Alejandro Celaya ab9c2f728a Created Core module 2016-07-19 18:01:39 +02:00
Alejandro Celaya ba06ad44bd Created Common module 2016-07-19 17:38:41 +02:00
Alejandro Celaya 8fc88171ee Moved AuthenticationException to Rest module 2016-07-19 17:27:55 +02:00
Alejandro Celaya 7efb3b3a86 Created cli-specific services config file 2016-07-19 17:17:37 +02:00
Alejandro Celaya 170c96b8ef Fixed config files names 2016-07-19 17:12:50 +02:00
Alejandro Celaya 55f954f50f Created Rest module 2016-07-19 17:07:59 +02:00
Alejandro Celaya 95d0beea3c Created CLI module 2016-07-19 16:50:02 +02:00
Alejandro Celaya 5eefaf3071 Added config manager package 2016-07-19 16:30:48 +02:00
Alejandro Celaya 5536d05e99 Added idea folder to gitignore 2016-07-19 16:14:57 +02:00
Alejandro Celaya cdeffe9cc7 Added missing issue to changelog 2016-07-06 20:23:38 +02:00
Alejandro Celaya 2e00a8dec6 Created command to list visits for a shortcode 2016-07-06 20:21:34 +02:00
Alejandro Celaya 43f1f790dd Improved ListShortciodesCommand 2016-07-06 20:10:19 +02:00
Alejandro Celaya 60f5e5290e Created new command to list short urls 2016-07-06 19:41:24 +02:00
Alejandro Celaya 96478f3400 Created the console application via a factory 2016-07-05 23:25:39 +02:00
Alejandro Celaya 9ce5e255f1 Created new CLI command to parse a shortcode 2016-07-05 23:16:23 +02:00
Alejandro Celaya 490b72539e Created CHANGELOG 2016-07-05 20:09:45 +02:00
Alejandro Celaya 371e264ebe Removed PHP5.5 from travis environments 2016-07-05 19:54:16 +02:00
Alejandro Celaya f691bb00d1 Created rest documentation 2016-07-05 19:28:47 +02:00
Alejandro Celaya baf5936cf1 More cross-domain improvements 2016-07-05 19:19:23 +02:00
Alejandro Celaya bd36c65a73 Fixed some cross-origin issues 2016-07-05 19:08:34 +02:00
Alejandro Celaya 431169eb8c Created middleware that checks authentication 2016-07-04 17:54:24 +02:00