3539 Commits

Author SHA1 Message Date
Christoph Potas
8b87be12dc
~ catch ErrorException ( when php.ini email config is invalid )
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-30 16:18:54 +02:00
Lonnie Ezell
368d3055b4
Merge pull request #1189 from nowackipawel/patch-3
$myModel->find(string "value-of-my-primary-key") #1188
2018-08-30 08:25:32 -05:00
Paweł Nowacki
6e1335b012
$myModel->find(string "value-of-my-primary-key") #1188
adding string as allowed primary key; in current state if you pass string to find method you will get all records instead of desired one.
2018-08-30 14:57:45 +02:00
Paweł Nowacki
804106090c
Adds valid_json which is using json_last_error() === JSON_ERROR_NONE
it will return false if json is null, similar  to existing funcs , i.e. valid_url
2018-08-30 13:09:38 +02:00
Lonnie Ezell
85588b156f
Merge pull request #1185 from samsonasik/remove-start-on-session-function-call
remove start() call on session() function call at Validation
2018-08-30 00:11:21 -05:00
Lonnie Ezell
adce4918d9
Allow params in route filters. 2018-08-30 00:10:41 -05:00
Abdul Malik Ikhsan
f363f1faec
remove start() call on session() function call at Validation 2018-08-30 05:05:23 +07:00
Lonnie Ezell
1339d759b2
Allow basic filters as an option in route groups. Still needs to support parameters, though. 2018-08-28 23:36:03 -05:00
Abdul Malik Ikhsan
f0e253c8a9
remove unused salt in Model 2018-08-28 04:45:52 +07:00
HaoLiang
8f860f28d7
log file:failed to delete buffer. No buffer to delete. 2018-08-27 16:40:38 +08:00
sugenganthos
0b3f5f8da7
Update LoggerTest.php 2018-08-27 11:48:24 +07:00
Lonnie Ezell
c36d134f4d
Can now add filters on the fly, as long as it is added prior to Filter::initialize is called. 2018-08-26 23:18:34 -05:00
Lonnie Ezell
b612bf1bbe
Merge pull request #1157 from samsonasik/rem-isset-host
remove unneeded isset($options[hostname]) when next check is !empty($options[hostname])
2018-08-26 22:10:26 -05:00
Lonnie Ezell
e9a1d8ae4d
Merge pull request #1181 from samsonasik/string-param-dotenv
use string type hint in $file parameter in DotEnv::__construct()
2018-08-26 21:00:44 -05:00
Abdul Malik Ikhsan
2e708d198d
use string type hint in $file parameter in DotEnv::__construct() 2018-08-27 02:48:33 +07:00
Lonnie Ezell
b7e06c2ffa
Rules fixes 2018-08-24 23:38:11 -05:00
Lonnie Ezell
96bf16595b
Merging latest develop 2018-08-24 23:25:35 -05:00
Lonnie Ezell
f1bdc19e79
Allow application routes file to overwrite packaged routes. 2018-08-24 23:08:40 -05:00
Lonnie Ezell
222786d1e4
Update debugging.rst 2018-08-24 22:41:53 -05:00
sugenganthos
2832ac7a84
Update Logger.php 2018-08-24 15:31:44 +07:00
sugenganthos
acecb0d038
Update Logger.php
Change log level number to match RFC 5424. Enabling threshold on 'debug' level is same as show all messages. This is what developer wants on debugging stage
2018-08-24 15:28:58 +07:00
Lonnie Ezell
89d1e23eac
Parser tweak 2018-08-21 23:26:45 -05:00
sugenganthos
dfd832d701
Update Response.php 2018-08-22 11:05:05 +07:00
Lonnie Ezell
9cb13542d5 Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop 2018-08-21 22:37:47 -05:00
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