2546 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
59173f4a4d
move count assignment outside the loop 2017-08-08 08:55:39 +07:00
Abdul Malik Ikhsan
88f8dfb7fa
count() usage improvement: replace with empty() when possible, assign to variable on loop 2017-08-08 08:19:29 +07:00
Abdul Malik Ikhsan
1d08adf9b2
replace array() with short array syntax [] 2017-08-08 07:46:43 +07:00
Abdul Malik Ikhsan
b3a423d260
update installation instruction with include composer create-project instruction 2017-08-08 06:08:16 +07:00
Abdul Malik Ikhsan
e73615f867
s/number/string 2017-08-07 21:43:51 +07:00
Abdul Malik Ikhsan
95d846dfff
space 2017-08-07 21:24:47 +07:00
Abdul Malik Ikhsan
144baff3c7
doc "crypt" random_string 2017-08-07 21:23:55 +07:00
Lonnie Ezell
d863c81f2c Merge pull request #659 from samsonasik/security-csrfverify
allow Security::CSRFVerify() to return false docblock
2017-08-07 09:13:06 -05:00
Abdul Malik Ikhsan
a7c4e7e113 whitespace 2017-08-07 20:45:14 +07:00
Abdul Malik Ikhsan
e858fe89b8
add random_bytes() into random_string() helper 2017-08-07 20:39:37 +07:00
Lonnie Ezell
e25a4319e1 Merge pull request #660 from samsonasik/md5-random_bytes
replace md5(mt_rand()) with bin2hex(random_bytes(16)) at Common::is_really_writable
2017-08-07 08:22:26 -05:00
Lonnie Ezell
f3ba8a5f41 Merge pull request #661 from samsonasik/more-entropy-true-md5
set more_entropy = true on uniquid at md5 random_string helper
2017-08-07 08:21:39 -05:00
Abdul Malik Ikhsan
0b811c221b
set more_entropy = true on uniquid at md5 random_string helper 2017-08-07 14:15:55 +07:00
Abdul Malik Ikhsan
e86dfbcd24
replace md5(mt_rand()) with bin2hex(random_bytes(16)) at Common::is_really_writable 2017-08-07 14:11:38 +07:00
Abdul Malik Ikhsan
41a5b1599b
allow Security::CSRFVerify() to return false docblock 2017-08-07 13:31:09 +07:00
Abdul Malik Ikhsan
cd31592ec5
add break; on loop $namespaces when it match $ns on CreateMigration command 2017-08-07 13:03:26 +07:00
Lonnie Ezell
ea8713e1f5
Documentation for Time getters and setters. 2017-08-06 23:24:45 -05:00
Lonnie Ezell
c6998fc618 Merge pull request #649 from samsonasik/limit-offset-typehint-def-values
set limit and offset typehint with int and its default value
2017-08-06 22:23:46 -05:00
Lonnie Ezell
a71a3745db Merge pull request #654 from natanfelles/formater
Update API ResponseTrait Formatter
2017-08-06 22:18:34 -05:00
Instructor, Computer Systems Technology
870db8474b Merge pull request #618 from jim-parry/test/config
Test/config
2017-08-06 07:32:42 -07:00
Lonnie Ezell
ba99b73d43 Merge pull request #653 from natanfelles/model
Update Model
2017-08-04 09:51:11 -05:00
Natan Felles
04a1fc4540
Recursively convert objects into associative arrays 2017-08-04 10:56:16 -03:00
Lonnie Ezell
628cc46aa0 Merge pull request #652 from daylightstudio/develop
Fix for current_url() function
2017-08-04 08:52:58 -05:00
Natan Felles
dd1c378adc
Fix API ResponseTrait. It was failing if format data type was Object 2017-08-04 08:26:15 -03:00
Natan Felles
1525557895
Also update updatedField on Soft Deletes - Last updated_at will be the deleted datetime 2017-08-04 04:47:45 -03:00
Natan Felles
a8dd333382
validationMessages needs to be array - Avoid error in validate() 2017-08-04 03:38:36 -03:00
David McReynolds
710264e150 Fix for current_url() function
If site_url() or base_url() functions are called before the current_url() function, it can change the expected value.
2017-08-03 22:36:16 -07:00
Lonnie Ezell
dd81ae3dc4
Merging 2017-08-03 23:44:33 -05:00
Lonnie Ezell
6ad2d0717b
[ci skip] Starting on I18n Time docs 2017-08-03 23:43:58 -05:00
Abdul Malik Ikhsan
54f3d41302
set limit and offset typehint with int and its default value 2017-08-03 11:15:50 +07:00
Lonnie Ezell
3923e62c18 Merge pull request #639 from samsonasik/7.2-support
Fixing build on php 7.2 env
2017-08-02 22:42:23 -05:00
Lonnie Ezell
a883c95675
Attempting to fix occasional db tests on Travis 2017-08-02 22:20:19 -05:00
Lonnie Ezell
2e1549f5b1 Merge pull request #645 from bangbangda/develop
URI Routing update
2017-08-02 22:01:03 -05:00
Abdul Malik Ikhsan
fdc1341282
Fixing build on php 7.2 env 2017-08-03 07:16:12 +07:00
David McReynolds
585fbc0b7d Fix for issue #642 regarding using the route_to function with routes other then post 2017-08-02 16:58:10 -07:00
David McReynolds
c609ccd48d Moved location of $_SERVER[‘CI_ENVIRONMENT’] to be above call to new \Config\Paths()
This allows for changing of Path variables based on the environment when running tests.
2017-08-02 16:56:34 -07:00
HaoLiang
3d7d2dc1a3 URI Routing update
Priority change
2017-08-02 18:12:39 +08:00
HaoLiang
a9a8da3fc2 URI Routing update
3.PATCH OR PUT mapping to update.
2017-08-02 17:40:59 +08:00
HaoLiang
e8d67887aa URI Routing update
1.resource method.increase edit and new routes.
2.listAll to index
2017-08-01 15:40:16 +08:00
Lonnie Ezell
454a097c89
Entities can automatically mutate date fields to Time instances. Created_at and updated_at are automatically mutated by default. Needs timezone and locale integration 2017-07-29 00:02:01 -05:00
Lonnie Ezell
496b8071b9 Merge pull request #631 from lloricode/number-to-roman
Number to roman
2017-07-27 21:38:48 -05:00
Lonnie Ezell
46f240a230
CurlRequest should be able to parse when a 100 Continue status is part of the string. Fixes #638 2017-07-27 21:36:02 -05:00
Lonnie Ezell
195db4381f
Remove temp code in Home controller 2017-07-27 21:31:03 -05:00
Lonnie Ezell
0adc936c55 Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop 2017-07-27 21:30:23 -05:00
Lonnie Ezell
fede742826 Merge pull request #640 from natanfelles/pagination
Pager update
2017-07-27 21:29:34 -05:00
Lonnie Ezell
d7c26d7ce2 Merge pull request #634 from natanfelles/debug-toolbar
Move Debug Toolbar to Page Bottom
2017-07-27 21:28:02 -05:00
Natan Felles
c0e20ccbfc
Add z-index 10000 to debug-bar 2017-07-27 15:44:06 -03:00
Natan Felles
dbfb909f39
Update toolbar styles to avoid external conflicts 2017-07-27 07:21:02 -03:00
Natan Felles
a7b6d4e86a
Return NULL in getPrevious() and getNext() if not has 2017-07-27 06:12:53 -03:00
Natan Felles
55720fcd94
Invert older-newer because Older is get after (ORDER BY created_at DESC) 2017-07-27 03:59:25 -03:00