Lonnie Ezell
20cdb55e5f
Don't escape NULL. Fixes #1169
2018-08-21 22:36:35 -05:00
sugenganthos
c6335188be
Update Response.php
...
Remove {csp-style-nonce} from end page when CSP is not enabled. If page send to user contains {csp-style-nonce} or {csp-style-nonce} then it would not pass html check and says 'no value'.
Needs to check about performance because regex will runs to a whole views regardless of CSP setting.
2018-08-22 10:00:29 +07:00
Lonnie Ezell
46a4ab5078
Merge pull request #1172 from samsonasik/comparison-fix
...
comparison fix at CIDatabaseTestCase
2018-08-21 13:39:59 -05:00
Abdul Malik Ikhsan
ac082e394e
comparison fix at CIDatabaseTestCase
2018-08-22 01:24:33 +07:00
Lonnie Ezell
2202b2d18a
Merge pull request #1171 from samsonasik/debug-forum-categories
...
remove if ($template==forums/categories) check in View/Parser
2018-08-21 12:03:44 -05:00
Abdul Malik Ikhsan
8d6cd1fee5
remove if ($template==forums/categories) check in View/Parser
2018-08-21 23:36:18 +07:00
Lonnie Ezell
8a3ad8634a
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
2018-08-20 22:38:32 -05:00
Lonnie Ezell
c524ece777
Fix missed template adjustment. Fixes #1170
2018-08-20 22:38:21 -05:00
Lonnie Ezell
c30aa20630
Merge pull request #1168 from puschie286/showExceptionMessage
...
show PageNotFoundException message
2018-08-20 08:21:12 -05:00
Christoph Potas
8037f3e93c
~ apply ci style
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-20 10:18:50 +02:00
Christoph Potas
6f414769f3
~ pass through exception message
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-20 10:16:32 +02:00
Lonnie Ezell
c8b85e13a9
Update toolbar templates for new parser conditionals.
2018-08-19 22:49:40 -05:00
Lonnie Ezell
c1bc16b43e
Fix parser test to reflect that in if/elseif constructs a dollar sign is no long automatically inserted to allow for more flexible if statements.
2018-08-19 14:30:42 -05:00
Lonnie Ezell
22416e578a
Return mapped keys when converting Entity toArray.
2018-08-19 14:27:23 -05:00
Lonnie Ezell
27e630786d
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
2018-08-19 14:17:54 -05:00
Lonnie Ezell
cc2d34ee58
Gives new asArray method to Entity class. Parser class converts objects to arrays so it can use Entities directly in view.
2018-08-19 14:17:47 -05:00
Lonnie Ezell
d7ba12abf3
Merge pull request #1164 from samsonasik/name-header-mandatory
...
make name parameter in HTTP\Header mandatory
2018-08-19 13:08:34 -05:00
Abdul Malik Ikhsan
6d131e871c
make name parameter in HTTP\Header mandatory
2018-08-17 23:35:13 +07:00
Lonnie Ezell
010f7a2497
Merge pull request #1158 from samsonasik/str-type-autoload
...
add missing string parameter type hint in Autoload methods
2018-08-16 15:48:44 -05:00
Abdul Malik Ikhsan
10353fd956
type hint in MockAutoloader::requireFile()
2018-08-17 02:21:51 +07:00
Abdul Malik Ikhsan
ef10004b4d
remove unneeded isset($options[hostname]) when next check is !empty($options[hostname]
2018-08-17 01:53:20 +07:00
Abdul Malik Ikhsan
360ccc3f0a
add missing string parameter type hint in Autoload methods
2018-08-17 01:52:22 +07:00
Lonnie Ezell
f3a8caf051
Merge pull request #1162 from ytetsuro/fix/paginate-bug
...
Fixed insufficient validation of parameters related to pager.
2018-08-16 09:21:10 -05:00
ytetsuro
2dc9a8f717
fix: validation page parameter.
2018-08-16 01:51:28 +09:00
Lonnie Ezell
412e163491
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
2018-08-13 23:16:16 -05:00
Lonnie Ezell
df47d329ee
Adde route and site_url parser plugins.
2018-08-13 23:16:11 -05:00
Lonnie Ezell
5c0ce8a236
Merge pull request #1159 from samsonasik/reduce-str-replace-parser
...
reduce str_replace in View/Parser::render()
2018-08-13 13:24:31 -05:00
Abdul Malik Ikhsan
b10ddb0216
space
2018-08-13 22:15:34 +07:00
Abdul Malik Ikhsan
b1c5aea722
not introduce new variable
2018-08-13 22:12:32 +07:00
Abdul Malik Ikhsan
7112532b23
reduce str_replace in View/Parser::render()
2018-08-13 22:09:49 +07:00
Lonnie Ezell
20d5d02a40
Allow forward slashes in View Parser plugins. Helpful for including files.
2018-08-13 00:34:47 -05:00
Lonnie Ezell
9451351a54
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
2018-08-12 23:32:24 -05:00
Lonnie Ezell
9deaff130d
BaseService should still load Config\Services when discovering otherwise local changes don't override module methods.
2018-08-12 23:32:15 -05:00
Lonnie Ezell
def9426404
Merge pull request #1160 from samsonasik/rem-helper-url-call
...
remove unneeded helper('url') call in plugins and form helper as already called in bootstrap file
2018-08-12 22:19:07 -05:00
Abdul Malik Ikhsan
bdea3c95ff
remove unneeded helper(url) call in plugins and form helper as already called in bootstrap file
2018-08-12 04:25:13 +07:00
Lonnie Ezell
e07e8ff266
Merge pull request #1156 from samsonasik/rem-commented-unused-methods
...
remove commented and never used methods in View\Parser class
2018-08-10 11:27:39 -05:00
Abdul Malik Ikhsan
48f0907bfc
remove commented and never used methods in View\Parser class
2018-08-10 22:40:31 +07:00
Lonnie Ezell
303aaab049
Merge pull request #1155 from samsonasik/fix-1135
...
Fixes #1135 : Toolbar oldest file delete and show maximum in the list as App::toolbarMaxHistory
2018-08-10 09:42:34 -05:00
Abdul Malik Ikhsan
8f92e0c7f1
Fixes #1135
2018-08-10 21:14:52 +07:00
Lonnie Ezell
54c51e1261
Fix bug in file extension detection/assignment in View.php
2018-08-09 21:50:58 -05:00
Lonnie Ezell
765743095e
Merge pull request #1152 from samsonasik/rem-unneeded-string-cast
...
remove unneeded (string) cast as type hinted
2018-08-09 09:47:29 -05:00
Lonnie Ezell
ad6605ae21
Merge pull request #1153 from samsonasik/ext-intl-composer
...
add ext-intl to require at composer.json
2018-08-09 09:46:10 -05:00
Abdul Malik Ikhsan
a1f4d74b2b
add ext-intl to require at composer.json
2018-08-09 20:06:06 +07:00
Abdul Malik Ikhsan
c90ba8c4fc
remove unneeded (string) cast as type hinted
2018-08-09 15:38:19 +07:00
Lonnie Ezell
0f983642b7
Remove dumb code
2018-08-08 23:07:04 -05:00
Lonnie Ezell
179ad7942d
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
2018-08-08 23:01:08 -05:00
Lonnie Ezell
f99496595f
Updated test
2018-08-08 23:01:04 -05:00
Lonnie Ezell
1a47f2b7b5
Misc test fixes
2018-08-08 22:48:35 -05:00
Lonnie Ezell
d28b52ab3a
Fix nesting error with Services and discoverLocal.
2018-08-08 22:44:53 -05:00
Lonnie Ezell
fd875fea5c
Merge pull request #1130 from sugenganthos/patch-2
...
Update View.php
2018-08-08 21:43:51 -05:00