2626 Commits

Author SHA1 Message Date
kenjis
464ed0350e
feat: can add route handler as callable
E.g.:
$routes->add('home', [Hello::class, 'index']);
$routes->add('product/(:num)/(:num)', [[Hello::class, 'index'], '$1/$2']);
2022-02-25 13:26:01 +09:00
kenjis
0e18a6ca4c
docs: change "previous version" to a specific version 2022-02-23 09:40:33 +09:00
kenjis
7c84a3052d
docs: add warning about auto-routing 2022-02-22 15:11:34 +09:00
kenjis
59715c7b9a
docs: improve page link 2022-02-22 15:10:14 +09:00
kenjis
52fc49c701
docs: make the file path more detailed 2022-02-22 15:08:44 +09:00
kenjis
661cf1633d
Merge pull request #5689 from sfadschm/docs-example-code
[Docs] Extract example php code for static analysis.
2022-02-22 14:30:52 +09:00
kenjis
f205895802
Merge pull request #5716 from kenjis/fix-docs-changelogs/v4.2.0.rst
docs: update changelogs/v4.2.0.rst
2022-02-22 12:51:20 +09:00
kenjis
3a216d0f5e
docs: add note about how to check CI version 2022-02-22 09:39:09 +09:00
kenjis
60abb80ba5
docs: add SPARKED in Deprecations 2022-02-22 08:54:34 +09:00
kenjis
2c52bd6746
docs: fix typo 2022-02-22 08:49:29 +09:00
Alex Schmitz
b135145df6
Add script for automatic renumeration of examples. 2022-02-21 00:27:30 +01:00
Alex Schmitz
5b84072e32
Fix merge conflicts. 2022-02-20 20:40:51 +01:00
Alex Schmitz
a85a2e843e
Renumerate examples. 2022-02-20 20:40:51 +01:00
Alex Schmitz
c18c392c01
Segregate duplicates. 2022-02-20 09:50:02 +01:00
Alex Schmitz
e6f878510c
Extract php examples in docs to php files. 2022-02-20 09:49:53 +01:00
kenjis
5010f64ddc
docs: fix incorrect description about Uploaded Files 2022-02-19 10:01:12 +09:00
kenjis
bc966170be
Merge pull request #5650 from kenjis/remove-SPARKED
refactor: CodeIgniter has context
2022-02-19 08:36:42 +09:00
kenjis
fa6494f180
Merge pull request #5639 from kenjis/add-validateData
feat: add Controller::validateData()
2022-02-18 13:03:07 +09:00
John Paul E. Balandan, CPA
968c0278a0
Merge pull request #5684 from paulbalandan/refactor-exception-logging
Improve exception logging
2022-02-17 19:56:20 +08:00
kenjis
5dfa393d93
Merge pull request #5698 from kenjis/fix-docs-autoloader.rst
docs: fix out of dated description in autoloader.rst
2022-02-16 12:34:01 +09:00
kenjis
9ddb49d46e
docs: fix out of dated description 2022-02-16 11:41:55 +09:00
kenjis
c5b53697d5
Merge pull request #5127 from vlakoff/db-query
Allow calling getQuery() multiple times, and other improvements
2022-02-16 09:01:11 +09:00
John Paul E. Balandan, CPA
825534e1f1
Add changes to changelog 2022-02-15 17:27:44 +08:00
kenjis
827c360a10
Merge pull request #5609 from iRedds/fix/validation-asterisk-error
Fix: Validation. Error key for field with asterisk
2022-02-15 17:43:42 +09:00
kenjis
d68d1b8b02
Merge pull request #5686 from kenjis/fix-docs-routing.rst
docs: use `get()` not `add()` from the beginning in routing.rst
2022-02-15 17:00:10 +09:00
kenjis
909e78cb16
Merge pull request #5682 from kenjis/fix-router-default-method
fix: $routes->setDefaultMethod() does not work
2022-02-15 16:59:33 +09:00
Andrey Pyzhikov
133653950c
Validation::getError() wildcard
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
2022-02-15 15:50:43 +08:00
Andrey Pyzhikov
8f4147e64d
Validation::getError() wildcard
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
2022-02-15 15:50:43 +08:00
Andrey Pyzhikov
a8b64799b0
Validation::hasError() wildcard
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
2022-02-15 15:50:42 +08:00
Andrey Pyzhikov
d67379a502
Changelog 2022-02-15 15:50:27 +08:00
Andrey Pyzhikov
7dce1aa7d5
Fix: Validation. Error key for field with asterisk
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
2022-02-15 15:45:32 +08:00
kenjis
35d50f4177
docs: fix classname
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-02-15 15:43:45 +09:00
kenjis
ea2366ad72
Merge pull request #5656 from kenjis/refactor-session
refactor: Session does not use cookies()
2022-02-15 15:30:29 +09:00
kenjis
9295bbe4ce
docs: add user guide 2022-02-15 15:15:12 +09:00
kenjis
b6866de9ad
Merge pull request #5692 from kenjis/fix-docs-entities.rst
docs: improve entities.rst
2022-02-14 16:11:51 +09:00
kenjis
8d47121441
docs: add about Model and Query Builder
See https://github.com/codeigniter4/CodeIgniter4/issues/5549
2022-02-14 11:44:48 +09:00
kenjis
6a7b242843
docs: add note about $attributes 2022-02-14 09:59:03 +09:00
kenjis
ca58f384ec
docs: do not use add() in explanations
The `add()` is not recommended to use.
2022-02-13 09:54:20 +09:00
kenjis
ead5c0d79a
docs: fix inaccurate explanation
The classnames may not be fully-namespaced.
2022-02-13 09:31:29 +09:00
kenjis
562a990ce4
docs: improve explanation 2022-02-13 09:31:11 +09:00
kenjis
2822a186f6
refactor: do not use and deprecate setDefaultController() method
The constructor of the Router class already defines the default controller.
2022-02-13 08:58:16 +09:00
kenjis
7401ca9423
Merge pull request #5661 from kenjis/fix-docs-method-filter
docs: add warning about $method filters
2022-02-13 07:10:39 +09:00
John Paul E. Balandan, CPA
40446ff96b
Deprecate also Logger::cleanFilenames and TestLogger::cleanup 2022-02-13 00:35:05 +08:00
John Paul E. Balandan, CPA
9c3f6e973a
Deprecate both Exceptions::cleanPath() and BaseCollector::cleanPath() 2022-02-12 22:20:43 +08:00
kenjis
7f182e18c3
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-02-12 17:22:06 +09:00
kenjis
09c2157760
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-02-12 17:22:00 +09:00
kenjis
664a4e96c6
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-02-12 17:21:50 +09:00
kenjis
bc22dead6f
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-02-12 17:21:42 +09:00
kenjis
e72fb33189
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-02-12 17:21:34 +09:00
kenjis
c6ee79f533
docs: add upgrade note 2022-02-12 17:08:46 +09:00