Commit Graph

2033 Commits

Author SHA1 Message Date
Alejandro Celaya
c5382b2a7f Created DisableKeyCommand 2016-08-06 18:26:07 +02:00
Alejandro Celaya
dd1bc49b79 Added method to ApiKeyService to list api keys 2016-08-06 18:08:09 +02:00
Alejandro Celaya
74777c2234 Created command to generate a new api key 2016-08-06 18:07:48 +02:00
Alejandro Celaya
99d7e6dd7d Fixed AuthenticateAction not working with only one group of params 2016-08-06 13:24:06 +02:00
Alejandro Celaya
7b746f76b0 Created APiKeyService and tests 2016-08-06 13:18:27 +02:00
Alejandro Celaya
2767a14101 Created ApiKey entity 2016-08-06 12:50:44 +02:00
Alejandro Celaya
270dbc6028 Created new entity_manager configuration, dropping old database first level config key 2016-08-06 12:40:31 +02:00
Alejandro Celaya
21dc9ac5a0 Updated changelog for version 1 2016-08-01 21:25:15 +02:00
Alejandro Celaya
9b9b1415fe Created GenerateCharsetCommand 2016-08-01 21:11:42 +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
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
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
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
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
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
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
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
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
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
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