Lonnie Ezell
f1bdc19e79
Allow application routes file to overwrite packaged routes.
2018-08-24 23:08:40 -05:00
Lonnie Ezell
89d1e23eac
Parser tweak
2018-08-21 23:26:45 -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
Abdul Malik Ikhsan
6d131e871c
make name parameter in HTTP\Header mandatory
2018-08-17 23:35:13 +07:00
Abdul Malik Ikhsan
10353fd956
type hint in MockAutoloader::requireFile()
2018-08-17 02:21:51 +07: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
2136bbb725
Merge pull request #1147 from puschie286/RedirectRouteBaseURL
...
fix RedirectResponse::route and added test
2018-08-08 21:42:06 -05:00
Lonnie Ezell
8d2f569c31
Merge pull request #1146 from puschie286/FixURIDetectionNoIndex
...
Fix uri detection with no index in uri
2018-08-08 21:40:38 -05:00
Abdul Malik Ikhsan
6a1b643270
implements session->push()
2018-08-09 05:04:40 +07:00
Abdul Malik Ikhsan
cc8376c7a1
SplFileInfo type case
2018-08-08 15:07:08 +07:00
Christoph Potas
6e297acba3
~ fix RedirectResponse::route unable to call with default/suggested parameter ( docu )
...
~ fix RedirectResponse::route baseurl was not applied
+ added test for RedirectResponse::route
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-07 11:29:46 +02:00
Christoph Potas
2651e31e2f
~ apply ci formatting
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-07 11:02:09 +02:00
Christoph Potas
90f2c5a96a
~ fix #1109
...
+ added test for special case
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-07 09:42:33 +02:00
Abdul Malik Ikhsan
803a97d1a3
codacy code reviews remove unused $time2 var
2018-08-06 18:00:00 +07:00
Abdul Malik Ikhsan
61ac4a1c05
implements @todo max day in current month at Time::setDay()
2018-08-06 16:43:46 +07:00
Abdul Malik Ikhsan
ca30e77488
update to latest php-coveralls
2018-08-03 09:58:37 +07:00
Andrei Furnica
6b6703dab1
fix form helper set_radio
2018-08-02 15:55:03 +03:00
Andrei Furnica
9d16520e11
use session mock instead of the real driver
2018-08-02 14:53:20 +03:00
Andrei Furnica
1f1149e2ee
mark all tests that use session to run as separate processes and not share global state
2018-08-02 14:41:52 +03:00
Andrei Furnica
ee5f6a5355
mark all tests that use session to run as separate processes and not share global state
2018-08-02 14:36:24 +03:00
Andrei Furnica
0d16b33326
mark whole session test class to run as separate process and don't preserve global state
2018-08-02 14:27:13 +03:00
Andrei Furnica
6c7329092a
Revert "tabs, not spaces"
...
This reverts commit 9a317e8
2018-08-01 13:09:31 +03:00
Andrei Furnica
9a317e852e
tabs, not spaces
2018-08-01 13:08:47 +03:00
Andrei Furnica
dc6b29d81e
run session tests on separate processes
2018-08-01 13:08:12 +03:00
Andrei Furnica
454a9a1b5e
fix spacing
2018-07-29 14:37:28 +03:00
Andrei Furnica
1c24935f55
fix spacing
2018-07-29 14:32:17 +03:00
Andrei Furnica
54b6af7b08
regex pattern matching to cover edge case #1084
2018-07-29 14:29:11 +03:00
Lonnie Ezell
169429a33a
Merge pull request #1113 from jim-parry/testing4/http
...
Testing4/http
2018-07-25 10:15:16 -05:00
Master Yoda
fab1fbeaf9
Remove unused code in Message
2018-07-25 01:05:29 -07:00
Master Yoda
b56cf5b066
Beef up UserAgent tests for 100% coverage
2018-07-25 00:49:53 -07:00
Master Yoda
9e165acca7
Flesh out URI tests for 100% coverage
2018-07-24 11:27:47 -07:00
Lonnie Ezell
c64328c09d
Merge pull request #1112 from jim-parry/testing2/dotenv
...
Rework Dotenv testing to use VFS
2018-07-24 12:10:22 -05:00
Master Yoda
ed10225046
Rework Dotenv testing to use VFS
2018-07-24 09:44:49 -07:00
Lonnie Ezell
1a6499a46c
Merge pull request #1109 from jim-parry/testing3/http
...
Testing3/http
2018-07-22 22:43:48 -05:00
Master Yoda
364847cec7
Beef up IncomingRequest & Negotiate unit testing
2018-07-21 00:36:06 -07:00
Lonnie Ezell
31f15bbddb
Fixing safe_mailto by removing CDATA comment hack that no longer works in modern browsers and in HTML5. Fixes #1102
2018-07-17 23:18:56 -05:00
Lonnie Ezell
f5e15415b8
InsertBatch and UpdateBatch now included in Model and will validate each row prior to saving. Fixes #967
2018-07-17 23:04:42 -05:00
Master Yoda
d88520b20a
Merge branch 'develop' into testing3/http
2018-07-16 09:27:19 -07:00
Master Yoda
cc5e82eefa
Beef up HTTP\Request testing, correct docs
2018-07-16 09:25:24 -07:00
Lonnie Ezell
a42fe26e15
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
2018-07-15 23:20:16 -05:00
Lonnie Ezell
12a5f0d2c8
Update method in database accepts multiple primary keys now. Fixes #865
2018-07-15 23:17:59 -05:00
Lonnie Ezell
333617e3ee
find method in model with no parameters now returns all rows in table. #865
2018-07-15 23:06:34 -05:00
Lonnie Ezell
6565f93c50
Update delete method to accept 1 id, an array of ids, or work like Builder. #865
2018-07-15 22:57:38 -05:00
Lonnie Ezell
88fea3d88a
Remove findWhere and deleteWhere methods from Model. #865
2018-07-15 22:45:19 -05:00