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
19.08.2020 16:38:28
-7,200
2de73c6776ecdc26798b14bc27961b15d677d7b6
Update src/Controller/TwigAwareController.php
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -62,7 +62,7 @@ class TwigAwareController extends AbstractController\n}\n/**\n- * @deprecated since Bolt 4.0, use \"renderTemplate()\" instead\n+ * @depre...
PHP
MIT License
bolt/core
Update src/Controller/TwigAwareController.php
95,144
20.08.2020 20:59:45
-7,200
e732645d31d496eee5b929fc755846fa2abfc239
Add "Number" and "Date" fields
[ { "change_type": "MODIFY", "old_path": "templates/helpers/_field_blocks.twig", "new_path": "templates/helpers/_field_blocks.twig", "diff": "{{ field.value.responsive_inline|raw }}\n{% endif %}\n+ {# Number fields #}\n+ {% if type == \"number\" %}\n+ <p><strong>{{ field|label }}</strong>: <code>{{ fi...
PHP
MIT License
bolt/core
Add "Number" and "Date" fields
95,144
22.08.2020 11:13:46
-7,200
bf535c9c79d62f86a4127f4fd5d256d579b8e2d3
Make "required" for Date fields work
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Date.vue", "new_path": "assets/js/app/editor/Components/Date.vue", "diff": "<script>\nimport value from '../mixins/value';\nimport flatPickr from 'vue-flatpickr-component';\n+import $ from 'jquery';\nexport default {\nname: 'Edi...
PHP
MIT License
bolt/core
Make "required" for Date fields work
95,144
22.08.2020 11:37:46
-7,200
2bee3fe3cca7e8fe4fac1f175508d6e2cce8e95a
Make relative dates work for fields that have an underscore in their name
[ { "change_type": "MODIFY", "old_path": "src/Storage/SelectQuery.php", "new_path": "src/Storage/SelectQuery.php", "diff": "@@ -269,7 +269,7 @@ class SelectQuery implements QueryInterface\n}\nforeach ($this->getWhereParameters() as $key => $param) {\n- $fieldName = current(explode('_', $key));\n+ $fie...
PHP
MIT License
bolt/core
Make relative dates work for fields that have an underscore in their name
95,144
22.08.2020 12:15:34
-7,200
15299511097df72109a9245fc9fca44d1349a31a
Remove the hover on the left-hand side logo
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/admin/_toolbar.scss", "new_path": "assets/scss/modules/admin/_toolbar.scss", "diff": "}\n&__brand {\n+\n+ justify-content: left;\n+ padding-left: 2rem;\n+\n@include media-breakpoint-up(lg) {\nflex: 0 1 $admin-sidebar-width;\n}\nmargin-right...
PHP
MIT License
bolt/core
Remove the hover on the left-hand side logo
95,144
22.08.2020 12:25:37
-7,200
c2e67efb1cc21cfc2426a3ba4ab8ad18ef9ba148
Tweaking default Skeleton theme
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/css/new.css", "new_path": "public/theme/skeleton/css/new.css", "diff": "@@ -545,3 +545,43 @@ code {\npadding: 3px 3px;\nfont-size: 0.9rem;\n}\n+\n+\n+/* Default grid, as used by the Article field type */\n+.article-grid {\n+ display: grid...
PHP
MIT License
bolt/core
Tweaking default Skeleton theme
95,144
22.08.2020 12:34:50
-7,200
8c97dd544d9a94bf1593c7b2f849c87596384da1
Prepare release 4.0.0-rc.36
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "}\n},\n\"@babel/core\": {\n- \"version\": \"7.11.1\",\n- \"resolved\": \"https://registry.npmjs.org/@babel/core/-/core-7.11.1.tgz\",\n- \"integrity\": \"sha512-XqF7F6FWQdKGGWAzGELL+aCO1p+lRY5Tj5/tbT...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.36
95,144
23.08.2020 16:38:43
-7,200
18ea29efa642b35feec09bd362ae13f35e79f50d
Add "Article" and "Redactor" to contentfixtures
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/ContentFixtures.php", "new_path": "src/DataFixtures/ContentFixtures.php", "diff": "@@ -218,8 +218,13 @@ class ContentFixtures extends BaseFixture implements DependentFixtureInterface,\nswitch ($field['type']) {\ncase 'html':\n+ case 'redactor'...
PHP
MIT License
bolt/core
Add "Article" and "Redactor" to contentfixtures
95,144
23.08.2020 17:33:18
-7,200
d2bda72a7e3cbb87b33fedfee7722aa591dbf915
Prevent breakage when trying to excerpt a Field
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -8,6 +8,7 @@ use Bolt\\Canonical;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Entity\\Content;\n+use Bolt\\Entity\\Field;\...
PHP
MIT License
bolt/core
Prevent breakage when trying to excerpt a Field
95,144
24.08.2020 15:13:13
-7,200
f18a4fc249a3bc1e86eb7b4cb6d90d4a75be84d9
Prepare release 4.0.0-rc.37
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"bolt\",\n- \"version\": \"4.0.0-rc.35\",\n+ \"version\": \"4.0.0-rc.37\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n},\n\"is-obj\": {\n\"version\": \"1.0.1\"...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.37
95,144
24.08.2020 16:11:16
-7,200
0932a981f24082ac6f7f3db9ab20e33c2df2909e
Update the README, because people can't read.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "----\n+Bolt 4 - beta\n+=============\n+\n+Bolt CMS is an open source, adaptable platform for building and running modern\n+websites. Built on PHP, Symfony and more. [Read the site](https://boltcms.io)\n+for more in...
PHP
MIT License
bolt/core
Update the README, because people can't read.
95,144
24.08.2020 20:35:57
-7,200
0fc32e9a7da018735f5f6bfab9f1a33ac1e62b1f
Fall back to "dumb" numeric sorting for older SQLite versions
[ { "change_type": "MODIFY", "old_path": "src/Storage/Directive/OrderDirective.php", "new_path": "src/Storage/Directive/OrderDirective.php", "diff": "@@ -4,6 +4,7 @@ declare(strict_types=1);\nnamespace Bolt\\Storage\\Directive;\n+use Bolt\\Doctrine\\Version;\nuse Bolt\\Entity\\Field\\NumberField;\nuse...
PHP
MIT License
bolt/core
Fall back to "dumb" numeric sorting for older SQLite versions
95,144
24.08.2020 21:29:05
-7,200
29d4f1c07ce57309ac89211fc9e9441c4c60242e
Fix: Correctly exclude fields that are used in the slug by default
[ { "change_type": "MODIFY", "old_path": "templates/helpers/_fields.twig", "new_path": "templates/helpers/_fields.twig", "diff": "{# Skip over the fields that are used in the slug, unless explicitly told not to,\nusing the `skip_uses` parameter. #}\n- {% if (record.contentType.fields.slug.uses|default...
PHP
MIT License
bolt/core
Fix: Correctly exclude fields that are used in the slug by default
95,144
26.08.2020 10:59:10
-7,200
b139decd38ac07915b3b47d7b27bab45bd784157
Better check for `INSTR` and `CAST`
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/custom/setcontent_1.twig", "new_path": "public/theme/skeleton/custom/setcontent_1.twig", "diff": "<section id=\"seven\">\n<h1>Seven</h1>\n{% setcontent blocks = \"blocks\" order \"title\" printquery %}\n- Results: <span id=\"results-six\"...
PHP
MIT License
bolt/core
Better check for `INSTR` and `CAST`
95,144
26.08.2020 12:35:09
-7,200
5d92640062a61efb4905a5067b13dd552d6fdb0f
Localehelper shouldn't break on CLI commands
[ { "change_type": "MODIFY", "old_path": "src/Utils/LocaleHelper.php", "new_path": "src/Utils/LocaleHelper.php", "diff": "@@ -74,6 +74,12 @@ class LocaleHelper\n/** @var Request $request */\n$request = $globals['app']->getRequest();\n+\n+ // In case we're on the CLI, the request is undefined so we cre...
PHP
MIT License
bolt/core
Localehelper shouldn't break on CLI commands
95,144
26.08.2020 14:03:37
-7,200
ff879163ee4303b773786124adfdbb5bd04ffde1
Prepare release 4.0.0-rc.38
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"bolt\",\n- \"version\": \"4.0.0-rc.37\",\n+ \"version\": \"4.0.0-rc.38\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n}\n},\n\"caniuse-lite\": {\n- \"version\"...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.38
95,144
26.08.2020 17:11:13
-7,200
eb3d64ae6256e567aa2a93016eec95a6587dfaa2
Prepare release 4.0.0-rc.39
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -95,12 +95,7 @@ record_template: record.twig\n#\n# Can be overridden for each content type.\n#\n-# Note 1: Sorting on TAXONOMY-pages will give unexpected results, if it has a\n-# page...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.39
95,181
30.08.2020 17:17:13
-7,200
ea6f64b8b7b6f6138e2ab8cb0e91d6a571923a55
Init cs locale
[ { "change_type": "MODIFY", "old_path": "config/services.yaml", "new_path": "config/services.yaml", "diff": "parameters:\nlocale: 'en'\n# This parameter defines the codes of the locales (languages) enabled in the application\n- app_locales: en|nl|es|fr|de|pl|it|hu|pt_BR|ja|nb|nn|nl_NL|nl_BE|is|ru\n+ ...
PHP
MIT License
bolt/core
Init cs locale
95,144
31.08.2020 19:54:34
-7,200
cd22ed78012555bf957a0775149c04774c88c7b4
Updating dependencies, Fix CS findings
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"ext-mbstring\": \"*\",\n\"ext-pdo\": \"*\",\n\"api-platform/core\": \"^2.5\",\n- \"babdev/pagerfanta-bundle\": \"^2.4\",\n- \"beberlei/doctrineextensions\": \"^1.0\",\n+ \"babdev/pagerfanta-bundle\": \"^2...
PHP
MIT License
bolt/core
Updating dependencies, Fix CS findings
95,144
31.08.2020 19:56:38
-7,200
5901145eb180017b61b5743f77474c4bd8015828
Fix widgets: Only setRendered if widget didn't return `null`
[ { "change_type": "MODIFY", "old_path": "src/Widgets.php", "new_path": "src/Widgets.php", "diff": "@@ -128,13 +128,18 @@ class Widgets\n}\n// Call the magic `__invoke` method on the $widget object\n+ // It can return a string (even an empty one) or `null`\n$output = $widget($params);\nif ($widget ins...
PHP
MIT License
bolt/core
Fix widgets: Only setRendered if widget didn't return `null`
95,144
31.08.2020 20:37:58
-7,200
9defedf88bc39f61216ae19269a6901943b5c493
Update _label.scss
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/editor/_label.scss", "new_path": "assets/scss/modules/editor/_label.scss", "diff": "max-width: $popover-max-width;\n// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.\n// So r...
PHP
MIT License
bolt/core
Update _label.scss
95,144
01.09.2020 10:12:22
-7,200
85c5d844b0f335f0d285a4010e72fbfbdaf0ce9b
Allow `contenttype` in title formatting (For "Select" fields)
[ { "change_type": "MODIFY", "old_path": "src/Utils/ContentHelper.php", "new_path": "src/Utils/ContentHelper.php", "diff": "@@ -161,6 +161,10 @@ class ContentHelper\nreturn $this->localeExtension->localdate($record->getDepublishedAt(), null, $locale);\n}\n+ if ($match[1] === 'contenttype') {\n+ return...
PHP
MIT License
bolt/core
Allow `contenttype` in title formatting (For "Select" fields)
95,144
01.09.2020 13:08:21
-7,200
2d53e76168abfda684416856e7871477fb4c48d6
Version bump in `doctrine/common` broke this
[ { "change_type": "MODIFY", "old_path": "src/Event/Listener/FieldDiscriminatorListener.php", "new_path": "src/Event/Listener/FieldDiscriminatorListener.php", "diff": "@@ -5,10 +5,10 @@ declare(strict_types=1);\nnamespace Bolt\\Event\\Listener;\nuse Bolt\\Entity\\FieldInterface;\n-use Doctrine\\Common...
PHP
MIT License
bolt/core
Version bump in `doctrine/common` broke this
95,144
01.09.2020 12:10:05
-7,200
328aafb8f6c19ca1c28f84144f53bff99ec6af99
Minor fix: Set database path correctly
[ { "change_type": "MODIFY", "old_path": "src/Configuration/PathResolver.php", "new_path": "src/Configuration/PathResolver.php", "diff": "@@ -33,7 +33,7 @@ class PathResolver\n'var' => '%site%/var',\n'cache' => '%var%/cache',\n'config' => '%site%/config',\n- 'database' => '%var%/database',\n+ 'databas...
PHP
MIT License
bolt/core
Minor fix: Set database path correctly
95,144
01.09.2020 11:42:26
-7,200
3e17133c903d852ba114bab1307779aec6f9a1dd
Fix breakage in PROD for `type: select` fields
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ContentEditController.php", "new_path": "src/Controller/Backend/ContentEditController.php", "diff": "@@ -26,6 +26,7 @@ use Bolt\\Repository\\TaxonomyRepository;\nuse Bolt\\Utils\\TranslationsManager;\nuse Carbon\\Carbon;\nuse Doctrine\\O...
PHP
MIT License
bolt/core
Fix breakage in PROD for `type: select` fields
95,144
01.09.2020 12:22:25
-7,200
90ac3590ecca5fa8c30c2dfe8fe08abeccb6e1ac
Update _sub_taxonomylinks.twig
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_sub_taxonomylinks.twig", "new_path": "public/theme/skeleton/partials/_sub_taxonomylinks.twig", "diff": "{% for type, taxonomies in record|taxonomies %}\n<em>\n- {% if taxonomies|length < 2 %}\n+ {% if taxonomies|length == 1 %}\n...
PHP
MIT License
bolt/core
Update _sub_taxonomylinks.twig
95,144
02.09.2020 07:05:56
-7,200
c772789178967185a61d0e1238a2cf43cdf0fdfe
Allow for more control over formatting of prefix and postfix
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/editor/fields/_pre_postfix.scss", "new_path": "assets/scss/modules/editor/fields/_pre_postfix.scss", "diff": "color: #666;\ndisplay: block;\nmargin: 0.5rem 0;\n+\n+ p {\n+ max-width: 40em;\n+ }\n}\n" }, { "change_type": "MODIFY", ...
PHP
MIT License
bolt/core
Allow for more control over formatting of prefix and postfix
95,144
02.09.2020 07:28:40
-7,200
276d86f73c4030f9fdd508029317b34558a4f719
Show appropriate `displayTitle` for new "Singleton" Record
[ { "change_type": "MODIFY", "old_path": "templates/content/edit.html.twig", "new_path": "templates/content/edit.html.twig", "diff": "{% for key, fielddefinition in record.definition.fields %}\n{% set alltypes = alltypes|merge([fielddefinition.type]) %}\n{% endfor %}\n-{% set displayTitle = record|tit...
PHP
MIT License
bolt/core
Show appropriate `displayTitle` for new "Singleton" Record
95,144
02.09.2020 11:27:19
-7,200
ee88a1d2d1c9ec7b9c6ce9e5229f7b1d7e5c0b3a
Fix `Notice: Array to string conversion` in `Field.php` by ensuring the array is one level deep.
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field.php", "new_path": "src/Entity/Field.php", "diff": "@@ -7,6 +7,7 @@ namespace Bolt\\Entity;\nuse ApiPlatform\\Core\\Annotation\\ApiFilter;\nuse ApiPlatform\\Core\\Annotation\\ApiResource;\nuse ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\S...
PHP
MIT License
bolt/core
Fix `Notice: Array to string conversion` in `Field.php` by ensuring the array is one level deep.
95,144
02.09.2020 11:54:24
-7,200
602d48ff934cc119531c1bcdd6e0e985051a8d3f
Update src/Entity/Field.php
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field.php", "new_path": "src/Entity/Field.php", "diff": "@@ -80,7 +80,7 @@ class Field implements FieldInterface, TranslatableInterface\n$value = $this->getTwigValue();\nif (is_array($value)) {\n- $value = implode('', Arr::flatten($value, INF));\n+ ...
PHP
MIT License
bolt/core
Update src/Entity/Field.php
95,144
02.09.2020 15:21:55
-7,200
f4adcd498c5bdcabe8fe09beb9e201a7eef08835
Fall back to `DetailController` when trying to "list" a Singleton ContentType
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/ListingController.php", "new_path": "src/Controller/Frontend/ListingController.php", "diff": "@@ -6,8 +6,10 @@ namespace Bolt\\Controller\\Frontend;\nuse Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Controller\\TwigAwareControl...
PHP
MIT License
bolt/core
Fall back to `DetailController` when trying to "list" a Singleton ContentType
95,144
02.09.2020 15:24:37
-7,200
227b8d3b7f082a6234e9fe97c5470341973e0f14
Don't list singletons in Aside
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_aside.twig", "new_path": "public/theme/skeleton/partials/_aside.twig", "diff": "something like '/pages', effectively creating a working link to that\nContentTypes's listing page. #}\n- {% for ct in config.get('contenttypes')|fil...
PHP
MIT License
bolt/core
Don't list singletons in Aside
95,144
02.09.2020 17:03:06
-7,200
40c8d7ce279a69d913858dbed77687f1db71c9c7
Fix deprecation in RouteCollectionBuilder
[ { "change_type": "MODIFY", "old_path": "src/Kernel.php", "new_path": "src/Kernel.php", "diff": "@@ -14,7 +14,7 @@ use Symfony\\Component\\Config\\Loader\\LoaderInterface;\nuse Symfony\\Component\\Config\\Resource\\FileResource;\nuse Symfony\\Component\\DependencyInjection\\ContainerBuilder;\nuse Sym...
PHP
MIT License
bolt/core
Fix deprecation in RouteCollectionBuilder
95,144
03.09.2020 10:42:23
-7,200
2c5e238b7e7f39550f793766865356e9378cf413
Don't break if we're trying to get content for "no ContentTypes"
[ { "change_type": "MODIFY", "old_path": "src/Storage/Query.php", "new_path": "src/Storage/Query.php", "diff": "@@ -5,6 +5,7 @@ declare(strict_types=1);\nnamespace Bolt\\Storage;\nuse Bolt\\Entity\\Content;\n+use Pagerfanta\\Adapter\\ArrayAdapter;\nuse Pagerfanta\\Pagerfanta;\nclass Query\n@@ -73,9 +7...
PHP
MIT License
bolt/core
Don't break if we're trying to get content for "no ContentTypes"
95,144
03.09.2020 13:00:08
-7,200
2171833a09abe9295b331f655a55c39e7b8edc80
Prevent recursion in `title_format`
[ { "change_type": "MODIFY", "old_path": "src/Utils/ContentHelper.php", "new_path": "src/Utils/ContentHelper.php", "diff": "@@ -175,6 +175,13 @@ class ContentHelper\nreturn $field;\n}\n+ // We must ensure this method is not called recursively. For example\n+ // `title_format: {title}` would otherwise ...
PHP
MIT License
bolt/core
Prevent recursion in `title_format`
95,144
03.09.2020 13:36:42
-7,200
45c05342117dbe9a518992e4d1daea514e0845b8
Update src/Event/Subscriber/ContentSaveSubscriber.php
[ { "change_type": "MODIFY", "old_path": "src/Event/Subscriber/ContentSaveSubscriber.php", "new_path": "src/Event/Subscriber/ContentSaveSubscriber.php", "diff": "@@ -55,7 +55,7 @@ class ContentSaveSubscriber implements EventSubscriberInterface\npublic function postDelete(ContentEvent $event): ContentE...
PHP
MIT License
bolt/core
Update src/Event/Subscriber/ContentSaveSubscriber.php
95,144
05.09.2020 08:09:10
-7,200
36fab1663b396909221c26fce5817516457247da
Update _taxonomylinks.html.twig
[ { "change_type": "MODIFY", "old_path": "templates/helpers/_taxonomylinks.html.twig", "new_path": "templates/helpers/_taxonomylinks.html.twig", "diff": "{% endif %}\n</em>\n{% for taxonomy in taxonomies %}\n- <a href=\"{{ taxonomy.link }}\" class=\"taxonomy-{{ type }}\">{{ taxonomy.name }}</a>{% if n...
PHP
MIT License
bolt/core
Update _taxonomylinks.html.twig
95,144
07.09.2020 16:49:51
-7,200
5c4c8fbd48429b08fc7eb881499bf06d62fd65b7
Use configured `upload_location` for images and files in ContentTypes
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -180,6 +180,8 @@ accept_media_types: [ gif, jpg, jpeg, png, svg, pdf, mp3, tiff ]\n#`post_max_size` and `upload_max_filesize` in `php.ini`.\naccept_upload_size: 8M\n+upload_location: ...
PHP
MIT License
bolt/core
Use configured `upload_location` for images and files in ContentTypes
95,144
07.09.2020 17:39:32
-7,200
c88ab67325c5c7969944695c2ab53d2cc1d17cac
Ensure record is set in collections
[ { "change_type": "MODIFY", "old_path": "templates/_macro/_macro.html.twig", "new_path": "templates/_macro/_macro.html.twig", "diff": "{% endapply %}{% endmacro %}\n-{% macro generate_collection_fields(collectionField, fields, compileTemplates) %}{% apply spaceless %}\n+{% macro generate_collection_f...
PHP
MIT License
bolt/core
Ensure record is set in collections
95,144
08.09.2020 17:52:59
-7,200
14e46fb4dc518bc87b4c31d8fe44d6972655abd5
Update top toolbar. Kill your darlings!
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/admin/_toolbar.scss", "new_path": "assets/scss/modules/admin/_toolbar.scss", "diff": "align-items: center;\njustify-content: center;\nfont-size: 0.875rem;\n- padding: 0;\na {\nfont-size: 0.9375rem;\n&__brand {\njustify-content: left;\n- pad...
PHP
MIT License
bolt/core
Update top toolbar. Kill your darlings!
95,144
08.09.2020 19:46:09
-7,200
c71e700c47def4b47cab5c4ccbe80c23dd6daa48
Let's put back the "Hey, Admin!"
[ { "change_type": "MODIFY", "old_path": "assets/js/app/toolbar/Components/Toolbar.vue", "new_path": "assets/js/app/toolbar/Components/Toolbar.vue", "diff": "aria-haspopup=\"true\"\naria-expanded=\"false\"\n>\n- <i class=\"fas fa-user\" :title=\"labels['general.greeting']\"></i>\n+ <i class=\"fas fa-u...
PHP
MIT License
bolt/core
Let's put back the "Hey, Admin!"
95,144
09.09.2020 16:06:03
-7,200
9e73151f169218f9baabc1a7ffa6a491e3d3a149
Support taxonomies in `title_format` and `excerpt_format`
[ { "change_type": "MODIFY", "old_path": "src/Utils/ContentHelper.php", "new_path": "src/Utils/ContentHelper.php", "diff": "@@ -175,6 +175,15 @@ class ContentHelper\nreturn $field;\n}\n+ if ($record->hasTaxonomyDefined($match[1])) {\n+ $result = [];\n+ foreach ($record->getTaxonomies($match[1]) as $it...
PHP
MIT License
bolt/core
Support taxonomies in `title_format` and `excerpt_format`
95,144
10.09.2020 12:33:08
-7,200
ce8f73c773e37c642e7eb80e0b4f111821ad3912
Make `placeholders()` accept `null` for robustness
[ { "change_type": "MODIFY", "old_path": "src/Twig/HtmlExtension.php", "new_path": "src/Twig/HtmlExtension.php", "diff": "@@ -103,7 +103,7 @@ class HtmlExtension extends AbstractExtension\nreturn Html::makeAbsoluteLink($link);\n}\n- public function placeholders(string $string, array $replacements = []...
PHP
MIT License
bolt/core
Make `placeholders()` accept `null` for robustness
95,144
11.09.2020 06:29:32
-7,200
8d659a69e59b9ea21a132b77e18424ee0089eab9
Pass in `record` with Set partial
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/set.html.twig", "new_path": "templates/_partials/fields/set.html.twig", "diff": "{% if in_collection is defined %}\n{% set setChildName = name ~ '[' ~ setChild.name ~ ']' %}\n{% set setChildId = id ~ '-' ~ setChild.name|default('unna...
PHP
MIT License
bolt/core
Pass in `record` with Set partial
95,144
11.09.2020 06:44:44
-7,200
fa1d1b142074040e4710d57f322ec0c0dc74d300
Prepare release 4.0.0-rc.42
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"bolt\",\n- \"version\": \"4.0.0-rc.41\",\n+ \"version\": \"4.0.0-rc.42\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n\"integrity\": \"sha512-EaObqwIvayI5a8dCz...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.42
95,144
13.09.2020 17:39:45
-7,200
506d747d16a07d317a4f4ec04913c7d6b78061e0
Make possible to check if an extension is present, directly in Twig
[ { "change_type": "MODIFY", "old_path": "src/Command/ExtensionsListCommand.php", "new_path": "src/Command/ExtensionsListCommand.php", "diff": "@@ -37,14 +37,14 @@ class ExtensionsListCommand extends Command\n$rows = [];\nforeach ($extensions as $extension) {\n- $rows[] = [$extension->getClass(), $ext...
PHP
MIT License
bolt/core
Make possible to check if an extension is present, directly in Twig
95,144
13.09.2020 17:42:30
-7,200
518ff2830623939c53f42828a761df8f7d6ca2f0
Add optional parameter to `excerpt` to wrap output in `<p>`
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -238,9 +238,8 @@ class ContentExtension extends AbstractExtension\n/**\n* @param string|Markup|Content|Field $content\n- * @param string|array|null $focus\n*/\n- public fu...
PHP
MIT License
bolt/core
Add optional parameter to `excerpt` to wrap output in `<p>`
95,144
13.09.2020 17:46:05
-7,200
a77e66aea5c016dadcc2d37750b78a7d2183e4b0
Updating Fixtures for impending release
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -180,6 +180,7 @@ accept_media_types: [ gif, jpg, jpeg, png, svg, pdf, mp3, tiff ]\n#`post_max_size` and `upload_max_filesize` in `php.ini`.\naccept_upload_size: 8M\n+# Default locatio...
PHP
MIT License
bolt/core
Updating Fixtures for impending release
95,144
14.09.2020 10:12:13
-7,200
9b647c6eee8e4ac4dfc1fd1868afc7d73a09e645
Make Frontend output a bit more robust by catching common pitfalls (non-existing content, etc)
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -164,7 +164,7 @@ class ContentExtension extends AbstractExtension\n];\n}\n- public function getAnyTitle(Content $content, int $length = 120): string\n+ public function get...
PHP
MIT License
bolt/core
Make Frontend output a bit more robust by catching common pitfalls (non-existing content, etc)
95,197
15.09.2020 02:15:44
25,200
c163a84c7b0fb662dec93792a5bd4008ebb6b449
Update config.yaml {contenttype}/{year}/{month}/ instead of year/month/contenttype
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -181,7 +181,7 @@ accept_media_types: [ gif, jpg, jpeg, png, svg, pdf, mp3, tiff ]\naccept_upload_size: 8M\n# Default location for uploading files.\n-upload_location: \"{year}/{month}/...
PHP
MIT License
bolt/core
Update config.yaml {contenttype}/{year}/{month}/ instead of year/month/contenttype
95,144
15.09.2020 11:21:32
-7,200
3e452c0b5996514024bae0f613603b1c657e29cb
Fix ECS by explicitly skipping `UnaryOperatorSpacesFixer`
[ { "change_type": "MODIFY", "old_path": "ecs.php", "new_path": "ecs.php", "diff": "@@ -29,6 +29,7 @@ use PhpCsFixer\\Fixer\\Operator\\ConcatSpaceFixer;\nuse PhpCsFixer\\Fixer\\Operator\\IncrementStyleFixer;\nuse PhpCsFixer\\Fixer\\Operator\\NewWithBracesFixer;\nuse PhpCsFixer\\Fixer\\Operator\\Ternar...
PHP
MIT License
bolt/core
Fix ECS by explicitly skipping `UnaryOperatorSpacesFixer`
95,144
15.09.2020 14:28:16
-7,200
3a4d854afd997f8a74c509459298970fd16287ef
Fix default locations for image uploads
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -133,7 +133,7 @@ entries:\nimage:\ntype: image\ngroup: media\n- upload: entries\n+ upload: \"{random}/{contenttype}/{date}\"\nvideo:\ntype: embed\nrelations:\n" }, { ...
PHP
MIT License
bolt/core
Fix default locations for image uploads
95,144
15.09.2020 15:15:59
-7,200
82338062e65073e53fa7936fb8b3e811d718a2c4
Update `upload_location` in GeneralParser.php, followup to
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/GeneralParser.php", "new_path": "src/Configuration/Parser/GeneralParser.php", "diff": "@@ -132,7 +132,7 @@ class GeneralParser extends BaseParser\n'accept_file_types' => explode(',', 'twig,html,js,css,scss,gif,jpg,jpeg,png,ico,zip,tgz,...
PHP
MIT License
bolt/core
Update `upload_location` in GeneralParser.php, followup to #1850
95,144
15.09.2020 15:18:25
-7,200
7c618b6fe32ce500f540aa93762f394849a0f339
Update image.html.twig
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/image.html.twig", "new_path": "templates/_partials/fields/image.html.twig", "diff": "{% block field %}\n{% set setPath = field.definition.get('upload')|placeholders({'contenttype': record.contenttype}) %}\n- {{ dump(field.definition....
PHP
MIT License
bolt/core
Update image.html.twig
95,144
16.09.2020 15:56:59
-7,200
7342e1261a904974589cc0050365f8c778cd8932
Ensure config for `not_found` etc. are arrays. (and some cleanup of old, deprecrated stuff)
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -22,12 +22,6 @@ theme: skeleton\n# format settings, see: https://www.php.net/manual/en/function.date.php\ndate_format: 'F j, Y H:i'\n-# The hour of the day for the internal cron task ...
PHP
MIT License
bolt/core
Ensure config for `not_found` etc. are arrays. (and some cleanup of old, deprecrated stuff)
95,144
16.09.2020 16:19:48
-7,200
271ddf7f327a2ca92cd3abc379053a1134c6a03d
Prepare release 4.0.0-rc.43
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"bolt\",\n- \"version\": \"4.0.0-rc.42\",\n+ \"version\": \"4.0.0-rc.43\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n\"integrity\": \"sha512-OPdCF6GsMIP+Az+aW...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.43
95,144
18.09.2020 13:06:55
-7,200
c8820863ea6aafd5b9bc3f13250e4e83052d5ff8
Allow uploading of Avif and Webp images, for the hip kids.
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -162,13 +162,13 @@ htmlcleaner:\n# Define the file types (extensions to be exact) that are acceptable for upload\n# in either file fields or through the files screen.\n-accept_file_ty...
PHP
MIT License
bolt/core
Allow uploading of Avif and Webp images, for the hip kids.
95,144
18.09.2020 15:20:04
-7,200
8cc173b0958d256561aa1d026b907b0d6d33e14e
Make z-index of `<select>` a bit higher
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Select.vue", "new_path": "assets/js/app/editor/Components/Select.vue", "diff": "<template>\n- <div :id=\"`multiselect-${id}`\" :class=\"classname\">\n+ <div :id=\"`multiselect-${id}`\" :class=\"classname\" class=\"multiselect-bo...
PHP
MIT License
bolt/core
Make z-index of `<select>` a bit higher
95,144
18.09.2020 17:20:23
-7,200
53873f578bf7fa68e68eb9077b6e858a7a7b9567
Styling Collections more nice-like
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Collection.vue", "new_path": "assets/js/app/editor/Components/Collection.vue", "diff": "</div>\n</div>\n- <div v-for=\"element in elements\" :key=\"element.hash\" class=\"collection-item\">\n+ <div v-for=\"element in elements\" ...
PHP
MIT License
bolt/core
Styling Collections more nice-like
95,144
19.09.2020 12:24:23
-7,200
657f309ba1b94ded15c694b7366e8a4a95c28f39
finetuning, cleaning up
[ { "change_type": "MODIFY", "old_path": "assets/scss/init/_variables.scss", "new_path": "assets/scss/init/_variables.scss", "diff": "@@ -61,7 +61,7 @@ $card-border-radius: $border-radius;\n$card-border-color: var(--very-light-border);\n$card-bg: var(--foreground);\n$card-box-shadow: 0 7.5px 15px -5px...
PHP
MIT License
bolt/core
finetuning, cleaning up
95,144
20.09.2020 10:41:32
-7,200
761f7a9cf9eb06ea0a0d5a1867597d8cac265eda
Prepare release 4.0.0-rc.44
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "}\n},\n\"caniuse-lite\": {\n- \"version\": \"1.0.30001132\",\n- \"resolved\": \"https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001132.tgz\",\n- \"integrity\": \"sha512-zk5FXbnsmHa0Ktc/...
PHP
MIT License
bolt/core
Prepare release 4.0.0-rc.44
95,144
20.09.2020 12:38:59
-7,200
c66d0270161f3b66bce480570a1a0bf7fd7b906a
Adding `base-2021` to `CopyThemesCommand`
[ { "change_type": "MODIFY", "old_path": "src/Command/CopyThemesCommand.php", "new_path": "src/Command/CopyThemesCommand.php", "diff": "@@ -55,6 +55,7 @@ class CopyThemesCommand extends Command\nif (file_exists(dirname(dirname(dirname(__DIR__))) . '/themes')) {\n$baseDir = dirname(dirname(dirname(__DI...
PHP
MIT License
bolt/core
Adding `base-2021` to `CopyThemesCommand`
95,197
20.09.2020 23:36:59
25,200
f37ed8a45f20fbfbd784e9603e62825a4f24ec09
Update hidden.html.twig Fixes typo in pattern Adds prefix/postfix
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/hidden.html.twig", "new_path": "templates/_partials/fields/hidden.html.twig", "diff": "{% set value = field.value|json_encode %}\n{% set required = field.definition.required ? 1 : 0 %}\n{% set readonly = field.definition.readonly ? t...
PHP
MIT License
bolt/core
Update hidden.html.twig - Fixes typo in pattern - Adds prefix/postfix
95,197
21.09.2020 02:04:52
25,200
9564b2c9f3086c5e513806b80eff957179bd4798
Update Collection.vue Also adds a line break between the label and button for 'Add new Set' at the end of a collection
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Collection.vue", "new_path": "assets/js/app/editor/Components/Collection.vue", "diff": "</div>\n<div class=\"row\">\n- <span class=\"my-auto\" style=\"margin: 1rem;\">{{ labels.add_collection_item }}:</span>\n+ <div class=\"col-...
PHP
MIT License
bolt/core
Update Collection.vue Also adds a line break between the label and button for 'Add new Set' at the end of a collection
95,144
21.09.2020 14:12:30
-7,200
fb9f91c0c15c3bcec9f6ea197c21aa93c60fd904
Finetuning CSS
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Collection.vue", "new_path": "assets/js/app/editor/Components/Collection.vue", "diff": "<div v-for=\"element in elements\" :key=\"element.hash\" class=\"collection-item\">\n<details :open=\"state === 'expanded'\" class=\"card\">...
PHP
MIT License
bolt/core
Finetuning CSS
95,144
21.09.2020 16:40:36
-7,200
018bbdd01d0714554bdc61f5a4c2e9b6a7cae14e
Allow numeric slugs with `allow_numeric` attribute in ContentType
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -124,6 +124,7 @@ entries:\nslug:\ntype: slug\nuses: title\n+ allow_numeric: true\nteaser:\ntype: html\nheight: 150px\n" }, { "change_type": "MODIFY", "old_path...
PHP
MIT License
bolt/core
Allow numeric slugs with `allow_numeric` attribute in ContentType
95,144
21.09.2020 20:36:58
-7,200
a83c27ad3604a43deb66bca35f7e6780d8bfac2a
Minor fix: Check if `Content` is set in preview mode.
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field.php", "new_path": "src/Entity/Field.php", "diff": "@@ -231,7 +231,7 @@ class Field implements FieldInterface, TranslatableInterface\n{\n$value = $this->getParsedValue();\n- if (is_string($value) && $this->getDefinition()->get('sanitise')) {\n+...
PHP
MIT License
bolt/core
Minor fix: Check if `Content` is set in preview mode.
95,144
22.09.2020 09:14:42
-7,200
1c779057dd9674995df69f35762b0d4ce51861df
Add pedantic notice to installation on this page, reminding people to use instead
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -8,13 +8,16 @@ for more info.\nTo check out Bolt and set up your first Bolt installation, read\n[Installing Bolt 4][installation].\n+\n---\n+\n**This repository should be used to work _<ins>on</ins>_ Bolt. Not\n...
PHP
MIT License
bolt/core
Add pedantic notice to installation on this page, reminding people to use https://docs.bolt.cm/installation instead
95,144
22.09.2020 14:54:13
-7,200
3e03ca7f71472787cc95e8c4d15af008539c3956
Fix Z-index, attempt 2
[ { "change_type": "MODIFY", "old_path": "assets/scss/vendor/multiselect.scss", "new_path": "assets/scss/vendor/multiselect.scss", "diff": "@@ -55,11 +55,6 @@ fieldset[disabled] .multiselect {\npointer-events: none;\n}\n-.multiselect-bolt-wrapper {\n- position: relative;\n- z-index: 110;\n-}\n-\n.mult...
PHP
MIT License
bolt/core
Fix Z-index, attempt 2
95,144
23.09.2020 12:23:14
-7,200
26cdfcffe938333704e61a2800c2cfadb3f9c042
Fix "zero width spaces" and Twigified titles in backend.
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -23,6 +23,7 @@ use Bolt\\Utils\\ContentHelper;\nuse Bolt\\Utils\\Excerpt;\nuse Bolt\\Utils\\Html;\nuse Bolt\\Utils\\Sanitiser;\n+use Bolt\\Widget\\Injector\\RequestZone;\n...
PHP
MIT License
bolt/core
Fix "zero width spaces" and Twigified titles in backend.
95,144
23.09.2020 13:09:06
-7,200
91096e547fb29596510f6ee697b51360f83484d3
Let's fix this differently
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field.php", "new_path": "src/Entity/Field.php", "diff": "@@ -9,9 +9,11 @@ use ApiPlatform\\Core\\Annotation\\ApiResource;\nuse ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\SearchFilter;\nuse Bolt\\Common\\Arr;\nuse Bolt\\Configuration\\Content\...
PHP
MIT License
bolt/core
Let's fix this differently
95,144
23.09.2020 18:55:52
-7,200
246ce3a60217b3227df4b447c0963876a15a0525
Only show "Preview" button if ContentType is not Viewless
[ { "change_type": "MODIFY", "old_path": "templates/content/_buttons.html.twig", "new_path": "templates/content/_buttons.html.twig", "diff": "{{ macro.button('action.save', 'fa-save', 'success', {'type': 'submit', 'form': 'editcontent', 'data-patience': 'virtue', 'name': 'save'}) }}\n{% if record.id %...
PHP
MIT License
bolt/core
Only show "Preview" button if ContentType is not Viewless
95,171
24.09.2020 14:53:09
25,200
199703e7884f9a2a7b43502571859465b4b0d718
Remove "Set >> Label" from Sets, as the 'Set >>' portion is not relevant to editors
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/_label.html.twig", "new_path": "templates/_partials/fields/_label.html.twig", "diff": "<label for=\"{{ id }}\" class=\"editor--label{% if type|default() == 'collection' %} sr-only{% endif %}\">\n- {% if in_compound is defined %}\n- <...
PHP
MIT License
bolt/core
Remove "Set >> Label" from Sets, as the 'Set >>' portion is not relevant to editors
95,144
26.09.2020 09:28:50
-7,200
a2e6254b2f260c5aa0bcb1c1ee3ec3f58f0bec0c
Cleanup, this is handled in ENV / Doctrine
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/GeneralParser.php", "new_path": "src/Configuration/Parser/GeneralParser.php", "diff": "@@ -6,7 +6,6 @@ namespace Bolt\\Configuration\\Parser;\nuse Bolt\\Common\\Arr;\nuse Tightenco\\Collect\\Support\\Collection;\n-use Webmozart\\PathUt...
PHP
MIT License
bolt/core
Cleanup, this is handled in ENV / Doctrine
95,189
27.09.2020 11:38:21
-28,800
810ba5de90128ae5325aa640f74a79feb98fd843
try and resolve the extension class from the DI container
[ { "change_type": "MODIFY", "old_path": "src/Extension/ExtensionRegistry.php", "new_path": "src/Extension/ExtensionRegistry.php", "diff": "@@ -92,7 +92,11 @@ class ExtensionRegistry\n$this->addComposerPackages();\nforeach ($this->getExtensionClasses() as $extensionClass) {\n- $extension = new $extens...
PHP
MIT License
bolt/core
try and resolve the extension class from the DI container
95,144
27.09.2020 09:23:45
-7,200
86efffe67ddbc419a9f560877fb361520e040566
Setting a "default", but more than `0`.
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/editor/fields/_collection.scss", "new_path": "assets/scss/modules/editor/fields/_collection.scss", "diff": ".card-body {\nbackground: var(--background);\n+ // 1px solves the ghosted whitespace\n+ // @see https://github.com/bolt/core/pull/19...
PHP
MIT License
bolt/core
Setting a "default", but more than `0`.
95,144
27.09.2020 09:25:07
-7,200
a256eb5ed330feb4b268ac5e5fadbe004161e660
Update behaviour test
[ { "change_type": "MODIFY", "old_path": "tests/e2e/edit_record_1.feature", "new_path": "tests/e2e/edit_record_1.feature", "diff": "@@ -188,7 +188,6 @@ Feature: Edit record\nWhen I follow \"Sets\"\nThen I should be on \"/bolt/edit/43#sets\"\n- And I should see \"This is my set\" in the \"#sets label[f...
PHP
MIT License
bolt/core
Update behaviour test
95,193
28.09.2020 11:13:31
-25,200
29ec0748d8e547c93ac595fc65747a4e6e6e646e
add config media types to files list in dropdown
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/Async/FileListingController.php", "new_path": "src/Controller/Backend/Async/FileListingController.php", "diff": "@@ -48,7 +48,7 @@ class FileListingController implements AsyncZoneInterface\nprivate function getFilesIndex(string $path, st...
PHP
MIT License
bolt/core
add config media types to files list in dropdown
95,193
28.09.2020 12:09:48
-25,200
092a5214392bac62425cb15f97aad3993ecf6774
fix edit file in File management subfolders
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/FileEditController.php", "new_path": "src/Controller/Backend/FileEditController.php", "diff": "@@ -149,7 +149,8 @@ class FileEditController extends TwigAwareController implements BackendZoneInter\n$this->addFlash('success', 'file.delete_...
PHP
MIT License
bolt/core
fix edit file in File management subfolders
95,144
29.09.2020 10:24:04
-7,200
99398ee99431e4deb0914904643e108148776003
Fix: Don't break when passing in params for "Search Query"
[ { "change_type": "MODIFY", "old_path": "src/Storage/SelectQuery.php", "new_path": "src/Storage/SelectQuery.php", "diff": "@@ -4,6 +4,7 @@ declare(strict_types=1);\nnamespace Bolt\\Storage;\n+use Bolt\\Common\\Arr;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Configuration\\Content\\ContentType;\nuse...
PHP
MIT License
bolt/core
Fix: Don't break when passing in params for "Search Query"
95,190
29.09.2020 14:15:23
-7,200
16ef7562b65524a554adab8c1d6f1fd8014cf4ba
Fixtures can be loaded (fix of
[ { "change_type": "MODIFY", "old_path": ".env.dist", "new_path": ".env.dist", "diff": "@@ -24,7 +24,7 @@ DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/bolt.sqlite\n#DATABASE_URL=mysql://db_user:\"db_password\"@localhost:3306/db_name\n# Postgres\n-#DATABASE_URL=postgresql://db_user:\"db_passwor...
PHP
MIT License
bolt/core
Fixtures can be loaded (fix of #1905)
95,190
29.09.2020 14:32:44
-7,200
22dafbae72c62c9fe9e9068955b40f14ff7d5a28
Bypassing lower-case search bug: BUG SQLSTATE[42883]: Undefined function: 7 ERROR: function lower(jsonb) does not exist
[ { "change_type": "MODIFY", "old_path": "src/Storage/SelectQuery.php", "new_path": "src/Storage/SelectQuery.php", "diff": "@@ -533,11 +533,15 @@ class SelectQuery implements QueryInterface\n$originalLeftExpression = 'content.' . $filter->getKey();\n// LOWER() added to query to enable case insensitive...
PHP
MIT License
bolt/core
Bypassing lower-case search bug: BUG SQLSTATE[42883]: Undefined function: 7 ERROR: function lower(jsonb) does not exist
95,190
29.09.2020 15:11:05
-7,200
b9934e6fc8e336d1b60e93df651b9c3f6bd48117
Missing assets due to wrong order in README
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -117,7 +117,19 @@ bin/console doctrine:fixtures:load -n\nAlternatively, run `make db-reset`, on a UNIX-like system.\n-4 Run the prototype\n+4 How to build assets\n+-------------------\n+\n+To set up initially, r...
PHP
MIT License
bolt/core
Missing assets due to wrong order in README
95,190
29.09.2020 15:15:35
-7,200
b070b4a0e05624b79df62a75983c11fd417b32e4
Bugfix for admin login to log. SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near user - user is a protected name and need quotation!
[ { "change_type": "MODIFY", "old_path": "src/Entity/Log.php", "new_path": "src/Entity/Log.php", "diff": "@@ -38,7 +38,7 @@ class Log\n/** @ORM\\Column(name=\"extra\", type=\"array\", nullable=true) */\nprivate $extra;\n- /** @ORM\\Column(name=\"user\", type=\"array\", nullable=true) */\n+ /** @ORM\\C...
PHP
MIT License
bolt/core
Bugfix for admin login to log. SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near user - user is a protected name and need quotation!
95,190
29.09.2020 16:57:06
-7,200
ed7396db4d1ec512f3c33f462fcfaee4769d5830
Fixed RandomSelect for records in PostgreSQL
[ { "change_type": "MODIFY", "old_path": "src/Doctrine/Functions/Rand.php", "new_path": "src/Doctrine/Functions/Rand.php", "diff": "@@ -19,6 +19,11 @@ class Rand extends FunctionNode\nif (property_exists($this->expression, 'value') && $this->expression->value === '1') {\nreturn 'random()';\n}\n+ // va...
PHP
MIT License
bolt/core
Fixed RandomSelect for records in PostgreSQL
95,190
29.09.2020 17:04:19
-7,200
ad555b253eaf76534d981d3401adc9081f9a771d
Ran Code Style checking / Static Analysis
[ { "change_type": "ADD", "old_path": null, "new_path": "config/extensions/acmecorp-referenceextension.yaml", "diff": "+# Reference extension configuration file\n+\n+foo: Bar\n" }, { "change_type": "ADD", "old_path": null, "new_path": "src/.preload.php", "diff": "+<?php\n+\n+if (fi...
PHP
MIT License
bolt/core
Ran Code Style checking / Static Analysis
95,190
29.09.2020 18:49:24
-7,200
f85fd41a68b0de71db602d7070f74beb6aeb6652
Fixed search function for PostgreSQL and jsonb
[ { "change_type": "MODIFY", "old_path": "src/Repository/ContentRepository.php", "new_path": "src/Repository/ContentRepository.php", "diff": "@@ -97,7 +97,7 @@ class ContentRepository extends ServiceEntityRepository\n$qb->addSelect('f')\n->innerJoin('content.fields', 'f')\n->innerJoin('f.translations'...
PHP
MIT License
bolt/core
Fixed search function for PostgreSQL and jsonb
95,144
30.09.2020 08:43:35
-7,200
da86ad0b3a9887fd92ebc61ffd46847cf9e7491c
Fix another instance of breakage
[ { "change_type": "MODIFY", "old_path": "config/bolt/config.yaml", "new_path": "config/bolt/config.yaml", "diff": "@@ -96,8 +96,8 @@ listing_template: listing.twig\nlisting_records: 6\nlisting_sort: datepublish DESC\n-# Allow filtering on listing pages using query parameters, much like you\n-# would ...
PHP
MIT License
bolt/core
Fix another instance of breakage
95,144
30.09.2020 15:50:54
-7,200
ff9cb8e3268622cc9f2ddde25f185509c488efd8
Empty image Field should return `null` instead of `files/`
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/FileExtrasTrait.php", "new_path": "src/Entity/Field/FileExtrasTrait.php", "diff": "@@ -10,8 +10,12 @@ use Symfony\\Component\\HttpFoundation\\Request;\ntrait FileExtrasTrait\n{\n- private function getPath(): string\n+ private function getPath(...
PHP
MIT License
bolt/core
Empty image Field should return `null` instead of `files/`
95,190
01.10.2020 00:10:26
-7,200
2707e714f340cd533314d033c6fbfa526884ea63
Fixed the search/CAST for MySQL - JSON is already considered TEXT in MySQL
[ { "change_type": "MODIFY", "old_path": "config/packages/doctrine.yaml", "new_path": "config/packages/doctrine.yaml", "diff": "@@ -32,7 +32,8 @@ doctrine:\ndql:\nstring_functions:\nJSON_EXTRACT: Bolt\\Doctrine\\Functions\\JsonExtract\n- CAST: DoctrineExtensions\\Query\\Mysql\\Cast\n+ # CAST: Doctrine...
PHP
MIT License
bolt/core
Fixed the search/CAST for MySQL - JSON is already considered TEXT in MySQL
95,190
01.10.2020 00:56:23
-7,200
c68e6d5516077587f69185ef18be8af3a71cb240
found strange bug, partial fix
[ { "change_type": "MODIFY", "old_path": "templates/helpers/_field_blocks.twig", "new_path": "templates/helpers/_field_blocks.twig", "diff": "{% block extended_fields %}\n{# Special case for 'select' fields: if it's a multiple select, the field is an array. #}\n+ {# I dont know what is going on here, ...
PHP
MIT License
bolt/core
found strange bug, partial fix
95,190
02.10.2020 12:54:55
-7,200
4ac9bb8653093984e956d5bc6d6995f18db10e04
Lower is breaking more than gaining
[ { "change_type": "MODIFY", "old_path": "src/Storage/SelectQuery.php", "new_path": "src/Storage/SelectQuery.php", "diff": "@@ -535,7 +535,10 @@ class SelectQuery implements QueryInterface\n// LOWER() added to query to enable case insensitive search of JSON values. Used in conjunction with converting ...
PHP
MIT License
bolt/core
Lower is breaking more than gaining
95,144
02.10.2020 16:37:57
-7,200
82578dc9f7074b1f5bd150356957505af6025ba4
Better feedback when `|related` and their ilk fail
[ { "change_type": "MODIFY", "old_path": "src/Twig/RelatedExtension.php", "new_path": "src/Twig/RelatedExtension.php", "diff": "@@ -29,12 +29,16 @@ class RelatedExtension extends AbstractExtension\n/** @var ContentHelper */\nprivate $contentHelper;\n- public function __construct(RelationRepository $re...
PHP
MIT License
bolt/core
Better feedback when `|related` and their ilk fail
95,144
02.10.2020 16:42:28
-7,200
77ba879f868379e593bd89f757ff725df739788d
Update notification.html.twig
[ { "change_type": "MODIFY", "old_path": "templates/_partials/notification.html.twig", "new_path": "templates/_partials/notification.html.twig", "diff": "<abbr title=\"{{ frame.class }}\">\n{{- frame.class|split('\\\\')|last()|excerpt(24) -}}</abbr>{{- frame.type -}}\n{%- endif -%}\n- <strong>{{- fram...
PHP
MIT License
bolt/core
Update notification.html.twig
95,115
03.10.2020 15:32:50
-7,200
d571d729213ea39c0d56bce64abc2721c04dd5ef
reset password command is in the documentation (https://github.com/bolt/docs/blob/4.0/docs/howto/resetting-a-password.md), but not in the code. This is a simple version. Differences to the documentation: you have to specify the username (e-mail not possible) and you get the option of specifying a password yourself.
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Command/ResetPasswordCommand.php", "diff": "+<?php\n+\n+namespace App\\Command;\n+\n+use Bolt\\Common\\Str;\n+use Bolt\\Entity\\User;\n+use Bolt\\Repository\\UserRepository;\n+use Doctrine\\ORM\\EntityManagerInterface;\n+use Symfony\\Compone...
PHP
MIT License
bolt/core
reset password command is in the documentation (https://github.com/bolt/docs/blob/4.0/docs/howto/resetting-a-password.md), but not in the code. This is a simple version. Differences to the documentation: you have to specify the username (e-mail not possible) and you get the option of specifying a password yourself.
95,115
03.10.2020 17:54:11
-7,200
eca804da4b90ef8c26118ca3688a4c541b0c0875
Small updates based on review and code analysis.
[ { "change_type": "MODIFY", "old_path": "src/Command/ResetPasswordCommand.php", "new_path": "src/Command/ResetPasswordCommand.php", "diff": "<?php\n+declare(strict_types=1);\n+\nnamespace Bolt\\Command;\nuse Bolt\\Common\\Str;\n@@ -10,7 +12,6 @@ use Symfony\\Component\\Console\\Command\\Command;\nuse...
PHP
MIT License
bolt/core
Small updates based on review and code analysis.
95,170
03.10.2020 12:46:02
18,000
8f0ee432a8be8b7d68433f90d2e3257f78240326
Fixing Coding Standard issues for previous commit
[ { "change_type": "MODIFY", "old_path": "src/Controller/ImageController.php", "new_path": "src/Controller/ImageController.php", "diff": "@@ -174,7 +174,8 @@ class ImageController\nreturn array_key_exists('extension', $pathinfo) && in_array($pathinfo['extension'], $imageExtensions, true);\n}\n- privat...
PHP
MIT License
bolt/core
Fixing Coding Standard issues for previous commit
95,115
03.10.2020 19:47:26
-7,200
31119721b226832cfacc6b8a763c342ce7ef2b03
fix annotation to hint that 'null' is a possible value
[ { "change_type": "MODIFY", "old_path": "src/Command/ResetPasswordCommand.php", "new_path": "src/Command/ResetPasswordCommand.php", "diff": "@@ -61,7 +61,7 @@ class ResetPasswordCommand extends Command\n$io = new SymfonyStyle($input, $output);\n$username = $input->getArgument('username');\n- /** @var...
PHP
MIT License
bolt/core
fix @var annotation to hint that 'null' is a possible value
95,170
03.10.2020 13:15:20
18,000
a9f486d32506aacb6a678f6117d6dd13eea0d89a
Fixing Coding Standard issues
[ { "change_type": "MODIFY", "old_path": "src/Controller/ImageController.php", "new_path": "src/Controller/ImageController.php", "diff": "@@ -146,7 +146,6 @@ class ImageController\nif (isset($raw[3])) {\n$this->parameters['fit'] = $this->parseFit($raw[2]);\n$this->parameters['location'] = $raw[3];\n-\...
PHP
MIT License
bolt/core
Fixing Coding Standard issues
95,115
03.10.2020 20:25:30
-7,200
c027191895c2b67561f86334538a014ebc8c2819
insert blank line before return to make cscheck happy :-)
[ { "change_type": "MODIFY", "old_path": "src/Command/ResetPasswordCommand.php", "new_path": "src/Command/ResetPasswordCommand.php", "diff": "@@ -66,6 +66,7 @@ class ResetPasswordCommand extends Command\nif ($user === null) {\n$io->error(sprintf('No user found with username: %s', $username));\n+\nretu...
PHP
MIT License
bolt/core
insert blank line before return to make cscheck happy :-)