3451 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
90b4603455
is_numeric($value) check for month 2018-07-29 10:59:54 +07:00
Abdul Malik Ikhsan
323023992a
fix invalidDay and invalidMonth start check, use 1 instead of 0 2018-07-29 10:40:03 +07:00
Abdul Malik Ikhsan
9dcab15cc1
apply break; on loop prefixes card on ccNumber has its prefix 2018-07-29 10:04:45 +07:00
Abdul Malik Ikhsan
68d285605a
remove unneded cast to (bool) as use type hint feature 2018-07-28 06:43:55 +07:00
Abdul Malik Ikhsan
b4e1349809
add 425 status code 2018-07-28 06:13:10 +07:00
Lonnie Ezell
0d2b287188
Merge pull request #1097 from bangbangda/develop
auto session start
2018-07-27 09:01:22 -05:00
24Kdabaiyang
8196f8c8e2
Merge pull request #2 from bcit-ci/develop
Update code
2018-07-27 12:35:24 +08:00
HaoLiang
de7d9e1b62 同步model 2018-07-27 10:51:03 +08:00
Lonnie Ezell
6da7103ecb Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop 2018-07-26 12:48:37 -05:00
Lonnie Ezell
a77aab36fb
Clearer Formatting for migrate:status command. 2018-07-26 12:48:30 -05:00
Lonnie Ezell
77844b4b70
Merge pull request #1115 from jim-parry/fix/incoming
Fix IncomingRequestURI parsing
2018-07-26 11:49:04 -05:00
Master Yoda
d6331833b5
Fix IncomingRequestURI parsing 2018-07-26 07:15:20 -07: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
cab7303fb1
Merge pull request #1101 from samsonasik/implement-todo-esc
implements @todo Optimize Escaper instance creation to only load a single instance during page request
2018-07-23 23:08:18 -05:00
Lonnie Ezell
e6d67a3c6a
Merge pull request #1111 from samsonasik/7.2-count-fix
php 7.2 fix Request::getIPAddress() error count(): Parameter must be an array or an object that implements Countable
2018-07-23 22:35:21 -05:00
Abdul Malik Ikhsan
feff78ac32
php 7.2 fix Request::getIPAddress() error count(): Parameter must be an array or an object that implements Countable 2018-07-24 08:12:59 +07:00
Abdul Malik Ikhsan
5525455af3
update esc function with apply $encoding check with its create new instance when defined escaper->getEncoding() not equals than passed encoding 2018-07-23 14:53:04 +07:00
Lonnie Ezell
1a6499a46c
Merge pull request #1109 from jim-parry/testing3/http
Testing3/http
2018-07-22 22:43:48 -05:00
Lonnie Ezell
83ac2f4763
Merge pull request #1108 from ytetsuro/fix/bug-where-you-can-not-change-the-path-freely
Fixed a bug where you can not change the path freely.
2018-07-22 22:28:38 -05:00
ytetsuro
d976b25d81
fix: Remove the dependence on path. 2018-07-21 22:05:45 +09:00
Master Yoda
364847cec7
Beef up IncomingRequest & Negotiate unit testing 2018-07-21 00:36:06 -07:00
Lonnie Ezell
1747c01989
Merge pull request #1107 from bcit-ci/revert-1105-fix/bug-where-you-can-not-change-the-path-freely
Revert "Fixed a bug where you can not change the path freely"
2018-07-20 10:25:57 -05:00
Lonnie Ezell
ef986a4bc1
Revert "Fixed a bug where you can not change the path freely" 2018-07-20 10:25:33 -05:00
Lonnie Ezell
05c7958d47
Merge pull request #1105 from ytetsuro/fix/bug-where-you-can-not-change-the-path-freely
Fixed a bug where you can not change the path freely
2018-07-19 23:29:49 -05:00
ytetsuro
7cab071dea
fix: Fixed a bug where you can not change the path freely 2018-07-19 21:56:44 +09:00
24Kdabaiyang
1fe0c12127
Model deleting multiple data error
https://bcit-ci.github.io/CodeIgniter4/database/model.html#deleting-data

An array of primary keys can be passed in as the first parameter to delete multiple records at once:
`$userModel->delete([1,2,3]);`
2018-07-19 16:25:25 +08: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
Lonnie Ezell
67aadd9e37
Removing extra return statement from Response setJSON. 2018-07-16 22:46:12 -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
2a0e2fb1a4
Added replace to the Model so it can validate data prior to replacing. #967 2018-07-15 23:26:12 -05: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
Lonnie Ezell
1075094af1
Update insert and update in model to work with set() and more like the builder version. #967 2018-07-15 22:35:22 -05:00
Abdul Malik Ikhsan
5c581850e3
implements @todo Optimize Escaper insteance creation to only load a single instance during page request 2018-07-16 05:49:39 +07:00
Lonnie Ezell
61d2bc389c
Merge pull request #1100 from jim-parry/testing2/http
Testing2/http
2018-07-15 13:14:57 -05:00
Master Yoda
ce6e4ed410
Small enhancement to testing for FileCollection 2018-07-15 01:24:53 -07:00
Master Yoda
4a09583459
Updated HTTP\Files\UploadedFile tests, exceptions & docs 2018-07-14 01:32:30 -07:00
Lonnie Ezell
f89c8698a0
Fixes ordering of items in CLI. Fixes #1099 2018-07-12 23:44:24 -05:00
Lonnie Ezell
a62391a5fc
Don't check base path on cli 2018-07-12 23:24:19 -05:00
Lonnie Ezell
25274e27db
Actually check the response from before filters so we can redirect silly. Fixes #1098 2018-07-12 22:49:42 -05:00