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
10.03.2019 12:22:13
-3,600
f64e8c2417ec0a7b72ab261494c296ce89e06919
Properly escaping fields that go into Vue
[ { "change_type": "MODIFY", "old_path": "templates/_partials/_content_listing.html.twig", "new_path": "templates/_partials/_content_listing.html.twig", "diff": "<listing-records\ntype=\"{{ type }}\"\n{# tricky part: https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle/issues/165#issuecomment-...
PHP
MIT License
bolt/core
Properly escaping fields that go into Vue
95,144
10.03.2019 13:01:51
-3,600
afdec8c4c3683b6aa3cec2ed19ffec289a8a3c34
Escape language select
[ { "change_type": "MODIFY", "old_path": "templates/content/_localeswitcher.html.twig", "new_path": "templates/content/_localeswitcher.html.twig", "diff": "<general-language\nlabel=\"{{ 'field.switch_to_locale'|trans }}\"\ncurrent=\"{{ currentlocale }}\"\n- :locales=\"{{ contentlocales(locales) }}\"\n...
PHP
MIT License
bolt/core
Escape language select
95,144
10.03.2019 13:22:59
-3,600
e93f954b759becb1988566372c728791e2691772
Second attempt, less hackish
[ { "change_type": "MODIFY", "old_path": "config/packages/twig.yaml", "new_path": "config/packages/twig.yaml", "diff": "twig:\ndebug: '%kernel.debug%'\nstrict_variables: true\n- autoescape: false\nform_themes:\n- 'form/layout.twig'\n- 'form/fields.twig'\n" }, { "change_type": "MODIFY", "ol...
PHP
MIT License
bolt/core
Second attempt, less hackish
95,144
10.03.2019 13:46:43
-3,600
d18e50e660e3b62c7c21d57e8360231009eae343
Well, that took the better part of my weekend.
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/markdown.html.twig", "new_path": "templates/_partials/fields/markdown.html.twig", "diff": "{% block field %}\n<editor-markdown\n- :value='{{ value|json_encode()|e }}'\n+ :value='{{ value|json_encode() }}'\n:name=\"'{{ name }}'\"\n></...
PHP
MIT License
bolt/core
Well, that took the better part of my weekend.
95,144
11.03.2019 13:16:44
-3,600
c2c398102999699ddc48db90f8417b158c51342f
Rename `allow_markup` to `allow_html`
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -336,10 +336,10 @@ tests:\nuses: title\ntext_markup:\ntype: text\n- allow_markup: true\n+ allow_html: true\ntext_plain:\ntype: text\n- allow_markup: false\n+ allow_html: f...
PHP
MIT License
bolt/core
Rename `allow_markup` to `allow_html`
95,144
11.03.2019 14:45:50
-3,600
f2011aee745c7837648f99a2c761376c8084df76
Cast to array in `setValue()` instead
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/test.twig", "new_path": "public/theme/skeleton/test.twig", "diff": "Escaped: <br>\n<div class=\"box text_markup_c\">{{ record.text_markup|e }}</div><br>\n-\n</p>\n<hr>\n" }, { "change_type": "MODIFY", "old_path": "src/Controll...
PHP
MIT License
bolt/core
Cast to array in `setValue()` instead
95,144
11.03.2019 15:16:56
-3,600
8fc0fed4702d75f05c24bd5bb3134c11255a7d5c
Implement `getTwigValue`
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -458,10 +458,6 @@ class Content implements \\JsonSerializable\nthrow new \\RuntimeException(sprintf('Invalid field name or method call on %s: %s', $this->__toString(), $name));\n}\n- if...
PHP
MIT License
bolt/core
Implement `getTwigValue`
95,144
02.03.2019 16:54:35
-3,600
42e6368049103d68db0d527cc5228d2421257647
Be more lenient when calling non-existant object properties from within Twig
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -445,6 +445,14 @@ class Content implements \\JsonSerializable\n/**\n* Generic getter for a record fields. Will return the field with $name.\n*\n+ * If $name is not found, throw an excep...
PHP
MIT License
bolt/core
Be more lenient when calling non-existant object properties from within Twig
95,144
04.03.2019 17:02:40
-3,600
0ed5536ba56db0308ed00acddfe73f48ab97c899
Update record.twig: distinguish between title and heading
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/record.twig", "new_path": "public/theme/skeleton/record.twig", "diff": "{% block main %}\n- {% if record.hasField('title') %}\n+ {% if record.title %}\n<h1 class=\"title\">{{ record.title }}</h1>\n{% else %}\n<h1 class=\"heading\">{{ reco...
PHP
MIT License
bolt/core
Update record.twig: distinguish between title and heading
95,144
04.03.2019 19:34:41
-3,600
9529417ce167563837ea61546fd9d061b28918fa
Use $e->getTrace()
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -463,7 +463,7 @@ class Content implements \\JsonSerializable\ntry {\n$field = $this->getField($name);\n} catch (\\InvalidArgumentException $e) {\n- $backtrace = new LaravelCollection(de...
PHP
MIT License
bolt/core
Use $e->getTrace()
95,144
13.03.2019 07:51:28
-3,600
7c2bfe402074b9d28319b8ea48f7b3be02c89d6d
Fix `Twig\Template` -> `Twig\TemplateWrapper`, because of Twig 2.7
[ { "change_type": "MODIFY", "old_path": "src/Twig/SourceCodeExtension.php", "new_path": "src/Twig/SourceCodeExtension.php", "diff": "@@ -6,7 +6,7 @@ namespace Bolt\\Twig;\nuse Twig\\Environment;\nuse Twig\\Extension\\AbstractExtension;\n-use Twig\\Template;\n+use Twig\\TemplateWrapper;\nuse Twig\\Twi...
PHP
MIT License
bolt/core
Fix `Twig\Template` -> `Twig\TemplateWrapper`, because of Twig 2.7
95,144
13.03.2019 17:08:39
-3,600
375d3f522af9e7089bf86d943b83d49af8b4e0b2
Use `\Twig\Template`
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -465,7 +465,7 @@ class Content implements \\JsonSerializable\n} catch (\\InvalidArgumentException $e) {\n$backtrace = new LaravelCollection($e->getTrace());\n- if ($backtrace->contains(...
PHP
MIT License
bolt/core
Use `\Twig\Template`
95,144
13.03.2019 07:53:10
-3,600
27072359591e439eacf69699b0d5a2de06d2b21c
Clean up `|merge[]`, unneeded since PagerFanta 2.1
[ { "change_type": "MODIFY", "old_path": "templates/_partials/_content_listing.html.twig", "new_path": "templates/_partials/_content_listing.html.twig", "diff": "<!-- listing records -->\n<listing-records\ntype=\"{{ type }}\"\n- {# tricky part: https://github.com/whiteoctober/WhiteOctoberPagerfantaBun...
PHP
MIT License
bolt/core
Clean up `|merge[]`, unneeded since PagerFanta 2.1
95,144
19.03.2019 17:29:56
-3,600
76f2f28e38473c6e1e6ed09014d090d4b34c4dea
Workaround for multiple URL parameters, use stable Kakunin
[ { "change_type": "MODIFY", "old_path": "tests/e2e/features/edit_record_1.feature", "new_path": "tests/e2e/features/edit_record_1.feature", "diff": "@@ -34,29 +34,25 @@ Feature: Edit record\nWhen I fill the \"title_field\" field with \"Changed title NL\"\nAnd I click the \"save_button\" element\n+ # ...
PHP
MIT License
bolt/core
Workaround for multiple URL parameters, use stable Kakunin
95,144
10.03.2019 15:05:30
-3,600
e04606c516c8412733002623ff53595d6cd443c7
Make sure we get the correct contenttype for listings.
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/ListingController.php", "new_path": "src/Controller/Frontend/ListingController.php", "diff": "@@ -40,11 +40,11 @@ class ListingController extends TwigAwareController\n{\n$page = (int) $request->query->get('page', 1);\n- /** @var Content...
PHP
MIT License
bolt/core
Make sure we get the correct contenttype for listings.
95,144
10.03.2019 15:51:20
-3,600
39d0a494b19987e0f6b20dc2f52f96b039358c46
Only fetch published items, unless instructed otherwise
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ContentOverviewController.php", "new_path": "src/Controller/Backend/ContentOverviewController.php", "diff": "@@ -26,7 +26,7 @@ class ContentOverviewController extends TwigAwareController\n$page = (int) $request->query->get('page', 1);\n-...
PHP
MIT License
bolt/core
Only fetch published items, unless instructed otherwise
95,144
10.03.2019 15:51:53
-3,600
c795439f76d3b7349c3ee1674375cfe273003c9d
Don't break if we have no `record`
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_master.twig", "new_path": "public/theme/skeleton/partials/_master.twig", "diff": "{# make sure we always display a proper title: The record's title if there is one, appended with the\nsitename. If there is no title, we append th...
PHP
MIT License
bolt/core
Don't break if we have no `record`
95,144
10.03.2019 16:12:29
-3,600
fd6483bd55f771e064079ae4f810407e3512dd3d
Prefill fixtures, depending on listing_record
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -139,7 +139,7 @@ entries:\ntaxonomy: [ categories, tags, groups ]\nrecord_template: entry.twig\nlisting_template: listing.twig\n- listing_records: 10\n+ listing_records: 2...
PHP
MIT License
bolt/core
Prefill fixtures, depending on listing_record
95,144
13.03.2019 07:21:21
-3,600
2d638956c38ac970db49568934df14a9b4bdcf44
Adding some tests, yo!
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_sub_pager.twig", "new_path": "public/theme/skeleton/partials/_sub_pager.twig", "diff": "{% if records.haveToPaginate|default() %}\n- <div class=\"pagination\">\n+ <div class=\"{{ class|default('pagination') }}\">\n{{ pagerfanta(...
PHP
MIT License
bolt/core
Adding some tests, yo!
95,144
13.03.2019 14:14:07
-3,600
80a64e2052cc4c11d2611b50578889ce880e2437
Fall back to "global" `listing_records`
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Config.php", "new_path": "src/Configuration/Config.php", "diff": "@@ -100,7 +100,7 @@ class Config\n$taxonomy = new TaxonomyParser();\n$config['taxonomies'] = $taxonomy->parse();\n- $contentTypes = new ContentTypesParser($config->get('general...
PHP
MIT License
bolt/core
Fall back to "global" `listing_records`
95,144
13.03.2019 14:14:41
-3,600
5b8f90ab28af0f97c3de62bb05676b135f68af5a
Use `.title` instead of `hasField('title')`
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_master.twig", "new_path": "public/theme/skeleton/partials/_master.twig", "diff": "{# make sure we always display a proper title: The record's title if there is one, appended with the\nsitename. If there is no title, we append th...
PHP
MIT License
bolt/core
Use `.title` instead of `hasField('title')`
95,144
13.03.2019 14:49:48
-3,600
1710723dbbc8f0112c7c8dc6690187a4c612a7c2
add `theme` and `surround`
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_sub_pager.twig", "new_path": "public/theme/skeleton/partials/_sub_pager.twig", "diff": "{% if records.haveToPaginate|default() %}\n+\n+ {% set theme = theme|default('default') %}\n+ {% set options = {\n+ 'proximity': surround|de...
PHP
MIT License
bolt/core
add `theme` and `surround`
95,144
13.03.2019 14:51:33
-3,600
db62b67c1c217f73e718e906abdfdfcc2b1dd723
Get rid of `const NUM_ITEMS`
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -142,7 +142,7 @@ entries:\nlisting_records: 20\ndefault_status: published\nsort: -publishedAt\n- recordsperpage: 20\n+ recordsperpage: 6\nicon_many: \"fa:file-alt\"\nicon_...
PHP
MIT License
bolt/core
Get rid of `const NUM_ITEMS`
95,144
13.03.2019 15:06:30
-3,600
924ef555072790e4eb31c7d520f7aca6ebfa75bf
requested change: `record|default`
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_master.twig", "new_path": "public/theme/skeleton/partials/_master.twig", "diff": "{# make sure we always display a proper title: The record's title if there is one, appended with the\nsitename. If there is no title, we append th...
PHP
MIT License
bolt/core
requested change: `record|default`
95,144
13.03.2019 15:09:30
-3,600
29ab1437e7c240a9a4ea57234d1b676e71f391ee
Update _master.twig
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_master.twig", "new_path": "public/theme/skeleton/partials/_master.twig", "diff": "{# make sure we always display a proper title: The record's title if there is one, appended with the\nsitename. If there is no title, we append th...
PHP
MIT License
bolt/core
Update _master.twig
95,144
15.03.2019 09:45:41
-3,600
de901945d81d1f1757a11a644dd76e32d16ca28e
Bunch of requested changes
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -139,10 +139,10 @@ entries:\ntaxonomy: [ categories, tags, groups ]\nrecord_template: entry.twig\nlisting_template: listing.twig\n- listing_records: 20\n+ listing_records:...
PHP
MIT License
bolt/core
Bunch of requested changes
95,144
15.03.2019 09:49:29
-3,600
3c7f61ada64f01dee61c0535e0d402a0f410831e
Add description for pager
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_sub_pager.twig", "new_path": "public/theme/skeleton/partials/_sub_pager.twig", "diff": "{% if records.haveToPaginate|default() %}\n- {% set theme = theme %}\n- {% set options = {\n- 'proximity': surround\n- } %}\n+ {# The Pagerf...
PHP
MIT License
bolt/core
Add description for pager
95,144
20.03.2019 06:41:46
-3,600
dbef97d5181f565ba73fe542a8d1a3b4cf87cbe7
Change `records_per_dashboardwidget` to `records_on_dashboard`
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/GeneralParser.php", "new_path": "src/Configuration/Parser/GeneralParser.php", "diff": "@@ -60,7 +60,7 @@ class GeneralParser extends BaseParser\n'sitename' => 'Default Bolt site',\n'locale' => null,\n'records_per_page' => 10,\n- 'recor...
PHP
MIT License
bolt/core
Change `records_per_dashboardwidget` to `records_on_dashboard`
95,144
13.03.2019 15:52:20
-3,600
a74760e7c85e6d921d235073eaef8bee9e53092e
Return correct value for images (array with meta)
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "@@ -342,6 +342,12 @@ tests:\nallow_html: false\nhtml_field:\ntype: html\n+ image:\n+ type: image\n+ postfix: An image, actually _named_ image.\n+ picture:\n+ type: image\n+ p...
PHP
MIT License
bolt/core
Return correct value for images (array with meta)
95,144
13.03.2019 19:35:12
-3,600
80806ebc446b77c742ae24f195e1f48cfbbdb11d
Fixing 'picture'
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/test.twig", "new_path": "public/theme/skeleton/test.twig", "diff": "<hr>\n{% endif %}\n- {% if record.image %}\n+ {% if record.picture %}\nWe have a field named `picture`: {{ dump(record.picture) }}\n<img src=\"{{ thumbnail(record.picture...
PHP
MIT License
bolt/core
Fixing 'picture'
95,144
20.03.2019 07:41:21
-3,600
609534d49df5e142a3d03a3523b169828d9097c3
Fix markdown field
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/MarkdownField.php", "new_path": "src/Entity/Field/MarkdownField.php", "diff": "@@ -7,6 +7,7 @@ namespace Bolt\\Entity\\Field;\nuse Bolt\\Entity\\Field;\nuse Bolt\\Utils\\Markdown;\nuse Doctrine\\ORM\\Mapping as ORM;\n+use Twig\\Markup;\n/**\n*...
PHP
MIT License
bolt/core
Fix markdown field
95,144
20.03.2019 12:09:21
-3,600
592e6a5d488d755d41defe08769366b21dc745b4
Change `getFlattenedValue` to `getParsedValue`
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -299,7 +299,7 @@ class Content implements \\JsonSerializable\n{\n$fieldValues = [];\nforeach ($this->getFields() as $field) {\n- $fieldValues[$field->getName()] = $field->getFlattenedVa...
PHP
MIT License
bolt/core
Change `getFlattenedValue` to `getParsedValue`
95,144
22.03.2019 16:38:30
-3,600
0a454f293abdfa8673260e197978377053e1b247
Fix test that broke after Twig 2.7.2 -> 2.7.3
[ { "change_type": "MODIFY", "old_path": "tests/php/Twig/SetcontentTokenParserTest.php", "new_path": "tests/php/Twig/SetcontentTokenParserTest.php", "diff": "@@ -74,7 +74,7 @@ class SetcontentTokenParserTest extends TokenParserTestCase\nnew Token(Token::BLOCK_END_TYPE, '', 98),\nnew Token(Token::EOF_T...
PHP
MIT License
bolt/core
Fix test that broke after Twig 2.7.2 -> 2.7.3
95,144
24.03.2019 12:23:44
-3,600
be686a0b78f21f022ff85b51a1daf13086a0448d
Solidify e2e tests, make sure required entry is published
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/ContentFixtures.php", "new_path": "src/DataFixtures/ContentFixtures.php", "diff": "@@ -60,7 +60,7 @@ class ContentFixtures extends Fixture implements DependentFixtureInterface\n$translationRepository = $manager->getRepository(Translation::clas...
PHP
MIT License
bolt/core
Solidify e2e tests, make sure required entry is published
95,144
23.03.2019 07:22:37
-3,600
7d6378263c2817f4c03f9a2701ab405459b1a19f
Updating NPM packages and Font Awesome
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"url\": \"git://github.com/bolt/four.git\"\n},\n\"dependencies\": {\n- \"@babel/polyfill\": \"^7.2.5\",\n- \"@vue/cli-service\": \"^3.4.1\",\n+ \"@babel/polyfill\": \"^7.4.0\",\n+ \"@vue/cli-service\": \"^3....
PHP
MIT License
bolt/core
Updating NPM packages and Font Awesome
95,144
20.03.2019 21:05:46
-3,600
8ca7e353114332df4ca73bfff8c87c6ba713a21d
Working on taxonmies in frontend
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_sub_taxonomylinks.twig", "new_path": "public/theme/skeleton/partials/_sub_taxonomylinks.twig", "diff": "-{# @todo See Github Issue https://github.com/bolt/four/issues/255 #}\n-{#\n-{% for type, values in record|taxonomy %}\n+{% ...
PHP
MIT License
bolt/core
Working on taxonmies in frontend
95,144
21.03.2019 07:41:10
-3,600
ddf3434bb2bd173706a0f6ee7ecad72917e52efc
Working on Fixtures: Random taxo's!
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/TaxonomyController.php", "new_path": "src/Controller/Frontend/TaxonomyController.php", "diff": "@@ -5,7 +5,6 @@ declare(strict_types=1);\nnamespace Bolt\\Controller\\Frontend;\nuse Bolt\\Configuration\\Config;\n-use Bolt\\Content\\Conte...
PHP
MIT License
bolt/core
Working on Fixtures: Random taxo's!
95,144
24.03.2019 14:34:29
-3,600
1302f9b7089f17c38670353a0f3a19ab82de2f8d
Update test with fixed Record
[ { "change_type": "MODIFY", "old_path": "tests/e2e/features/display_taxonomies.feature", "new_path": "tests/e2e/features/display_taxonomies.feature", "diff": "@@ -3,7 +3,7 @@ Feature: Display taxonomies\n@wip\nScenario: As a user I want to see taxonomies on a single record\nWhen I visit the \"single_...
PHP
MIT License
bolt/core
Update test with fixed Record
95,144
24.03.2019 16:37:31
-3,600
b008cae4ac06cfd50c78615ca8b82d78dd0f833b
Some SCSS tweaks
[ { "change_type": "MODIFY", "old_path": "assets/scss/init/_variables.scss", "new_path": "assets/scss/init/_variables.scss", "diff": "$card-box-shadow: 0 7.5px 15px -5px rgba(0, 0, 0, 0.07);\n-$letter-spacing: 1px;\n+$letter-spacing: 0px;\n+\n+$bolt-blue: #255687; // Nice and bright, pretty light\n+$b...
PHP
MIT License
bolt/core
Some SCSS tweaks
95,144
26.03.2019 15:40:49
-3,600
ed445a0f64bd52da516bbd4416825cded0e7e18f
Getting rid of magic number
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/TaxonomyController.php", "new_path": "src/Controller/Frontend/TaxonomyController.php", "diff": "@@ -39,9 +39,10 @@ class TaxonomyController extends TwigAwareController\npublic function listing(ContentRepository $contentRepository, Reque...
PHP
MIT License
bolt/core
Getting rid of magic number
95,144
26.03.2019 16:09:16
-3,600
34bd2bcf62ae796cce4312ff4a3a56df863a1b7a
Splitting e2e test for Taxonomy
[ { "change_type": "MODIFY", "old_path": "tests/e2e/features/display_taxonomies.feature", "new_path": "tests/e2e/features/display_taxonomies.feature", "diff": "Feature: Display taxonomies\n- @wip\nScenario: As a user I want to see taxonomies on a single record\nWhen I visit the \"single_record\" page ...
PHP
MIT License
bolt/core
Splitting e2e test for Taxonomy
95,144
27.03.2019 17:36:00
-3,600
69838e9b4827800565007af2b64581ff227c23a4
Get rid of hardcoded/magical amountPerPage
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ContentOverviewController.php", "new_path": "src/Controller/Backend/ContentOverviewController.php", "diff": "@@ -25,8 +25,9 @@ class ContentOverviewController extends TwigAwareController\n$contentType = ContentType::factory($contentType,...
PHP
MIT License
bolt/core
Get rid of hardcoded/magical amountPerPage
95,144
27.03.2019 17:55:43
-3,600
6450591cdfe93acbde9760c215a5e35a133afbcc
Don't construct new unneeded arrays.
[ { "change_type": "MODIFY", "old_path": "src/Entity/Taxonomy.php", "new_path": "src/Entity/Taxonomy.php", "diff": "@@ -52,6 +52,11 @@ class Taxonomy\n*/\nprivate $sortorder = 0;\n+ /**\n+ * @var string\n+ */\n+ private $link;\n+\npublic function __construct()\n{\n$this->content = new ArrayCollection(...
PHP
MIT License
bolt/core
Don't construct new unneeded arrays.
95,144
28.03.2019 06:50:16
-3,600
0e16d4a61f16428b4127cf805063d286d2776a85
Cleanup of config files
[ { "change_type": "MODIFY", "old_path": "config/bolt/contenttypes.yaml", "new_path": "config/bolt/contenttypes.yaml", "diff": "# The Homepage content type is a singleton: There can be only one record of this\n# content type.\n-\nhomepage:\nname: Homepage\nsingular_name: Homepage\n@@ -146,8 +145,6 @@ ...
PHP
MIT License
bolt/core
Cleanup of config files
95,144
24.03.2019 08:16:32
-3,600
eec9744dbff769a775b530080b0964d60ac7aeeb
Adding tests, tweaks and fixes
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/search.twig", "new_path": "public/theme/skeleton/search.twig", "diff": "we display an appropriate title. The 'records' array contains all of the\nrecords matching the current query. If there are no results, the\ncode in the 'else' part of...
PHP
MIT License
bolt/core
Adding tests, tweaks and fixes
95,144
27.03.2019 16:32:39
-3,600
bc4223a56c21cd09ccea6bed61f31278ca84b569
Expanding the test case for search
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/search.twig", "new_path": "public/theme/skeleton/search.twig", "diff": "{% else %}\n- <p>\n+ {% if search is not empty %}\n+ <p class=\"search-results-description\">\n{{ __('general.phrase.no-search-results-for', { '%search%': search|esca...
PHP
MIT License
bolt/core
Expanding the test case for search
95,144
29.03.2019 06:53:41
-3,600
1141deb4718ccf9b4ebd694dc12b0f14f6e89059
Rename 'search' to 'searchTerm'
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_footer.twig", "new_path": "public/theme/skeleton/partials/_footer.twig", "diff": "<h4>{{ __('Search') }}</h4>\n<form method=\"get\" action=\"{{ path('search') }}\" id=\"searchform-inline\" enctype=\"text/plain\">\n- <input type=...
PHP
MIT License
bolt/core
Rename 'search' to 'searchTerm'
95,144
29.03.2019 10:03:24
-3,600
bb1d790128528cd0c59b00f6fc856ec8d05d65bc
Tweak makefile: these symlinks are in git, so unneeded here
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -71,15 +71,6 @@ e2e-wip:\ne2e-install:\ncd tests/e2e && npm install\nnode ./tests/e2e/node_modules/protractor/bin/webdriver-manager update --gecko=false\n- cd tests/e2e/step_definitions\n- ln -s ../node_modules/ka...
PHP
MIT License
bolt/core
Tweak makefile: these symlinks are in git, so unneeded here
95,144
29.03.2019 16:08:59
-3,600
34f01c8f877d2494142ece7cf1ff31562e72aba5
Ensure that we get unique random taxonomies for fixtures
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/BaseFixture.php", "new_path": "src/DataFixtures/BaseFixture.php", "diff": "@@ -30,7 +30,7 @@ abstract class BaseFixture extends Fixture\nreturn $this->getReference($this->referencesIndex[$entityName][$randomReferenceKey]);\n}\n- protected func...
PHP
MIT License
bolt/core
Ensure that we get unique random taxonomies for fixtures
95,144
29.03.2019 15:08:34
-3,600
7d847e1eb3ea73e91f1fe6bf26f6576eddf12626
Clean-up of some Twig functions and filters.
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/partials/_aside.twig", "new_path": "public/theme/skeleton/partials/_aside.twig", "diff": "{# This part is only shown if there are no widgets in the 'aside_top' widgets slot. #}\n<div>\n{# The next section attempts to fill the panel in the...
PHP
MIT License
bolt/core
Clean-up of some Twig functions and filters.
95,144
29.03.2019 18:00:10
-3,600
5b184cfef3fa69ea2ce84be7495f68d2772fe9cf
Eliminate blank spaces in "New" menu
[ { "change_type": "DELETE", "old_path": "assets/js/app/login/Components/Admin/Toolbar.vue", "new_path": null, "diff": "-<template>\n- <div\n- class=\"admin__toolbar--body\"\n- :class=\"contrast ? 'is-light' : 'is-dark'\"\n- role=\"toolbar\"\n- >\n- <div class=\"toolbar--item is-brand\">\n- <svg xmlns...
PHP
MIT License
bolt/core
Eliminate blank spaces in "New" menu
95,144
29.03.2019 19:58:24
-3,600
8b36eb9b7a9564f713cb122eca69db7532a08eb7
Replace `jsonlabels` with an array in Twig
[ { "change_type": "MODIFY", "old_path": "src/Twig/RecordExtension.php", "new_path": "src/Twig/RecordExtension.php", "diff": "@@ -11,7 +11,6 @@ use Bolt\\Repository\\TaxonomyRepository;\nuse Bolt\\Utils\\Excerpt;\nuse Doctrine\\Common\\Collections\\Collection;\nuse Pagerfanta\\Pagerfanta;\n-use Symfon...
PHP
MIT License
bolt/core
Replace `jsonlabels` with an array in Twig
95,144
31.03.2019 18:39:36
-7,200
97b5a759689e76019aa49053b66e193971a3f229
Fix ECS deprecation notices
[ { "change_type": "MODIFY", "old_path": "easy-coding-standard.yml", "new_path": "easy-coding-standard.yml", "diff": "@@ -93,16 +93,16 @@ services:\nparameters:\ncache_directory: var/cache/ecs\n- exclude_checkers:\n- - 'PhpCsFixer\\Fixer\\ClassNotation\\ClassAttributesSeparationFixer'\n- - 'PhpCsFixer...
PHP
MIT License
bolt/core
Fix ECS deprecation notices
95,144
01.04.2019 16:52:04
-7,200
1919b2f7dbd18259f5701a2ba0e842ab5e4bf520
Add 'bolt.backend_url' parameter
[ { "change_type": "MODIFY", "old_path": "config/packages/security.yaml", "new_path": "config/packages/security.yaml", "diff": "@@ -23,7 +23,7 @@ security:\nlogout:\npath: bolt_logout\n- target: homepage\n+ target: bolt_login\nremember_me:\nsecret: '%kernel.secret%'\n@@ -32,7 +32,6 @@ security:\nacces...
PHP
MIT License
bolt/core
Add 'bolt.backend_url' parameter
95,144
01.04.2019 17:12:17
-7,200
ae97ac2c603a686876d312e564969bef551253e3
Fix links in Vue component
[ { "change_type": "MODIFY", "old_path": "assets/js/app/toolbar/Components/Toolbar.vue", "new_path": "assets/js/app/toolbar/Components/Toolbar.vue", "diff": "<i class=\"fas fa-user mr-2\"></i>{{ labels['general.greeting'] }}\n<ul class=\"toolbar--menu\">\n<li>\n- <a href=\"/bolt/profile-edit\">{{ labe...
PHP
MIT License
bolt/core
Fix links in Vue component
95,144
29.03.2019 17:25:17
-3,600
4d73781987da697625b9de10b1258fa025b7e653
Refactor uses of `$env` to `$twig`
[ { "change_type": "MODIFY", "old_path": "src/Twig/RecordExtension.php", "new_path": "src/Twig/RecordExtension.php", "diff": "@@ -64,7 +64,7 @@ class RecordExtension extends AbstractExtension\nreturn 'list_templates placeholder';\n}\n- public function pager(Environment $env, Pagerfanta $records, strin...
PHP
MIT License
bolt/core
Refactor uses of `$env` to `$twig`
95,144
30.03.2019 17:37:01
-3,600
5f7dddac5d91820ecc83d0c8206b3fdede6e1813
Add $name option
[ { "change_type": "MODIFY", "old_path": "src/Twig/RecordExtension.php", "new_path": "src/Twig/RecordExtension.php", "diff": "@@ -81,7 +81,7 @@ class RecordExtension extends AbstractExtension\npublic function getMenu(Environment $twig, string $template = ''): string\n{\n$context = [\n- 'menu' => $this...
PHP
MIT License
bolt/core
Add $name option
95,144
31.03.2019 18:25:08
-7,200
95f92d1875a5bd9ac51fa08acdef45b4a4cbc7ab
Mark properties private
[ { "change_type": "MODIFY", "old_path": "src/Menu/FrontendMenuBuilder.php", "new_path": "src/Menu/FrontendMenuBuilder.php", "diff": "@@ -68,7 +68,7 @@ class FrontendMenuBuilder\n}\n}\n- public function setUri($link = ''): string\n+ private function setUri($link = ''): string\n{\n$link = trim($link, '...
PHP
MIT License
bolt/core
Mark properties private
95,144
01.04.2019 14:37:45
-7,200
7c506bfb1af6f75a77e98e68d49859480adad49b
Add MenuParserTest.php
[ { "change_type": "ADD", "old_path": null, "new_path": "tests/php/Configuration/Parser/MenuParserTest.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\Tests\\Configuration\\Parser;\n+\n+use Bolt\\Configuration\\Parser\\MenuParser;\n+use PHPUnit\\Framework\\TestCase;\n+use Tigh...
PHP
MIT License
bolt/core
Add MenuParserTest.php
95,144
05.04.2019 07:06:05
-7,200
304de227d8d2ac4c583bcfc8baf553ea5914bf84
Remove unneeded 'contenttype' key from menu struct
[ { "change_type": "MODIFY", "old_path": "assets/js/app/sidebar/Components/Menu/index.vue", "new_path": "assets/js/app/sidebar/Components/Menu/index.vue", "diff": "v-else\n:href=\"item.link\"\nclass=\"admin__sidebar--link\"\n- :class=\"{\n- 'has-menu': item.submenu !== null || item.contenttype !== nul...
PHP
MIT License
bolt/core
Remove unneeded 'contenttype' key from menu struct
95,144
05.04.2019 15:46:41
-7,200
9b00b9b050a4ab90ca76c682a7bdd5f9b7f7b3bd
Extracting (and caching) menus
[ { "change_type": "MODIFY", "old_path": "config/services.yaml", "new_path": "config/services.yaml", "diff": "@@ -39,7 +39,7 @@ services:\ntags:\n- { name: doctrine.event_listener, event: postLoad }\n- Bolt\\Menu\\MenuBuilder:\n+ Bolt\\Menu\\BackendMenuBuilder:\narguments: [\"@knp_menu.factory\"]\ntag...
PHP
MIT License
bolt/core
Extracting (and caching) menus
95,144
05.04.2019 16:47:49
-7,200
0d43124bcf5cfcc46fa87468e5b3f70ff25addda
Small CS-fix
[ { "change_type": "MODIFY", "old_path": "src/Controller/Frontend/DetailController.php", "new_path": "src/Controller/Frontend/DetailController.php", "diff": "@@ -30,8 +30,8 @@ class DetailController extends TwigAwareController\n*/\nprivate $fieldRepository;\n- public function __construct(TemplateChoos...
PHP
MIT License
bolt/core
Small CS-fix
95,144
11.04.2019 16:31:26
-7,200
78a4025f73315dc387a9aad7fa2d97aacc96b2c1
First work on implementing Editor.js / Codex field
[ { "change_type": "ADD", "old_path": null, "new_path": "assets/js/app/editor/Components/Editor/Editor/Editor.vue", "diff": "+<template>\n+ Hoi\n+</template>\n+\n+<script>\n+ import { Editor } from 'vue-editor-js'\n+\n+ export default {\n+ components: {\n+ Editor,\n+ }\n+ }\n+</script>t\n\\ No newline...
PHP
MIT License
bolt/core
First work on implementing Editor.js / Codex field
95,144
11.04.2019 17:52:11
-7,200
3264eacd813840f574e9e90b4b5ab4e9984ed392
Working on image fixtures
[ { "change_type": "ADD", "old_path": null, "new_path": "src/DataFixtures/ImagesFixtures.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\DataFixtures;\n+\n+use Bolt\\Collection\\DeepCollection;\n+use Bolt\\Configuration\\Config;\n+use Bolt\\Entity\\Content;\n+use Bolt\\Entity\...
PHP
MIT License
bolt/core
Working on image fixtures
95,144
12.04.2019 15:46:04
-7,200
6aba6ba8764342951570b5f562669bf04d62ab9f
Fixtures with Files and Images
[ { "change_type": "MODIFY", "old_path": "src/Content/MediaFactory.php", "new_path": "src/Content/MediaFactory.php", "diff": "@@ -4,6 +4,7 @@ declare(strict_types=1);\nnamespace Bolt\\Content;\n+use Bolt\\Configuration\\Areas;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Controller\\UserTrait;\nuse Bo...
PHP
MIT License
bolt/core
Fixtures with Files and Images
95,144
13.04.2019 13:30:05
-7,200
4d31453e85ddeff08426e24af50c0c416acbc682
Cleanup of constructors
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/BaseFixture.php", "new_path": "src/DataFixtures/BaseFixture.php", "diff": "@@ -4,8 +4,6 @@ declare(strict_types=1);\nnamespace Bolt\\DataFixtures;\n-use Bolt\\Configuration\\Areas;\n-use Bolt\\Configuration\\Config;\nuse Doctrine\\Bundle\\Fixt...
PHP
MIT License
bolt/core
Cleanup of constructors
95,144
14.04.2019 08:52:08
-7,200
2feb2e5e06c7ee4f66ee49e72f8747a4439b89c1
ninja-fix some text formatting
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -166,10 +166,10 @@ These are the translations used in Bolt. We rely on the community to expand on n\ntranslations, and keep them up to date. If you wish to participate, read the\n[instructions here][translations...
PHP
MIT License
bolt/core
ninja-fix some text formatting
95,112
14.04.2019 01:08:08
-7,200
ad7b9c2ede1b7f433ff95bd0e8e427c16ebea3fe
Fix integration with API Platform 2.4, the other way around
[ { "change_type": "MODIFY", "old_path": "src/Content/MediaFactory.php", "new_path": "src/Content/MediaFactory.php", "diff": "@@ -92,7 +92,7 @@ class MediaFactory\nreturn;\n}\n- $size = getimagesize($file->getRealpath());\n+ $size = @getimagesize($file->getRealpath());\nif ($size !== false) {\n$media-...
PHP
MIT License
bolt/core
Fix integration with API Platform 2.4, the other way around
95,112
14.04.2019 10:42:51
-7,200
c4772e30eabd741c707e344738ba0855e321d974
Update API platform version in composer.json
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"ext-json\": \"*\",\n\"ext-mbstring\": \"*\",\n\"ext-pdo\": \"*\",\n- \"api-platform/core\": \"v2.4.0-beta.1\",\n+ \"api-platform/core\": \"^2.4\",\n\"bolt/common\": \"^2.0.2\",\n\"cocur/slugify\": \"^3.1\...
PHP
MIT License
bolt/core
Update API platform version in composer.json
95,144
14.04.2019 13:10:56
-7,200
af1b6b84a063c6a6460bfaafa3771874d67c9d9f
Rename `$location` -> `$locationName`
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/Async/UploadController.php", "new_path": "src/Controller/Backend/Async/UploadController.php", "diff": "@@ -55,10 +55,10 @@ class UploadController\nreturn new JsonResponse(['error' => ['message' => 'Invalid CSRF token']], Response::HTTP_F...
PHP
MIT License
bolt/core
Rename `$location` -> `$locationName`
95,112
14.04.2019 13:29:05
-7,200
1a89d82b90cc6a25b9f65f91ea5ee1660a73eae3
Mark MenuBuilder classes as final
[ { "change_type": "MODIFY", "old_path": "src/Menu/BackendMenuBuilder.php", "new_path": "src/Menu/BackendMenuBuilder.php", "diff": "@@ -13,7 +13,7 @@ use Knp\\Menu\\ItemInterface;\nuse Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface;\nuse Symfony\\Contracts\\Translation\\TranslatorInterf...
PHP
MIT License
bolt/core
Mark MenuBuilder classes as final
95,144
09.04.2019 08:52:09
-7,200
ba0c56ea4582d45ecd919b24a429529066a51588
CS fixes to widgets / snippets
[ { "change_type": "MODIFY", "old_path": "src/Snippet/Manager.php", "new_path": "src/Snippet/Manager.php", "diff": "@@ -13,6 +13,7 @@ use Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\HttpFoundation\\RequestStack;\nuse Symfony\\Component\\HttpFoundation\\Response;\nuse Tightenc...
PHP
MIT License
bolt/core
CS fixes to widgets / snippets
95,144
10.04.2019 06:53:07
-7,200
03fe08aa7944bd1fc04a99c2a124efd10dc90783
Don't use "Manager", use "Snippets", cause that's what they are.
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -6,7 +6,7 @@ namespace Bolt\\Controller;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Entity\\Field\\TemplateselectField;\n-use Bolt\\Snippet\\Manager;\n...
PHP
MIT License
bolt/core
Don't use "Manager", use "Snippets", cause that's what they are.
95,144
13.04.2019 14:50:37
-7,200
af5a6b5d94b0c570a28ec3c6b643644f12c2cb4f
Fix in typehint
[ { "change_type": "MODIFY", "old_path": "src/Snippet/Zone.php", "new_path": "src/Snippet/Zone.php", "diff": "@@ -56,7 +56,7 @@ class Zone\n/**\n* Get the current zone.\n*/\n- public static function get(Request $request): ?string\n+ public static function get(Request $request): string\n{\nreturn $requ...
PHP
MIT License
bolt/core
Fix in typehint
95,144
13.04.2019 14:58:19
-7,200
28e7331b9fa6e179f5e2d5f14ded13eb81ff6a28
Make widgets use __invoke
[ { "change_type": "MODIFY", "old_path": "src/Snippet/Injector.php", "new_path": "src/Snippet/Injector.php", "diff": "@@ -60,7 +60,7 @@ class Injector\nif ($snippet['callback'] instanceof BaseWidget) {\n$snippet['callback']->setResponse($response);\n- $output = $snippet['callback']->invoke();\n+ $outp...
PHP
MIT License
bolt/core
Make widgets use __invoke
95,144
13.04.2019 15:21:59
-7,200
99a7ffa7b6b2cece53da79e27e6c89e8b733294a
Don't pass around $twig
[ { "change_type": "MODIFY", "old_path": "src/Snippets.php", "new_path": "src/Snippets.php", "diff": "@@ -29,11 +29,15 @@ class Snippets\n/** @var QueueProcessor */\nprivate $queueProcessor;\n- public function __construct(RequestStack $requestStack, QueueProcessor $queueProcessor)\n+ /** @var Environm...
PHP
MIT License
bolt/core
Don't pass around $twig
95,144
14.04.2019 16:38:38
-7,200
e03e844097618c8e30b7c7580c1a9ce9ed4810cb
Make snippets into a type of widget!
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -6,8 +6,8 @@ namespace Bolt\\Controller;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Entity\\Field\\TemplateselectField;\n-use Bolt\\Snippets;\nuse Bolt...
PHP
MIT License
bolt/core
Make snippets into a type of widget!
95,144
14.04.2019 17:14:58
-7,200
7e1acddc91d1a8c78e3f9e68c4f4191a679637d5
Added TwigAware Interface
[ { "change_type": "MODIFY", "old_path": "src/Snippet/Target.php", "new_path": "src/Snippet/Target.php", "diff": "@@ -77,9 +77,6 @@ class Target\npublic const NOWHERE = 'nowhere';\n- /**\n- * Returns all possible target locations (which are constants).\n- */\npublic function listAll(): array\n{\n$refl...
PHP
MIT License
bolt/core
Added TwigAware Interface
95,144
14.04.2019 17:33:12
-7,200
b58de9388533e1f9bda669e223ca60eeaca57038
More cleanup on Widgets
[ { "change_type": "DELETE", "old_path": "src/Twig/SnippetExtension.php", "new_path": null, "diff": "-<?php\n-\n-declare(strict_types=1);\n-\n-namespace Bolt\\Twig;\n-\n-use Twig\\Environment;\n-use Twig\\Extension\\AbstractExtension;\n-use Twig\\TwigFunction;\n-\n-class SnippetExtension extends Abstr...
PHP
MIT License
bolt/core
More cleanup on Widgets
95,144
14.04.2019 18:26:30
-7,200
66fdaec8a364fc1d6a0ed62ee228bd7fefa186db
Working on widgets
[ { "change_type": "RENAME", "old_path": "src/Snippet/Injector.php", "new_path": "src/Snippet/HtmlInjector.php", "diff": "@@ -11,7 +11,7 @@ use Symfony\\Component\\HttpFoundation\\Response;\n/**\n* Class for matching HTML elements and injecting text.\n*/\n-class Injector\n+class HtmlInjector\n{\n/**\n...
PHP
MIT License
bolt/core
Working on widgets
95,144
17.04.2019 07:10:56
-7,200
f3cdbd86957698b5d8d00905db9874207a8bf484
Make WidgetInterface
[ { "change_type": "MODIFY", "old_path": "src/Widget/BaseWidget.php", "new_path": "src/Widget/BaseWidget.php", "diff": "@@ -11,7 +11,7 @@ use Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\HttpFoundation\\Response;\nuse Twig\\Environment;\n-class BaseWidget\n+class BaseWidget im...
PHP
MIT License
bolt/core
Make WidgetInterface
95,144
17.04.2019 17:33:53
-7,200
2af894851f7f42f997fb12bcee2c8e4a0077d0b3
Making Traits (in progress)
[ { "change_type": "MODIFY", "old_path": "src/Widget/BaseWidget.php", "new_path": "src/Widget/BaseWidget.php", "diff": "@@ -20,9 +20,6 @@ class BaseWidget implements WidgetInterface\nprotected $priority = 0;\nprotected $context = [];\n- /** @var Environment */\n- protected $twig;\n-\n/** @var string *...
PHP
MIT License
bolt/core
Making Traits (in progress)
95,144
17.04.2019 20:25:05
-7,200
1794ef6a5a1af7898b51333993c3e9dbe5cec743
Updating Traits
[ { "change_type": "MODIFY", "old_path": "src/Widget/BaseWidget.php", "new_path": "src/Widget/BaseWidget.php", "diff": "@@ -7,9 +7,7 @@ namespace Bolt\\Widget;\nuse Bolt\\Snippet\\Target;\nuse Bolt\\Snippet\\Zone;\nuse Cocur\\Slugify\\Slugify;\n-use Symfony\\Component\\HttpFoundation\\Request;\nuse Sy...
PHP
MIT License
bolt/core
Updating Traits
95,144
17.04.2019 21:01:46
-7,200
1ed954b7b3ff104c17e7bc9a94f33e952f2acc0e
no traits, back to Interface
[ { "change_type": "MODIFY", "old_path": "src/Widget/BaseWidget.php", "new_path": "src/Widget/BaseWidget.php", "diff": "@@ -7,7 +7,9 @@ namespace Bolt\\Widget;\nuse Bolt\\Snippet\\Target;\nuse Bolt\\Snippet\\Zone;\nuse Cocur\\Slugify\\Slugify;\n+use Symfony\\Component\\HttpFoundation\\Request;\nuse Sy...
PHP
MIT License
bolt/core
no traits, back to Interface
95,112
18.04.2019 09:40:55
-7,200
6572c5d8326111819d29c92f30da202266644136
Use default filter instead of is defined in Twig
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -26,16 +26,19 @@ csclear:\ncscheck:\nmake csclear\nvendor/bin/ecs check src\n+ vendor/bin/ecs check tests/spec --config vendor/symplify/easy-coding-standard/config/common/namespaces.yml\n+ vendor/bin/ecs check tes...
PHP
MIT License
bolt/core
Use default filter instead of is defined in Twig
95,144
19.04.2019 13:50:00
-7,200
81bd5888c03bac1d69d1fd91a1db88bdf75780b2
Clarify pinning of PHP 7.1.18 in Travis.yml
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -12,8 +12,9 @@ cache:\nmatrix:\nfast_finish: true\ninclude:\n+ # Pinned to 7.1.18, because Travis defaults to 7.1.6, which has broken SSL/TLS. See: https://github.com/travis-ci/travis-ci/issues/6339\n+ - php...
PHP
MIT License
bolt/core
Clarify pinning of PHP 7.1.18 in Travis.yml
95,144
19.04.2019 14:51:19
-7,200
a92f288f4f410295c97386e5df23163bc4e0b9a8
Don't add arrays to queue, but just the $widgets
[ { "change_type": "MODIFY", "old_path": "src/Snippet/HtmlInjector.php", "new_path": "src/Snippet/HtmlInjector.php", "diff": "@@ -6,6 +6,7 @@ namespace Bolt\\Snippet;\nuse Bolt\\Common\\Str;\nuse Bolt\\Widget\\BaseWidget;\n+use Bolt\\Widget\\WidgetInterface;\nuse Symfony\\Component\\HttpFoundation\\Re...
PHP
MIT License
bolt/core
Don't add arrays to queue, but just the $widgets
95,144
19.04.2019 15:27:21
-7,200
a70075676e517b3ca442f4ca08a52da9e89de022
Refactor `Zone` to `RequestZone`.
[ { "change_type": "MODIFY", "old_path": "src/EventSubscriber/ZoneSubscriber.php", "new_path": "src/EventSubscriber/ZoneSubscriber.php", "diff": "@@ -7,7 +7,7 @@ namespace Bolt\\EventSubscriber;\nuse Bolt\\Controller\\Backend\\Async\\AsyncZone;\nuse Bolt\\Controller\\Backend\\BackendZone;\nuse Bolt\\C...
PHP
MIT License
bolt/core
Refactor `Zone` to `RequestZone`.
95,144
19.04.2019 15:58:53
-7,200
7a582e861d1eafc4068b76b2fdebd6a08611c2fe
remove registerBoltWidgets from Widgets class
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -6,7 +6,14 @@ namespace Bolt\\Controller;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Entity\\Field\\TemplateselectField;\n+use Bolt\\Snippet\\RequestZo...
PHP
MIT License
bolt/core
remove registerBoltWidgets from Widgets class
95,144
19.04.2019 16:01:49
-7,200
89037e0a3f009378516a3e7e2881e9491535347a
Refactor `isFrontend` to `isForFrontend`, etc.
[ { "change_type": "MODIFY", "old_path": "src/Snippet/RequestZone.php", "new_path": "src/Snippet/RequestZone.php", "diff": "@@ -24,7 +24,7 @@ class RequestZone\n/**\n* Check if request is for frontend routes.\n*/\n- public static function isFrontend(Request $request): bool\n+ public static function is...
PHP
MIT License
bolt/core
Refactor `isFrontend` to `isForFrontend`, etc.
95,144
19.04.2019 18:35:29
-7,200
053069868d6c176a8ffac9d3739efe92433d858d
Move Response to its own interface
[ { "change_type": "MODIFY", "old_path": "src/Snippet/HtmlInjector.php", "new_path": "src/Snippet/HtmlInjector.php", "diff": "@@ -5,6 +5,7 @@ declare(strict_types=1);\nnamespace Bolt\\Snippet;\nuse Bolt\\Common\\Str;\n+use Bolt\\Widget\\ResponseAware;\nuse Bolt\\Widget\\WidgetInterface;\nuse Symfony\\...
PHP
MIT License
bolt/core
Move Response to its own interface
95,144
19.04.2019 18:37:32
-7,200
bb51dfccfa2c610516571f6bb776f4099f3e9cf9
Have widgets 'get' the Request just before being invoked.
[ { "change_type": "MODIFY", "old_path": "src/Widgets.php", "new_path": "src/Widgets.php", "diff": "@@ -41,9 +41,6 @@ class Widgets\npublic function registerWidget(WidgetInterface $widget): void\n{\n- if ($widget instanceof RequestAware) {\n- $widget->setRequest($this->requestStack->getCurrentRequest(...
PHP
MIT License
bolt/core
Have widgets 'get' the Request just before being invoked.
95,144
19.04.2019 18:53:00
-7,200
4bc744eb24bb4bc3798a00469244ae17fb3983a4
Move `registerBoltWidgets` to a subscriber.
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -6,14 +6,7 @@ namespace Bolt\\Controller;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Entity\\Field\\TemplateselectField;\n-use Bolt\\Snippet\\RequestZo...
PHP
MIT License
bolt/core
Move `registerBoltWidgets` to a subscriber.
95,144
19.04.2019 21:27:16
-7,200
0a837a0760bd94ac3a06a5b4dc456f338dfc92f6
Periodical NPM cleanup
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -12,6 +12,7 @@ assets/vendor/\nnode_modules/\nnpm-debug.log\nyarn-error.log\n+webpack_stats.json\n### File-system cruft and temporary files\n__*\n@@ -65,6 +66,7 @@ appveyor.yml\n/public/bundles/\n/vendor/\n###...
PHP
MIT License
bolt/core
Periodical NPM cleanup
95,144
20.04.2019 10:33:02
-7,200
db9c9aab63d33791cb78f5e550e3a9783555c9c3
Add `ProcessWidgetsQueueSubscriber` for Response
[ { "change_type": "MODIFY", "old_path": "src/Controller/TwigAwareController.php", "new_path": "src/Controller/TwigAwareController.php", "diff": "@@ -7,7 +7,6 @@ namespace Bolt\\Controller;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Entity\\Field\\TemplateselectField;\nuse Bolt\\Version;\n-use Bolt\...
PHP
MIT License
bolt/core
Add `ProcessWidgetsQueueSubscriber` for Response
95,144
21.04.2019 09:53:57
-7,200
5ba52998d263239ba697355c9abed6d7f0c462aa
Make widgets pass along extra parameters
[ { "change_type": "MODIFY", "old_path": "src/EventSubscriber/ProcessWidgetsQueueSubscriber.php", "new_path": "src/EventSubscriber/ProcessWidgetsQueueSubscriber.php", "diff": "@@ -6,7 +6,6 @@ namespace Bolt\\EventSubscriber;\nuse Bolt\\Widgets;\nuse Symfony\\Component\\EventDispatcher\\EventSubscriber...
PHP
MIT License
bolt/core
Make widgets pass along extra parameters
95,144
21.04.2019 09:58:21
-7,200
2a3605891b36f3280fd72878ec8cb228c5f9e816
Correctly pass $params
[ { "change_type": "MODIFY", "old_path": "src/Twig/WidgetExtension.php", "new_path": "src/Twig/WidgetExtension.php", "diff": "@@ -36,14 +36,14 @@ class WidgetExtension extends AbstractExtension\n];\n}\n- public function renderWidgetByName(string $name): string\n+ public function renderWidgetByName(str...
PHP
MIT License
bolt/core
Correctly pass $params
95,144
21.04.2019 10:45:54
-7,200
5793bf49af2862c0f380310a5bf3f7a0fb3103f5
Don't modify StreamedResponse
[ { "change_type": "MODIFY", "old_path": "src/Snippet/HtmlInjector.php", "new_path": "src/Snippet/HtmlInjector.php", "diff": "@@ -8,6 +8,7 @@ use Bolt\\Common\\Str;\nuse Bolt\\Widget\\ResponseAware;\nuse Bolt\\Widget\\WidgetInterface;\nuse Symfony\\Component\\HttpFoundation\\Response;\n+use Symfony\\C...
PHP
MIT License
bolt/core
Don't modify StreamedResponse
95,144
21.04.2019 13:33:01
-7,200
bf62708f663f0891da9a552cf6e4bdebb6549ab3
Only use config if set
[ { "change_type": "MODIFY", "old_path": "templates/_base/layout.html.twig", "new_path": "templates/_base/layout.html.twig", "diff": "}|json_encode %}\n<admin-toolbar\n- site-name=\"{{ config.get('general/sitename') }}\"\n+ site-name=\"{% if config is defined %}{{ config.get('general/sitename') }}{% e...
PHP
MIT License
bolt/core
Only use config if set
95,144
21.04.2019 13:51:05
-7,200
1e86cc00eb37ba9a71f642be27089c5d517d4a7f
Add e2e test for API and Translations
[ { "change_type": "ADD", "old_path": null, "new_path": "tests/e2e/features/backend_api.feature", "diff": "+Feature: Visiting Dashboard\n+\n+ Scenario: As an admin I want to see API page\n+ Given I am logged in as \"admin\"\n+ When I visit the \"backend_api\" page\n+ Then there is element \"header\" w...
PHP
MIT License
bolt/core
Add e2e test for API and Translations