Commit Graph

  • 36388f0f79 Merge pull request #396 from skipperbent/v4-development 4.0.0.9 Simon Sessingø 2018-03-30 05:23:54 +02:00
  • ce63e247b1 Bugfixes - Fixed Url not outputting correct class when used in json_encode. - Fixed IInputItem being too strict about strings which may be nullable. Simon Sessingø 2018-03-30 05:22:41 +02:00
  • d2d3938bf4 Merge pull request #395 from skipperbent/v4-development 4.0.0.8 Simon Sessingø 2018-03-29 23:48:32 +02:00
  • 80a42030ea Bugfixes - Fixed getting specific input-value by request-method in InputHandler. - Added .idea files Simon Sessingø 2018-03-29 23:47:27 +02:00
  • 1d6a2fafff Merge pull request #394 from skipperbent/v4-development 4.0.0.7 Simon Sessingø 2018-03-29 23:28:47 +02:00
  • 17471a53cd Removed namespace from groups Simon Sessingø 2018-03-29 23:28:03 +02:00
  • e97e624cef Merge pull request #393 from skipperbent/v4-development 4.0.0.6 Simon Sessingø 2018-03-29 23:14:22 +02:00
  • da219d0b19 Bugfixes - Fixed rewrite from ExceptionHandler sometimes not working correctly. - Fixed default-namespace for Group and partial groups. Simon Sessingø 2018-03-29 23:13:56 +02:00
  • 30d2285699 Merge pull request #392 from skipperbent/v4-development 4.0.0.5 Simon Sessingø 2018-03-29 22:36:01 +02:00
  • a1dc4c5119 Bugfixes - Updated input helper function. - Update documentation to reflect v4 changes in InputHandler class. Simon Sessingø 2018-03-29 22:35:21 +02:00
  • 87e1fa3775 Merge pull request #391 from skipperbent/v4-development 4.0.0.4 Simon Sessingø 2018-03-29 22:18:26 +02:00
  • a11595fb86 Bugfixes - Fixed $methods argument not properly passed in InputHandler class. - Updated helpers.php with latest changes. Simon Sessingø 2018-03-29 22:17:53 +02:00
  • 555afd04f1 Merge pull request #390 from skipperbent/v4-development 4.0.0.3 Simon Sessingø 2018-03-29 21:45:26 +02:00
  • e6db83c97a Fixed defaultValue issue in getValue method in InputHandler class. Simon Sessingø 2018-03-29 21:44:41 +02:00
  • 32e5dd623c Merge pull request #389 from skipperbent/v4-development 4.0.0.2 Simon Sessingø 2018-03-29 21:26:37 +02:00
  • 8eded4a619 Updated documentation. Simon Sessingø 2018-03-29 21:19:52 +02:00
  • af2ac6031d Development - Added dependency injection support. - Added php-di composer dependency. - Added ClassLoader class. - Added IClassLoader interface. - Added unit-tests for dependency injection. - Updated documentation to reflect new features. Simon Sessingø 2018-03-29 21:16:02 +02:00
  • cca2f5cb88 Added donate option Simon Sessingø 2018-03-29 19:13:55 +02:00
  • 1a59a659fe Updated documentation Simon Sessingø 2018-03-29 19:02:31 +02:00
  • 4c61899560 Updated documentation Simon Sessingø 2018-03-29 19:00:18 +02:00
  • 931b50098c Updated documentation Simon Sessingø 2018-03-29 18:54:03 +02:00
  • f5a023117a Development - Added event-arguments data. - Added event-arguments to the event list in documentation. - Fixed missing exceptions thrown in phpDocs. - Added unit-tests for new event functionality. Simon Sessingø 2018-03-29 18:51:28 +02:00
  • a9c03f9271 Development - Updated helpers.php and helpers example in documentation. - MalformedUrlException is now handled properly by Router to avoid phpStorm syntax highlights in routes. - Added getUrlCopy to Request class, used to clone the current route (to keep domain etc.) - setUrl in Request are now strict and requires Url object and no longer accepts strings. - Renamed hasRewrite property to hasPendingRewrite in Request class. - Renamed hasRewrite and setHasRewrite methods to hasPendingRewrite and setHasPendingRewrite in Request class. - Added better usage of Url class. When calling url you can now use the methods on the Url class to filter params, get relative/absolute url etc. See documentation for more info. - Renamed get method to getValue in InputHandler class. - Renamed getObject to get and removed $defaultValue argument in InputHandler class. - Optimized InputHandler class. - Fixed issue with $token not being proper string in BaseCsrfVerifier when token is not found. - Added php.ini configuration settings to setcookie in CookieTokenProvider for improved security. - Added $router parameter to boot method in IRouterBootManager which allows for further manipulation of the router within the bootmanager. - Renamed $processingRoute property to $isProcessingRoute in Router class. - Fixed reset method not resetting CSRF-verifier in Router class. - Moved arrayToParams helper-method from Router to Url class. - Began to add Event-functionality to router. - Added addEventHandler method to SimpleRouter class. - Moved Pecee\SimpleRouter\Handler\CallbackExceptionHandler to Pecee\SimpleRouter\Handlers\CallbackExceptionHandler. - Moved Pecee\SimpleRouter\Handler\IExceptionHandler to Pecee\SimpleRouter\Handlers\IExceptionHandler. - Added Events section to documentation. - Added more information on url-handling in documentation. - Optimisations. Simon Sessingø 2018-03-29 18:17:42 +02:00
  • d4cdc0844d Updated documentation. v3-development Simon Sessingø 2018-03-29 10:14:08 +02:00
  • aa56d45f9c Updated documentation Simon Sessingø 2018-03-29 10:13:23 +02:00
  • 9b175d5794 Merge pull request #388 from skipperbent/v4-development 4.0.0.0 Simon Sessingø 2018-03-27 01:13:25 +02:00
  • ef4582dbe0 Fixed wrong return-type in loadClass. Simon Sessingø 2018-03-27 01:11:44 +02:00
  • 54ae830ec8 Merge pull request #386 from skipperbent/v4-php7-port 4.0.0.0a Simon Sessingø 2018-03-26 23:57:54 +02:00
  • 085f98cf08 Development Simon Sessingø 2018-03-26 23:43:27 +02:00
  • f23d569757 Added support for PHP7 Simon Sessingø 2018-03-20 03:38:55 +01:00
  • 0fc40f2a82 Merge pull request #384 from skipperbent/v3 Simon Sessingø 2018-03-03 23:44:32 +01:00
  • c5c63671ef Merge pull request #383 from skipperbent/v3-development 3.7.0.0 v3 Simon Sessingø 2018-03-03 23:44:20 +01:00
  • d279d5598d Development - Fixed issue with subdomains on groups. - Fixed issue with loadble routes sometimes mistakenly inheriting wrong group. - Routes will now check if group matches before matching any custom regex. - Added setValue method to IInputItem class to streamline the InputFile and InputItem classes. - Other minor optimisations. - Documentation: fixed broken links and cleaned it up. Simon Sessingo 2018-03-03 23:37:14 +01:00
  • 781fab48cc Merge pull request #382 from skipperbent/v3 Simon Sessingø 2018-02-27 09:05:08 +01:00
  • 6e247f811f Merge pull request #381 from skipperbent/v3-development 3.6.0.5 Simon Sessingø 2018-02-27 09:04:57 +01:00
  • be39010be3 Throw correct exception-types. Simon Sessingo 2018-02-27 08:58:57 +01:00
  • 486d7c3a5b Merge pull request #380 from skipperbent/v3 Simon Sessingø 2018-02-27 08:37:14 +01:00
  • 559a65859e Merge pull request #379 from skipperbent/v3-development Simon Sessingø 2018-02-27 08:36:57 +01:00
  • 8111de48fd Merge pull request #378 from skipperbent/v3-development 3.6.0.4 Simon Sessingø 2018-02-27 08:36:43 +01:00
  • 79c82c90cc Fixed issue with PDO exception not returning correct type for error-code. Simon Sessingo 2018-02-27 08:20:25 +01:00
  • 8b46d97418 Merge pull request #377 from skipperbent/v3 Simon Sessingø 2018-02-27 00:20:25 +01:00
  • 0dbc4e6ba2 Merge pull request #376 from skipperbent/v3-development 3.6.0.3 Simon Sessingø 2018-02-27 00:20:12 +01:00
  • 6d7d07669b Optimisations Simon Sessingo 2018-02-27 00:19:44 +01:00
  • 38910ea9b6 Merge pull request #375 from skipperbent/v3 Simon Sessingø 2018-02-27 00:14:39 +01:00
  • a4dfa59a66 Merge pull request #374 from skipperbent/v3-development Simon Sessingø 2018-02-27 00:14:24 +01:00
  • 98bf95bfc9 Added back getPath. Simon Sessingo 2018-02-27 00:14:01 +01:00
  • b051bcf02b Stop router from processing routes if no valid route is found. Simon Sessingo 2018-02-27 00:12:45 +01:00
  • b8d5106f4e Removed getPath from url. Simon Sessingo 2018-02-27 00:00:54 +01:00
  • d40eaba3e7 Merge pull request #373 from skipperbent/v3 Simon Sessingø 2018-02-26 23:49:41 +01:00
  • 2c9d996437 Merge pull request #372 from skipperbent/v3-development Simon Sessingø 2018-02-26 23:48:45 +01:00
  • cfc9ac138a Fixed setUrl issue. Simon Sessingo 2018-02-26 23:48:09 +01:00
  • 8b6a6864a7 Merge pull request #371 from skipperbent/v3 Simon Sessingø 2018-02-26 23:24:50 +01:00
  • 98ce5f7635 Merge pull request #370 from skipperbent/v3-development 3.6.0.0 Simon Sessingø 2018-02-26 23:24:37 +01:00
  • a25be983b8 Development Simon Sessingo 2018-02-26 23:21:26 +01:00
  • 6b22632141 Merge pull request #369 from skipperbent/v3 Simon Sessingø 2018-02-24 05:39:30 +01:00
  • 69bb570c73 Merge pull request #368 from skipperbent/v3-development 3.5.0.0 Simon Sessingø 2018-02-24 05:39:20 +01:00
  • a0c5bbdcc0 Merge pull request #367 from skipperbent/v3-rewrite-update Simon Sessingø 2018-02-24 05:36:37 +01:00
  • 50c6499efb Simplified url-rewriting and callback handling. Simon Sessingo 2018-02-24 05:35:05 +01:00
  • ed320e2f87 Merge pull request #366 from skipperbent/v3 Simon Sessingø 2018-02-19 23:07:13 +01:00
  • c80b23e9d4 Merge pull request #365 from skipperbent/v3-development 3.4.11.2 Simon Sessingø 2018-02-19 23:07:02 +01:00
  • 55a96a441e Set default value to 0 to triggering error when calling getErrors on empty object. Simon Sessingo 2018-02-19 23:04:26 +01:00
  • 76589e9d92 Merge pull request #364 from skipperbent/v3 Simon Sessingø 2018-02-19 16:37:35 +01:00
  • 9d88bf10d2 Merge pull request #363 from skipperbent/master 3.4.11.1 Simon Sessingø 2018-02-19 16:37:04 +01:00
  • dfa4a9aa6c Merge pull request #362 from skipperbent/v3-development Simon Sessingø 2018-02-19 16:36:27 +01:00
  • 6b8c823427 Fixed: refresh now returns correct original url (params, querystrings etc). Simon Sessingo 2018-02-19 16:34:22 +01:00
  • 7c789ea0f8 Merge pull request #361 from skipperbent/v3 Simon Sessingø 2018-02-14 12:39:31 +01:00
  • 3ba9dd01f0 Merge pull request #360 from skipperbent/v3-development 3.4.11.0 Simon Sessingø 2018-02-14 12:39:19 +01:00
  • 932dfbf2b7 Merge pull request #357 from skipperbent/v3-optimisations Simon Sessingø 2018-02-14 12:38:07 +01:00
  • 8d87aab35b Optimisations Simon Sessingo 2018-02-05 05:27:47 +01:00
  • 14360b6779 Merge pull request #353 from skipperbent/v3 Simon Sessingø 2018-01-14 15:54:49 +01:00
  • bbb81333b4 Merge pull request #352 from skipperbent/v3-development 3.4.10.1 Simon Sessingø 2018-01-14 15:54:37 +01:00
  • fc2e2e1e82 Fixed Input::all when php://input is not availible Simon Sessingo 2018-01-14 15:53:44 +01:00
  • 161fbf6ccf Merge pull request #351 from skipperbent/v3 Simon Sessingø 2018-01-06 03:33:23 +01:00
  • 9a7b598880 Merge pull request #350 from skipperbent/v3-development 3.4.10.0 Simon Sessingø 2018-01-06 03:33:13 +01:00
  • 71518431a9 Merge pull request #348 from skipperbent/v3-fix-default-value Simon Sessingø 2018-01-06 03:31:03 +01:00
  • cec240ab0c Merge pull request #349 from skipperbent/feature-get-processed-routes Simon Sessingø 2018-01-06 03:30:55 +01:00
  • 4d2b584936 Fixed parameter default-value being overwritten (issue: #347). Simon Sessingo 2018-01-06 03:27:27 +01:00
  • a102c70700 Added getProcessedRoutes method to Router class. Simon Sessingo 2018-01-06 01:23:00 +01:00
  • 1486095e9f Merge pull request #345 from skipperbent/v3 Simon Sessingø 2017-12-17 10:41:58 +01:00
  • 2db20dce6b Merge pull request #344 from skipperbent/v3-development 3.4.9.3 Simon Sessingø 2017-12-17 10:41:22 +01:00
  • de14a957d5 Merge pull request #343 from skipperbent/v2-development 2.6.8.1 v2 Simon Sessingø 2017-12-17 10:40:26 +01:00
  • c1c25e19ff Enabled fallback _method for every request-type. v2-development Simon Sessingo 2017-12-17 10:38:13 +01:00
  • f2d106c649 _method is not supported as fallback for every request-type. Simon Sessingo 2017-12-17 10:37:33 +01:00
  • 7cb416cfc8 Merge pull request #342 from skipperbent/v3 Simon Sessingø 2017-12-17 09:53:49 +01:00
  • c6341960d7 Merge pull request #341 from skipperbent/v3-development 3.4.9.2 Simon Sessingø 2017-12-17 09:53:39 +01:00
  • 72d33dd497 Compatibility: setUri can be both string and Uri object. Simon Sessingo 2017-12-17 09:51:56 +01:00
  • e23dd37435 Reverted changes Simon Sessingo 2017-12-16 23:29:00 +01:00
  • aa5ec47051 Removed key check in __get as it's already performed in the __isset method. Simon Sessingo 2017-12-16 23:24:31 +01:00
  • a570322e25 Merge pull request #340 from skipperbent/v3 Simon Sessingø 2017-12-16 12:54:06 +01:00
  • 85cf925793 Merge pull request #339 from skipperbent/v3-development 3.4.9.1 Simon Sessingø 2017-12-16 12:53:56 +01:00
  • d61cbb73e5 Merge pull request #338 from skipperbent/v2-development 2.6.8 Simon Sessingø 2017-12-16 12:53:07 +01:00
  • dc7faf52c0 Bugfixes Simon Sessingo 2017-12-16 12:50:48 +01:00
  • 155729074b Fixed filtering on get-params in all method. Simon Sessingo 2017-12-16 12:48:10 +01:00
  • feb6c8bd41 Merge pull request #337 from skipperbent/v3 Simon Sessingø 2017-12-09 23:58:48 +01:00
  • 7c0a20115e Merge pull request #336 from skipperbent/v3-development 3.4.9.0 Simon Sessingø 2017-12-09 23:58:33 +01:00
  • 0be7bfcfd9 Fixed utf-8 header issue (issue: #333) Simon Sessingø 2017-12-09 23:56:37 +01:00
  • 276f213ccc Merge pull request #335 from skipperbent/v3 Simon Sessingø 2017-12-06 19:06:20 +01:00
  • 877e0aa937 Merge pull request #334 from skipperbent/v3-development 3.4.8.0 Simon Sessingø 2017-12-06 19:06:09 +01:00
  • 7f8d90eef8 Added $options and $debt param to json method in Response class. Simon Sessingø 2017-12-06 19:04:48 +01:00
  • 56457448e4 Merge pull request #331 from skipperbent/v3 Simon Sessingø 2017-12-02 20:30:37 +01:00