Commit Graph
100 Commits
Author SHA1 Message Date
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
Alejandro Celaya dfc5bfd0f2 Created rest route to perform authentication 2016-07-04 14:45:18 +02:00
Alejandro Celaya 56b2bd3d56 Created entity to persist rest tokens 2016-07-04 14:04:19 +02:00
Alejandro Celaya bbef3444c2 Added errorhanler local config distributable file 2016-07-04 13:14:01 +02:00
Alejandro Celaya b4e6fe7135 Created trait to serialize paginators 2016-07-04 12:50:06 +02:00
Alejandro Celaya 30773c66d0 Fixed ShortUrlServiceTest 2016-07-04 09:18:10 +02:00
Alejandro Celaya cc1829f9ed Added pagination to ShortUrls list 2016-07-04 09:15:50 +02:00
Alejandro Celaya 35f1a4b672 Created stuff to handle pagination on list results 2016-07-04 08:57:37 +02:00
Alejandro Celaya 67ef171262 Improved middleware pipeline and added cross-domain headers for ajax requests 2016-07-04 08:33:31 +02:00
Alejandro Celaya 4129d35447 Added list short URLs endpoint to rest api 2016-07-04 08:33:31 +02:00
Alejandro Celaya 305df3a95b Implemented rest endpoint to return shortcode visits 2016-07-04 08:33:31 +02:00
Alejandro Celaya ab8ccd7df1 Added get URL rest endpoint 2016-07-04 08:33:31 +02:00
Alejandro Celaya 1fbefbbd15 Created shortcode creation rest endpoint 2016-07-04 08:33:31 +02:00
Alejandro Celaya 8a7d5a499e Dropped unused middleware 2016-07-04 08:33:22 +02:00
Alejandro Celaya 32d0e2d091 Merge branch 'feature/9' into develop 2016-07-03 09:17:33 +02:00
Alejandro Celaya e09915dd21 Removed cli-related middlewares and factories 2016-07-03 09:16:56 +02:00
Alejandro Celaya 35147fecb2 Replaced cli execution using expressive middleware by symfony/console 2016-07-03 09:14:27 +02:00
Alejandro Celaya 1c6250618a Removed unique index from too long field 2016-05-02 17:52:53 +02:00
Alejandro Celaya 4e852aab9b Fixed typo and added link to my website 2016-05-02 17:20:07 +02:00
Alejandro Celaya 3e9161efb0 Updated templates 2016-05-02 17:17:11 +02:00
Alejandro Celaya 83352f0af9 Added more tests 2016-05-01 17:55:29 +02:00
Alejandro Celaya bb11269146 Added more tests 2016-05-01 13:36:23 +02:00
Alejandro Celaya 75bcc4ec4c Fixed UrlShortenerTest after changing default chars 2016-05-01 11:24:00 +02:00
Alejandro Celaya aba7d3185a Added shortcode chars as an environment variable 2016-05-01 11:21:54 +02:00
Alejandro Celaya 3bb899bced Prevented routable middleware to dispatch 404 page 2016-04-30 19:24:45 +02:00
Alejandro Celaya 4ae08c02ec Created VisitsTracker service to track visits to shortcodes 2016-04-30 19:18:42 +02:00
Alejandro Celaya b2615d0de6 Implemented routable redirect middleware 2016-04-30 18:59:03 +02:00