1988 Commits

Author SHA1 Message Date
Giuseppe Criscione
b29f7b20b8 Use StaticClass trait when needed 2022-11-20 00:40:47 +01:00
Giuseppe Criscione
ecfd8b227c Add trait StaticClass 2022-11-20 00:34:46 +01:00
Giuseppe Criscione
55d06098a2 Add Str::chunk() 2022-11-19 23:51:27 +01:00
Giuseppe Criscione
64d804ca60 Add Str::interpolate() 2022-11-19 23:50:59 +01:00
Giuseppe Criscione
cd03ccba05 Add Str::dotNotationToBrackets() 2022-11-19 23:50:19 +01:00
Giuseppe Criscione
a81a076c8d Add support for union types to typed collections 2022-11-19 23:41:38 +01:00
Giuseppe Criscione
30d1912961 Constraint::isOfType() supports union types 2022-11-19 23:40:39 +01:00
Giuseppe Criscione
529b542092 Add trait Methods 2022-11-19 22:37:50 +01:00
Giuseppe Criscione
df0a8c8307 Remove session cookie with Session::destroy() 2022-11-19 22:36:39 +01:00
Giuseppe Criscione
0e9c9aa933 Fix Arr::nth() and Arr::at() not returning `null 2022-11-13 20:16:45 +01:00
Giuseppe Criscione
608899e77a Fix AbstractCollection methods 2022-11-13 13:23:50 +01:00
Giuseppe Criscione
42e47decc5 Add Arr::nth() and Arr::duplicates() 2022-11-13 13:21:10 +01:00
Giuseppe Criscione
e0436303fa Fix DataSetter not implementing Arrayable 2022-11-13 13:08:04 +01:00
Giuseppe Criscione
27c9474c30 Fix DataSetter still extending final DataGetter 2022-11-12 21:13:48 +01:00
Giuseppe Criscione
12c2ea792c Add AbstractCollection::deepClone() 2022-11-12 21:12:08 +01:00
Giuseppe Criscione
b14de5fbd9 Use Arr::map() with AbstractCollection::map() 2022-11-12 21:07:33 +01:00
Giuseppe Criscione
b361b6dac0 Fix Arr::map() not preserving keys 2022-11-12 21:06:43 +01:00
Giuseppe Criscione
992e76d8d0 Use ArraySerializable with CacheItem 2022-11-11 23:35:41 +01:00
Giuseppe Criscione
1583c78f9b Implement ArraySerializable to class Response 2022-11-11 23:34:26 +01:00
Giuseppe Criscione
f9be6ad882 Add support for ArraySerializable to class PHP 2022-11-11 23:33:34 +01:00
Giuseppe Criscione
461d1d6592
Merge pull request #388 from getformwork/feature/final-data-classes 2022-11-11 23:26:31 +01:00
Giuseppe Criscione
e60fc89cf5 Fix classes extending DataGetter and DataSetter 2022-11-11 23:23:25 +01:00
Giuseppe Criscione
27aeb5ae46 Make final the classes DataGetter and DataSetter 2022-11-11 23:21:45 +01:00
Giuseppe Criscione
0663a3d1d3
Merge pull request #387 from getformwork/feature/collections-2.0 2022-11-11 23:17:07 +01:00
Giuseppe Criscione
4017187776 Update collections 2022-11-11 23:11:39 +01:00
Giuseppe Criscione
c2f4a75457 Rewrite Collection 2022-11-11 23:00:57 +01:00
Giuseppe Criscione
9f7495cbed Add new methods to Arr 2022-11-11 22:55:44 +01:00
Giuseppe Criscione
7f9a0c25bc
Merge pull request #386 from getformwork/feature/constraint-class
Add class `Constraint`
2022-11-11 20:15:34 +01:00
Giuseppe Criscione
85a8fa344e Refactor Validator to use class Constraint 2022-11-11 20:10:45 +01:00
Giuseppe Criscione
70ea75846e Add class Constraint 2022-11-11 19:58:02 +01:00
Giuseppe Criscione
4b629584fb
Merge pull request #385 from getformwork/feature/data-traits-and-interfaces
Add data traits and interfaces
2022-11-05 18:50:08 +01:00
Giuseppe Criscione
0ee01efb79 Use traits in existing data classes 2022-11-05 18:34:27 +01:00
Giuseppe Criscione
4a04e4c214 Add traits to compose data classes 2022-11-05 18:19:12 +01:00
Giuseppe Criscione
bc70fd2fdb Add Arrayable and ArraySerializable interfaces 2022-11-05 18:16:12 +01:00
Giuseppe Criscione
3cc29a1fcb Fix braces 2022-11-05 18:14:44 +01:00
Giuseppe Criscione
231d6af9ab
Merge pull request #384 from getformwork/feature/cache-items
Add `CacheItem` and remove validation from cache classes
2022-11-05 15:53:05 +01:00
Giuseppe Criscione
b56b418152 Remove SiteCache 2022-11-02 22:06:08 +01:00
Giuseppe Criscione
61e6a22251 Move cached page response validation to PageController 2022-11-02 22:05:57 +01:00
Giuseppe Criscione
d857e3e196 Add FilesCache::cachedTime() 2022-11-02 22:04:05 +01:00
Giuseppe Criscione
6cdd584694 Use CacheItem in FilesCache 2022-11-02 22:03:34 +01:00
Giuseppe Criscione
b7d7e29f13 Add CacheItem class 2022-11-02 22:00:32 +01:00
Giuseppe Criscione
008a811957 Update deprecated PHP-CS-Fixer rules 2022-11-02 21:30:20 +01:00
dependabot[bot]
04cb8d210f Bump friendsofphp/php-cs-fixer from 3.11.0 to 3.13.0
Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 3.11.0 to 3.13.0.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FriendsOfPHP/PHP-CS-Fixer/compare/v3.11.0...v3.13.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 21:25:56 +01:00
dependabot[bot]
1b8c835ef0 Bump symfony/yaml from 5.4.12 to 5.4.14
Bumps [symfony/yaml](https://github.com/symfony/yaml) from 5.4.12 to 5.4.14.
- [Release notes](https://github.com/symfony/yaml/releases)
- [Changelog](https://github.com/symfony/yaml/blob/6.1/CHANGELOG.md)
- [Commits](https://github.com/symfony/yaml/compare/v5.4.12...v5.4.14)

---
updated-dependencies:
- dependency-name: symfony/yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 21:25:46 +01:00
dependabot[bot]
9952a5375e Bump symfony/var-dumper from 6.0.13 to 6.0.14
Bumps [symfony/var-dumper](https://github.com/symfony/var-dumper) from 6.0.13 to 6.0.14.
- [Release notes](https://github.com/symfony/var-dumper/releases)
- [Changelog](https://github.com/symfony/var-dumper/blob/6.1/CHANGELOG.md)
- [Commits](https://github.com/symfony/var-dumper/compare/v6.0.13...v6.0.14)

---
updated-dependencies:
- dependency-name: symfony/var-dumper
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 21:25:22 +01:00
Giuseppe Criscione
ebc63d4fa7
Merge pull request #379 from getformwork/feature/informative-bootstrap-errors
ℹ️ Add informative errors on bootstrap
2022-11-01 16:02:48 +01:00
Giuseppe Criscione
64978da7fa
Merge pull request #380 from xanhacks/fix-path-traversal
Add basename to fix path traversal on backup download
2022-10-30 18:39:23 +01:00
xanhacks
69a5eebace add basename to fix path traversal on backup download 2022-10-30 16:28:34 +01:00
Giuseppe Criscione
307b1b1dac Add informative errors on bootstrap 2022-10-30 15:04:05 +01:00
Giuseppe Criscione
2b02349211 Support PHP >= 8.0.2 2022-10-30 13:11:45 +01:00