Instructor, BCIT
778a13bb9b
Create CODE_OF_CONDUCT.md
2018-09-08 23:24:06 -07:00
Lonnie Ezell
8a4ff9b5d5
Merge pull request #1207 from jim-parry/fix/helpertests
...
Correct helper tests namespace
2018-09-07 12:33:45 -05:00
Master Yoda
8fb8d90288
Correct helper tests namespace
2018-09-07 09:25:34 -07:00
Lonnie Ezell
9bb7a52287
Merge pull request #1173 from sugenganthos/patch-2
...
Update Response.php
2018-09-06 21:59:06 -05:00
Lonnie Ezell
76e55590dc
Merge pull request #1203 from ytetsuro/fix/rule-split-bug
...
Validation Class - corresponding about the escaped separator.
2018-09-06 12:51:44 -05:00
ytetsuro
0ca43a3abb
fix: corresponding about the escaped separator.
...
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2018-09-07 02:02:52 +09:00
Lonnie Ezell
1d0b68b99f
addressing merge conflicts
2018-09-05 23:18:16 -05:00
Lonnie Ezell
d57a465048
Updated validation test to properly split rules. Fixes #1201
2018-09-05 23:17:14 -05:00
Lonnie Ezell
b80acf2d09
Merge pull request #1190 from puschie286/CatchEmailExceptions
...
Catch Email Exceptions
2018-09-05 08:38:16 -05:00
Christoph Potas
11ce62fa49
~ use logger trait instead of service instance
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-09-05 09:47:06 +02:00
Lonnie Ezell
5b1257cd1f
Merge pull request #1197 from samsonasik/validation-get-errors
...
use Validation->getErrors() call instead of Valdation::errors to handle errors that came from session
2018-09-04 21:59:33 -05:00
Lonnie Ezell
4acbd31597
Remove non-existent functions from form_helper docs.
2018-09-04 21:53:25 -05:00
Lonnie Ezell
b97dbf82dc
Merge pull request #1199 from samsonasik/file-rule-use-file-get-size
...
Fixes FileRules::max_size() to use file->getSize() instead of number_formatted size
2018-09-04 21:43:08 -05:00
Abdul Malik Ikhsan
6defcfa1b1
Fixes FileRules::max_size() to use file->getSize() instead of number_format-ed size
2018-09-05 02:01:39 +07:00
Christoph Potas
f4f63a10b6
+ added log entry
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-09-04 08:42:12 +02:00
Abdul Malik Ikhsan
337f29a50c
use Validation::getErrors() call instead of Valdation::errors to handle errors that came from session
2018-09-04 12:07:29 +07:00
Lonnie Ezell
2c40abd4cf
Merge pull request #1182 from bangbangda/develop
...
log file:failed to delete buffer. No buffer to delete.
2018-09-03 22:40:04 -05:00
Lonnie Ezell
06a4980af3
Merge pull request #1178 from sugenganthos/develop
...
Adjust log level to match RFC 5424
2018-09-03 22:39:20 -05:00
Lonnie Ezell
60d017c0fc
Merge pull request #1191 from samsonasik/bool-getshared
...
add bool type hint for getShared parameter
2018-09-03 22:31:02 -05:00
Lonnie Ezell
3a8e823049
Merge pull request #1184 from samsonasik/remove-salt-in-model
...
remove unused salt in Model
2018-09-03 22:28:33 -05:00
Lonnie Ezell
253f58bd68
Merge pull request #1194 from samsonasik/session-path
...
add writable/session directory and set default App::sessionSavePath to it
2018-09-03 22:25:35 -05:00
Lonnie Ezell
2fe8459d90
Merge pull request #1195 from nowackipawel/patch-4
...
pagination - optional page number
2018-09-03 22:10:49 -05:00
Lonnie Ezell
ded0479d71
Merge pull request #1187 from nowackipawel/patch-2
...
Adds valid_json which is using json_last_error() === JSON_ERROR_NONE
2018-09-03 22:09:55 -05:00
Lonnie Ezell
ebdd40df67
Merge pull request #1192 from samsonasik/fix-travis-router
...
Fix travis error build on Router and RouteCollection
2018-09-03 22:08:42 -05:00
Lonnie Ezell
72e77c65d5
Merge pull request #1196 from nowackipawel/patch-6
...
allows to get table and primary key name out of the model
2018-09-03 22:07:58 -05:00
Paweł Nowacki
e2c9c2a873
Update Model.php
...
adding additional if for __get method to make easier achieve sth like this:
$row->{$model->primaryKey}
2018-09-03 11:54:12 +02:00
Paweł Nowacki
75264ba503
pagination - optional page number
...
allows to deliver to the paginate method an optional parameter with page number , useful for custom pagination implementation like: host.com/segment/[pageNumber]
2018-09-03 11:34:26 +02:00
Abdul Malik Ikhsan
3c209633e3
add fallback for session ini_get(session.save_path) returns empty
2018-09-02 15:50:24 +07:00
Abdul Malik Ikhsan
ea4dd36e4e
add writable/session directory and set default App::sessionSavePath to it
2018-09-02 13:33:16 +07:00
Paweł Nowacki
7378a213c2
valid_json tests
2018-08-31 13:56:38 +02:00
Paweł Nowacki
9ef2d95d8a
doscs - valid_json
2018-08-31 13:54:32 +02:00
Abdul Malik Ikhsan
5c965a917b
Fix travis error build on Router and RouteCollection
2018-08-31 15:04:41 +07:00
Abdul Malik Ikhsan
8375e4c212
add bool type hint for getShared parameter
2018-08-31 03:32:57 +07:00
Christoph Potas
682713e361
~ rename for easier understanding
...
~ fix inverted $method result
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-30 16:27:11 +02:00
Christoph Potas
8b87be12dc
~ catch ErrorException ( when php.ini email config is invalid )
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
2018-08-30 16:18:54 +02: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
Paweł Nowacki
804106090c
Adds valid_json which is using json_last_error() === JSON_ERROR_NONE
...
it will return false if json is null, similar to existing funcs , i.e. valid_url
2018-08-30 13:09:38 +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
Abdul Malik Ikhsan
f0e253c8a9
remove unused salt in Model
2018-08-28 04:45:52 +07:00
HaoLiang
8f860f28d7
log file:failed to delete buffer. No buffer to delete.
2018-08-27 16:40:38 +08:00
sugenganthos
0b3f5f8da7
Update LoggerTest.php
2018-08-27 11:48:24 +07: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