4425 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
4f38b1639c
Optimize bootstrap files 2020-08-28 19:29:52 +08:00
MGatner
da6da0178f
Merge pull request #3552 from michalsn/sessionExpireTests
More tests for session and mock fixes
2020-08-27 19:31:57 -04:00
michalsn
113f4f789f
Add samesite attribute for debug-bar related cookies 2020-08-27 19:37:55 +02:00
michalsn
204276a2f0
More tests for session and mock fixes 2020-08-27 19:06:18 +02:00
Michal Sniatala
81134cd4f9
Merge pull request #3546 from crustamet/patch-1
Fix Session gets expired using AJAX with Session
2020-08-27 19:00:17 +02:00
MGatner
20a1ab2211
Merge pull request #3547 from samsonasik/fix-phpstan-error-notice
Fix phpstan error notice after update to v0.12.40
2020-08-27 07:50:47 -04:00
MGatner
03bb22575c
Merge pull request #3459 from devorama/devorma-customfilters
Custom Filters for Code Modules
2020-08-27 07:39:18 -04:00
Abdul Malik Ikhsan
c39046d4b5
Fix phpstan error notice after update to v0.12.40 2020-08-27 16:44:59 +07:00
Merlas Paul (Crustamet)
c393ef5e49
Fix Session gets expired using AJAX with Session
Fix session class setcookie not getting renewed when using ajax and put expire date in the past.
2020-08-27 12:04:19 +03:00
Michal Sniatala
a897ef2e00
Merge pull request #3540 from samsonasik/using-predifined-property-variables-fallback-security-class
using predefined Security property values when config->{$propertyName} null/not exists in Security __construct
2020-08-26 10:54:42 +02:00
Abdul Malik Ikhsan
d936f4caf9
Apply phpstan level 5 (#3541)
Apply phpstan level 5
2020-08-26 10:54:27 +02:00
Abdul Malik Ikhsan
5c6a7ec745
using predefined Security property values when config->{$propertyName} null/not exists in Security __construct 2020-08-26 07:02:55 +07:00
John Paul E. Balandan, CPA
8347bb90d5
Index.php optimization 2020-08-26 01:22:28 +08:00
MGatner
a1aa4e5add
Merge pull request #3535 from samsonasik/apply-phpstan-level-4
Apply phpstan level 4
2020-08-25 10:21:02 -04:00
MGatner
dfbab7363d
Merge pull request #3508 from najdanovicivan/entity-asArray-cast
Codeigniter\Entity - Fix ToArray datamap
2020-08-25 09:49:17 -04:00
Abdul Malik Ikhsan
4ee4cfc9d4
Apply phpstan level 4 2020-08-25 20:03:59 +07:00
devorama
fc5f18d281 change request as per @michalsn
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-25 07:16:05 +02:00
Abdul Malik Ikhsan
b1f4705a0e
using predefined Session property values when config->propertyName null in Session __construct 2020-08-25 00:59:24 +07:00
Michal Sniatala
a3b7aba2bc
Merge pull request #3531 from samsonasik/clean-up-class-exists-locale
clean up: remove unneeded class_exists(Locale, false) in IncomingRequest
2020-08-24 19:50:53 +02:00
Mattias Sandström
17f9b84260
Add support for SameSite cookies (#3447)
Add support for SameSite cookies #3442
2020-08-24 19:48:49 +02:00
Abdul Malik Ikhsan
62f2eb4d6f
clean up: remove unneeded class_exists(Locale, false) in IncomingRequest 2020-08-24 22:04:38 +07:00
MGatner
3e032e3334
Merge pull request #3528 from samsonasik/cs-fixes
cs fixes
2020-08-24 07:48:28 -04:00
Abdul Malik Ikhsan
62226f6681
clean up: remove unnecessary casting 2020-08-24 17:49:21 +07:00
Abdul Malik Ikhsan
75fdbeb27f
cs fixes 2020-08-23 23:29:58 +07:00
MGatner
6d45746a34
Merge pull request #3522 from paulbalandan/time-format-hours
Time format hours
2020-08-23 08:37:48 -04:00
MGatner
e7845b68f0
Merge pull request #3521 from samsonasik/fix-handle-header-value-null
Fixes handle Header value set/append/prepend null
2020-08-23 08:24:14 -04:00
Abdul Malik Ikhsan
ebc4d19ea9
More tests Honeypot on empty container or no {template} 2020-08-23 13:47:05 +07:00
Abdul Malik Ikhsan
b91db446e6
remove null from @return docblock of Header::getValue(), it will returns empty string when set to null 2020-08-23 01:25:35 +07:00
devorama
71dd8e04ea changes as per change request from @michalsn
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-22 18:43:59 +02:00
John Paul E. Balandan, CPA
20db893447
Use elseif 2020-08-23 00:15:20 +08:00
Abdul Malik Ikhsan
ee281657ff
use null coalescing operator set $this->value = $value ?? "" 2020-08-22 23:10:07 +07:00
bagimuka
3d9efadb6b return format hours
line 1209
$phrase = lang('Time.hours', [abs($hours)]);
$before = $hours < 0;
2020-08-23 00:03:15 +08:00
Abdul Malik Ikhsan
aef3a09f79
Fixes handle Header value set/append/prepend null 2020-08-22 22:40:45 +07:00
MGatner
b98eac7268
Merge pull request #3520 from samsonasik/fix-header-setheader-append
Fixes Message::setHeader() appendHeader when header exists, its value  is array, and passed value is string/array
2020-08-22 09:40:18 -04:00
MGatner
499de54665
Merge pull request #3505 from michalsn/feature/dsn_string
Add support for DSN universal prototype
2020-08-22 07:46:41 -04:00
Abdul Malik Ikhsan
a0f9e4bd69
add handling when passed value is array 2020-08-22 18:33:13 +07:00
Abdul Malik Ikhsan
0b97f540e8
Fixes Message::setHeader() appendHeader when header exists, its value is array, and passed value is string 2020-08-22 18:22:14 +07:00
Devorama
3d91d80970
Add param type to constructor to force param type hint (#3517)
Add param type to constructor to force param type hint
2020-08-21 19:22:42 +02:00
devorama
9c284d7f8d need \Config\Modules type hint from @samsonasik
I Think this is how it is done, or what is asked.

Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:28 +02:00
devorama
711f476056 change reqeust as per @samsonasik
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:27 +02:00
devorama
4c4f93285e change request as per @samsonasik
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:27 +02:00
devorama
d1b793659f phpdoc param fix
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:27 +02:00
devorama
a9ab01f042 Changed to rather use Modules config to
enable disable searching for custom filters than
a config optionin filters config file, is more inline
with  CI design

Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:26 +02:00
devorama
b786bb9752 update as suggested by change request
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:22 +02:00
devorama
7d36287c11 Add logic to allow test's that is just
based on array values to work

Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:21 +02:00
devorama
b33b452090 Add ability to add custom namespace filters to allow config
of seperate code not to require change of core systems config
files. This will allow easier updates of core system without
concern of overwriting custom filters that was added.

Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:21 +02:00
Abdul Malik Ikhsan
c480aedd3c
Apply phpstan level 3 2020-08-21 01:15:30 +07:00
michalsn
fffeec53dc
Merge branch 'feature/dsn_string' of github.com:michalsn/CodeIgniter4 into feature/dsn_string 2020-08-20 07:34:55 +02:00
michalsn
24dee09bad
Fix @throw 2020-08-20 07:34:21 +02:00
Michal Sniatala
b22106c786
Apply suggestions from code review
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2020-08-20 07:30:02 +02:00