Commit Graph

  • 0630569f56 Merge pull request #592 from skipperbent/master Simon Sessingø 2023-02-09 02:30:02 +01:00
  • b82e29c864 Merge pull request #614 from DeveloperMarius/non-ascii-chars-urlencoding Simon Sessingø 2023-02-09 02:29:25 +01:00
  • 9c79901316 Merge pull request #604 from xJuvi/xJuvi-patch-1 Simon Sessingø 2023-02-09 02:28:34 +01:00
  • fbc87cc9bd Merge pull request #589 from mauroagr/patch-1 Simon Sessingø 2023-02-09 02:26:36 +01:00
  • 301c2cfe4a fixed urldecode request-uri header DeveloperMarius 2022-03-01 15:39:31 +01:00
  • 01bad94af0 Update Router.php Hannes 2022-02-02 15:20:23 +01:00
  • a1d5f38af7 Add function to fetch currect processing route Hannes 2022-01-02 21:59:39 +01:00
  • b5e42dbdfb Make current processing rule accessible Hannes 2022-01-02 14:42:43 +01:00
  • 06a63eb0e7 Fix Typo Stefan Warnat 2021-10-04 02:02:45 +02:00
  • 5268a998ff Extend domain filter to support fixed subdomain and domain parameter Stefan Warnat 2021-10-04 01:49:42 +02:00
  • 9fa7ad3e91 implement test Function to test output without reset Stefan Warnat 2021-10-04 01:49:00 +02:00
  • 0097725ef2 Update in error status code Mauro Tschiedel 2021-09-01 08:22:12 -03:00
  • 749f252ffb Merge pull request #584 from skipperbent/v4-release 5.0.0.0 Simon Sessingø 2021-07-18 01:45:46 +02:00
  • 032a2ae7e0 Merge pull request #583 from skipperbent/v4-development 4.3.7.2 Simon Sessingø 2021-07-18 01:45:36 +02:00
  • c2e2d3bb5d Merge pull request #582 from skipperbent/v4-group-prefix-bug Simon Sessingø 2021-07-18 01:44:57 +02:00
  • 5dd0690009 Fixed issue causing group prefix to trigger on paths without "/" (issue #573 - thanks @Venloress). Simon Sessingø 2021-07-18 01:41:26 +02:00
  • dbcf8f19a3 Merge pull request #581 from skipperbent/v4-release Simon Sessingø 2021-07-17 22:01:09 +02:00
  • ee61eda1e8 Merge pull request #580 from skipperbent/v4-development 4.3.7.1 Simon Sessingø 2021-07-17 22:00:22 +02:00
  • 471bbe137f Updated documentation Simon Sessingø 2021-07-17 21:59:23 +02:00
  • b08dea9da5 Merge pull request #579 from skipperbent/v4-release Simon Sessingø 2021-07-17 21:57:11 +02:00
  • b17ba06a8c Merge pull request #578 from skipperbent/v4-development 4.3.7.0 Simon Sessingø 2021-07-17 21:56:47 +02:00
  • 69494265a5 Merge pull request #577 from skipperbent/v4-prevent-merge-attribute Simon Sessingø 2021-07-17 21:54:07 +02:00
  • 0d8915b206 Fixed return type. Simon Sessingø 2021-07-17 21:52:00 +02:00
  • b54a25804a Added group attribute to stop router from merging exception-handlers (issue: #573) - Added new mergeExceptionHandlers attribute to stop router from merging exception-handlers. - RouteGroup: Added setMergeExceptionHandlers and getMergeExceptionHandlers methods. - IRouteGroup: Added setMergeExceptionHandlers and getMergeExceptionHandlers method. - Updated documentation to reflect changes. - Added unit-tests. Simon Sessingø 2021-07-17 21:46:05 +02:00
  • e3145cc1ec Merge pull request #576 from skipperbent/v4-release Simon Sessingø 2021-07-16 22:31:20 +02:00
  • 4b8dbdc9e5 Merge pull request #575 from skipperbent/v4-development 4.3.6.2 Simon Sessingø 2021-07-16 22:31:06 +02:00
  • 7fe66ac938 Updated documentation - Changed Router references to SimpleRouter. - Updated ErrorHandler example. - Minor tweaks Simon Sessingø 2021-07-16 22:28:54 +02:00
  • 75ea58dd9c Merge pull request #569 from skipperbent/v4-release Simon Sessingø 2021-06-15 10:16:37 +02:00
  • e5552a88cf Merge pull request #568 from skipperbent/v4-development 4.3.6.1 Simon Sessingø 2021-06-15 10:16:25 +02:00
  • 7d80517c2f Merge pull request #567 from skipperbent/v4-setmatch-parameters Simon Sessingø 2021-06-15 10:13:54 +02:00
  • b3c135c723 Development - Fixed DebugHandler::fireEvent not providing correct arguments when calling fireEvents. - Fixed custom regex setMatch not setting parsed parameters correctly (issue: #566). - Added unit-tests for catching issue in the future. - Added php-stan typehints. Simon Sessingø 2021-06-15 10:10:38 +02:00
  • 470000ad05 Merge pull request #564 from skipperbent/v4-release Simon Sessingø 2021-06-09 09:19:27 +02:00
  • e990b95c50 Merge pull request #563 from skipperbent/v4-development 4.3.6.0 Simon Sessingø 2021-06-09 09:19:14 +02:00
  • a35400b7a0 Merge pull request #562 from skipperbent/v4-cleanup-bugfixes Simon Sessingø 2021-06-09 09:16:39 +02:00
  • 22606dfc12 Updates Simon Sessingø 2021-06-09 09:13:11 +02:00
  • 5cd6cab801 Development - Fixed issue causing default-namespace to add duplicate namespace when using type-hints (issue: #561). - Fixed phpstan issues. - Tests: Fixed TestRouter not resetting namespace upon reset. - Tests: Added NSController (namespace controller) class. - Tests: added test for class hint + default namespace case. - Composer: added phpstan support + configuration. - Composer: updated phpunit version. Simon Sessingø 2021-06-09 08:54:24 +02:00
  • 3ffe9c8c07 Merge pull request #560 from skipperbent/v4-release Simon Sessingø 2021-05-20 15:19:12 +02:00
  • 319ce7a569 Merge pull request #559 from skipperbent/v4-development 4.3.5.0 Simon Sessingø 2021-05-20 15:19:00 +02:00
  • 4dff4006bf Merge pull request #558 from skipperbent/v4-exists-array Simon Sessingø 2021-05-20 15:15:51 +02:00
  • eea30d0f59 Simplified RouteController and RouteResource by moving common group-match code to parent method. Simon Sessingø 2021-05-20 15:15:26 +02:00
  • ece9d30905 Added support for InputHandler::exists to check array of indexes. - Updated documentation to reflect changes. Simon Sessingø 2021-05-20 15:03:56 +02:00
  • 44c2b99513 Merge pull request #557 from skipperbent/v4-release Simon Sessingø 2021-05-19 22:05:56 +02:00
  • d4de7fc3df Merge pull request #556 from skipperbent/v4-development 4.3.4.2 Simon Sessingø 2021-05-19 22:05:44 +02:00
  • 03ef9dfb74 Merge pull request #555 from skipperbent/v4-error-group-fix Simon Sessingø 2021-05-19 22:03:39 +02:00
  • 4c5f825c97 Fixed issue with SimpleRouter::error not firing within group (issue: #551). - Fixed variable incorrect variable reference in InputItem class. - Added new Router::addExceptionHandler method. - Added parameter types in Url class. - Fixed phpdoc parameter-type for Request::getHeader. Simon Sessingø 2021-05-19 22:00:42 +02:00
  • 8b9e43c99e Merge pull request #554 from skipperbent/v4-release Simon Sessingø 2021-05-19 04:43:40 +02:00
  • b7c31ae434 Merge pull request #553 from skipperbent/v4-development 4.3.4.1 Simon Sessingø 2021-05-19 04:43:29 +02:00
  • 0c329e4c5b Merge pull request #552 from skipperbent/v4-exception-callback-fix Simon Sessingø 2021-05-19 04:42:35 +02:00
  • e057a76153 Removed unused variable. Simon Sessingø 2021-05-19 04:41:36 +02:00
  • f7f1f1e3de Fixed issue causing SimpleRouter::exception helper not to work when used within a group (issue: #551) Simon Sessingø 2021-05-19 04:31:50 +02:00
  • c4a9918048 Merge pull request #550 from skipperbent/v4-release Simon Sessingø 2021-05-19 00:45:48 +02:00
  • f93621fa02 Merge pull request #549 from skipperbent/v4-development 4.3.4.0 Simon Sessingø 2021-05-19 00:45:32 +02:00
  • 5ab8826bfb Merge pull request #548 from skipperbent/v4-inputitem-array Simon Sessingø 2021-05-19 00:42:48 +02:00
  • f863f931d8 Fixed php8 php-unit tests compatibility. Simon Sessingø 2021-05-18 18:08:41 +02:00
  • 0d6326dfbb InputHandler optimisations. - InputItem can now be used like array (for example: input()->get('items')[0]) if value is array. - Changed default-value parameter for get, post, file can now be mixed to allow object as return-type. Simon Sessingø 2021-05-18 18:00:18 +02:00
  • 63a9ec65cf Merge pull request #545 from skipperbent/v4-release Simon Sessingø 2021-05-02 14:00:27 +02:00
  • 448a423d5d Merge pull request #544 from skipperbent/v4-development 4.3.3.0 Simon Sessingø 2021-05-02 14:00:10 +02:00
  • df9a855579 Merge pull request #543 from skipperbent/v4-bugfixes Simon Sessingø 2021-05-02 13:58:00 +02:00
  • d6bd9bbd72 Development - [FEATURE] Namespace overwrite now works globally. 'Service¨' will append namespace whereas '\Service' will overwrite it. - [FEATURE] Exceptionhandlers are now rendered in reverse order from newest to oldest. This allows for exceptions to be handled from parent exceptions which were otherwise ignored. - Fixed incorrect return type for InputFile::getError to nullable int. - Added return type to all, match, controller and resource in SimpleRouter class. - Fixed incorrect usage of parse_str in Url::setQueryString method. - Fixed incorrect expected value in array_flip in Url::removeParams method. Simon Sessingø 2021-05-02 13:48:13 +02:00
  • 14d3577a6a Merge pull request #542 from skipperbent/v4-release Simon Sessingø 2021-04-28 10:05:46 +02:00
  • 569b3a8760 Merge pull request #541 from skipperbent/v4-development 4.3.2.3 Simon Sessingø 2021-04-28 10:05:34 +02:00
  • 79a075ef49 Merge pull request #540 from skipperbent/v4-type-hint-notice Simon Sessingø 2021-04-28 10:03:55 +02:00
  • c66d7f7df7 Fixed deprecated notice when using class type hinting (issue: #538) Simon Sessingø 2021-04-28 09:57:47 +02:00
  • 869c65f347 Merge pull request #539 from skipperbent/v4-release Simon Sessingø 2021-04-28 03:42:42 +02:00
  • c6d0ff3c0e Merge pull request #536 from skipperbent/v4-development 4.3.2.2 Simon Sessingø 2021-04-28 03:41:47 +02:00
  • 718d60c53b Removed return type from IResourceController as the return type can be mixed. Simon Sessingø 2021-04-04 11:21:26 +02:00
  • 4fc48b4420 Merge pull request #535 from skipperbent/v4-release Simon Sessingø 2021-04-01 03:16:46 +02:00
  • 2a573f27fe Merge pull request #534 from skipperbent/v4-development 4.3.2.1 Simon Sessingø 2021-04-01 03:16:29 +02:00
  • ecbb0825e0 Added include param parameter to Url::getAbsoluteUrl method. Simon Sessingø 2021-04-01 03:14:22 +02:00
  • b94dc4355f Optimisations Simon Sessingø 2021-04-01 03:11:05 +02:00
  • 52c6c226c0 [BUGFIX] Fixed issue with BaseCsrfVerifier matching urls against urls with parameters. - Added optional $includeParams parameter to Url::getRelativeUrl method. Simon Sessingø 2021-04-01 03:04:32 +02:00
  • bef3207fcd Merge pull request #533 from skipperbent/v4-release Simon Sessingø 2021-04-01 02:38:10 +02:00
  • 982fb9fab4 Merge pull request #532 from skipperbent/v4-development 4.3.2.0 Simon Sessingø 2021-04-01 02:37:52 +02:00
  • ca8fbf2b27 Merge pull request #531 from skipperbent/v4-feature-ip Simon Sessingø 2021-04-01 02:35:40 +02:00
  • e4584a451d Improved phpDoc for prepend methods Simon Sessingø 2021-03-31 13:31:20 +02:00
  • 8b11377fe8 Fixed typo Simon Sessingø 2021-03-31 03:25:35 +02:00
  • eccda10169 Added prependPrefix to Group class & updated documentation. Simon Sessingø 2021-03-31 03:23:04 +02:00
  • d92d50ecdc Updated features in documentation Simon Sessingø 2021-03-31 03:08:01 +02:00
  • dca0389115 Merge branch 'v4-development' into v4-feature-ip Simon Sessingø 2021-03-31 03:00:16 +02:00
  • 7adb4e8597 Fixed wrong link for partial-groups Simon Sessingø 2021-03-31 02:40:24 +02:00
  • b0e4becbba Merge branch 'v4-development' of github.com:skipperbent/simple-php-router into v4-development Simon Sessingø 2021-03-31 02:36:48 +02:00
  • 3b8e92b406 Updated documentation table of contents Simon Sessingø 2021-03-31 02:36:11 +02:00
  • 0e393fdc5f Minor changes - Added better description of partialGroups in the documentation. - Added custom base path example in documentation. - Added isSubRoute event parameter for EVENT_ADD_ROUTE. - Removed deprecation phpDoc from partialGroup. - Added unit-test for adding custom base path. Simon Sessingø 2021-03-31 02:31:56 +02:00
  • 56c73640b7 Merge pull request #530 from skipperbent/v4-feature-verifier Simon Sessingø 2021-03-31 01:02:05 +02:00
  • f91f280975 Added https scheme to Request::setUri (used when calling getAbsoluteUrl). Simon Sessingø 2021-03-30 21:13:06 +02:00
  • 40f9b72963 Updated documentation Simon Sessingø 2021-03-30 20:52:39 +02:00
  • 245b909ab6 Updated readme Simon Sessingø 2021-03-30 20:48:37 +02:00
  • 50b7129cab Changed name of IpBlockAccess to IpRestrictAccess & updated documentation. Simon Sessingø 2021-03-30 20:44:40 +02:00
  • 57047d23ea [FEATURE] Ip access block Simon Sessingø 2021-03-30 20:38:18 +02:00
  • a98b5ba842 Fixed unit-tests for CsrfVerifierTest Simon Sessingø 2021-03-30 18:54:45 +02:00
  • b3d28e9432 [FEATURE] Added include åproperty to BaseCsrfVerifier + unit tests. Simon Sessingø 2021-03-30 18:49:37 +02:00
  • d7bdee1092 Merge pull request #529 from skipperbent/v4-release Simon Sessingø 2021-03-29 22:31:18 +02:00
  • d0c34255b5 Merge pull request #528 from skipperbent/v4-development 4.3.1.0 Simon Sessingø 2021-03-29 22:31:01 +02:00
  • 5a917a6905 Merge pull request #526 from skipperbent/v4-php8-fix Simon Sessingø 2021-03-29 22:28:44 +02:00
  • be2d45f0ad Updated documentation Simon Sessingø 2021-03-29 22:24:02 +02:00
  • dd9a6eab7d [FEATURE] Added class + method loading to IClassLoader. Simon Sessingø 2021-03-29 22:15:55 +02:00
  • 5621ffc724 Updated documentation Simon Sessingø 2021-03-29 22:04:46 +02:00
  • 438193ef59 Added deprecated warning for RoutePartialGroup. Simon Sessingø 2021-03-29 21:59:30 +02:00
  • adc879bb13 [BUGFIX] Fixed InputHandler::find and InputHandler::value failing when using array methods. Simon Sessingø 2021-03-29 18:45:49 +02:00
  • 06ee78a48f Updated example for group parameters Simon Sessingø 2021-03-29 17:41:18 +02:00