Commit Graph

377 Commits (0abf1b9b169a6d3f1010ab9b1acc0d8fb139be3d)

Author SHA1 Message Date
n0nag0n 234b3ddb0a changed it so runway commands are run from any repo
12 months ago
n0nag0n f8811e1d8b allowed for middlewares to be created with container
12 months ago
fadrian06 eadf433334 Added flag to not break Flight users code
12 months ago
fadrian06 161a35a0a2 Added test on ViewTest
12 months ago
n0nag0n deb0d68875 added plain stream() method
1 year ago
fadrian06 11de67fde9 Made stream default status code of 200
1 year ago
n0nag0n 77d313190d added unit test, corrected other response logic
1 year ago
Belle Aerni 3659a76106 Fix content length when using response body callbacks
1 year ago
Austin Collier 9be596f0bf lots of phpcs errors to fix
1 year ago
Austin Collier 7fca8d9a45 added ability to convert the response body
1 year ago
fadrian06 414f605f67 More abstraction to Dispatcher::containerException typehint
1 year ago
fadrian06 8f3f6b5c74 Make explicit comparisons
1 year ago
fadrian06 99a7d75440 Removed PSR/Container
1 year ago
fadrian06 389ebfd329 Add PSR/Container dependency for type hint and expose the API
1 year ago
fadrian06 43b689fa6c Add Short After Filter Syntax with one parameter
1 year ago
fadrian06 4616f521cd Dispatcher refactor
1 year ago
fadrian06 d931b41b46 Improved docblocks
1 year ago
fadrian06 e322135d9c Add symfony/polyfill-80
1 year ago
fadrian06 62f15baf55 Merge branch 'master' into dispatcher-refactor
1 year ago
n0nag0n fe2ad0c05e
Merge pull request #566 from flightphp/v2-loader
1 year ago
n0nag0n 3fda2b42f2
Merge pull request #564 from flightphp/misc-fixes
1 year ago
Austin Collier 43300d5758 added ability to load classes with _ in them
1 year ago
n0nag0n 4b4f07ea56 added comment, removed unused file reference.
1 year ago
n0nag0n 79ffb61f94 phpunit fixes for deprecated notices. Also pdowrapper reset removal
1 year ago
Austin Collier 54403bede8 One last test to make sure Dice maintains the same instance
1 year ago
Austin Collier 1b6c5b942b refactored some errors. UI Tests and cleanup.
1 year ago
Austin Collier dbf05ebf40 Lots more tests. Now will dynamically create object with engine instance.
1 year ago
Austin Collier f752073f7d more testing and catching things.
1 year ago
Austin Collier 3f887e305f Added more tests. Captured callable exception thrown
1 year ago
Austin Collier f610adfc14 lots more testing around containers
1 year ago
n0nag0n 6d41115e9a initial commit for containerization
1 year ago
n0nag0n 412596e863
Merge pull request #558 from flightphp/request-improvements
1 year ago
n0nag0n 018ca42836
Merge pull request #556 from flightphp/pdowrapper-collection
1 year ago
Austin Collier 9786820474 Misunderstanding with $config
1 year ago
Austin Collier 42a3d84d8a Changed Collection to allow for reset
1 year ago
Austin Collier f4c5405d1b little changes to requests and integration testing JSON POST requests
1 year ago
Austin Collier 1d3b224ef6 changed it so PdoWrapper returns collections
1 year ago
Austin Collier 38e20242bf beautify
1 year ago
Austin Collier 5406bbedc1 added test coverage and clearing body for head requests
1 year ago
Belle Aerni 296c9b57d5 Also register HEAD for GET routes
1 year ago
Daniel Schreiber e6a29c7476 fix: handle encoded slashes for url parameters - fixes #552
1 year ago
n0nag0n 735dafefb9
Merge pull request #550 from flightphp/overwrite-body
1 year ago
n0nag0n 0622fd1c2b fixed issues with @params_with_underscores and prepopulate getUrl() params.
1 year ago
n0nag0n c1ba04d96e added deprecated tag to stop. Halt is better
1 year ago
n0nag0n 47cd98e78e added ability to overwrite the body
1 year ago
fadrian06 2474371e35 Merge branch 'master' into dispatcher-refactor
1 year ago
Austin Collier ea8eb37480 Merge branch 'stream-response' of https://github.com/flightphp/core into stream-response
1 year ago
Austin Collier 090a6f1922 few minor changes from code review
1 year ago
fadrian06 c40b0b7759 Simplified docblocks
1 year ago
Austin Collier 788ddb6137 added streaming responses. Fixed JSONP.
1 year ago
fadrian06 253c86482e Fixed yoda comparisons
1 year ago
n0nag0n 2439f20d27 corrected spacing
1 year ago
n0nag0n d8aa490dbd fix for JSON in v3 output buffering
1 year ago
fadrian06 3fba60ca7f Apply some fixes of phpcs
1 year ago
fadrian06 4d064cbb6d Applied phpcbf
1 year ago
n0nag0n 4d4c0d5420 added helpers to req/resp and cleaned up phpcs/stan errors
1 year ago
n0nag0n a60a31c4bd added constant
1 year ago
n0nag0n e29f3b5533 snakeCased parameter, and added v2 unit testing behaviors
1 year ago
n0nag0n e696bd9135 removed unnecessary code
1 year ago
n0nag0n feee086e2b initial commit to overhaul output buffering
1 year ago
Austin Collier 1d810b6c78 fixed leftover variable
1 year ago
Austin Collier 9c437d97c8 Merge branch 'master' into fix-dispatcher-error-message
1 year ago
Austin Collier fe46e25d0e removed notice on setting error messages
1 year ago
fadrian06 327d043709 Separated Dispatcher::run in runPreFilters(), runEvent() and runPostFilters()
1 year ago
fadrian06 b2d7164be0 Better Dispatcher documentation
1 year ago
fadrian06 72882b24de Without parentheses, it was interpreting Closure(): (void|mixed|callable)
1 year ago
fadrian06 84dbed0dc0 What's sense of using phpcs with ignored rules :\
1 year ago
Austin Collier 660a642e8a fixed bug with grouped routes
1 year ago
fadrian06 6e29e663ee Added Exception for call instance methods when a Class constructor require parameters
1 year ago
fadrian06 afba9c16a0 Fixed https://github.com/flightphp/core/pull/538#pullrequestreview-1861099821
1 year ago
fadrian06 db02086d21 Improved Dispatcher::set docblock
1 year ago
fadrian06 31c690d17b Dispatcher::reset now is also chaineable
1 year ago
fadrian06 cd79dc92b6 Can execute instance methods statically (useful for Controllers)
1 year ago
fadrian06 a15a82a209 It throws an Exception for invalid Filters array
1 year ago
fadrian06 72c50d4cb5 Throws an E_USER_NOTICE for invalid filter type
1 year ago
fadrian06 71a01c3711 Improved error reporting in Dispatcher
1 year ago
fadrian06 631d4a26c2 Added method chaining Dispatcher::hook and FILTER_TYPES consts
1 year ago
fadrian06 e35fc32a97 Chaining method definitions in Dispatcher::set()
1 year ago
fadrian06 28b6c99561 Improved docblocks in Engine class
1 year ago
fadrian06 aeb8911038 Improved docblocks
1 year ago
Austin Collier 4c60454fa0 beautified
1 year ago
Austin Collier aaf6a44a2c fixed bug with root alias
1 year ago
n0nag0n df90d69787 so many phpcs fixes. No more, no more!
1 year ago
n0nag0n ff6fa74d51 Merge branch 'master' into easier-access-to-request-headers
1 year ago
n0nag0n 2db95a0d7b added getHeaders()
1 year ago
n0nag0n 537ea032d8 request header shortcut and lots of unit test fixes for phpcs
1 year ago
fadrian06 7015e5d3ba Moved copyright and license to a public place :D
1 year ago
fadrian06 f8a3b841cf Flight and Engine docblocks refactored
1 year ago
fadrian06 84877b34f4
Merge pull request #530 from flightphp/async-related
1 year ago
fadrian06 eba7e7e7ce Parameters renamed to simplify docblock
1 year ago
fadrian06 44a056ca30 Fixed phpcs format problems in the rest of Flight modules
1 year ago
fadrian06 def0e65965 Solved Engine::class phpcs problems
1 year ago
Austin Collier c6754dfe59 added some methods to help with async frameworks
1 year ago
Austin Collier cc4338a34b added PSR12 coding style to files.
1 year ago
fadrian06 751f17be0d Fixed conflicting typehint in Loader::class
1 year ago
fadrian06 13fd2eb96a Removed unused docblocks in Collection::class
1 year ago
fadrian06 03b7a5fd29 Added typehints to Loader::class
1 year ago
fadrian06 c054e1430d Fixed docblocks in Dispatcher::class
1 year ago
fadrian06 875d25f308 Remove unused docblocks in Router::class
1 year ago
fadrian06 7dd251a3bd Removed unused docblocks in Route::class
1 year ago