Commit Graph

349 Commits (master)

Author SHA1 Message Date
Austin Collier 3f887e305f Added more tests. Captured callable exception thrown
10 months ago
Austin Collier f610adfc14 lots more testing around containers
10 months ago
n0nag0n 6d41115e9a initial commit for containerization
10 months ago
n0nag0n 412596e863
Merge pull request #558 from flightphp/request-improvements
10 months ago
n0nag0n 018ca42836
Merge pull request #556 from flightphp/pdowrapper-collection
10 months ago
Austin Collier 9786820474 Misunderstanding with $config
10 months ago
Austin Collier 42a3d84d8a Changed Collection to allow for reset
10 months ago
Austin Collier f4c5405d1b little changes to requests and integration testing JSON POST requests
10 months ago
Austin Collier 1d3b224ef6 changed it so PdoWrapper returns collections
10 months ago
Austin Collier 38e20242bf beautify
10 months ago
Austin Collier 5406bbedc1 added test coverage and clearing body for head requests
10 months ago
Belle Aerni 296c9b57d5 Also register HEAD for GET routes
10 months ago
Daniel Schreiber e6a29c7476 fix: handle encoded slashes for url parameters - fixes #552
11 months ago
n0nag0n 735dafefb9
Merge pull request #550 from flightphp/overwrite-body
11 months ago
n0nag0n 0622fd1c2b fixed issues with @params_with_underscores and prepopulate getUrl() params.
11 months ago
n0nag0n c1ba04d96e added deprecated tag to stop. Halt is better
11 months ago
n0nag0n 47cd98e78e added ability to overwrite the body
11 months ago
fadrian06 2474371e35 Merge branch 'master' into dispatcher-refactor
11 months ago
Austin Collier ea8eb37480 Merge branch 'stream-response' of https://github.com/flightphp/core into stream-response
11 months ago
Austin Collier 090a6f1922 few minor changes from code review
11 months ago
fadrian06 c40b0b7759 Simplified docblocks
11 months ago
Austin Collier 788ddb6137 added streaming responses. Fixed JSONP.
11 months ago
fadrian06 253c86482e Fixed yoda comparisons
11 months ago
n0nag0n 2439f20d27 corrected spacing
11 months ago
n0nag0n d8aa490dbd fix for JSON in v3 output buffering
11 months ago
fadrian06 3fba60ca7f Apply some fixes of phpcs
11 months ago
fadrian06 4d064cbb6d Applied phpcbf
11 months ago
n0nag0n 4d4c0d5420 added helpers to req/resp and cleaned up phpcs/stan errors
11 months ago
n0nag0n a60a31c4bd added constant
11 months ago
n0nag0n e29f3b5533 snakeCased parameter, and added v2 unit testing behaviors
11 months ago
n0nag0n e696bd9135 removed unnecessary code
11 months ago
n0nag0n feee086e2b initial commit to overhaul output buffering
11 months ago
Austin Collier 1d810b6c78 fixed leftover variable
12 months ago
Austin Collier 9c437d97c8 Merge branch 'master' into fix-dispatcher-error-message
12 months ago
Austin Collier fe46e25d0e removed notice on setting error messages
12 months ago
fadrian06 327d043709 Separated Dispatcher::run in runPreFilters(), runEvent() and runPostFilters()
12 months ago
fadrian06 b2d7164be0 Better Dispatcher documentation
12 months ago
fadrian06 72882b24de Without parentheses, it was interpreting Closure(): (void|mixed|callable)
12 months ago
fadrian06 84dbed0dc0 What's sense of using phpcs with ignored rules :\
12 months ago
Austin Collier 660a642e8a fixed bug with grouped routes
12 months ago
fadrian06 6e29e663ee Added Exception for call instance methods when a Class constructor require parameters
12 months ago
fadrian06 afba9c16a0 Fixed https://github.com/flightphp/core/pull/538#pullrequestreview-1861099821
12 months ago
fadrian06 db02086d21 Improved Dispatcher::set docblock
12 months ago
fadrian06 31c690d17b Dispatcher::reset now is also chaineable
12 months ago
fadrian06 cd79dc92b6 Can execute instance methods statically (useful for Controllers)
12 months ago
fadrian06 a15a82a209 It throws an Exception for invalid Filters array
12 months ago
fadrian06 72c50d4cb5 Throws an E_USER_NOTICE for invalid filter type
12 months ago
fadrian06 71a01c3711 Improved error reporting in Dispatcher
12 months ago
fadrian06 631d4a26c2 Added method chaining Dispatcher::hook and FILTER_TYPES consts
12 months ago
fadrian06 e35fc32a97 Chaining method definitions in Dispatcher::set()
12 months ago
fadrian06 28b6c99561 Improved docblocks in Engine class
12 months ago
fadrian06 aeb8911038 Improved docblocks
12 months 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
fadrian06 4744d6435d Removed unused docblocks in Response::class
1 year ago
fadrian06 2d6079c177 Added typehints to Request::class
1 year ago
fadrian06 b426e42e4f Added typehints to View::class
1 year ago
n0nag0n 1e4c07da52 correct unit test and removed final keywords
1 year ago
n0nag0n 8d20c002c8 Added double quotes to etag to match standards
1 year ago
n0nag0n 593e1ee9bc phpstan cleanup
1 year ago
n0nag0n 83d33348e0 old array syntax cleanup and legacy json serializable removal
1 year ago
n0nag0n 2d4c7d4bcd a few cleanup comments
1 year ago
n0nag0n a42cbfe13c
Merge pull request #515 from flightphp/dev
1 year ago
fadrian06 193cf9bb8b Removed type hints to PHP 5 compatibility
1 year ago
n0nag0n bef92303d7
Merge pull request #514 from flightphp/middleware
1 year ago
n0nag0n c98d6ce7d4 Lots of tweaks for middleware. Cleaned up old code.
1 year ago
n0nag0n b388a26765 fixed alias issue, levenshtein recommendations and coverage-check
1 year ago
fadrian06 147c42449d Added PHP Type hints to View class
1 year ago
fadrian06 7ac12b7891 Removed repeated code
1 year ago
fadrian06 dc5f1a9c08 Engine::_getUrl() docblock fixed
1 year ago
fadrian06 9cd5b9dc0d Fixed windows directory separator compatibility
1 year ago
Austin Collier f543d74bfe Middleware code
1 year ago
Austin Collier c7a143db04 fixed issue with multiline possibilities in url query
1 year ago
Austin Collier 8bd7fd035b fixed params with numbers
1 year ago
Austin Collier 74d2fd7002 Fixes for group routing
1 year ago
Austin Collier 387f15bd8b fixed optional params with aliasing
1 year ago
n0nag0n fd4ce43c44 added route alias to engine/flight
1 year ago
n0nag0n 7991530761 Route alias and phpstan updates
1 year ago
n0nag0n ceeab06e45
Merge pull request #505 from flightphp/database-class
1 year ago
Austin Collier a5f2a5e771 Unit tests and such
1 year ago
Austin Collier 2948308898 Documentation and Pdo Wrapper
1 year ago
Austin Collier 65b3d5445f Lots more unit testing for group based routing
1 year ago