Commit Graph

517 Commits (e42c7848c4dba805d4bfbadf95fef51527b93ab7)

Author SHA1 Message Date
fadrian06 ddb57620a0 add default template values in FilteredCallable
3 weeks ago
fadrian06 b0203d861c deprecate Dispatcher@runPreFilters, runEvent, runPostFilters and filter.
3 weeks ago
fadrian06 80705ec158 update Dispatcher@run, set, get, has, hook, clear and reset to use the namedFilteredCallable property
3 weeks ago
fadrian06 2d772f3642 update Dispatcher description
3 weeks ago
fadrian06 2673435197 update before and filters signature
3 weeks ago
fadrian06 5ea5d5b8ad add Dispatcher namedFilteredCallables property
3 weeks ago
fadrian06 2682e3298f add FilteredCallable to replace Dispatcher events to named callables (self explanatory).
3 weeks ago
fadrian06 bb6932e92e throw OutOfBoundsException instead of Exception when event name hasn't been set
3 weeks ago
fadrian06 bf3f86d619 reuse Dispatcher@get in Dispatcher@has
3 weeks ago
fadrian06 7379be00ac simplify Dispatcher events values typehint
3 weeks ago
fadrian06 318852b19b deprecate Dispatcher filters property
3 weeks ago
fadrian06 1ae2bafeee deprecate Dispatcher events property
3 weeks ago
fadrian06 7beabae36d improve Dispatcher description to reflect its responsibility for dispatching named callables
3 weeks ago
fadrian06 188f147c7d invert Dispatcher@setContainerHandler conditional and remove $containerFQCN
4 weeks ago
fadrian06 5c89341428 clarify Dispatcher@run parameters and allows to throw errors inside events or filters
4 weeks ago
fadrian06 988c64ed22 rename $containerInterfaceNS -> $containerFQCN and extract InvalidArgumentException $message argument
4 weeks ago
fadrian06 0b0737f533 remove $this of return type, it's incompatible with self return type
4 weeks ago
fadrian06 8a4818cf87 improve typehint of keys before and after inside all events in the Dispatcher $filters property
4 weeks ago
fadrian06 ae735c1845 remove Dispatcher properties redundants explanations
4 weeks ago
fadrian06 12607d9500 rename Psr\Container\ContainerInterface -> Container
4 weeks ago
fadrian06 6c5d9de3ca remove Engine @template
4 weeks ago
fadrian06 32ff66428d use raw copyright links for compatibility
4 weeks ago
fadrian06 cff442d964 normalize and simplify @copyright and @license phpdoc tags based on phpDocumentor recommendations to clean symbols hovers
4 weeks ago
n0nag0n d8fe78449c Fix flight.allow_method_override not disabling method override (GHSA-vr9m-jx6f-hhj6)
4 weeks ago
n0nag0n 98c9c89893 Align Runway generators with skeleton App\ layout and fix suite gates
1 month ago
n0nag0n 53d422001e feat(ai): generate AGENTS.md in ai:generate-instructions command
2 months ago
copilot-swe-agent[bot] 46e457f9c5
Merge master into autoload-rework
3 months ago
fadrian06 d58cbacda1 restore and improve custom autoloader
3 months ago
fadrian06 cf553d36d4 remove flight/autoload.php
3 months ago
fadrian06 47a3702927 refactor LoaderTest
3 months ago
fadrian06 db343815a3 normalize dirs
3 months ago
fadrian06 9aab65b7f6 fix Loader::register docblock
3 months ago
fadrian06 921c51a5d6 use is_iterable in Loader::register
3 months ago
fadrian06 1a37f91b99 add flight\ psr-4 autoloader
3 months ago
fadrian06 90a72aef7c move Flight to a classmap
3 months ago
fadrian06 2c47c5ec0e simplify Request@getHeader and @header docblocks
3 months ago
fadrian06 5ac0ab48a7 Fix Property flight\net\Route::$alias (string) on left side of ?? is not nullable.
3 months ago
fadrian06 a1faf4f00b fix: Failed asserting that exception message 'Target directory is not writable' contains 'Invalid target path: contains directory traversal'.
3 months ago
n0nag0n 60bf7921f2 Throw when middleware class is missing or cannot be resolved
3 months ago
KnifeLemon 02fe881d27 fix wildcard routes being skipped by fast path method lookup closes #693
5 months ago
n0nag0n 924f231baa security fixes
5 months ago
fadrian06 14aa4cb4be fix all phpstan l6 errors
6 months ago
fadrian06 08904df138 ignore namespaces phpcs warning
6 months ago
fadrian06 b55540068e fix almost long lines phpcs warnings
6 months ago
fadrian06 29595ef9e1 composer exec phpcbf -- --standard=PSR2
6 months ago
fadrian06 17b300680d apply lsp-intelephense format to flight folder
6 months ago
Mr Percival a3f47bc902 Ignore LiMIT when using RETURNING
8 months ago
n0nag0n dd39d4adad fixed spacing
8 months ago
n0nag0n ff17dd591d Added SimplePdo class to replace PdoWrapper
8 months ago
Arshid e644461129 Add return type
8 months ago
n0nag0n 888ff46d26 Fixed route and controller commands to accept old configs
9 months ago
n0nag0n 175e9eb656
Merge branch 'master' into update-ai-commands
9 months ago
n0nag0n 009f2f9bad Fix AI commands to use new runway config syntax
9 months ago
飞扬 70379a9413
Update RouteCommand.php
9 months ago
riku 40f176fa3a
Fixed an issue where `Flight::request()->base` would display only a yen symbol in Windows environments without a parent directory.
10 months ago
KnifeLemon 09cb95c6e8 revert: Re-add string type hint to Response::write() parameter
11 months ago
n0nag0n b174bdbc6f more changes with upload. Security enhancements. Also got rid of php-watcher
11 months ago
KnifeLemon 049d445c58 fix: Support file uploads for non-POST HTTP methods (PATCH, PUT, DELETE)
11 months ago
n0nag0n a8b61f2561 Merge branch 'master' of https://github.com/KnifeLemon/core
11 months ago
n0nag0n 671fea075c adjustments for security, 100% coverage and phpcs
11 months ago
KnifeLemon 5ccc8fba98 Merge branch 'master' of https://github.com/KnifeLemon/core
11 months ago
KnifeLemon dc56ca2c4a fix: allow non-string types in Response::write() to prevent TypeError
11 months ago
KnifeLemon 82daf71d0a
Apply suggestions from code review
11 months ago
KnifeLemon 9ab2695d48 fix: add null coalescing for undefined superglobals
11 months ago
KnifeLemon 42ad8ae23f refactor: simplify upload_max_filesize unit conversion with fallthrough switch
11 months ago
KnifeLemon 144327da78 Revert "fix: add null coalescing for undefined superglobals"
11 months ago
KnifeLemon a1e1c5010a Merge branch 'master' of https://github.com/KnifeLemon/core
11 months ago
KnifeLemon 66a91e042c Revert to previous code
11 months ago
KnifeLemon 2c980eb7ed Revert to previous code
11 months ago
KnifeLemon bbf5204da6 fix: initialize tmp_name as empty string instead of null
11 months ago
KnifeLemon 41dc0e3678
Apply suggestions from code review
11 months ago
KnifeLemon 847a0d51f0 fix: add null coalescing for undefined superglobals
11 months ago
KnifeLemon 68b9306d30
Apply suggestions from code review
11 months ago
KnifeLemon 106955a82e add multipart parsing for PUT/PATCH/DELETE methods and comprehensive tests
11 months ago
KnifeLemon ca46fd041d fix file upload handling to preserve array format for single files
11 months ago
KnifeLemon f0bd5dda81 fixed multiple file upload errors
11 months ago
n0nag0n c9da0675d9 added accept header negotiations, OPTIONS method Allow header and, better method handling.
11 months ago
n0nag0n 4d9f0f42bd Added response test and did some sanitizing
11 months ago
n0nag0n 053227b3b0 adjusted phpstan linting to be friendlier and changed download() to also specify file name
11 months ago
n0nag0n f0dc1b1adf
Merge pull request #658 from flightphp/router-performance
1 year ago
n0nag0n a85790a20c
Update flight/net/Request.php
1 year ago
n0nag0n 8ecb93f2df router performance enhancements
1 year ago
n0nag0n c8f39b7a11 improvements with the request class
1 year ago
n0nag0n eecbdc3895 a few fixes from Copilot review
1 year ago
n0nag0n 3d0599eb67 added JSON util to use elsewhere
1 year ago
n0nag0n 3d8149ad1b Finally found the horrific memory leak!
1 year ago
n0nag0n 6742770cc1 Added unit tests and adjusted some syntax
1 year ago
n0nag0n dcb7ff9687 Added AI commands and instructions for the repo.
1 year ago
n0nag0n 9215b905c8 feat(request): Add servername property to Request class
1 year ago
n0nag0n c470a65a8e Fixed issue with data in view class
1 year ago
n0nag0n 0abf1b9b16 fixed issues with php8-named-arguments
2 years ago
n0nag0n 62f31d7856
Merge pull request #638 from flightphp/duplicated-slash-in-groups-support
2 years ago
n0nag0n 22570b9987
Merge pull request #548 from flightphp/php8-named-arguments-support
2 years ago
n0nag0n a2c74ddadd added event cache check and tweaked middleware event
2 years ago
fadrian06 15ff651e77 support for duplicated slashes in nested groups
2 years ago
fadrian06 5425955dd7 fix php 7.4 invalid syntax
2 years ago
fadrian06 72ac51e141
Merge branch 'master' into php8-named-arguments-support
2 years ago
fadrian06 59c9c0330f improve ::registerContainerHandler docblock
2 years ago
fadrian06 8ccbd7ac9e support for containers that resolve automatically dependencies without adding explicitly
2 years ago
fadrian06 7292464d1c Flight::path($path) -> ($dir) to match Engine::path($dir)
2 years ago