Alejandro Celaya
|
90732a4fad
|
Removed translations from Rest module
|
2018-11-18 16:28:04 +01:00 |
|
Alejandro Celaya
|
521f6f2b18
|
Added functional-php library
|
2018-11-02 10:54:42 +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
|
787b791651
|
Replaced hardcoded exceptions concatenations by PSR approach
|
2018-10-20 12:50:10 +02:00 |
|
Alejandro Celaya
|
ff80f32f72
|
Created json_encode function which always maps to array and converts errors into exceptions
|
2018-10-05 19:19:44 +02:00 |
|
Alejandro Celaya
|
e55dbef2fc
|
Replaced in_array by contains
|
2018-10-05 18:52:42 +02:00 |
|
Alejandro Celaya
|
0f5fb066d1
|
Converted AuthenticationpluginManager in a plain plugin manager and encasulated in new service adding extra behavior
|
2018-09-29 08:16:40 +02:00 |
|
Alejandro Celaya
|
8e61639598
|
Created system of authentication plugins
|
2018-09-28 22:08:01 +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
|
622edd2ed1
|
Renamed rest middlewares to use the short-url concept instead of the short-code concept
|
2018-09-20 20:00:53 +02:00 |
|
Alejandro Celaya
|
b0dbb2dae4
|
Updated CreateShortCodeContentNegotiationMiddleware so that query parameter takes precedence over Accept header
|
2018-05-07 11:17:10 +02:00 |
|
Alejandro Celaya
|
52d8ffa212
|
Improved CreateShortCodeContentNegotiationMiddleware sho that it takes into account the case in which an error is returned from next middleware
|
2018-05-06 12:28:22 +02:00 |
|
Alejandro Celaya
|
1f78b5c524
|
Improved CreateShortCodeContentNegotiationMiddleware so that it can determine the format based on a query partameter
|
2018-05-03 18:32:32 +02:00 |
|
Alejandro Celaya
|
59f10619ba
|
Created middleware used with short codes creation actions to handle content negotiation
|
2018-05-03 18:26:31 +02:00 |
|
Alejandro Celaya
|
2f5290b9d3
|
Moved whitelisted routes in CheckAuthenticationMiddleware to external configuration
|
2018-05-01 18:36:42 +02:00 |
|
Alejandro Celaya
|
91d350b12f
|
Removed path workaround in PathVersionMiddleware and simplified code
|
2018-04-07 08:31:03 +02:00 |
|
Alejandro Celaya
|
fe9ab20cbb
|
Applied some improvements
|
2018-03-27 23:57:29 +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 |
|
Alejandro Celaya
|
ee2233c6dd
|
Updated PathVersionMiddleware to single-pass middleware
|
2018-03-26 17:36:58 +02:00 |
|
Alejandro Celaya
|
ede4525332
|
Refactored exceptions to properly use package exceptions
|
2017-12-30 21:35:26 +01:00 |
|
Alejandro Celaya
|
db956a1f40
|
Fixed all possible PHPStan errors
|
2017-12-27 16:23:54 +01: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
|
01a4f9f867
|
Removed any remaining reference to AnnotatedFactory
|
2017-09-30 12:13:47 +02:00 |
|
Alejandro Celaya
|
95ec7e0afa
|
Registered action to list tags
|
2017-07-07 13:12:45 +02:00 |
|
Alejandro Celaya
|
52478ca60a
|
Returned all allowed methods until fast route router is fixed
|
2017-04-14 13:27:41 +02:00 |
|
Alejandro Celaya
|
62b49dcb19
|
Set cross domain allow-methods header with the same value as the allow header
|
2017-04-14 12:55:59 +02:00 |
|
Alejandro Celaya
|
596d1ee797
|
Registered implicit options middleware
|
2017-04-13 09:43:11 +02:00 |
|
Alejandro Celaya
|
cd47aae902
|
Migrated CrossDomainMiddleware to psr-15 middleware
|
2017-03-25 09:44:34 +01:00 |
|
Alejandro Celaya
|
9bd18ee041
|
Migrated CheckAuthenticationMiddleware to psr-15 middleware
|
2017-03-25 09:37:13 +01:00 |
|
Alejandro Celaya
|
22c76df8e6
|
Migrated BodyParserMiddleware to psr-15 middleware
|
2017-03-25 09:22:00 +01:00 |
|
Alejandro Celaya
|
fe7928ae0e
|
Fixed JsonErrorHandler and prevented AuthorizationMiddleware to eat exceptions
|
2017-03-24 21:31:55 +01:00 |
|
Alejandro Celaya
|
de9d9d8667
|
Updated PathVersionMiddleware so that it is only applied to rest routes
|
2017-01-21 20:12:12 +01:00 |
|
Alejandro Celaya
|
a15b17e08b
|
Fixed regression bug while processing versionning for rest paths
|
2016-10-23 10:29:54 +02:00 |
|
Alejandro Celaya
|
18ae541c93
|
Improved body parsing on BodyParserMiddleware
|
2016-10-22 22:17:04 +02:00 |
|
Alejandro Celaya
|
42f86a4a24
|
Added versioning to API endpoints, allowing not to pass the version which will default to v1
|
2016-10-22 18:46:53 +02:00 |
|
Alejandro Celaya
|
cf60440288
|
Fixed possible PHP errors being missed while checking REST auth
|
2016-08-29 12:43:02 +02:00 |
|
Alejandro Celaya
|
4bd67d5f98
|
Fixed cross domain middleware not exposing the Authorization header
|
2016-08-27 13:00:41 +02:00 |
|
Alejandro Celaya
|
372488cbb4
|
Created middleware to parse PUT request bodies in rest requests
|
2016-08-21 13:52:15 +02:00 |
|
Alejandro Celaya
|
a2c2bc166c
|
Removed wrong spaces
|
2016-08-20 19:11:20 +02:00 |
|
Alejandro Celaya
|
34753ca7d3
|
Added logger to classes that catch errors in order to log them
|
2016-08-08 12:33:58 +02:00 |
|
Alejandro Celaya
|
7b0beb3b8c
|
Updated CheckAuthenticationMiddleware to work with JWT and the Authorization header
|
2016-08-07 19:53:14 +02:00 |
|
Alejandro Celaya
|
af9193f721
|
Removed duplicated error handling for 404 errors
|
2016-07-28 09:40:36 +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
|
cd5bbcd60a
|
Reused middleware to check Accept-Language header on any HTTP related middleware
|
2016-07-21 16:59:27 +02:00 |
|