author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
95,144
05.01.2020 08:05:40
-3,600
da98c5a1e89920afea6e9e2f40a7fabae1f3a338
Some cleanup for logfiles
[ { "change_type": "MODIFY", "old_path": "config/packages/dev/monolog.yaml", "new_path": "config/packages/dev/monolog.yaml", "diff": "monolog:\n- channels: ['db']\nhandlers:\nmain:\ntype: stream\n@@ -18,7 +17,3 @@ monolog:\ntype: console\nprocess_psr_3_messages: false\nchannels: ['!event', '!doctrine'...
PHP
MIT License
bolt/core
Some cleanup for logfiles
95,144
05.01.2020 08:29:01
-3,600
9906e4403a3f17af6d1df8548f44c839dabc4c28
Updating a bunch of deprecations: ObjectManager => EntityManagerInterface
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/Async/UploadController.php", "new_path": "src/Controller/Backend/Async/UploadController.php", "diff": "@@ -8,7 +8,7 @@ use Bolt\\Configuration\\Config;\nuse Bolt\\Controller\\CsrfTrait;\nuse Bolt\\Factory\\MediaFactory;\nuse Cocur\\Slugi...
PHP
MIT License
bolt/core
Updating a bunch of deprecations: ObjectManager => EntityManagerInterface
95,144
05.01.2020 08:36:52
-3,600
0b0592398e451a2f5aff45048b792720fc660f78
RegistryInterface -> ManagerRegistry
[ { "change_type": "MODIFY", "old_path": "src/Repository/ContentRepository.php", "new_path": "src/Repository/ContentRepository.php", "diff": "@@ -13,7 +13,7 @@ use Doctrine\\ORM\\Query;\nuse Doctrine\\ORM\\QueryBuilder;\nuse Pagerfanta\\Adapter\\DoctrineORMAdapter;\nuse Pagerfanta\\Pagerfanta;\n-use S...
PHP
MIT License
bolt/core
RegistryInterface -> ManagerRegistry
95,144
05.01.2020 09:00:42
-3,600
6e1f48d83298de0eadbcafad6d7d12b1e9cc2d38
Two more deprecations
[ { "change_type": "MODIFY", "old_path": "src/Repository/UserAuthTokenRepository.php", "new_path": "src/Repository/UserAuthTokenRepository.php", "diff": "@@ -6,7 +6,7 @@ namespace Bolt\\Repository;\nuse Bolt\\Entity\\UserAuthToken;\nuse Doctrine\\Bundle\\DoctrineBundle\\Repository\\ServiceEntityReposi...
PHP
MIT License
bolt/core
Two more deprecations
95,144
05.01.2020 11:02:49
-3,600
a355c6d595dc23e92e46a34924d5870ee7eaa029
Allow for logging in extensions
[ { "change_type": "MODIFY", "old_path": "src/Extension/ServicesTrait.php", "new_path": "src/Extension/ServicesTrait.php", "diff": "@@ -8,6 +8,7 @@ use Bolt\\Configuration\\Config;\nuse Bolt\\Widgets;\nuse Doctrine\\Common\\Persistence\\ObjectManager;\nuse Psr\\Container\\ContainerInterface;\n+use Psr...
PHP
MIT License
bolt/core
Allow for logging in extensions
95,144
05.01.2020 11:06:09
-3,600
503a0628ce693ed460e3a112db4dfbee773186e9
Use "FilesystemLoader" so widgets can set the loader in `APP_DEBUG=0` env settings
[ { "change_type": "MODIFY", "old_path": "src/Widget/BaseWidget.php", "new_path": "src/Widget/BaseWidget.php", "diff": "@@ -7,8 +7,8 @@ namespace Bolt\\Widget;\nuse Bolt\\Extension\\ExtensionInterface;\nuse Bolt\\Widget\\Exception\\WidgetException;\nuse Cocur\\Slugify\\Slugify;\n-use Symfony\\Bundle\\...
PHP
MIT License
bolt/core
Use "FilesystemLoader" so widgets can set the loader in `APP_DEBUG=0` env settings
95,144
07.12.2019 12:07:15
-3,600
4aaef469a4863ce8a65c5d1b4f58e239107dab5a
Updates for PHPStan
[ { "change_type": "MODIFY", "old_path": "src/Collection/DeepCollection.php", "new_path": "src/Collection/DeepCollection.php", "diff": "@@ -14,7 +14,7 @@ class DeepCollection extends Collection\npublic static function deepMake($items): self\n{\nif ($items instanceof self) {\n- return $items;\n+ return...
PHP
MIT License
bolt/core
Updates for PHPStan
95,144
14.12.2019 07:50:37
-3,600
805a39cf8db4920031fc50a63c28306bbe22a5c3
Tweaking PHPStan
[ { "change_type": "MODIFY", "old_path": "src/Collection/DeepCollection.php", "new_path": "src/Collection/DeepCollection.php", "diff": "@@ -8,13 +8,10 @@ use Tightenco\\Collect\\Support\\Collection;\nclass DeepCollection extends Collection\n{\n- /**\n- * @return static\n- */\npublic static function de...
PHP
MIT License
bolt/core
Tweaking PHPStan
95,144
07.01.2020 06:31:11
-3,600
f1df0999056cfdfb3ffebdb8c8798476d0b7d691
Add false positives to phpstan.neon, minor tweaks
[ { "change_type": "MODIFY", "old_path": "phpstan.neon", "new_path": "phpstan.neon", "diff": "@@ -4,6 +4,21 @@ parameters:\nsymfony:\ncontainer_xml_path: '%rootDir%/../../../var/cache/dev/srcBolt_KernelDevDebugContainer.xml'\n+ ignoreErrors:\n+ # false positive: `Parameter #1 $value of class Twig\\Nod...
PHP
MIT License
bolt/core
Add false positives to phpstan.neon, minor tweaks
95,144
08.01.2020 14:58:34
-3,600
7df0253ad3087507b9445a261e550a5af5a57f43
Don't break on malformed content
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/CollectionField.php", "new_path": "src/Entity/Field/CollectionField.php", "diff": "@@ -25,7 +25,7 @@ class CollectionField extends Field implements FieldInterface\npublic function getValue(): array\n{\n- $fieldDefinitions = $this->getDefinitio...
PHP
MIT License
bolt/core
Don't break on malformed content
95,144
08.01.2020 15:38:30
-3,600
c04a3739c2a33ffe7cb512895e8c23b64de2cc7e
Fix Templateselect showing up as JSON
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/TemplateselectField.php", "new_path": "src/Entity/Field/TemplateselectField.php", "diff": "@@ -4,6 +4,7 @@ declare(strict_types=1);\nnamespace Bolt\\Entity\\Field;\n+use Bolt\\Common\\Json;\nuse Bolt\\Entity\\Field;\nuse Bolt\\Entity\\FieldInt...
PHP
MIT License
bolt/core
Fix Templateselect showing up as JSON
95,144
10.01.2020 17:54:08
-3,600
5ed838b29f9354817f1025d787cab5921d4005b6
Refactor Taxonomy Factory, to prevent duplicates
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ContentEditController.php", "new_path": "src/Controller/Backend/ContentEditController.php", "diff": "@@ -11,7 +11,6 @@ use Bolt\\Controller\\TwigAwareController;\nuse Bolt\\Entity\\Content;\nuse Bolt\\Entity\\Field;\nuse Bolt\\Entity\\Re...
PHP
MIT License
bolt/core
Refactor Taxonomy Factory, to prevent duplicates
95,144
10.01.2020 18:59:42
-3,600
b56f16292f0ee330cd0dae63461dc425ca86413b
Move to UserRepository::factory
[ { "change_type": "MODIFY", "old_path": "src/Command/AddUserCommand.php", "new_path": "src/Command/AddUserCommand.php", "diff": "@@ -187,10 +187,7 @@ class AddUserCommand extends Command\n$this->validateUserData($username, $plainPassword, $email, $displayName);\n// create the user and encode its pass...
PHP
MIT License
bolt/core
Move to UserRepository::factory
95,144
10.01.2020 21:25:34
-3,600
32c39e697d20bb9e7b2102434a060629575ca6c7
Suppress {{ dump }} and {% dump %} when in PROD mode
[ { "change_type": "MODIFY", "old_path": "src/Twig/DumpExtension.php", "new_path": "src/Twig/DumpExtension.php", "diff": "@@ -4,6 +4,7 @@ declare(strict_types=1);\nnamespace Bolt\\Twig;\n+use Bolt\\Twig\\TokenParser\\DumpTokenParser;\nuse Twig\\Extension\\AbstractExtension;\nuse Twig\\TwigFunction;\n@...
PHP
MIT License
bolt/core
Suppress {{ dump }} and {% dump %} when in PROD mode
95,144
11.01.2020 05:53:58
-3,600
98a51ef9b94094ed18d888586719a71e6af3aff7
Cleaning up User listing page
[ { "change_type": "MODIFY", "old_path": "templates/_macro/_macro.html.twig", "new_path": "templates/_macro/_macro.html.twig", "diff": "{% set class = class|replace({'btn-': ''}) %}\n{% set attr = attr %}\n- <a href=\"{{ link }}\" class=\"btn btn-{{ class }} mb-3 text-nowrap\"\n+ <a href=\"{{ link }}\...
PHP
MIT License
bolt/core
Cleaning up User listing page
95,144
11.01.2020 07:23:18
-3,600
4990b26ed7483722fe455ca268ef3a0234b33f9d
Make sure we don't sort on non-existing field or timestamp
[ { "change_type": "MODIFY", "old_path": "config/services.yaml", "new_path": "config/services.yaml", "diff": "@@ -83,6 +83,9 @@ services:\nmethod: addScope\narguments: [ 'frontend', '@Bolt\\Storage\\FrontendQueryScope' ]\n+ Bolt\\Twig\\DumpExtension:\n+ arguments: [\"%kernel.environment%\"]\n+\nDoctri...
PHP
MIT License
bolt/core
Make sure we don't sort on non-existing field or timestamp
95,144
11.01.2020 08:24:35
-3,600
c80d7c04fa20dd237ba2256c21bf765a9de59fb3
Ensure default status is a valid one
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/ContentTypesParser.php", "new_path": "src/Configuration/Parser/ContentTypesParser.php", "diff": "@@ -95,7 +95,7 @@ class ContentTypesParser extends BaseParser\nif (! isset($contentType['show_in_menu'])) {\n$contentType['show_in_menu'] ...
PHP
MIT License
bolt/core
Ensure default status is a valid one
95,144
11.01.2020 16:41:07
-3,600
d2e78672c8cce51c1dfd20fd0705f4481458216d
add toArray methods for serializing content
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -486,6 +486,11 @@ class Content\nreturn $options;\n}\n+ public function hasTaxonomyDefined(string $taxonomyName): bool\n+ {\n+ return $this->contentTypeDefinition->get('taxonomy')->cont...
PHP
MIT License
bolt/core
add toArray methods for serializing content
95,144
12.01.2020 08:10:28
-3,600
b124affd13642d94ff822bd7806c2116cdb14cd1
[chore] Cleanup bundles.php
[ { "change_type": "MODIFY", "old_path": "config/bundles.php", "new_path": "config/bundles.php", "diff": "@@ -8,6 +8,7 @@ return [\nDoctrine\\Bundle\\FixturesBundle\\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true, 'local' => true],\nHttp\\HttplugBundle\\HttplugBundle::class => ['dev' ...
PHP
MIT License
bolt/core
[chore] Cleanup bundles.php
95,144
12.01.2020 08:11:51
-3,600
a2d74aa2917de6d8241051b3d264faafa2194d19
[chore] cleanup `_fields.twig`
[ { "change_type": "MODIFY", "old_path": "templates/helpers/_fields.twig", "new_path": "templates/helpers/_fields.twig", "diff": "{# @todo Make set return _just_ the array of fields for `.value` and `getValue()`. See issue #822 #}\n{# note: For sets we need `field.value.fields`, hence the seemingly ob...
PHP
MIT License
bolt/core
[chore] cleanup `_fields.twig`
95,144
12.01.2020 09:06:39
-3,600
53800b4011147461e51a69fe5d42dfd2007f4147
Tiny modifications to image field and input placeholders.
[ { "change_type": "MODIFY", "old_path": "assets/scss/init/_base.scss", "new_path": "assets/scss/init/_base.scss", "diff": "@@ -58,3 +58,7 @@ input.flatpickr-input[disabled] {\nbackground-color: $input-disabled-bg;\ncolor: $input-disabled-color;\n}\n+\n+input::placeholder {\n+ font-style: italic;\n+}\...
PHP
MIT License
bolt/core
Tiny modifications to image field and input placeholders.
95,144
12.01.2020 13:43:01
-3,600
252b06f4c3b9a2a03a387c158c324610f09598ea
Several improvements to how you can handle `type: select` fields in the frontend
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/SelectField.php", "new_path": "src/Entity/Field/SelectField.php", "diff": "@@ -47,6 +47,38 @@ class SelectField extends Field implements FieldInterface\nreturn (array) $value;\n}\n+ public function getOptions()\n+ {\n+ return $this->getDefinit...
PHP
MIT License
bolt/core
Several improvements to how you can handle `type: select` fields in the frontend
95,144
12.01.2020 14:48:03
-3,600
e397688a8ee31add97b376790828a3aca6249a3c
Output fields in the order as specified in ContentType defnition
[ { "change_type": "MODIFY", "old_path": "templates/helpers/_fields.twig", "new_path": "templates/helpers/_fields.twig", "diff": "{% endapply -%}\n{# SECTION 2: LOOPING AND ITERATION - The actual looping is done here. #}\n- {% for field in record.fields|filter(field => field.name not in omittedkeys) %...
PHP
MIT License
bolt/core
Output fields in the order as specified in ContentType defnition
95,144
12.01.2020 15:53:21
-3,600
7e03ca7ba763fba6d73ad21ff695bd8e7f48c52c
Remove unneeded PHPStan ignore
[ { "change_type": "MODIFY", "old_path": "phpstan.neon", "new_path": "phpstan.neon", "diff": "@@ -7,10 +7,6 @@ parameters:\nignoreErrors:\n# false positive: `Parameter #1 $value of class Twig\\Node\\Expression\\ConstantExpression constructor expects array, string given.`\n# class `ConstantExpression()...
PHP
MIT License
bolt/core
Remove unneeded PHPStan ignore
95,144
12.01.2020 16:09:11
-3,600
0deec5e3351ae6ed30d4fae6a33a33a05f4e0a6e
Updating PHP-translation to 0.11
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"nelmio/cors-bundle\": \"^2.0\",\n\"nesbot/carbon\": \"^2.28\",\n\"peterkahl/country-code-to-emoji-flag\": \"^1.2\",\n- \"php-translation/symfony-bundle\": \"^0.9\",\n+ \"php-translation/symfony-bundle\": ...
PHP
MIT License
bolt/core
Updating PHP-translation to 0.11
95,144
12.01.2020 17:00:33
-3,600
5f5a1838bff6a96714279170e303f18165536c0a
Updating to Twig 3
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"symfony/webpack-encore-bundle\": \"^1.7\",\n\"symfony/yaml\": \"^4.4\",\n\"tightenco/collect\": \"^6.9\",\n- \"twig/extensions\": \"^1.5\",\n+ \"twig/twig\": \"^3.0\",\n\"ua-parser/uap-php\": \"^3.9\",\n\...
PHP
MIT License
bolt/core
Updating to Twig 3
95,144
12.01.2020 17:13:30
-3,600
a11510c2a7f63373d65d618ceb4f2650619dae64
Updating phpdoc
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/TemplateController.php", "new_path": "src/Controller/Frontend/TemplateController.php", "diff": "@@ -17,10 +17,6 @@ class TemplateController extends TwigAwareController implements FrontendZone\n* Note: This is _not_ assigned a Route by d...
PHP
MIT License
bolt/core
Updating phpdoc
95,144
12.01.2020 17:17:24
-3,600
d6c93406c1b9d1954bbad0c49a7ed7f1b72d81fa
Update _aside.twig
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_aside.twig", "new_path": "public/theme/skeleton/partials/_aside.twig", "diff": "Lastly, \"path('listing', {'contentTypeSlug': ct.slug})\" will output something like '/pages',\neffectively creating a working link to that contentt...
PHP
MIT License
bolt/core
Update _aside.twig
95,144
13.01.2020 19:05:01
-3,600
4ad0767c5fa90bf274e6c1faffe8fafc413daa12
Update `findOneByFieldValue` method to handle translated fields
[ { "change_type": "MODIFY", "old_path": "src/Repository/ContentRepository.php", "new_path": "src/Repository/ContentRepository.php", "diff": "@@ -189,10 +189,11 @@ class ContentRepository extends ServiceEntityRepository\n{\n$qb = $this->getQueryBuilder();\n- [$where, $value] = JsonHelper::wrapJsonFunc...
PHP
MIT License
bolt/core
Update `findOneByFieldValue` method to handle translated fields
95,144
15.01.2020 18:02:25
-3,600
56cf9c2de943c904cf94d64ad03d8c4c2b6e8ce5
Don't log the request variables
[ { "change_type": "MODIFY", "old_path": "src/Log/RequestProcessor.php", "new_path": "src/Log/RequestProcessor.php", "diff": "@@ -44,7 +44,6 @@ class RequestProcessor\n'uri' => $request->getUri(),\n'query_string' => $request->getQueryString(),\n'method' => $request->getMethod(),\n- 'request' => $reque...
PHP
MIT License
bolt/core
Don't log the request variables
95,144
15.01.2020 18:20:05
-3,600
4639c9b91634ef014ba47daef9c73c5c2af68bf7
Show correct Slug prefix when creating new content
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/SlugField.php", "new_path": "src/Entity/Field/SlugField.php", "diff": "@@ -31,19 +31,6 @@ class SlugField extends Field implements FieldInterface\nreturn $this;\n}\n- public function getSlugPrefix(): string\n- {\n- // @todo https://github.com/...
PHP
MIT License
bolt/core
Show correct Slug prefix when creating new content
95,144
15.01.2020 19:10:24
-3,600
a6da4be93446586735493af555bd667ce499d702
Working on slug generation
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Slug.vue", "new_path": "assets/js/app/editor/Components/Slug.vue", "diff": "@@ -93,9 +93,12 @@ export default {\n}\n},\ngenerateSlug() {\n- const title = document.querySelector(\n- `input[name='fields[${this.generate}]']`,\n- )....
PHP
MIT License
bolt/core
Working on slug generation
95,144
15.01.2020 20:09:05
-3,600
46b56e1535cda3d85e46cfece8eaeac7da5d7197
Fix behaviour of Slug field
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Slug.vue", "new_path": "assets/js/app/editor/Components/Slug.vue", "diff": "<i class=\"fas fa-fw\" :class=\"`fa-${icon}`\"></i> {{ buttonText }}\n</button>\n<div class=\"dropdown-menu\">\n- <a class=\"dropdown-item\" @click=\"ed...
PHP
MIT License
bolt/core
Fix behaviour of Slug field
95,144
15.01.2020 20:10:01
-3,600
f0a63ed74227ef60563ecad75b693815a60ab6b4
Lint Slug.vue
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Slug.vue", "new_path": "assets/js/app/editor/Components/Slug.vue", "diff": "@@ -73,7 +73,9 @@ export default {\nconsole.log('time, time, time');\nlet title = '';\nthis.generate.split(',').forEach(element => {\n- title = title + ...
PHP
MIT License
bolt/core
Lint Slug.vue
95,144
15.01.2020 20:13:10
-3,600
98ea749773d8addf5a2dfd36f1e0b1de30b6455b
Update slug.html.twig
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/slug.html.twig", "new_path": "templates/_partials/fields/slug.html.twig", "diff": "{% block field %}\n{% set prefix = '/' ~ record.definition.singular_slug ~ '/' %}\n-<br><code>{{ field.slugUseFields|join(', ')|json_encode }}</code>\...
PHP
MIT License
bolt/core
Update slug.html.twig
95,144
15.01.2020 20:31:44
-3,600
a9c66b660596c95140db7bc03f1e5387a45cd508
Ninja-edit -> remove console.log
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Slug.vue", "new_path": "assets/js/app/editor/Components/Slug.vue", "diff": "@@ -70,7 +70,6 @@ export default {\n},\nmounted() {\nsetTimeout(() => {\n- console.log('time, time, time');\nlet title = '';\nthis.generate.split(',').f...
PHP
MIT License
bolt/core
Ninja-edit -> remove console.log
95,144
18.01.2020 12:44:03
-3,600
517bedaad2b52b96fe0eba9751e1c6ef05a864d0
Generate `services_bolt.yaml` file, so that extensions can be used as services
[ { "change_type": "ADD", "old_path": null, "new_path": "config/services_bolt.yaml", "diff": "+# This file is auto-generated by Bolt. Do not modify.\n+# Generated on: 2020-01-18T12:42:00+01:00\n+\n+services:\n+ _defaults:\n+ autowire: true\n+ autoconfigure: true\n+ AcmeCorp\\ReferenceExtension\\:\n+ r...
PHP
MIT License
bolt/core
Generate `services_bolt.yaml` file, so that extensions can be used as services
95,144
18.01.2020 13:40:15
-3,600
5181e4f766db3931afc6923285fc3971a33c0a5a
Add imagelist fixtures
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/ContentFixtures.php", "new_path": "src/DataFixtures/ContentFixtures.php", "diff": "@@ -237,7 +237,6 @@ class ContentFixtures extends BaseFixture implements DependentFixtureInterface,\n$data = [\n'filename' => $randomImage->getRelativePathname(...
PHP
MIT License
bolt/core
Add imagelist fixtures
95,144
18.01.2020 14:37:25
-3,600
1e8a29b97c706de3b84bf22fa7f4f21a10de8ed4
Make "mode: datetime" work
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/date.html.twig", "new_path": "templates/_partials/fields/date.html.twig", "diff": "{% endif %}\n{# set mode #}\n{% if mode is not defined %}\n- {% set mode = define.mode|default(false) %}\n+ {% set mode = field.definition.mode|defaul...
PHP
MIT License
bolt/core
Make "mode: datetime" work
95,144
18.01.2020 16:56:41
-3,600
3db925b89aac00a119ea541b67a2f3ecc983572d
Ok, that generated timestamp is really annoying
[ { "change_type": "MODIFY", "old_path": "config/services_bolt.yaml", "new_path": "config/services_bolt.yaml", "diff": "# This file is auto-generated by Bolt. Do not modify.\n-# Generated on: 2020-01-18T12:48:57+01:00\nservices:\n_defaults:\n" }, { "change_type": "MODIFY", "old_path": "src...
PHP
MIT License
bolt/core
Ok, that generated timestamp is really annoying
95,144
18.01.2020 16:59:13
-3,600
a4c81947b70c96b2d1a6d8ac81f278f0b178e743
Add `localdate` as an alias of `localedatetime`
[ { "change_type": "MODIFY", "old_path": "src/Twig/LocaleExtension.php", "new_path": "src/Twig/LocaleExtension.php", "diff": "@@ -37,6 +37,7 @@ class LocaleExtension extends AbstractExtension\nreturn [\nnew TwigFilter('localedatetime', [$this, 'localedatetime'], $safe),\n+ new TwigFilter('localdate', ...
PHP
MIT License
bolt/core
Add `localdate` as an alias of `localedatetime`
95,144
21.01.2020 21:59:06
-3,600
f76ef0114f4d44da895f72cfb5160a3117b2a85c
A few resiliency fixes, for when the DB is empty
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/DetailController.php", "new_path": "src/Controller/Frontend/DetailController.php", "diff": "@@ -59,6 +59,10 @@ class DetailController extends TwigAwareController implements FrontendZone\n$record = $field->getContent();\n}\n+ if (! $reco...
PHP
MIT License
bolt/core
A few resiliency fixes, for when the DB is empty
95,144
21.01.2020 22:11:32
-3,600
aa20602bccdbbd2333717c687a0b1fc581c1e7f4
Cleanup magic methods for interacting with `{{ field }}`
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field.php", "new_path": "src/Entity/Field.php", "diff": "@@ -73,18 +73,12 @@ class Field implements FieldInterface, TranslatableInterface\npublic function __toString(): string\n{\n- $value = [];\n- $iterator = new \\RecursiveIteratorIterator(new \\R...
PHP
MIT License
bolt/core
Cleanup magic methods for interacting with `{{ field }}`
95,144
24.01.2020 08:19:31
-3,600
f1332ace280787a7b0565885e1d21abfc629f709
Disable Embed behat test
[ { "change_type": "MODIFY", "old_path": "tests/behat/edit_record_1.feature", "new_path": "tests/behat/edit_record_1.feature", "diff": "@@ -42,7 +42,7 @@ Feature: Edit record\nWhen I am on \"/page/1?locale=nl\"\nThen I should see \"Changed title NL\"\n- @javascript\n+ @javascript-disabled\nScenario: A...
PHP
MIT License
bolt/core
Disable Embed behat test
95,144
24.01.2020 17:18:37
-3,600
b7dbf1df6bc06ad4d0136b2cdc1932cfa695acea
Don't render widgets more than once
[ { "change_type": "MODIFY", "old_path": "src/Extension/ExtensionRegistry.php", "new_path": "src/Extension/ExtensionRegistry.php", "diff": "@@ -60,7 +60,7 @@ class ExtensionRegistry\nprivate function getExtensionClasses(): array\n{\n- return $this->extensionClasses;\n+ return array_unique($this->exten...
PHP
MIT License
bolt/core
Don't render widgets more than once
95,144
24.01.2020 17:33:15
-3,600
a73f2b68bf17873e23218c1b7dfb1379a10566bf
Rebuild our `services_bolt.yaml` less often (attempt 2)
[ { "change_type": "MODIFY", "old_path": "src/Extension/ExtensionCompilerPass.php", "new_path": "src/Extension/ExtensionCompilerPass.php", "diff": "@@ -16,14 +16,13 @@ class ExtensionCompilerPass implements CompilerPassInterface\n}\n$registry = $container->findDefinition(ExtensionRegistry::class);\n+ ...
PHP
MIT License
bolt/core
Rebuild our `services_bolt.yaml` less often (attempt 2)
95,144
25.01.2020 12:03:42
-3,600
c5014b731d0b39bf4d5579607b3817cd23cc7e63
Build services in compilerpass
[ { "change_type": "MODIFY", "old_path": "src/Extension/ExtensionCompilerPass.php", "new_path": "src/Extension/ExtensionCompilerPass.php", "diff": "@@ -4,11 +4,17 @@ declare(strict_types=1);\nnamespace Bolt\\Extension;\n+use Bolt\\Common\\Str;\nuse Symfony\\Component\\DependencyInjection\\Compiler\\Co...
PHP
MIT License
bolt/core
Build services in compilerpass
95,144
25.01.2020 13:04:51
-3,600
9b121c2290f140bf644479e74ff59120362184f0
Updating some branding things (links to boltcms.io)
[ { "change_type": "MODIFY", "old_path": "assets/js/app/toolbar/Components/Toolbar.vue", "new_path": "assets/js/app/toolbar/Components/Toolbar.vue", "diff": "<div class=\"new-item__dropdown dropdown-menu\">\n<ul class=\"toolbar-menu\">\n<li>\n- <a href=\"https://bolt.cm/\" target=\"_blank\">\n+ <a hre...
PHP
MIT License
bolt/core
Updating some branding things (links to boltcms.io)
95,144
25.01.2020 14:01:04
-3,600
9d5fade58ffca5d80800887a8b5a547f84d08827
Don't copy translations with assets
[ { "change_type": "MODIFY", "old_path": "src/Command/CopyAssetsCommand.php", "new_path": "src/Command/CopyAssetsCommand.php", "diff": "@@ -30,7 +30,7 @@ class CopyAssetsCommand extends Command\nprotected function configure(): void\n{\n$this\n- ->setDescription('Copy built assets and translation files...
PHP
MIT License
bolt/core
Don't copy translations with assets
95,144
28.01.2020 17:28:05
-3,600
bb9e35243690cf1af520778c2faf8e150c77d70e
Specify `TemplateselectField` as typehint in `getListTemplates`
[ { "change_type": "MODIFY", "old_path": "src/Twig/RecordExtension.php", "new_path": "src/Twig/RecordExtension.php", "diff": "@@ -8,6 +8,7 @@ use Bolt\\Configuration\\Config;\nuse Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Entity\\Content;\nuse Bolt\\Entity\\Field;\n+use Bolt\\Entity\\Field...
PHP
MIT License
bolt/core
Specify `TemplateselectField` as typehint in `getListTemplates`
95,144
28.01.2020 18:23:04
-3,600
231389d3f9a1e50c9423099f5ecd00943591ff27
Implement `{{ dump(backtrace() }}`
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Twig/DebugExtension.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\Twig;\n+\n+use Twig\\Extension\\AbstractExtension;\n+use Twig\\TwigFunction;\n+\n+class DebugExtension extends AbstractExtension\n+{\n+ public funct...
PHP
MIT License
bolt/core
Implement `{{ dump(backtrace() }}`
95,144
28.01.2020 20:35:47
-3,600
549b3ad11a60bd5cf7d38bee9a5c39feea9737d9
Rename admin_menu() twig function to admin_menu_array() for consistency
[ { "change_type": "MODIFY", "old_path": "src/Twig/BackendMenuExtension.php", "new_path": "src/Twig/BackendMenuExtension.php", "diff": "@@ -24,11 +24,11 @@ class BackendMenuExtension extends AbstractExtension\npublic function getFunctions(): array\n{\nreturn [\n- new TwigFunction('admin_menu', [$this,...
PHP
MIT License
bolt/core
Rename admin_menu() twig function to admin_menu_array() for consistency
95,144
30.01.2020 17:34:40
-3,600
5b87fda9135cf0cd9cdc542d46065f2a86b11916
Export fields as actual (not interpreted) values
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -359,7 +359,7 @@ class Content\n{\n$fieldValues = [];\nforeach ($this->getFields() as $field) {\n- $fieldValues[$field->getName()] = $field->getParsedValue();\n+ $fieldValues[$field->ge...
PHP
MIT License
bolt/core
Export fields as actual (not interpreted) values
95,144
30.01.2020 21:44:01
-3,600
aa34468223f305421608847efa133617a48af261
Get the first imagefield that actually has an image in it
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -139,7 +139,7 @@ class ContentExtension extends AbstractExtension\n}\nforeach ($content->getFields() as $field) {\n- if ($field instanceof ImageField) {\n+ if ($field inst...
PHP
MIT License
bolt/core
Get the first imagefield that actually has an image in it
95,144
01.02.2020 15:04:01
-3,600
cd308051e73d90ef772d524c03f339392a334d56
Fetching linked media for an Image field
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/ImageField.php", "new_path": "src/Entity/Field/ImageField.php", "diff": "@@ -6,6 +6,7 @@ namespace Bolt\\Entity\\Field;\nuse Bolt\\Entity\\Field;\nuse Bolt\\Entity\\FieldInterface;\n+use Bolt\\Entity\\Media;\nuse Bolt\\Repository\\MediaReposit...
PHP
MIT License
bolt/core
Fetching linked media for an Image field
95,144
01.02.2020 15:36:19
-3,600
8e5081ee082da8e67d0bf13aea0e1e89c2254085
Make Canonical more robust
[ { "change_type": "MODIFY", "old_path": "src/Canonical.php", "new_path": "src/Canonical.php", "diff": "@@ -5,8 +5,10 @@ declare(strict_types=1);\nnamespace Bolt;\nuse Bolt\\Configuration\\Config;\n+use Psr\\Log\\LoggerInterface;\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Componen...
PHP
MIT License
bolt/core
Make Canonical more robust
95,144
01.02.2020 15:37:30
-3,600
c0b9d6496e279d0df7db90e745a93609617a728b
Get correct record for slug, if slug is not unique between ContentTypes
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/DetailController.php", "new_path": "src/Controller/Frontend/DetailController.php", "diff": "@@ -4,6 +4,8 @@ declare(strict_types=1);\nnamespace Bolt\\Controller\\Frontend;\n+use Bolt\\Configuration\\Config;\n+use Bolt\\Configuration\\Co...
PHP
MIT License
bolt/core
Get correct record for slug, if slug is not unique between ContentTypes
95,144
01.02.2020 15:49:12
-3,600
7c8ad9f57feb828d16e58fb882ab82c79c1c8455
Add support for `template_directory` in `theme.yaml`
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -91,8 +91,14 @@ class TwigAwareController extends AbstractController\n/** @var NativeFilesystemLoader $twigLoaders */\n$twigLoaders = $this->twig->getLoa...
PHP
MIT License
bolt/core
Add support for `template_directory` in `theme.yaml`
95,144
01.02.2020 16:16:43
-3,600
5f1d31cc909938e6fd536a2735fb164c49cb9220
Add JSON Twig Test
[ { "change_type": "MODIFY", "old_path": "src/Twig/JsonExtension.php", "new_path": "src/Twig/JsonExtension.php", "diff": "@@ -9,6 +9,7 @@ use Bolt\\Entity\\Content;\nuse Symfony\\Component\\Serializer\\Normalizer\\NormalizerInterface;\nuse Twig\\Extension\\AbstractExtension;\nuse Twig\\TwigFilter;\n+u...
PHP
MIT License
bolt/core
Add JSON Twig Test
95,144
01.02.2020 16:26:42
-3,600
6fb2f52b4fdcf04080222fe2df442dc4ebaa822e
Add `preg_replace` twig filter
[ { "change_type": "MODIFY", "old_path": "src/Twig/TextExtension.php", "new_path": "src/Twig/TextExtension.php", "diff": "@@ -22,6 +22,7 @@ class TextExtension extends AbstractExtension\nnew TwigFilter('safestring', [$this, 'safeString']),\nnew TwigFilter('slug', [$this, 'slug']),\nnew TwigFilter('ucw...
PHP
MIT License
bolt/core
Add `preg_replace` twig filter
95,144
01.02.2020 16:33:32
-3,600
3cb2c89e1ecbb036580e258e837778ce96eec86c
Add Shy twig filter
[ { "change_type": "MODIFY", "old_path": "src/Twig/HtmlExtension.php", "new_path": "src/Twig/HtmlExtension.php", "diff": "@@ -5,6 +5,7 @@ declare(strict_types=1);\nnamespace Bolt\\Twig;\nuse Bolt\\Canonical;\n+use Bolt\\Common\\Str;\nuse Bolt\\Utils\\Markdown;\nuse Twig\\Extension\\AbstractExtension;\...
PHP
MIT License
bolt/core
Add Shy twig filter
95,144
28.01.2020 19:54:10
-3,600
41370a3616f2724d9b99bc2b3576b7108ce81f5b
Implement `{{ record|current }}` Twig filter
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -10,6 +10,8 @@ use Bolt\\Entity\\Field\\ImageField;\nuse Bolt\\Repository\\ContentRepository;\nuse Bolt\\Utils\\Excerpt;\nuse Bolt\\Utils\\Html;\n+use Symfony\\Component\\...
PHP
MIT License
bolt/core
Implement `{{ record|current }}` Twig filter
95,144
01.02.2020 20:43:36
-3,600
117fe068b13feb387662fd9f0b443b4162c1cd52
Improve |current
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/DetailController.php", "new_path": "src/Controller/Frontend/DetailController.php", "diff": "@@ -73,6 +73,10 @@ class DetailController extends TwigAwareController implements FrontendZone\n$singularSlug => $record,\n];\n+ // We add the re...
PHP
MIT License
bolt/core
Improve |current
95,144
02.02.2020 08:53:16
-3,600
26dbd7a73ccbf7147c007a08310f17826a94ff77
Clarify database section in .env.dist a little
[ { "change_type": "MODIFY", "old_path": ".env.dist", "new_path": ".env.dist", "diff": "###> symfony/framework-bundle ###\nAPP_ENV=dev\nAPP_DEBUG=1\n-APP_SECRET=67d829bf61dc5f87a73fd814e2c9f629\n+APP_SECRET=73fd814e2c9fbf61dc5f87a62967d829\n#TRUSTED_PROXIES=127.0.0.1,127.0.0.2\n#TRUSTED_HOSTS='^localh...
PHP
MIT License
bolt/core
Clarify database section in .env.dist a little
95,144
02.02.2020 12:57:42
-3,600
08c754c71bf248253b5a3912e9a383d9e527bccc
Add `--fixtures` option to SetupCommand
[ { "change_type": "MODIFY", "old_path": "src/Command/SetupCommand.php", "new_path": "src/Command/SetupCommand.php", "diff": "@@ -19,7 +19,8 @@ class SetupCommand extends Command\n{\n$this\n->setDescription('Run Bolt setup / installation commands')\n- ->addOption('no-fixtures', 'nf', InputOption::VALU...
PHP
MIT License
bolt/core
Add `--fixtures` option to SetupCommand
95,144
02.02.2020 14:01:49
-3,600
5e2e483df536743faed823601833e557b8ed9452
Updating NPM deps, fixing height of checkbox
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/listing/row/_checkbox.scss", "new_path": "assets/scss/modules/listing/row/_checkbox.scss", "diff": ".listing--checkbox {\nwidth: $checkbox-row-width;\nuser-select: none;\n- margin-bottom: $spacer*0.8;\n+ margin-bottom: 2px;\n.custom-control...
PHP
MIT License
bolt/core
Updating NPM deps, fixing height of checkbox
95,144
04.02.2020 17:13:32
-3,600
c7aa20b5e4fbf01bdb4a0726df70cac4813daebf
Remove (deprecate) unneeded addTwigExtension
[ { "change_type": "MODIFY", "old_path": "src/Command/ExtensionsShowCommand.php", "new_path": "src/Command/ExtensionsShowCommand.php", "diff": "@@ -47,7 +47,7 @@ class ExtensionsShowCommand extends Command\n/** @var ExtensionInterface $extension */\n$extension = $this->extensionRegistry->getExtension(...
PHP
MIT License
bolt/core
Remove (deprecate) unneeded addTwigExtension
95,144
04.02.2020 20:01:03
-3,600
4601455c34783e8fa85f76555ce1f1e5a440b9e1
Ensure slugs are not numerical, add example of route to allow access to records by number
[ { "change_type": "MODIFY", "old_path": "config/routes.yaml", "new_path": "config/routes.yaml", "diff": "@@ -27,10 +27,20 @@ frontend:\n#contentlisting:\n# path: /{contenttypeslug}\n# defaults:\n-# _controller: Bolt\\Controller\\Frontend\\Controller::contentListing\n+# _controller: Bolt\\Controller\\...
PHP
MIT License
bolt/core
Ensure slugs are not numerical, add example of route to allow access to records by number
95,144
07.02.2020 07:15:52
-3,600
2efabc4305963ab040cf5df193157987acf33f89
Add description to ContentTypes
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -163,6 +163,7 @@ showcases:\nslug: showcases\nsingular_name: Showcase\nsingular_slug: showcase\n+ description: The 'Showcases' is not particularly useful in most cases, bu...
PHP
MIT License
bolt/core
Add description to ContentTypes
95,144
08.02.2020 11:25:01
-3,600
55cd964dd7a8a00e0a385818c1c5f0e3b616c197
Making `viewless` work better, and update `absolute_link`
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -301,6 +301,11 @@ blocks:\ncontent:\ntype: html\nheight: 150px\n+ content_link:\n+ type: text\n+ label: Link\n+ placeholder: 'contenttype/slug or http://example.org/'\n+ p...
PHP
MIT License
bolt/core
Making `viewless` work better, and update `absolute_link`
95,144
11.02.2020 15:21:02
-3,600
83d9029f71a2bbe6787fe6a770fe687eda718f7f
Implement missing utility functions for widgets
[ { "change_type": "MODIFY", "old_path": "src/Twig/WidgetExtension.php", "new_path": "src/Twig/WidgetExtension.php", "diff": "@@ -48,21 +48,18 @@ class WidgetExtension extends AbstractExtension\nreturn $this->widgetRenderer->renderWidgetsForTarget($target, $params);\n}\n- public function hasWidgets($i...
PHP
MIT License
bolt/core
Implement missing utility functions for widgets
95,144
11.02.2020 16:17:40
-3,600
19897eb68186afc1f496d3c882fd42b61e66dfcb
Use JSON functions for SQLite > 3.9.0 (attempt 2)
[ { "change_type": "MODIFY", "old_path": "src/Doctrine/Functions/JsonExtract.php", "new_path": "src/Doctrine/Functions/JsonExtract.php", "diff": "@@ -9,6 +9,8 @@ use Scienta\\DoctrineJsonFunctions\\Query\\AST\\Functions\\AbstractJsonFunctionNode;\n/**\n* \"JSON_EXTRACT\" \"(\" StringPrimary \",\" Stri...
PHP
MIT License
bolt/core
Use JSON functions for SQLite > 3.9.0 (attempt 2)
95,144
12.02.2020 15:37:38
-3,600
145f46da2c6ca6aabc72cbddaa6883d6ef390ef4
Tweak, tweak config to pinpoint breakage
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -27,6 +27,7 @@ before_install:\ninstall:\n- COMPOSER_MEMORY_LIMIT=-1 composer update $COMPOSER_FLAGS\n+ - ./bin/console bolt:info\n- nvm install 12.5\n- npm ci\n- mkdir -p ./var/log/e2e-reports/report/featur...
PHP
MIT License
bolt/core
Tweak, tweak config to pinpoint breakage
95,144
12.02.2020 16:56:13
-3,600
4d02ede01ceee19d80fe05ef06ef83c5dad33d8a
Try to upload images to imgur
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -71,3 +71,5 @@ script:\n- make behat-api-quiet\n# run JS e2e tests\n- ./run_behat_tests.sh && make behat-js-quiet\n+ # Upload Behat screenshots to IMGUR\n+ - ./vendor/bin/upload-screenshots \"var/log/behat-r...
PHP
MIT License
bolt/core
Try to upload images to imgur
95,144
12.02.2020 17:43:05
-3,600
94d710ce4623a4cb8b791a72dbb6d94794a3258d
Bumping version for SQLite to 3.28.0
[ { "change_type": "MODIFY", "old_path": "behat.yml", "new_path": "behat.yml", "diff": "@@ -21,7 +21,7 @@ default:\nextensions:\nLakion\\Behat\\MinkDebugExtension:\ndirectory: var/log/behat-reports\n- screenshot: true\n+ screenshot: false\nBehat\\MinkExtension:\nbrowser_name: chrome\n" }, { "c...
PHP
MIT License
bolt/core
Bumping version for SQLite to 3.28.0
95,144
13.02.2020 07:15:19
-3,600
d887a84774f06c812fd31b95673adf19c348c99f
Implement `isallowed` twig function
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Twig/UserExtension.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\Twig;\n+\n+use Symfony\\Component\\Security\\Core\\Security;\n+use Twig\\Extension\\AbstractExtension;\n+use Twig\\TwigFunction;\n+\n+class UserExten...
PHP
MIT License
bolt/core
Implement `isallowed` twig function
95,144
13.02.2020 13:59:58
-3,600
b2bb2dbc32eec86a64738ddb3d1719842b59beb3
Update `bin/console bolt:info` and "About" information
[ { "change_type": "MODIFY", "old_path": "src/Command/InfoCommand.php", "new_path": "src/Command/InfoCommand.php", "diff": "@@ -56,9 +56,13 @@ HELP\n$platform = $this->doctrineVersion->getPlatform();\n+ $connection = !empty($platform['connection_status']) ? sprintf('- <comment>%s</comment>', $platform...
PHP
MIT License
bolt/core
Update `bin/console bolt:info` and "About" information
95,144
16.02.2020 20:07:52
-3,600
f734f408b769caeff9139261d88ac5dfb181a061
Frontend Controllers should allow both POST and GET
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/DetailController.php", "new_path": "src/Controller/Frontend/DetailController.php", "diff": "@@ -33,12 +33,12 @@ class DetailController extends TwigAwareController implements FrontendZoneInterf\n* \"/{contentTypeSlug}/{slugOrId}\",\n* na...
PHP
MIT License
bolt/core
Frontend Controllers should allow both POST and GET
95,144
16.02.2020 20:18:37
-3,600
98cf29c1ba28793dd88231bf31b38102f833ee61
Allow getting extensions by partial name.
[ { "change_type": "MODIFY", "old_path": "src/Extension/ExtensionRegistry.php", "new_path": "src/Extension/ExtensionRegistry.php", "diff": "@@ -68,6 +68,12 @@ class ExtensionRegistry\nreturn $this->extensions[$name];\n}\n+ foreach ($this->extensions as $key => $extension) {\n+ if (strpos($key, $name) ...
PHP
MIT License
bolt/core
Allow getting extensions by partial name.
95,144
17.02.2020 15:28:06
-3,600
75945fbc9545d299e54c691440a7e3bfcd75aaed
Remove config_local.yaml from git
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "# in the project root.\n# The name of the website\n-sitename: A sample site in CONFIG\n+sitename: Bolt Core Git Clone\npayoff: The amazing payoff goes here\nsecret: '%env(APP_SECRET)%'\n...
PHP
MIT License
bolt/core
Remove config_local.yaml from git
95,144
17.02.2020 15:35:43
-3,600
38660cd4f996134906682f61514b9bb5900d9d8e
Remove `dump()` from codebase
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -10,6 +10,7 @@ use Bolt\\Entity\\Field\\ImageField;\nuse Bolt\\Repository\\ContentRepository;\nuse Bolt\\Utils\\Excerpt;\nuse Bolt\\Utils\\Html;\n+use Psr\\Log\\LoggerInte...
PHP
MIT License
bolt/core
Remove `dump()` from codebase
95,144
17.02.2020 17:29:46
-3,600
2ca56d8b183b6005757bb9c03e3cdca21b395e49
Set db logged as `synthetic: true` in `services_test.yaml`
[ { "change_type": "ADD", "old_path": null, "new_path": "config/services_test.yaml", "diff": "+services:\n+ monolog.processor.request:\n+ synthetic: true\n" }, { "change_type": "MODIFY", "old_path": "src/Log/LogHandler.php", "new_path": "src/Log/LogHandler.php", "diff": "@@ -10,9 +...
PHP
MIT License
bolt/core
Set db logged as `synthetic: true` in `services_test.yaml`
95,144
17.02.2020 19:28:16
-3,600
1803f0b6afcbec408f21e2245e368d8f40955d60
Use Loggertrait
[ { "change_type": "MODIFY", "old_path": "src/Canonical.php", "new_path": "src/Canonical.php", "diff": "@@ -5,7 +5,7 @@ declare(strict_types=1);\nnamespace Bolt;\nuse Bolt\\Configuration\\Config;\n-use Psr\\Log\\LoggerInterface;\n+use Bolt\\Log\\LoggerTrait;\nuse Symfony\\Component\\HttpFoundation\\Re...
PHP
MIT License
bolt/core
Use Loggertrait
95,144
17.02.2020 19:48:49
-3,600
8a75a1d97a44883278e75a8b04a598a5cc027755
Add PHP 7.4 to travis, remove failing ones.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -14,12 +14,7 @@ matrix:\ninclude:\n- php: 7.2\n- php: 7.3\n- - php: 7.4snapshot\n- - php: nightly\n- env: COMPOSER_FLAGS=\"--ignore-platform-reqs\"\n- allow_failures:\n- - php: 7.4snapshot\n- - php: nightly\...
PHP
MIT License
bolt/core
Add PHP 7.4 to travis, remove failing ones.
95,144
18.02.2020 22:03:44
-3,600
caf27738f53f8f1d42bb6846c664c770bcc68ea8
Stop surplus logging from Canonical
[ { "change_type": "MODIFY", "old_path": "src/Canonical.php", "new_path": "src/Canonical.php", "diff": "@@ -5,7 +5,6 @@ declare(strict_types=1);\nnamespace Bolt;\nuse Bolt\\Configuration\\Config;\n-use Bolt\\Log\\LoggerTrait;\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\H...
PHP
MIT License
bolt/core
Stop surplus logging from Canonical
95,144
18.02.2020 22:16:35
-3,600
a2f20b6b74a220d505df3af1d6d0346ee9922d0e
Replace Swiftmailer with Mailer
[ { "change_type": "MODIFY", "old_path": ".env.dist", "new_path": ".env.dist", "diff": "@@ -33,12 +33,9 @@ DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/bolt.sqlite\n###< doctrine/doctrine-bundle ###\n-###> symfony/swiftmailer-bundle ###\n-# For Gmail as a transport, use: \"gmail://username:pas...
PHP
MIT License
bolt/core
Replace Swiftmailer with Mailer
95,144
19.02.2020 07:56:15
-3,600
fe5931367250691b57afa69d0184936f9523c258
Add migrations and `content_id` column to logging table
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"doctrine/doctrine-bundle\": \"^2.0\",\n\"doctrine/doctrine-cache-bundle\": \"^1.4\",\n\"doctrine/doctrine-fixtures-bundle\": \"^3.3\",\n+ \"doctrine/doctrine-migrations-bundle\": \"^2.1\",\n\"doctrine/orm...
PHP
MIT License
bolt/core
Add migrations and `content_id` column to logging table
95,144
19.02.2020 19:28:48
-3,600
5c5bbbecdbded90abd8d454b86aa068062134f63
Prepare release 4.0.0-rc.4
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"bolt\",\n- \"version\": \"4.0.0-beta.5\",\n+ \"version\": \"4.0.0-rc.4\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n\"dev\": true\n},\n\"@fortawesome/fontawe...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.4
95,144
20.02.2020 14:19:02
-3,600
01badeb25e121d4cf97b00003d3fc2afcd16b6b3
Ninja-edit `contenttypes.yaml`: Add `type: data` explanation
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -395,6 +395,7 @@ tests:\n# checkbox - integer - checkbox-field which is 1 (checked) or 0 (unchecked)\n# set - text (65kb) - Input type for sests. Group fields semantically...
PHP
MIT License
bolt/core
Ninja-edit `contenttypes.yaml`: Add `type: data` explanation
95,144
20.02.2020 16:06:21
-3,600
ad5abdea6e41a75b13a07c4f75b1bd1aaf43da75
ensure contenttypes have a slug
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/ContentTypesParser.php", "new_path": "src/Configuration/Parser/ContentTypesParser.php", "diff": "@@ -197,6 +197,10 @@ class ContentTypesParser extends BaseParser\n$groups = [];\n$acceptFileTypes = $this->generalConfig->get('accept_file...
PHP
MIT License
bolt/core
ensure contenttypes have a slug
95,144
21.02.2020 06:50:36
-3,600
3993dd0750c916e5245b7804215640ac955856ab
Allow for BaseExtension to get Storage\Query
[ { "change_type": "ADD", "old_path": null, "new_path": "public/theme/leaf", "diff": "+/Users/bob/Bolt/themedev/bolt-leaf-theme\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "src/Event/Subscriber/ExtensionSubscriber.php", "new_path": "src/Event/Subscriber/E...
PHP
MIT License
bolt/core
Allow for BaseExtension to get Storage\Query
95,144
21.02.2020 06:54:48
-3,600
a7604435e0b1dce72098194ae37a0d647046e9a3
Show proper exception when trying to set non-existing Field
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -453,6 +453,10 @@ class Content\npublic function addFieldByName(string $fieldName): void\n{\n+ if (! $this->hasFieldDefined($fieldName)) {\n+ throw new \\Exception(sprintf(\"Can't set F...
PHP
MIT License
bolt/core
Show proper exception when trying to set non-existing Field
95,144
21.02.2020 06:57:14
-3,600
7c2029bcdc8dfacfc68c3729957c7bc47eb6857e
Make Request optional to allow using Storage\Query in a non-web context
[ { "change_type": "MODIFY", "old_path": "src/Storage/ContentQueryParser.php", "new_path": "src/Storage/ContentQueryParser.php", "diff": "@@ -434,7 +434,7 @@ class ContentQueryParser\n}\n}\n- public function getRequest(): Request\n+ public function getRequest(): ?Request\n{\nreturn $this->requestStack...
PHP
MIT License
bolt/core
Make Request optional to allow using Storage\Query in a non-web context
95,144
21.02.2020 07:42:47
-3,600
0d04122e40fe35c46f336e2d9257b2cd75f1dcdf
Only list published content
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/ListingController.php", "new_path": "src/Controller/Frontend/ListingController.php", "diff": "@@ -45,7 +45,7 @@ class ListingController extends TwigAwareController implements FrontendZoneInter\n$page = (int) $request->query->get('page',...
PHP
MIT License
bolt/core
Only list published content
95,144
21.02.2020 08:00:27
-3,600
002a354f2f4c6d3c5277b725fa9731021a9a512b
Fix paging in backend
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ContentOverviewController.php", "new_path": "src/Controller/Backend/ContentOverviewController.php", "diff": "@@ -23,6 +23,7 @@ class ContentOverviewController extends TwigAwareController implements BackendZo\npublic function overview(Req...
PHP
MIT License
bolt/core
Fix paging in backend
95,144
21.02.2020 15:41:33
-3,600
d73ab1f2e6c0f172042376ff584a2e9190d04807
Updating symfony.lock (to see if it influences Insight bhaviour)
[ { "change_type": "MODIFY", "old_path": "symfony.lock", "new_path": "symfony.lock", "diff": "{\n\"acmecorp/reference-extension\": {\n- \"version\": \"1.0.8\"\n+ \"version\": \"1.2.0\"\n},\n\"api-platform/core\": {\n\"version\": \"2.5\",\n]\n},\n\"behat/behat\": {\n- \"version\": \"v3.5.0\"\n+ \"versi...
PHP
MIT License
bolt/core
Updating symfony.lock (to see if it influences Insight bhaviour)
95,144
22.02.2020 12:46:35
-3,600
1658bbc8a2af8c7bb9ac26e4869128e2b9199af3
Allow configuration of web root folder
[ { "change_type": "MODIFY", "old_path": ".env.dist", "new_path": ".env.dist", "diff": "@@ -34,20 +34,13 @@ DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/bolt.sqlite\n###< doctrine/doctrine-bundle ###\n###> symfony/mailer ###\n-# MAILER_DSN=smtp://localhost\n+MAILER_DSN=smtp://localhost\n###< s...
PHP
MIT License
bolt/core
Allow configuration of web root folder
95,144
22.02.2020 13:33:17
-3,600
f34975b965cd16c3a995823fcce9fcff54373659
Prepare release 4.0.0-rc.5
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"bolt\",\n- \"version\": \"4.0.0-rc.4\",\n+ \"version\": \"4.0.0-rc.5\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n\"integrity\": \"sha1-DQcLTQQ6W+ozovGkDi7bP...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.5
95,144
22.02.2020 14:20:19
-3,600
f1dde48e5006d9c9efc79552aad57ea679f30258
Make sure templateselect is "stringable"
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/TemplateselectField.php", "new_path": "src/Entity/Field/TemplateselectField.php", "diff": "@@ -16,6 +16,11 @@ class TemplateselectField extends Field implements FieldInterface\n{\npublic const TYPE = 'templateselect';\n+ public function __toSt...
PHP
MIT License
bolt/core
Make sure templateselect is "stringable"
95,144
22.02.2020 14:47:37
-3,600
e3fee99fc05de0a50a0d6e2e3d132643da3473f2
Slightly different approach
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field.php", "new_path": "src/Entity/Field.php", "diff": "@@ -77,7 +77,13 @@ class Field implements FieldInterface, TranslatableInterface\npublic function __toString(): string\n{\n- return (string) $this->getTwigValue();\n+ $value = $this->getTwigVal...
PHP
MIT License
bolt/core
Slightly different approach