3369 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
ea4dd36e4e
add writable/session directory and set default App::sessionSavePath to it 2018-09-02 13:33:16 +07: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
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
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
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
Lonnie Ezell
89d1e23eac
Parser tweak 2018-08-21 23:26:45 -05: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
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