Commit Graph

410 Commits (049d445c58cbaccff9965dff926fb3d8a3bbbdc2)

Author SHA1 Message Date
n0nag0n 2762daf4f4
Merge pull request #630 from flightphp/remove-cache-headers
9 months ago
n0nag0n b6ab088888
Merge pull request #622 from flightphp/new-request-object
9 months ago
n0nag0n 7dd52c9ee6 Reset router to beginning
9 months ago
n0nag0n 2c9b02ec28 removed cache breaking behavior
9 months ago
n0nag0n f4115927fb
Merge pull request #627 from flightphp/json-charset
9 months ago
n0nag0n 3a84a9aaf2 removed utf8 from json function, add default flags, and more unit tests
9 months ago
Joan Miquel 78e3a5ed6a
Revert setEngine()
9 months ago
Joan Miquel ca7b5b47b9
Simplify Flight and faster performance
9 months ago
n0nag0n 25250bf44e Added ability to generate new requests/responses on duplicate start()
9 months ago
n0nag0n ce088c86dc Fix Unit test errors, correct logic
9 months ago
KnifeLemon 1b57f9eb2b
Added PUT, PATCH, DELETE methods for data
9 months ago
n0nag0n f4f3c7a342 Fixed multiple trailing slashes issues. Also fixed server test for 405 and 404
10 months ago
n0nag0n 882a956bd0 added some fixes to get this working in windows locally
10 months ago
n0nag0n cc1597a58a fix bad resolve
1 year ago
n0nag0n bc001b7104
Merge branch 'master' into feat/route-compact-syntax
1 year ago
n0nag0n a788c8a608 prettify
1 year ago
n0nag0n edcd1ad092 got unit tests up and running
1 year ago
Austin Collier b6220f7dc8 Added ability to handle file uploads in a simple way
1 year ago
n0nag0n f697e30afa added unit and integration tests
1 year ago
Pierre Clavequin f08b9bcbfb feat: method to download files easily
1 year ago
n0nag0n 4a93c661a8 corrected the cache behavior in some areas
1 year ago
Austin Collier ba80e047b1 prettified and added max-age=0
1 year ago
Austin Collier f06febdb2d changed default cache behavior
1 year ago
Billtec af2891f568
fix: make the jsonHalt a static function as the user guide indicates
1 year ago
n0nag0n a12d474006 beautify
1 year ago
n0nag0n 7127c3ba17 Moved the function over and fleshed it out
1 year ago
fadrian06 3d2dccb72a Started draft of route compact syntax
1 year ago
fadrian06 39ac87c54b
Merge pull request #581 from flightphp/fix/bug-with-multiple-view-renders
1 year ago
fadrian06 a68fc32204 Unnecessary explicitness :|
1 year ago
fadrian06 f3453cab17 Simplified fix thanks to @vlakoff (https://github.com/vlakoff)
1 year ago
Austin Collier 33676872ed Maintains headers on redirect, error, and halt. Added jsonHalt
1 year ago
Austin Collier 27718cfea7 added ability to throw a method not found instead of 404
1 year ago
n0nag0n c3c5c29f7c
Merge pull request #585 from flightphp/middleware-use-container
2 years ago
n0nag0n 234b3ddb0a changed it so runway commands are run from any repo
2 years ago
n0nag0n f8811e1d8b allowed for middlewares to be created with container
2 years ago
fadrian06 eadf433334 Added flag to not break Flight users code
2 years ago
fadrian06 161a35a0a2 Added test on ViewTest
2 years ago
n0nag0n deb0d68875 added plain stream() method
2 years ago
fadrian06 11de67fde9 Made stream default status code of 200
2 years ago
n0nag0n 77d313190d added unit test, corrected other response logic
2 years ago
Belle Aerni 3659a76106 Fix content length when using response body callbacks
2 years ago
Austin Collier 9be596f0bf lots of phpcs errors to fix
2 years ago
Austin Collier 7fca8d9a45 added ability to convert the response body
2 years ago
fadrian06 414f605f67 More abstraction to Dispatcher::containerException typehint
2 years ago
fadrian06 8f3f6b5c74 Make explicit comparisons
2 years ago
fadrian06 99a7d75440 Removed PSR/Container
2 years ago
fadrian06 389ebfd329 Add PSR/Container dependency for type hint and expose the API
2 years ago
fadrian06 43b689fa6c Add Short After Filter Syntax with one parameter
2 years ago
fadrian06 4616f521cd Dispatcher refactor
2 years ago
fadrian06 d931b41b46 Improved docblocks
2 years ago
fadrian06 e322135d9c Add symfony/polyfill-80
2 years ago
fadrian06 62f15baf55 Merge branch 'master' into dispatcher-refactor
2 years ago
n0nag0n fe2ad0c05e
Merge pull request #566 from flightphp/v2-loader
2 years ago
n0nag0n 3fda2b42f2
Merge pull request #564 from flightphp/misc-fixes
2 years ago
Austin Collier 43300d5758 added ability to load classes with _ in them
2 years ago
n0nag0n 4b4f07ea56 added comment, removed unused file reference.
2 years ago
n0nag0n 79ffb61f94 phpunit fixes for deprecated notices. Also pdowrapper reset removal
2 years ago
Austin Collier 54403bede8 One last test to make sure Dice maintains the same instance
2 years ago
Austin Collier 1b6c5b942b refactored some errors. UI Tests and cleanup.
2 years ago
Austin Collier dbf05ebf40 Lots more tests. Now will dynamically create object with engine instance.
2 years ago
Austin Collier f752073f7d more testing and catching things.
2 years ago
Austin Collier 3f887e305f Added more tests. Captured callable exception thrown
2 years ago
Austin Collier f610adfc14 lots more testing around containers
2 years ago
n0nag0n 6d41115e9a initial commit for containerization
2 years ago
n0nag0n 412596e863
Merge pull request #558 from flightphp/request-improvements
2 years ago
n0nag0n 018ca42836
Merge pull request #556 from flightphp/pdowrapper-collection
2 years ago
Austin Collier 9786820474 Misunderstanding with $config
2 years ago
Austin Collier 42a3d84d8a Changed Collection to allow for reset
2 years ago
Austin Collier f4c5405d1b little changes to requests and integration testing JSON POST requests
2 years ago
Austin Collier 1d3b224ef6 changed it so PdoWrapper returns collections
2 years ago
Austin Collier 38e20242bf beautify
2 years ago
Austin Collier 5406bbedc1 added test coverage and clearing body for head requests
2 years ago
Belle Aerni 296c9b57d5 Also register HEAD for GET routes
2 years ago
Daniel Schreiber e6a29c7476 fix: handle encoded slashes for url parameters - fixes #552
2 years ago
n0nag0n 735dafefb9
Merge pull request #550 from flightphp/overwrite-body
2 years ago
n0nag0n 0622fd1c2b fixed issues with @params_with_underscores and prepopulate getUrl() params.
2 years ago
n0nag0n c1ba04d96e added deprecated tag to stop. Halt is better
2 years ago
n0nag0n 47cd98e78e added ability to overwrite the body
2 years ago
fadrian06 2474371e35 Merge branch 'master' into dispatcher-refactor
2 years ago
Austin Collier ea8eb37480 Merge branch 'stream-response' of https://github.com/flightphp/core into stream-response
2 years ago
Austin Collier 090a6f1922 few minor changes from code review
2 years ago
fadrian06 c40b0b7759 Simplified docblocks
2 years ago
Austin Collier 788ddb6137 added streaming responses. Fixed JSONP.
2 years ago
fadrian06 253c86482e Fixed yoda comparisons
2 years ago
n0nag0n 2439f20d27 corrected spacing
2 years ago
n0nag0n d8aa490dbd fix for JSON in v3 output buffering
2 years ago
fadrian06 3fba60ca7f Apply some fixes of phpcs
2 years ago
fadrian06 4d064cbb6d Applied phpcbf
2 years ago
n0nag0n 4d4c0d5420 added helpers to req/resp and cleaned up phpcs/stan errors
2 years ago
n0nag0n a60a31c4bd added constant
2 years ago
n0nag0n e29f3b5533 snakeCased parameter, and added v2 unit testing behaviors
2 years ago
n0nag0n e696bd9135 removed unnecessary code
2 years ago
n0nag0n feee086e2b initial commit to overhaul output buffering
2 years ago
Austin Collier 1d810b6c78 fixed leftover variable
2 years ago
Austin Collier 9c437d97c8 Merge branch 'master' into fix-dispatcher-error-message
2 years ago
Austin Collier fe46e25d0e removed notice on setting error messages
2 years ago
fadrian06 327d043709 Separated Dispatcher::run in runPreFilters(), runEvent() and runPostFilters()
2 years ago
fadrian06 b2d7164be0 Better Dispatcher documentation
2 years ago
fadrian06 72882b24de Without parentheses, it was interpreting Closure(): (void|mixed|callable)
2 years ago
fadrian06 84dbed0dc0 What's sense of using phpcs with ignored rules :\
2 years ago