Simon Sessingø
35ee79d02c
[TASK] Fixed regex causing optional parameters to sometimes catch required
...
parameters value.
2016-01-23 16:10:44 +01:00
Simon Sessingø
315fe05769
Merge pull request #67 from skipperbent/development
...
Development
1.5.2
2016-01-17 04:57:39 +01:00
Simon Sessingø
6306b604e8
Merge branch 'development' of https://github.com/skipperbent/simple-php-router into development
2016-01-17 04:56:56 +01:00
Simon Sessingø
4dd0739df9
[BUGFIX] Fixed minor errors with optional parameter when using getRoute().
2016-01-17 04:56:29 +01:00
Simon Sessingø
a57113309a
Merge pull request #66 from skipperbent/development
...
Development
1.5.1
2016-01-15 11:56:04 +01:00
Simon Sessingø
0bd234d996
Merge pull request #65 from skipperbent/master
...
Latest development
2016-01-15 11:55:47 +01:00
Simon Sessingø
27d24758b1
[OPTIMISATION] Ensured action parameter was set before using it.
2016-01-15 11:55:01 +01:00
Simon Sessingø
4d08f08c68
Merge pull request #64 from skipperbent/development
...
Development
1.5.0
2016-01-15 11:09:00 +01:00
Simon Sessingø
aeacda1812
[FEATURE] Added option to change route and get information about current
...
route through the Request object.
- Updated documentation to relfect new changes.
2016-01-15 11:06:13 +01:00
Simon Sessingø
765204f552
[FEATURE] Moved loadedRoute to request so it can be easily overwritten
...
from middleware.
2016-01-15 10:34:59 +01:00
Simon Sessingø
4267cb8751
Merge pull request #63 from skipperbent/development
...
[OPTIMISATION] Parameters matching optimisations.
1.4.9
2016-01-15 10:22:14 +01:00
Simon Sessingø
714edf7902
[OPTIMISATION] Parameters matching optimisations.
2016-01-15 10:20:50 +01:00
Simon Sessingø
c3b12ba053
Merge pull request #62 from skipperbent/development
...
Development
1.4.8
2016-01-15 10:07:51 +01:00
Simon Sessingø
b096742d6b
[BUGFIX] Enchanched regular expression for optinal parameters to
...
completely ignore path seperators (/).
2016-01-15 10:06:13 +01:00
Simon Sessingø
3298970798
Merge pull request #61 from skipperbent/development
...
[BUGFIX] Fixed some ressources not working after latest update.
1.4.7
2016-01-15 09:39:28 +01:00
Simon Sessingø
bb6f56ef8c
[BUGFIX] Fixed some ressources not working after latest update.
...
- Optimisations + cleanup.
2016-01-15 09:37:23 +01:00
Simon Sessingø
6c675124fa
Merge pull request #60 from skipperbent/development
...
[BUGFIX] Minor bugfixes and optimisations
1.4.6
2016-01-14 16:41:37 +01:00
Simon Sessingø
14a030294e
[BUGFIX] Minor bugfixes and optimisations
...
- Fixed getRoute sometimes not passing current loaded route.
- Fixed optional parameters in some occasions not working properly.
2016-01-14 16:37:36 +01:00
Simon Sessingø
8bc8124366
Merge pull request #59 from skipperbent/development
...
[TASK] Simplified regex for matching parameters.
1.4.5
2016-01-05 05:50:35 +01:00
Simon Sessingø
1332ef7139
[TASK] Optimised regex for matching parameters.
2016-01-05 04:52:12 +01:00
Simon Sessingø
12bbc98a82
Merge pull request #58 from skipperbent/development
...
[BUGFIX] Custom parameters regex is now working again.
1.4.4
2015-12-24 00:48:27 +01:00
Simon Sessingø
69b0f4320e
[BUGFIX] Fixed show not always called if using nested ressources.
2015-12-24 00:39:21 +01:00
Simon Sessingø
4c60055c7e
[BUGFIX] Custom parameters regex is now working again.
...
- Fixed custom parameters regex not working.
- Renamed setting "parameterRegex" to "match" to match the Laravel
documentation.
2015-12-23 20:25:26 +01:00
Simon Sessingø
89aeeeb593
Merge pull request #57 from skipperbent/development
...
[TASK]
1.4.3
2015-12-19 20:25:36 +01:00
Simon Sessingø
849749969d
[OPTIMISATION] Made getAllHeaders protected.
2015-12-19 20:20:42 +01:00
Simon Sessingø
c37a7159d2
[OPTIMISATION] No reason to str_replace twice.
2015-12-19 20:18:35 +01:00
Simon Sessingø
df2545dd37
[TASK]
...
- Added support for setups where getallheaders function is not availible.
- Made matchDomain method in RouterGroup always return boolean.
2015-12-19 20:15:10 +01:00
Simon Sessingø
bd0a6af41f
Merge pull request #56 from skipperbent/development
...
[BUGFIX] Wrong validation on domain
1.4.2
2015-12-19 18:25:56 +01:00
Simon Sessingø
3510c4c5a4
[BUGFIX] Wrong validation on domain
2015-12-19 18:25:18 +01:00
Simon Sessingø
7ff88bc658
Merge pull request #55 from skipperbent/development
...
[BUGFIX] Bugfixes.
1.4.1
2015-12-19 18:09:08 +01:00
Simon Sessingø
ce27196083
[BUGFIX] Bugfixes.
...
- Fixed not validating domain on
- Other small changes.
2015-12-19 18:07:18 +01:00
Simon Sessingø
9304b9f866
Merge pull request #54 from skipperbent/development
...
Development
1.4.0
2015-12-19 16:28:17 +01:00
Simon Sessingø
ed886cb7b3
Merge pull request #53 from skipperbent/feature-resource
...
[FEATURE] ResourceControllers now support nested ressources
2015-12-19 16:28:06 +01:00
Simon Sessingø
cbaa0bcaac
[FEATURE] getRoute now support domains.
...
- Optimisations + bugfixes.
2015-12-19 09:21:12 +01:00
Simon Sessingø
98b1759967
[TASK] Updated documentation.
2015-12-19 07:19:49 +01:00
Simon Sessingø
b9be7695a7
[TASK] Fixed parameter matching regex when using multiple optional parameters.
2015-12-19 07:15:32 +01:00
Simon Sessingø
97e2edd207
[FEATURE] ResourceControllers now support nested ressources
2015-12-17 14:39:47 +01:00
Simon Sessingø
87fbbcbba2
Merge pull request #52 from skipperbent/development
...
[TASK] Csrf-token fixes + readded BaseCsrfVerifier.
1.3.10
2015-12-14 13:40:19 +01:00
Simon Sessingø
5a501db767
[TASK] Csrf-token fixes + readded BaseCsrfVerifier.
...
- Readded BaseCsrfVerifier middleware.
- Csrf-token expire time is now updated on each page refresh.
- CSRF-token update now happens after the route has been loaded, to ensure
no faulty "Invalid csrf-token" exceptions.
2015-12-14 13:36:38 +01:00
Simon Sessingø
669bfa0a86
Merge pull request #51 from skipperbent/development
...
Latest development
1.3.9
2015-12-13 03:07:20 +01:00
Simon Sessingø
4f07f38cf5
[BUGFIX] Fixed getting current route not always returning current url.
2015-12-12 23:38:48 +01:00
Simon Sessingø
c67ab20ddd
[BUGFIX] Merge current parameters with new provided ones.
2015-12-12 22:53:25 +01:00
Simon Sessingø
ad1ce21c66
[BUGFIX] Fixed getParams not being passed when using getRoute on current
...
route.
2015-12-12 20:42:06 +01:00
Simon Sessingø
5a19d6339c
Merge pull request #50 from skipperbent/development
...
Development
1.3.8
2015-12-11 18:23:53 +01:00
Simon Sessingø
23ee53060e
Merge branch 'development' of https://github.com/skipperbent/simple-php-router into development
...
Conflicts:
src/Pecee/SimpleRouter/RouterBase.php
2015-12-11 18:23:19 +01:00
Simon Sessingø
77ba9f165e
[BUGFIX] Fixed get params warning.
2015-12-11 18:21:00 +01:00
Simon Sessingø
4dd6417f71
Merge pull request #49 from skipperbent/development
...
Development
1.3.7
2015-12-11 18:11:03 +01:00
Simon Sessingø
3012435caa
Merge pull request #48 from skipperbent/feature-optimisations
...
[OPTIMISATION] Optimisations + bugfixes.
2015-12-11 18:10:53 +01:00
Simon Sessingø
0bec524606
[OPTIMISATION] Optimisations + bugfixes.
...
- Fixed references to Pecee framework.
- Fixed variables not being initialised before usage.
- Cleaned up duplicate checks.
- Other small optimisations and bugfixes.
2015-12-11 18:06:52 +01:00
Simon Sessingø
d4e9ef7744
Merge pull request #47 from skipperbent/development
...
[BUGFIX] Fixed error with RouterGroup.
1.3.6
2015-12-10 21:23:05 +01:00