Simon Sessingø
9ed2d2b8d1
Updated Request::isPostBack to return true if request-method could contain data in body.
2021-03-28 23:32:33 +02:00
Simon Sessingø
caf30cb056
Merge pull request #523 from skipperbent/v4-isPostBack
...
[FEATURE] Added Request::isPostBack helper method
2021-03-28 04:25:54 +02:00
Simon Sessingø
6ccd06911e
Fixed possible bug causing InputHandler not to get the correct request-method + simplified Request class.
2021-03-28 04:24:33 +02:00
Simon Sessingø
e5eb966780
Added Request::isPostBack helper method
2021-03-28 04:05:09 +02:00
Simon Sessingø
9e19cbfb71
Merge pull request #521 from skipperbent/v4-fix-group-domain
...
[BUGFIX] Fixed group not matching domain with no parameters (issue: #468 )
2021-03-26 01:35:37 +01:00
Simon Sessingø
073479f9dd
[BUGFIX] Fixed group not matching domain with no parameters (issue: #468 ).
...
- Added unit-tests
2021-03-26 01:32:01 +01:00
Simon Sessingø
39ee1bb7cd
Added missing phpDocs for parameters.
2021-03-25 14:31:04 +01:00
Simon Sessingø
cf1c59aee0
Changed parameter name and added parameter phpDocs description.
2021-03-25 14:24:50 +01:00
Simon Sessingø
d9cfa71534
Fixed naming in unit-tests.
2021-03-25 14:21:30 +01:00
Simon Sessingø
cf6750aaf3
[FEATURE] Optimised Request::getIp method
...
- Added unit-tests for Request::getIp
- Optimised existing RequestTest unit-tests.
2021-03-25 14:18:56 +01:00
Simon Sessingø
11313a31dc
Merge pull request #504 from DeveloperMarius/get-ip-proxy
...
Get the ip when the user is using a proxy
2021-03-25 14:17:55 +01:00
DeveloperMarius
4cb2fa521f
v4-development sync
2021-03-25 13:41:04 +01:00
Simon Sessingø
8835aca02e
[FEATURE] Added Request::getContentType for content-type header-parsing
...
- Added unit-tests for Request::getContentType parsing.
2021-03-25 13:09:23 +01:00
Simon Sessingø
86bb88a41f
[FEATURE] Added better support for nested file/arrays in InputHandler.
...
- Added unit tests for file arrays
- Removed legacy .yml configs
2021-03-25 05:58:49 +01:00
Simon Sessingø
fdf11bbc9c
Merge pull request #517 from DeveloperMarius/file-tests
...
PHPUnit file tests
2021-03-25 04:34:29 +01:00
Simon Sessingø
2b9403db28
Features & bugfixes
...
- Feature: added new getFirstHeader to Request object that will return the first header found from array list- used to simplify the code.
- Feature: added new InputHandler::getValueFromArray method that loops through input-items to ensure that value is always returned.
- Fixed calling getUrl with array as parameters option throws error.
- Fixed `SimpleRouter::getUrl` having wrong nullable return type.
2021-03-25 03:41:11 +01:00
Simon Sessingø
0ec7c0d960
Optimisations
...
- Added phpunit cache to .gitignore
- Updated README with latest helper.php example.
- Minor phpDocs changes.
2021-03-24 23:18:17 +01:00
Simon Sessingø
d9c63699f5
Merge pull request #516 from DeveloperMarius/phpunit-fix
...
[IMPORTANT] PHPUnit fix: Element 'coverage': This element is not expected.
2021-03-24 14:03:58 +01:00
DeveloperMarius
3e1333ccd4
Defined variables for the file data
2021-03-24 13:32:15 +01:00
DeveloperMarius
fef65313e5
Added file content test for all platforms
2021-03-24 13:20:41 +01:00
DeveloperMarius
5624c4b2bb
testFiles and test file content on server
2021-03-24 13:11:07 +01:00
DeveloperMarius
543e550daf
PHPUnit fix: Element 'coverage': This element is not expected.
2021-03-24 11:48:29 +01:00
Simon Sessingø
22d531178a
Merge pull request #512 from DeveloperMarius/github-actions
...
GitHub actions
2021-03-23 15:57:03 +01:00
DeveloperMarius
0892f5b6f3
replaced php version 7.3 with with 7.1
2021-03-23 15:49:32 +01:00
DeveloperMarius
1d48034910
code cleanup
2021-03-23 15:48:36 +01:00
DeveloperMarius
61fee760b0
use phpunit version 7.5.20 like composer
2021-03-23 15:46:22 +01:00
DeveloperMarius
cfc8b5db43
Test PHP Version 7.1 with PHPUnit 7
2021-03-23 15:44:43 +01:00
DeveloperMarius
619a8d00b4
v4-development sync
2021-03-23 15:42:44 +01:00
Simon Sessingø
42633ec453
php-unit updates
2021-03-23 15:38:10 +01:00
Simon Sessingø
dbd8d381e7
Updated travis.yml
2021-03-23 15:31:47 +01:00
Simon Sessingø
57936b7857
Reverted back php-unit version
2021-03-23 15:26:57 +01:00
Simon Sessingø
c466af556e
Updated travis.yml
2021-03-23 15:22:31 +01:00
Simon Sessingø
db63aff668
Updated php-unit to version 9
2021-03-23 15:20:05 +01:00
Simon Sessingø
df52ec3df7
Updated travis.yml
2021-03-23 15:15:58 +01:00
Simon Sessingø
7920188956
Updated travis.yml
2021-03-23 15:11:44 +01:00
Simon Sessingø
635b127357
Fixed correct return type for InputFile.
2021-03-23 15:06:21 +01:00
Simon Sessingø
b9af44299e
Merge pull request #514 from skipperbent/v4-inputitem-value
...
[FEATURE] Add support for mixed value types in InputItem as requested by #438
2021-03-23 15:02:18 +01:00
Simon Sessingø
a070af2145
Merge pull request #510 from skipperbent/v4-disable-multi-routing
...
[FEATURE] Option to disable multi-route-rendering #452
2021-03-23 15:00:14 +01:00
Simon Sessingø
a33f2f7e7a
Merge branch 'v4-development' into v4-disable-multi-routing
2021-03-23 15:00:01 +01:00
Simon Sessingø
2689486e64
Merge pull request #509 from skipperbent/v4-request-same-routes
...
[BUGFIX] Issue #439 : Fixed multiple request-type on same routes.
2021-03-23 14:57:17 +01:00
Simon Sessingø
dfc12d07b0
Merge pull request #508 from skipperbent/v4-bootmanager-fix
...
[BUGFIX] BootManager findRoute not working.
2021-03-23 14:56:16 +01:00
Simon Sessingø
3ebe1a8af2
Merge pull request #507 from skipperbent/feature-default-namespace
...
[FEATURE] Default-namespace optimisations #446
2021-03-23 14:53:32 +01:00
Simon Sessingø
680e0256c3
Merge branch 'v4-development' into feature-default-namespace
2021-03-23 14:52:39 +01:00
Simon Sessingø
a8068f76a3
Merge pull request #513 from skipperbent/v4-phpdi-remove
...
[!!!][FEATURE] Removed php-di as suggested by #477
2021-03-23 14:50:19 +01:00
Simon Sessingø
7ba864420e
Updated travis.yml
2021-03-23 14:47:11 +01:00
Simon Sessingø
8670af356b
Updated travis.yml
2021-03-23 14:37:04 +01:00
Simon Sessingø
6be9d1003c
Updated travis.xml
2021-03-23 14:33:25 +01:00
DeveloperMarius
5095b1abc9
cleanup
2021-03-23 13:54:00 +01:00
DeveloperMarius
5275653606
Correct test to succeed
2021-03-23 13:41:27 +01:00
DeveloperMarius
62f5e5cbbd
Add Failing test
2021-03-23 13:40:22 +01:00