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
06.12.2020 16:19:22
-3,600
32514a0f782ee1fc3ec0321cbc1c031dfc2870d8
Working on YAML migrations
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"api-platform/core\": \"^2.5\",\n\"babdev/pagerfanta-bundle\": \"^2.5\",\n\"beberlei/doctrineextensions\": \"^1.2\",\n+ \"bobdenotter/yaml-migrations\": \"^1.0\",\n\"bolt/common\": \"^3.0\",\n\"cocur/slugi...
PHP
MIT License
bolt/core
Working on YAML migrations
95,144
28.12.2020 18:38:42
-3,600
6898e5b325f858fb379297f2dfa74c9527e71453
Put "Reset Password" functionality on Backend controller collection, so it doesn't need changes in routing
[ { "change_type": "MODIFY", "old_path": "config/packages/security.yaml", "new_path": "config/packages/security.yaml", "diff": "@@ -40,6 +40,7 @@ security:\naccess_control:\n# this is a catch-all for the admin area\n# additional security lives in the controllers\n- - { path: '^%bolt.backend_url%/(logi...
PHP
MIT License
bolt/core
Put "Reset Password" functionality on Backend controller collection, so it doesn't need changes in routing
95,144
28.12.2020 18:41:57
-3,600
ad62ac9d2987525257b8dbb085aa3cdbffc7ffdd
Tweaking buttons
[ { "change_type": "MODIFY", "old_path": "templates/reset_password/request.html.twig", "new_path": "templates/reset_password/request.html.twig", "diff": "{{ 'reset_password.request_description'|trans }}\n</div>\n<button class=\"btn btn-primary\">{{ 'reset_password.request_send'|trans }}</button>\n- <a...
PHP
MIT License
bolt/core
Tweaking buttons
95,144
29.12.2020 20:01:41
-3,600
330f36631794e77b2472486f1879856d08582e15
Updating YAML migrations
[ { "change_type": "MODIFY", "old_path": "yaml-migrations/config.yaml", "new_path": "yaml-migrations/config.yaml", "diff": "# location of the files used for the migrations\n-migrations: yaml-migrations\n+migrations: vendor/bolt/core/yaml-migrations\n+\n+# location of the checkpoint\n+checkpoint: confi...
PHP
MIT License
bolt/core
Updating YAML migrations
95,144
30.12.2020 10:37:14
-3,600
920b98db014d10f7bab770cff9aa04bdbd012a79
Preparing 4.2.0-beta.3
[ { "change_type": "MODIFY", "old_path": "assets/js/version.js", "new_path": "assets/js/version.js", "diff": "// generated by genversion\n-export const version = '4.1.99.2';\n+export const version = '4.1.99.3';\n" }, { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path...
PHP
MIT License
bolt/core
Preparing 4.2.0-beta.3
95,200
30.12.2020 11:48:19
-3,600
8f8fe73060f63a3929da25cd33893a6a57580e93
Update routes.yaml Fixed wrong path to routing docs
[ { "change_type": "MODIFY", "old_path": "config/routes.yaml", "new_path": "config/routes.yaml", "diff": "# This file defines routes for the frontend and control panel of your Bolt\n# website. Check below for examples, or read the documentation at\n-# https://docs.bolt.cm/configuration/routing\n+# htt...
PHP
MIT License
bolt/core
Update routes.yaml Fixed wrong path to routing docs
95,144
03.01.2021 10:09:25
-3,600
2e68668b36715ba6705671a81c746a4a987ee65d
Replace (abandoned) `peterkahl/country-code-to-emoji-flag` package with fork
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"api-platform/core\": \"^2.5\",\n\"babdev/pagerfanta-bundle\": \"^2.5\",\n\"beberlei/doctrineextensions\": \"^1.2\",\n+ \"bobdenotter/country-code-to-emoji-flag\": \"^2.0\",\n\"bolt/common\": \"^2.1.10\",\...
PHP
MIT License
bolt/core
Replace (abandoned) `peterkahl/country-code-to-emoji-flag` package with fork
95,144
03.01.2021 10:38:20
-3,600
061c1a3432e5165292344d8f74bc40c2962276cb
Better fix: Just bring in the one file with actual code
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"api-platform/core\": \"^2.5\",\n\"babdev/pagerfanta-bundle\": \"^2.5\",\n\"beberlei/doctrineextensions\": \"^1.2\",\n- \"bobdenotter/country-code-to-emoji-flag\": \"^2.0\",\n\"bolt/common\": \"^2.1.10\",\...
PHP
MIT License
bolt/core
Better fix: Just bring in the one file with actual code
95,144
03.01.2021 13:42:58
-3,600
06499dc2ebe777a0e64e3d84cd363a0160545fe6
add FlagMaster
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Utils/FlagMaster.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\Utils;\n+\n+use Exception;\n+\n+class FlagMaster\n+{\n+ /**\n+ * Converts string of (one) country code to emoji flag (string).\n+ * Makes correction fo...
PHP
MIT License
bolt/core
add FlagMaster
95,144
03.01.2021 16:46:45
-3,600
ff567d8e97d12d3513ada73befbd76a503de8d55
Use `placeholder.boltcms.io` for faster fetching of placeholders
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"knplabs/knp-menu-bundle\": \"^3.0\",\n\"league/glide-symfony\": \"^1.0\",\n\"miljar/php-exif\": \"^0.6.4\",\n+ \"nelexa/zip\": \"^3.3\",\n\"nelmio/cors-bundle\": \"^2.1\",\n\"nesbot/carbon\": \"^2.39\",\n...
PHP
MIT License
bolt/core
Use `placeholder.boltcms.io` for faster fetching of placeholders
95,148
05.01.2021 14:22:32
-3,600
02c6297fbbec3b49f943367724273879b738368d
Add maxlength attribute and remove pattern attribute for textarea
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Textarea.vue", "new_path": "assets/js/app/editor/Components/Textarea.vue", "diff": ":pattern=\"pattern\"\n:placeholder=\"placeholder\"\n:style=\"{ height: styleHeight }\"\n+ :maxlength=\"maxlength\"\n></textarea>\n</div>\n</temp...
PHP
MIT License
bolt/core
Add maxlength attribute and remove pattern attribute for textarea
95,148
06.01.2021 10:52:17
-3,600
0ae3107d1226a36146190ff8cdf38ab23da23502
remove pattern attribute on textarea
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Textarea.vue", "new_path": "assets/js/app/editor/Components/Textarea.vue", "diff": ":required=\"required\"\n:readonly=\"readonly\"\n:data-errormessage=\"errormessage\"\n- :pattern=\"pattern\"\n:placeholder=\"placeholder\"\n:styl...
PHP
MIT License
bolt/core
remove pattern attribute on textarea
95,144
07.01.2021 09:33:52
-3,600
bf5f1d2282eba3c26668efbc7bbe2ec3f66d5cee
Preparing 4.2.0-beta.4
[ { "change_type": "MODIFY", "old_path": "assets/js/version.js", "new_path": "assets/js/version.js", "diff": "// generated by genversion\n-export const version = '4.1.99.3';\n+export const version = '4.1.99.4';\n" }, { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path...
PHP
MIT License
bolt/core
Preparing 4.2.0-beta.4
95,147
07.01.2021 10:03:28
-3,600
21870e918153782dff5cfdd9549526f04e8ff3c5
Fix welcome command explanation
[ { "change_type": "MODIFY", "old_path": "src/Command/WelcomeCommand.php", "new_path": "src/Command/WelcomeCommand.php", "diff": "@@ -39,9 +39,9 @@ HELP\n$this->outputImage($io);\n- $io->info('Welcome to your new Bolt project. To set up the database, run `bin/console bolt:setup`');\n+ $io->info('Welco...
PHP
MIT License
bolt/core
Fix welcome command explanation
95,147
07.01.2021 11:26:27
-3,600
136622b00a6f31847b15edbeddd2438609cb20fa
Require simplify/package-builder, add reset_password yaml
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"symfony/webpack-encore-bundle\": \"^1.7\",\n\"symfony/yaml\": \"^5.1\",\n\"symfonycasts/reset-password-bundle\": \"^1.1\",\n+ \"symplify/package-builder\": \"^8.0\",\n\"tightenco/collect\": \"^v8.0\",\n\"...
PHP
MIT License
bolt/core
Require simplify/package-builder, add reset_password yaml
95,147
07.01.2021 13:46:53
-3,600
8d31a197a1d0a72bf2a52fb0d2835969a7f6619b
Fix `default` option for select field
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/SelectField.php", "new_path": "src/Entity/Field/SelectField.php", "diff": "@@ -90,4 +90,9 @@ class SelectField extends Field implements FieldInterface, RawPersistable\nreturn false;\n}\n+\n+ public function getDefaultValue()\n+ {\n+ return [pa...
PHP
MIT License
bolt/core
Fix `default` option for select field
95,147
07.01.2021 13:57:39
-3,600
2a479a055eb9774cd3bf139ae36a2b08b040e1e1
Make sure Other Content works on mobile
[ { "change_type": "MODIFY", "old_path": "src/Menu/BackendMenuBuilder.php", "new_path": "src/Menu/BackendMenuBuilder.php", "diff": "@@ -9,6 +9,7 @@ use Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Repository\\ContentRepository;\nuse Bolt\\Twig\\ContentExtension;\nuse Bolt\\Version;\n+use Cocu...
PHP
MIT License
bolt/core
Make sure Other Content works on mobile
95,144
08.01.2021 14:40:45
-3,600
15e6eab4c1e5779ce1d799dc5cf7f9868b70bd1e
Fixing badges in Collections
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Collection.vue", "new_path": "assets/js/app/editor/Components/Collection.vue", "diff": "<div class=\"card-header d-flex align-items-center\">\n<!-- Initial title. This is replaced by dynamic title in JS below. -->\n<i class=\"ca...
PHP
MIT License
bolt/core
Fixing badges in Collections
95,144
08.01.2021 14:56:07
-3,600
4e1cf4ea73fc7567804e0d223d194d6766739989
Fix fixutres: Explicitly require `guzzlehttp/guzzle`
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"embed/embed\": \"^3.4\",\n\"erusev/parsedown\": \"^1.7\",\n\"fakerphp/faker\": \"^1.10\",\n+ \"guzzlehttp/guzzle\": \"^6.5\",\n\"knplabs/doctrine-behaviors\": \"^2.0.3\",\n\"knplabs/knp-menu-bundle\": \"^...
PHP
MIT License
bolt/core
Fix fixutres: Explicitly require `guzzlehttp/guzzle`
95,115
08.11.2020 13:13:25
-3,600
90ef49fd99c82bdce86c83cc70550e46c24fa4af
Add impersonation based on Symfony support
[ { "change_type": "MODIFY", "old_path": "assets/js/app/toolbar/Components/Toolbar.vue", "new_path": "assets/js/app/toolbar/Components/Toolbar.vue", "diff": ">\n<img v-if=\"avatar\" :src=\"avatar\" class=\"rounded-circle mr-2\" alt=\"User avatar\" />\n<i v-else class=\"fas fa-user\"></i>{{ labels['gen...
PHP
MIT License
bolt/core
Add impersonation based on Symfony support https://symfony.com/doc/current/security/impersonating_user.html
95,115
10.11.2020 14:58:46
-3,600
80694fe8cac1f113c9c1c6b908abd9cd55616051
get permissions from config file - work in progress
[ { "change_type": "ADD", "old_path": null, "new_path": "config/bolt/permissions.yaml", "diff": "+# This file defines role-based access control for your Bolt site.\n+# Before making any modifications to this file, make sure you've thoroughly\n+# read the documentation at https://docs.bolt.cm/configura...
PHP
MIT License
bolt/core
get permissions from config file - work in progress
95,115
11.11.2020 22:00:33
-3,600
2b07ccad319be01a270d01d0fdcb44bd3c5244d8
work in progress - cleaned up permissionsparser
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/PermissionsParser.php", "new_path": "src/Configuration/Parser/PermissionsParser.php", "diff": "@@ -13,18 +13,16 @@ class PermissionsParser extends BaseParser\npublic function __construct(string $projectDir, string $filename = 'permissi...
PHP
MIT License
bolt/core
work in progress - cleaned up permissionsparser
95,115
13.11.2020 11:59:32
-3,600
707098c76d4569208e41114c5fb6798df20cd812
move impersonation message / exit button to its own (top-left) place, and don't include it into the 'normal' menus
[ { "change_type": "MODIFY", "old_path": "templates/_base/layout.html.twig", "new_path": "templates/_base/layout.html.twig", "diff": "'about.bolt_documentation': 'about.bolt_documentation'|trans,\n'action.view_site': config.get('general/sitename'),\n'general.greeting': 'general.greeting'|trans({'%name...
PHP
MIT License
bolt/core
move impersonation message / exit button to its own (top-left) place, and don't include it into the 'normal' menus
95,115
13.11.2020 12:02:02
-3,600
c13804cfa43f5d839f5b9a171343e6f8b0839d9f
GlobalVoter.php now supports any permission defined in the 'global:' part of permissions.yaml
[ { "change_type": "MODIFY", "old_path": "src/Security/GlobalVoter.php", "new_path": "src/Security/GlobalVoter.php", "diff": "@@ -5,15 +5,14 @@ declare(strict_types=1);\nnamespace Bolt\\Security;\nuse Bolt\\Configuration\\Config;\n+use Bolt\\Entity\\User;\nuse Symfony\\Component\\Security\\Core\\Authe...
PHP
MIT License
bolt/core
GlobalVoter.php now supports any permission defined in the 'global:' part of permissions.yaml
95,115
14.11.2020 13:39:57
-3,600
7cda8bf7da6cc26caff45450d4905a8e706631ca
Updated lots of global permissions.
[ { "change_type": "MODIFY", "old_path": "assets/scss/layout/_admin.scss", "new_path": "assets/scss/layout/_admin.scss", "diff": "@@ -7,6 +7,11 @@ body {\n}\n}\n+.impersonator {\n+ height: 24px;\n+ background-color: purple;\n+}\n+\n// Main Layout Grid\n.admin {\nmargin-top: $admin-toolbar-height;\n" ...
PHP
MIT License
bolt/core
Updated lots of global permissions.
95,115
14.11.2020 15:42:05
-3,600
f34e60dfe4e07b0d91ad779d06e6dad6fcf77c29
fix typo: impersionation -> impersonation
[ { "change_type": "MODIFY", "old_path": "assets/scss/modules/admin/_toolbar.scss", "new_path": "assets/scss/modules/admin/_toolbar.scss", "diff": "}\n}\n- .toolbar-impersionation {\n+ .toolbar-impersonation {\nposition: absolute;\ntop: 0;\nleft: 0;\n" } ]
PHP
MIT License
bolt/core
fix typo: impersionation -> impersonation
95,115
14.11.2020 23:16:07
-3,600
5f0fe0b6fe95cc413a4b740307e1ce13ec84a5b1
cscheck fixes
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Parser/PermissionsParser.php", "new_path": "src/Configuration/Parser/PermissionsParser.php", "diff": "@@ -8,9 +8,6 @@ use Tightenco\\Collect\\Support\\Collection;\nclass PermissionsParser extends BaseParser\n{\n- /** @var string */\n- private...
PHP
MIT License
bolt/core
cscheck fixes
95,115
17.11.2020 20:34:05
-3,600
c490800b1c730c9291ef3b8753dd4fef1e79bdcb
fix error - you can assume you'll receive a Collection
[ { "change_type": "MODIFY", "old_path": "src/Security/GlobalVoter.php", "new_path": "src/Security/GlobalVoter.php", "diff": "@@ -9,6 +9,7 @@ use Bolt\\Entity\\User;\nuse Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface;\nuse Symfony\\Component\\Security\\Core\\Authorization\\...
PHP
MIT License
bolt/core
fix error - you can assume you'll receive a Collection
95,115
23.11.2020 00:53:58
-3,600
83bdf84b1eb956744dc9b9abb50e1f81a4c06e0d
add permissions to cache check
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Config.php", "new_path": "src/Configuration/Config.php", "diff": "@@ -131,7 +131,7 @@ class Config\n//'permissions' => $this->parseConfigYaml('permissions.yml'),\n//'extensions' => $this->parseConfigYaml('extensions.yml'),\n- $timestamps = $t...
PHP
MIT License
bolt/core
add permissions to cache check
95,115
23.11.2020 00:54:25
-3,600
53feae31ee2816874a445ebf4342f55d6f7c1d3b
new voter for the OWNER attribute on content checks
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Security/ContentOwnerVoter.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\Security;\n+\n+use Bolt\\Configuration\\Config;\n+use Bolt\\Entity\\Content;\n+use Bolt\\Entity\\User;\n+use Symfony\\Component\\Security\\Co...
PHP
MIT License
bolt/core
new voter for the OWNER attribute on content checks
95,115
23.11.2020 00:54:44
-3,600
6a421d18b34560d75bffa6b80527470489358533
permissions.yaml updates, work in progress
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -16,7 +16,7 @@ global:\nabout: [ IS_AUTHENTICATED_ANONYMOUSLY ] # view the 'About Bolt' page\n# checks: [ admin, developer ]\nclearcache: [ ROLE_ADMIN, ROLE_DEVELOPER ]\n-# ...
PHP
MIT License
bolt/core
permissions.yaml updates, work in progress
95,115
23.11.2020 00:55:22
-3,600
4d4f9f66f8f52dfbe48b7967253c881fb690c4d6
GlobalVoter.php use widest check possible for User.
[ { "change_type": "MODIFY", "old_path": "src/Security/GlobalVoter.php", "new_path": "src/Security/GlobalVoter.php", "diff": "@@ -5,10 +5,10 @@ declare(strict_types=1);\nnamespace Bolt\\Security;\nuse Bolt\\Configuration\\Config;\n-use Bolt\\Entity\\User;\nuse Symfony\\Component\\Security\\Core\\Authe...
PHP
MIT License
bolt/core
GlobalVoter.php use widest check possible for User.
95,115
23.11.2020 00:56:19
-3,600
fae7dab811d1f94ebd00e66a6fcaa767500a4cea
ContentVoter.php first stab at actually implementing the rules with all, default, and specific contenttype settings.
[ { "change_type": "MODIFY", "old_path": "src/Security/ContentVoter.php", "new_path": "src/Security/ContentVoter.php", "diff": "@@ -5,11 +5,12 @@ declare(strict_types=1);\nnamespace Bolt\\Security;\nuse Bolt\\Configuration\\Config;\n+use Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Entity\\Co...
PHP
MIT License
bolt/core
ContentVoter.php first stab at actually implementing the rules with all, default, and specific contenttype settings.
95,115
23.11.2020 00:57:14
-3,600
f494caee87c76dc9586b429b830ae6a84a42b6bf
Menu only show content types in menu where user has 'view' permission.
[ { "change_type": "MODIFY", "old_path": "src/Menu/BackendMenuBuilder.php", "new_path": "src/Menu/BackendMenuBuilder.php", "diff": "@@ -7,12 +7,14 @@ namespace Bolt\\Menu;\nuse Bolt\\Configuration\\Config;\nuse Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Repository\\ContentRepository;\n+use ...
PHP
MIT License
bolt/core
Menu only show content types in menu where user has 'view' permission.
95,115
23.11.2020 00:58:22
-3,600
3cc51751acb5f45cd654ae84155ac82958aa90f1
added specific isGranted checks instead of general ROLE_ADMIN
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -18,6 +18,7 @@ use Bolt\\Enum\\Statuses;\nuse Bolt\\Log\\LoggerTrait;\nuse Bolt\\Repository\\ContentRepository;\nuse Bolt\\Repository\\TaxonomyRepository;\n+use Bolt\\Secu...
PHP
MIT License
bolt/core
added specific isGranted checks instead of general ROLE_ADMIN
95,115
25.11.2020 10:18:55
-3,600
f0c861bcd89b48d6e7602d8b428a805d6b3fa48f
added TODO PERMISSIONS to find this later.
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/UserEditController.php", "new_path": "src/Controller/Backend/UserEditController.php", "diff": "@@ -60,7 +60,7 @@ class UserEditController extends TwigAwareController implements BackendZoneInter\n/**\n* @Route(\"/user-edit/add\", methods=...
PHP
MIT License
bolt/core
added TODO PERMISSIONS to find this later.
95,115
25.11.2020 22:39:54
-3,600
932e30a80d29011e8301b4449d9bc75d3da0c87a
create and implement detailed permissions for file editing
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -23,12 +23,13 @@ global:\n# dbupdate_result: [ admin, developer ]\nextensions: [ ROLE_DEVELOPER ]\n# extensions:config: [ developer ]\n- fileedit: [ ROLE_ADMIN, ROLE_DEVELOP...
PHP
MIT License
bolt/core
create and implement detailed permissions for file editing
95,115
26.11.2020 00:15:33
-3,600
d8d9c711bdfe88c2dee64b9d5debb0879dccbb72
add developer role ('above' admin at the moment)
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/UserFixtures.php", "new_path": "src/DataFixtures/UserFixtures.php", "diff": "@@ -124,6 +124,13 @@ class UserFixtures extends BaseFixture implements FixtureGroupInterface\n'email' => 'john_user@example.org',\n'roles' => ['ROLE_USER'],\n],\n+ [\...
PHP
MIT License
bolt/core
add developer role ('above' admin at the moment)
95,115
26.11.2020 00:15:56
-3,600
959b523cc3b6d49705c309a0aa5eed9ae5d97694
only allow developer to switch user
[ { "change_type": "MODIFY", "old_path": "config/packages/security.yaml", "new_path": "config/packages/security.yaml", "diff": "@@ -24,7 +24,7 @@ security:\npattern: ^/\nanonymous: true\nuser_checker: Bolt\\Security\\UserChecker\n- switch_user: true\n+ switch_user: { role: CAN_SWITCH_USER }\nguard:\na...
PHP
MIT License
bolt/core
only allow developer to switch user
95,115
26.11.2020 00:16:46
-3,600
40d6ad7ec68db6e640f93fc5808f82b93dc5142c
comment to remember to update permission
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/UserEditController.php", "new_path": "src/Controller/Backend/UserEditController.php", "diff": "@@ -111,6 +111,8 @@ class UserEditController extends TwigAwareController implements BackendZoneInter\n/**\n* @Route(\"/user-edit/{id}\", metho...
PHP
MIT License
bolt/core
comment to remember to update permission
95,115
26.11.2020 00:17:00
-3,600
23a640b5e5444a11fc2793bced0e11a8c0c3b686
permissions.yaml work in progress
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -18,16 +18,14 @@ global:\nclearcache: [ ROLE_ADMIN, ROLE_DEVELOPER ]\n# contentaction: [ ROLE_EDITOR, admin, developer ]\ndashboard: [ IS_AUTHENTICATED_FULLY ]\n-# dbcheck: ...
PHP
MIT License
bolt/core
permissions.yaml work in progress
95,115
27.11.2020 22:37:12
-3,600
a15e40ecf20708d82b73053a04c3ddf6ac4c297b
workable UserEditController.php, lots of work in progress
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "# and understand the consequences of making uninformed changes to the roles and\n# permissions.\n+# roles that are presented in the list when editing a user\n+# these will be f...
PHP
MIT License
bolt/core
workable UserEditController.php, lots of work in progress
95,115
28.11.2020 23:22:35
-3,600
432375739437a19c91b47136892ff564de7510ca
getting somewhere, started implementing permissions in ContentEditController.php
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -49,8 +49,9 @@ global:\nsystemlog: [ ROLE_ADMIN, ROLE_DEVELOPER ]\n# NEW\nbulk_operations: [ ROLE_CHIEF_EDITOR ]\n- fixtures: [ ROLE_DEVELOPER ] # <-- controller route exist...
PHP
MIT License
bolt/core
getting somewhere, started implementing permissions in ContentEditController.php
95,115
09.01.2021 12:11:55
-3,600
e02f548e17e3c82d51d713cb8a0c0c863def7fe1
add additional roles for 'henkie' to support testing the user edit screen
[ { "change_type": "MODIFY", "old_path": "src/DataFixtures/UserFixtures.php", "new_path": "src/DataFixtures/UserFixtures.php", "diff": "@@ -101,7 +101,7 @@ class UserFixtures extends BaseFixture implements FixtureGroupInterface\n'username' => 'henkie',\n'password' => $this->append ? Str::generatePassw...
PHP
MIT License
bolt/core
add additional roles for 'henkie' to support testing the user edit screen
95,115
09.01.2021 12:13:25
-3,600
c090d1059ca6d04f15749d059fd8cee5deb826a6
added assign_unchecked_roles permission and rename 'contenttype-all' permission setting to 'contenttype-base'
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "# roles that are presented in the list when editing a user\n# these will be filtered based on the user's own level to make sure you don't assign\n-# roles 'above' yourself.\n-#...
PHP
MIT License
bolt/core
added assign_unchecked_roles permission and rename 'contenttype-all' permission setting to 'contenttype-base'
95,115
09.01.2021 14:15:51
-3,600
4344566effeacf3af0176551a5badb9a3751ee08
added TODO to mark security role update that is still to do
[ { "change_type": "MODIFY", "old_path": "src/Form/UserType.php", "new_path": "src/Form/UserType.php", "diff": "@@ -108,6 +108,7 @@ class UserType extends AbstractType\n* - this form is used to add a new user\n* - if the given user object (=logged in user in profile edit page) has ROLE_ADMIN\n*/\n+ //...
PHP
MIT License
bolt/core
added TODO to mark security role update that is still to do
95,115
09.01.2021 14:18:09
-3,600
bcfe40f48f48f2e0881564f18becde88523d7355
update (broken) UserEditController.php before continuing on simpler stuff
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "# note: ROLE_USER is assigned to Bolt Entity Users if no roles have been set\n# it is not included in this list as it should not be added/removed\n-assignable_roles: [ROLE_DEVE...
PHP
MIT License
bolt/core
update (broken) UserEditController.php before continuing on simpler stuff
95,115
09.01.2021 23:13:37
-3,600
68016da09af6f65a442a4a87a0ec05d549fbd6bd
allow setting 'readonly' flag on fields from twig instead of depending on setting from field (used if field is editable but you don't have permission to do so)
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/_base.html.twig", "new_path": "templates/_partials/fields/_base.html.twig", "diff": "{% set required = (field.definition.required|default) ? true : false %}\n{% endif %}\n-{# Set readonly #}\n+{# Set readonly based on field definitio...
PHP
MIT License
bolt/core
allow setting 'readonly' flag on fields from twig instead of depending on setting from field (used if field is editable but you don't have permission to do so)
95,115
09.01.2021 23:15:02
-3,600
81d76b35c6d28776489496445d74a1be36216793
hide new/delete/edit buttons if you don't have the right permissions, set readonly on status fields if you don't have permission to change them.
[ { "change_type": "MODIFY", "old_path": "assets/js/app/sidebar/Components/Menu/_SubMenu.vue", "new_path": "assets/js/app/sidebar/Components/Menu/_SubMenu.vue", "diff": "<template>\n<ul class=\"link--menu\">\n- <li v-if=\"item.link_new !== null\" class=\"link--actions\">\n- <a :href=\"item.link_new\" ...
PHP
MIT License
bolt/core
hide new/delete/edit buttons if you don't have the right permissions, set readonly on status fields if you don't have permission to change them.
95,115
09.01.2021 23:16:00
-3,600
4a78c4da58b812a8c234b172b7e5a8c7b709a5a2
check for edit permissions instead of ROLE_ADMIN
[ { "change_type": "MODIFY", "old_path": "src/Twig/ContentExtension.php", "new_path": "src/Twig/ContentExtension.php", "diff": "@@ -402,7 +402,7 @@ class ContentExtension extends AbstractExtension\npublic function getEditLink(?Content $content): ?string\n{\n- if (! $content instanceof Content || $cont...
PHP
MIT License
bolt/core
check for edit permissions instead of ROLE_ADMIN
95,115
09.01.2021 23:17:47
-3,600
423e1c20c9d6619fe4a47d2847c5ea09bec3590b
add new derived permission 'menu_listing' and special case for 'view' that is also given for edit/delete/change_* permissions
[ { "change_type": "MODIFY", "old_path": "src/Security/ContentVoter.php", "new_path": "src/Security/ContentVoter.php", "diff": "@@ -35,14 +35,17 @@ class ContentVoter extends Voter\npublic const CONTENT_DELETE = 'delete';\npublic const CONTENT_CHANGE_OWNERSHIP = 'change-ownership';\npublic const CONTE...
PHP
MIT License
bolt/core
add new derived permission 'menu_listing' and special case for 'view' that is also given for edit/delete/change_* permissions
95,115
09.01.2021 23:19:56
-3,600
64bace17c7d5d0fe3aa1865f7cb09ef0b72bb55f
implement new permission system for ListingController.php
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ListingController.php", "new_path": "src/Controller/Backend/ListingController.php", "diff": "@@ -7,13 +7,12 @@ namespace Bolt\\Controller\\Backend;\nuse Bolt\\Configuration\\Content\\ContentType;\nuse Bolt\\Controller\\TwigAwareControlle...
PHP
MIT License
bolt/core
implement new permission system for ListingController.php
95,115
09.01.2021 23:21:23
-3,600
9e784de521bc4df7bc184eff066ed42a201ff6e1
check for 'new' permission and don't add link_new url if permission not given -> this will prevent a 'new' item from appearing in the sidebar submenu for a content type
[ { "change_type": "MODIFY", "old_path": "src/Menu/BackendMenuBuilder.php", "new_path": "src/Menu/BackendMenuBuilder.php", "diff": "@@ -332,8 +332,8 @@ final class BackendMenuBuilder implements BackendMenuBuilderInterface\n$contentTypes = $this->config->get('contenttypes')->whereStrict('show_in_menu',...
PHP
MIT License
bolt/core
check for 'new' permission and don't add link_new url if permission not given -> this will prevent a 'new' item from appearing in the sidebar submenu for a content type
95,115
09.01.2021 23:24:02
-3,600
ad46714481fa49523b9ad6c822be446cfe3dd2b5
big change to ContentEditController.php to update it to the new permission system, config updates (mostly documentation)
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -74,10 +74,7 @@ global:\n# To understand how this works, it may be best to follow the permission checker\n# through its decision-making process.\n#\n-# First, it checks whet...
PHP
MIT License
bolt/core
big change to ContentEditController.php to update it to the new permission system, config updates (mostly documentation)
95,115
09.01.2021 23:26:16
-3,600
744e958ef102c670d2817cbf53b7bf2098be785f
updates to permissions.yaml for testing
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -113,7 +113,7 @@ global:\ncontenttype-base:\nedit: [ ROLE_ADMIN ]\ncreate: [ ROLE_ADMIN ]\n- change-status: [ ROLE_ADMIN ]\n+ change-status: [ ROLE_ADMIN ] # <-- TODO PERMIS...
PHP
MIT License
bolt/core
updates to permissions.yaml for testing
95,115
10.01.2021 19:48:06
-3,600
59a0912b0211e647ebb0ad810eb9ffb0f9675584
simplified user role assignment permissions to a workable system updated visibility of action buttons on listing screen fixed voter for switch user permission
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "# and understand the consequences of making uninformed changes to the roles and\n# permissions.\n-# roles that are presented in the list when editing a user\n-# these will be f...
PHP
MIT License
bolt/core
- simplified user role assignment permissions to a workable system - updated visibility of action buttons on listing screen - fixed voter for switch user permission
95,115
10.01.2021 20:30:05
-3,600
5145f9184c532bde7a04177ddd0af0de497713de
fix UserEditController.php missing methods permission checks + visibility in menu 90% done for non-content permissions
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -28,24 +28,21 @@ global:\nmanagefiles:config: [ ROLE_DEVELOPER ] # all configuration yml files /bolt/filemanager/config and /bolt/file-edit/config?file=/bolt/menu.yaml\nmana...
PHP
MIT License
bolt/core
- fix UserEditController.php missing methods - permission checks + visibility in menu 90% done for non-content permissions
95,115
10.01.2021 22:57:24
-3,600
889d6306c76b6f21a83ee4008e6ddb3c206c513d
change settings so ROLE_ADMIN keeps the same permissions - this should fix the tests
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -20,14 +20,14 @@ assignable_roles: [ROLE_ADMIN, ROLE_CHIEF_EDITOR, ROLE_EDITOR, ROLE_EXTRA_1, ROL\n# inside the code, so they don't appear here.\nglobal:\nabout: [ IS_AUTHEN...
PHP
MIT License
bolt/core
change settings so ROLE_ADMIN keeps the same permissions - this should fix the tests
95,148
11.01.2021 13:51:06
-3,600
04ddee03ca72ff3315d604a552b7f2658960e76a
test if currentLocale exist
[ { "change_type": "MODIFY", "old_path": "templates/bundles/TranslationBundle/WebUI/base.html.twig", "new_path": "templates/bundles/TranslationBundle/WebUI/base.html.twig", "diff": "{% block javascripts %}\n{{ parent() }}\n+ {% if currentLocale is defined %}\n<script type=\"text/javascript\">\nvar edi...
PHP
MIT License
bolt/core
test if currentLocale exist
95,144
13.01.2021 12:19:55
-3,600
890816aead165aa55c758e2bab79c7559d9263b2
Prepare release 4.2.0-beta.5
[ { "change_type": "MODIFY", "old_path": "assets/js/version.js", "new_path": "assets/js/version.js", "diff": "// generated by genversion\n-export const version = '4.1.99.4';\n+export const version = '4.1.99.5';\n" }, { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path...
PHP
MIT License
bolt/core
Prepare release 4.2.0-beta.5
95,115
20.01.2021 22:07:49
-3,600
05b0da7640573478051b82de8a93e9c84b6bc6ec
Made switch user voter a bit to restrictive
[ { "change_type": "MODIFY", "old_path": "src/Security/SwitchUserVoter.php", "new_path": "src/Security/SwitchUserVoter.php", "diff": "@@ -30,14 +30,14 @@ class SwitchUserVoter extends Voter\nprotected function supports($attribute, $subject)\n{\n- return $attribute === 'CAN_SWITCH_USER' && $subject ===...
PHP
MIT License
bolt/core
Made switch user voter a bit to restrictive
95,115
20.01.2021 22:08:19
-3,600
0f79c8a52a0b3782ed4160f63e3cc7a24d65bdcb
separate editing 'own profile' from editing another user
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/UserEditController.php", "new_path": "src/Controller/Backend/UserEditController.php", "diff": "@@ -113,81 +113,25 @@ class UserEditController extends TwigAwareController implements BackendZoneInter\n}\n/**\n- * @Route(\"/user-edit/{id}\"...
PHP
MIT License
bolt/core
separate editing 'own profile' from editing another user
95,115
20.01.2021 22:09:38
-3,600
e0be2fd0da7bf61395b450d6e4d59bedae7bf4b8
various updates to permissions.yaml
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -28,7 +28,7 @@ global:\nmanagefiles:config: [ ROLE_ADMIN ] # all configuration yml files /bolt/filemanager/config and /bolt/file-edit/config?file=/bolt/menu.yaml\nmanagefile...
PHP
MIT License
bolt/core
various updates to permissions.yaml
95,115
20.01.2021 22:40:26
-3,600
1eac51137b9cd9866ac86df08df18bc774df2e20
clean up BackendMenuBuilder.php: remove TODO items that have been done and clean up empty nested menus
[ { "change_type": "MODIFY", "old_path": "src/Menu/BackendMenuBuilder.php", "new_path": "src/Menu/BackendMenuBuilder.php", "diff": "@@ -21,7 +21,6 @@ use Symfony\\Contracts\\Translation\\TranslatorInterface;\n/**\n* Class BackendMenuBuilder\n*\n- * TODO PERMISSIONS -- add checks for menu items (don't ...
PHP
MIT License
bolt/core
clean up BackendMenuBuilder.php: remove TODO items that have been done and clean up empty nested menus
95,115
20.01.2021 22:40:44
-3,600
3b522cadbae5a0276187d2e47c87dd899c894a09
clean up: remove TODO items that have been done
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/MenuPageController.php", "new_path": "src/Controller/Backend/MenuPageController.php", "diff": "@@ -8,9 +8,6 @@ use Bolt\\Controller\\TwigAwareController;\nuse Symfony\\Component\\HttpFoundation\\Response;\nuse Symfony\\Component\\Routing...
PHP
MIT License
bolt/core
clean up: remove TODO items that have been done
95,115
22.01.2021 23:05:29
-3,600
b70b8e6a020f94c41f2d1960a33f80cc903faa69
english translation keys added
[ { "change_type": "MODIFY", "old_path": "translations/messages.en.xlf", "new_path": "translations/messages.en.xlf", "diff": "<target>Share secure preview link</target>\n</segment>\n</unit>\n+ <unit id=\"zYeSeNJ\" name=\"action.stop_impersonating\">\n+ <segment>\n+ <source>action.stop_impersonating</s...
PHP
MIT License
bolt/core
english translation keys added
95,115
22.01.2021 23:09:14
-3,600
8f223516313d42ce599647de3764be21c501b076
updated permissions setup for user edit form (UserType.php)
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -31,8 +31,8 @@ global:\neditprofile: [ IS_AUTHENTICATED_FULLY ] # edit own profile\ntranslation: [ ROLE_ADMIN ] # TODO PERMISSIONS how to enforce this?\nuser:list: [ ROLE_AD...
PHP
MIT License
bolt/core
updated permissions setup for user edit form (UserType.php)
95,115
22.01.2021 23:25:43
-3,600
a0a0f54aa0939e7f561bebff00185ccf1a76e086
fixed permissions for api in bolt admin (decided not to try and actually limit access to /bolt/api or /api)
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -37,8 +37,7 @@ global:\nuser:edit: [ ROLE_ADMIN ] # user edit all fields, includes user:status permissions\n# maintenance-mode: [ everyone ] # view the frontend when in main...
PHP
MIT License
bolt/core
fixed permissions for api in bolt admin (decided not to try and actually limit access to /bolt/api or /api)
95,115
23.01.2021 01:01:43
-3,600
a2ab826ad85206921e2e40c298995c0f655c4283
managed to come up with a reasonable way to limit access to translate and api packages that don't have their controllers in the Bolt sources.
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -29,7 +29,7 @@ global:\nmanagefiles:files: [ ROLE_ADMIN ]\nmanagefiles:themes: [ ROLE_ADMIN ]\neditprofile: [ IS_AUTHENTICATED_FULLY ] # edit own profile\n- translation: [ R...
PHP
MIT License
bolt/core
managed to come up with a reasonable way to limit access to translate and api packages that don't have their controllers in the Bolt sources.
95,144
23.01.2021 12:04:27
-3,600
fa69955770c198c91960c54eb6adbac1baf0bd1b
Pin API-platform to `2.5.*` for now
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"ext-json\": \"*\",\n\"ext-mbstring\": \"*\",\n\"ext-pdo\": \"*\",\n- \"api-platform/core\": \"^2.5\",\n+ \"api-platform/core\": \"2.5.*\",\n\"babdev/pagerfanta-bundle\": \"^2.5\",\n\"beberlei/doctrineexte...
PHP
MIT License
bolt/core
Pin API-platform to `2.5.*` for now
95,144
24.01.2021 16:03:24
-3,600
fa817a64ba74d0f33d6ad6e415c2653f99558633
Prepare relase 4.2.0-beta.6
[ { "change_type": "MODIFY", "old_path": "assets/js/version.js", "new_path": "assets/js/version.js", "diff": "// generated by genversion\n-export const version = '4.1.99.5';\n+export const version = '4.1.99.6';\n" }, { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path...
PHP
MIT License
bolt/core
Prepare relase 4.2.0-beta.6
95,115
24.01.2021 16:42:25
-3,600
f07e87f4c21288e452f39dd22a3e51bdd1326ed6
Update config in permissions.yaml so they will be (more or less) backwards compatible. Use only ROLE_ADMIN and ROLE_EDITOR in config to keep things simple.
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "# Roles that are not in this list are left 'as is' when editing users.\n# Note: ROLE_USER is assigned to Bolt Entity Users if no roles have been set\n# it should not be include...
PHP
MIT License
bolt/core
Update config in permissions.yaml so they will be (more or less) backwards compatible. Use only ROLE_ADMIN and ROLE_EDITOR in config to keep things simple.
95,144
29.01.2021 15:47:22
-3,600
11fc702cf1defb9a40b2c8af5777a9440c8fd758
New Skeleton theming
[ { "change_type": "ADD", "old_path": null, "new_path": "public/theme/skeleton/css/simple.css", "diff": "+/* Set the global variables for everything. Change these to use your own fonts/colours. */\n+:root {\n+\n+ /* Set sans-serif & mono fonts */\n+ --sans-font: -apple-system, BlinkMacSystemFont, \"Av...
PHP
MIT License
bolt/core
New Skeleton theming
95,115
24.01.2021 22:15:40
-3,600
b1e7726afae2642d443e2bde1dc522adc37b1dc8
remove ROLE_ADMIN check, no replacement needed as there is already a check in the locales() method on 'view' permission. (reference: https://github.com/bolt/core/issues/2342)
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/ContentLocalizationController.php", "new_path": "src/Controller/Backend/ContentLocalizationController.php", "diff": "@@ -14,8 +14,6 @@ use Symfony\\Component\\Routing\\Annotation\\Route;\n/**\n* Permissions for this controller follow Con...
PHP
MIT License
bolt/core
remove ROLE_ADMIN check, no replacement needed as there is already a check in the locales() method on 'view' permission. (reference: https://github.com/bolt/core/issues/2342)
95,115
28.01.2021 22:52:14
-3,600
9a488d41d483fafef0a351b7e52f9800691b6d95
Update ROLE_ADMIN check to specific media_edit permission.
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -42,6 +42,8 @@ global:\nkitchensink: [ ROLE_ADMIN ]\nupload: [ ROLE_EDITOR ] # TODO PERMISSIONS upload media/files ? Or should this be handled by managefiles:files\nextensio...
PHP
MIT License
bolt/core
Update ROLE_ADMIN check to specific media_edit permission.
95,115
28.01.2021 23:01:39
-3,600
eb781b5aaddb8ef07c5fd7c2a9d7d630bd418b5f
Update ROLE_ADMIN check to specific fetch_embed_data permission.
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -43,6 +43,7 @@ global:\nupload: [ ROLE_EDITOR ] # TODO PERMISSIONS upload media/files ? Or should this be handled by managefiles:files\nextensionmenus: [ IS_AUTHENTICATED_FU...
PHP
MIT License
bolt/core
Update ROLE_ADMIN check to specific fetch_embed_data permission.
95,115
28.01.2021 23:52:44
-3,600
4b097f3b62593fac5bd091b5536da267b3098a6c
Update ROLE_ADMIN check to specific permissions for list_files:config, list_files:files and list_files:themes. Probably only the list_files:files permission should be given to normal editors in the future.
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -44,6 +44,9 @@ global:\nextensionmenus: [ IS_AUTHENTICATED_FULLY ] # allows you to see menu items added by extensions\nmedia_edit: [ ROLE_ADMIN ] # edit metadata for images ...
PHP
MIT License
bolt/core
Update ROLE_ADMIN check to specific permissions for list_files:config, list_files:files and list_files:themes. Probably only the list_files:files permission should be given to normal editors in the future.
95,115
29.01.2021 13:44:51
-3,600
668b2754d7268005a6227a684f26c49a29c301e6
fix ROLE_ADMIN use by deleting unused controller
[ { "change_type": "DELETE", "old_path": "src/Controller/Backend/MediaController.php", "new_path": null, "diff": "-<?php\n-\n-declare(strict_types=1);\n-\n-namespace Bolt\\Controller\\Backend;\n-\n-use Bolt\\Configuration\\FileLocations;\n-use Bolt\\Controller\\TwigAwareController;\n-use Bolt\\Factory...
PHP
MIT License
bolt/core
fix ROLE_ADMIN use by deleting unused controller
95,147
03.02.2021 14:19:48
-3,600
da1fc2a0c291446358257ddbdbbd6c9bc4ea6c7a
Show an envelope icon for email fields to distinguish from text
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Email.vue", "new_path": "assets/js/app/editor/Components/Email.vue", "diff": "<template>\n<div>\n+ <div class=\"input-group mb-2\">\n+ <div class=\"input-group-prepend\">\n+ <div class=\"input-group-text\"><i class=\"far fa-enve...
PHP
MIT License
bolt/core
Show an envelope icon for email fields to distinguish from text
95,144
06.02.2021 12:41:29
-3,600
a10b0624d08b5866715dc5d7668b9a87d10e8c51
Don't allow Path Traversal
[ { "change_type": "MODIFY", "old_path": "src/Controller/Backend/FileEditController.php", "new_path": "src/Controller/Backend/FileEditController.php", "diff": "@@ -7,6 +7,7 @@ namespace Bolt\\Controller\\Backend;\nuse Bolt\\Controller\\CsrfTrait;\nuse Bolt\\Controller\\TwigAwareController;\nuse Bolt\\...
PHP
MIT License
bolt/core
Don't allow Path Traversal
95,147
08.02.2021 12:07:53
-3,600
36ed264f42a634ef63a5853536fd4f3487e4ac0d
Make multiselect fields iterable in Twig
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/CollectionField.php", "new_path": "src/Entity/Field/CollectionField.php", "diff": "@@ -9,8 +9,8 @@ use Bolt\\Entity\\Field;\nuse Bolt\\Entity\\FieldInterface;\nuse Bolt\\Entity\\FieldParentInterface;\nuse Bolt\\Entity\\FieldParentTrait;\n+use ...
PHP
MIT License
bolt/core
Make multiselect fields iterable in Twig
95,147
08.02.2021 15:58:24
-3,600
8cf8174e8b7be3c405daae03296fbe4ab0fedf95
Content `toArray()` method returns fields according to definition
[ { "change_type": "MODIFY", "old_path": "src/Entity/Content.php", "new_path": "src/Entity/Content.php", "diff": "@@ -460,10 +460,14 @@ class Content\n*/\npublic function getFieldValues(): array\n{\n- $fieldValues = [];\n+ $fieldValues = $this->getFieldValuesFromDefinition();\n+\n+ if ($fieldValues ==...
PHP
MIT License
bolt/core
Content `toArray()` method returns fields according to definition
95,147
08.02.2021 15:02:57
-3,600
c3e81790d76a68a0b8b6ce573cf98a115d1b94ab
Update bolt/common dependency
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"babdev/pagerfanta-bundle\": \"^2.5\",\n\"beberlei/doctrineextensions\": \"^1.2\",\n\"bobdenotter/yaml-migrations\": \"^1.0\",\n- \"bolt/common\": \"^3.0\",\n+ \"bolt/common\": \"^3.0.3\",\n\"cocur/slugify...
PHP
MIT License
bolt/core
Update bolt/common dependency
95,147
09.02.2021 13:11:31
-3,600
1c4f4ebe3617c8ef6e26f9ff839e40b622169912
Fix date field with `required: true`
[ { "change_type": "MODIFY", "old_path": "assets/js/app/editor/Components/Date.vue", "new_path": "assets/js/app/editor/Components/Date.vue", "diff": ":form=\"form\"\n:name=\"name\"\nplaceholder=\"Select date\"\n- :required=\"required\"\n:data-errormessage=\"errormessage\"\n>\n</flat-pickr>\n</template...
PHP
MIT License
bolt/core
Fix date field with `required: true`
95,147
08.02.2021 17:06:06
-3,600
c92896776b2fa6670b75f1ebadab15deedf5e930
`ROLE_ADMIN` can access site in maintenance mode
[ { "change_type": "MODIFY", "old_path": "config/bolt/permissions.yaml", "new_path": "config/bolt/permissions.yaml", "diff": "@@ -35,7 +35,7 @@ global:\nuser:status: [ ROLE_ADMIN ] # user enable/disable - only used for changing status outside of add/edit context\nuser:delete: [ ROLE_ADMIN ] # user del...
PHP
MIT License
bolt/core
`ROLE_ADMIN` can access site in maintenance mode
95,147
09.02.2021 10:13:35
-3,600
01ff6db9e55cca090b2f35b72135186a4a444707
Add maintenance warning on frontend
[ { "change_type": "MODIFY", "old_path": "src/Event/Subscriber/WidgetSubscriber.php", "new_path": "src/Event/Subscriber/WidgetSubscriber.php", "diff": "@@ -10,6 +10,7 @@ use Bolt\\Widget\\BoltHeaderWidget;\nuse Bolt\\Widget\\CanonicalLinkWidget;\nuse Bolt\\Widget\\Injector\\RequestZone;\nuse Bolt\\Wid...
PHP
MIT License
bolt/core
Add maintenance warning on frontend
95,147
09.02.2021 14:46:04
-3,600
51773d0af8610398ffc7efd36440c72789b121ec
Keep cache timestamps for all `.env` files
[ { "change_type": "MODIFY", "old_path": "src/Configuration/Config.php", "new_path": "src/Configuration/Config.php", "diff": "@@ -147,12 +147,30 @@ class Config\n}\n}\n- $envFilename = $this->projectDir . '/.env';\n- if (file_exists($envFilename)) {\n- $timestamps[$envFilename] = filemtime($envFilenam...
PHP
MIT License
bolt/core
Keep cache timestamps for all `.env` files
95,147
10.02.2021 16:27:56
-3,600
46b97181197e18fa3888c5641b58334e9f63ea5f
Selects with `multiple: true` always have an array value
[ { "change_type": "MODIFY", "old_path": "src/Entity/Field/SelectField.php", "new_path": "src/Entity/Field/SelectField.php", "diff": "@@ -51,6 +51,18 @@ class SelectField extends Field implements FieldInterface, RawPersistable, \\Iter\nreturn array_filter((array) $value);\n}\n+ public function getPars...
PHP
MIT License
bolt/core
Selects with `multiple: true` always have an array value
95,147
10.02.2021 12:06:31
-3,600
456ee44a54f999571ed4db20685ea9699e6e7939
Make sure the magic `get` uses the configured `date_format`
[ { "change_type": "MODIFY", "old_path": "src/Utils/ContentHelper.php", "new_path": "src/Utils/ContentHelper.php", "diff": "@@ -130,9 +130,11 @@ class ContentHelper\n$locale = $record->getContentTypeDefaultLocale();\n}\n+ $dateFormat = $this->config->get('general/date_format');\n+\nreturn preg_replace...
PHP
MIT License
bolt/core
Make sure the magic `get` uses the configured `date_format`
95,147
10.02.2021 11:49:30
-3,600
16939b56743d45a83f1fd0eb23346cf4f6f8be79
Fix `|order` filter by date
[ { "change_type": "MODIFY", "old_path": "src/Twig/ArrayExtension.php", "new_path": "src/Twig/ArrayExtension.php", "diff": "@@ -6,6 +6,7 @@ namespace Bolt\\Twig;\nuse Bolt\\Entity\\Content;\nuse Bolt\\Utils\\ContentHelper;\n+use Carbon\\Carbon;\nuse Pagerfanta\\Pagerfanta;\nuse Twig\\Environment;\nuse...
PHP
MIT License
bolt/core
Fix `|order` filter by date
95,144
14.02.2021 11:50:30
-3,600
722281de5f8a74ff4a4b1279741f02aba1b1d2d4
Keep `sensiolabs/security-checker` around for now
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"psr/simple-cache\": \"^1.0\",\n\"scienta/doctrine-json-functions\": \"^4.1\",\n\"sensio/framework-extra-bundle\": \"^5.6\",\n+ \"sensiolabs/security-checker\": \"^6.0\",\n\"siriusphp/upload\": \"^3.0.1\",...
PHP
MIT License
bolt/core
Keep `sensiolabs/security-checker` around for now
95,144
15.02.2021 14:10:33
-3,600
e720d67d018be1a7bf375bdd335b246dee678973
Move `doctrine/doctrine-migrations-bundle` to `require-dev`
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"composer/package-versions-deprecated\": \"^1.11\",\n\"doctrine/doctrine-bundle\": \"^2.1\",\n\"doctrine/doctrine-fixtures-bundle\": \"^3.3\",\n- \"doctrine/doctrine-migrations-bundle\": \"^2.2\",\n\"doctr...
PHP
MIT License
bolt/core
Move `doctrine/doctrine-migrations-bundle` to `require-dev`
95,144
15.02.2021 16:04:38
-3,600
6493bcf00767435eee5ac592102dafdbfdaadf60
Add Composer scripts for 4.2
[ { "change_type": "MODIFY", "old_path": "bin/composer-script/post-install-cmd.php", "new_path": "bin/composer-script/post-install-cmd.php", "diff": "<?php\n+declare(strict_types=1);\n+\n// this script makes sure the install scripts are not required for composer install in CI\n// @see https://github.c...
PHP
MIT License
bolt/core
Add Composer scripts for 4.2
95,144
17.02.2021 14:38:40
-3,600
1bafac7867cc30150c8f09a1e38f2bff165d04ad
Update CSS for Skeleton theme
[ { "change_type": "MODIFY", "old_path": "public/theme/skeleton/css/simple.css", "new_path": "public/theme/skeleton/css/simple.css", "diff": "--code: #D81B60;\n--preformatted: #444;\n--marked: #FFDD33;\n+ --disabled: #EFEFEF;\n}\n/* Dark theme */\n--accent-light: #FFECB3;\n--code: #F06292;\n--preforma...
PHP
MIT License
bolt/core
Update CSS for Skeleton theme
95,144
22.02.2021 15:51:09
-3,600
25e8cec26d3b1ddd36e5f81e3946119491091dc0
Delete ProjectComposerEventHandler.php
[ { "change_type": "DELETE", "old_path": "src/Composer/ProjectComposerEventHandler.php", "new_path": null, "diff": "-<?php\n-\n-namespace Bolt\\Composer;\n-\n-use Composer\\Script\\Event;\n-\n-\n-class ProjectComposerEventHandler\n-{\n- public static function postInstall(Event $event): void\n- {\n- $c...
PHP
MIT License
bolt/core
Delete ProjectComposerEventHandler.php
95,136
17.02.2021 11:39:42
-3,600
91d05260c834881ea363bdd265cd2d3732415bab
check if variable is not defined
[ { "change_type": "MODIFY", "old_path": "templates/_partials/fields/file.html.twig", "new_path": "templates/_partials/fields/file.html.twig", "diff": "{% endset %}\n{% block field %}\n+ {% if setPath is not defined %}\n{% set setPath = field.definition.get('upload')|placeholders({'contenttype': recor...
PHP
MIT License
bolt/core
check if variable is not defined
95,144
26.02.2021 11:13:38
-3,600
df6bf8acc86c4a9c029f340e0e6a36a84a7ee1fa
Prepare release 4.1.14
[ { "change_type": "MODIFY", "old_path": "assets/js/version.js", "new_path": "assets/js/version.js", "diff": "// generated by genversion\n-export const version = '4.1.13';\n+export const version = '4.1.14';\n" }, { "change_type": "MODIFY", "old_path": "package.json", "new_path": "packa...
PHP
MIT License
bolt/core
Prepare release 4.1.14
95,144
27.02.2021 13:27:49
-3,600
37cd91a3909141d2180ede17b6f114f70cee7588
Tweaking the composer scripts
[ { "change_type": "MODIFY", "old_path": "bin/composer-script/CreateProjectScript.php", "new_path": "bin/composer-script/CreateProjectScript.php", "diff": "@@ -32,6 +32,9 @@ class CreateProjectScript extends Script\nif (file_exists('public/.gitignore')) {\nunlink('public/.gitignore');\n}\n+ if (file_e...
PHP
MIT License
bolt/core
Tweaking the composer scripts
95,144
27.02.2021 14:25:17
-3,600
2ab2ee0fedfb29c7fda72454b603f2eb3adae93f
Don't remove these lines
[ { "change_type": "MODIFY", "old_path": "bin/composer-script/PostInstallScript.php", "new_path": "bin/composer-script/PostInstallScript.php", "diff": "@@ -11,6 +11,7 @@ class PostInstallScript extends Script\nself::run('php bin/console bolt:copy-assets --ansi');\nself::run('php bin/console cache:clea...
PHP
MIT License
bolt/core
Don't remove these lines
95,144
27.02.2021 15:15:46
-3,600
ae09664bdbed34c04caa1f1fd448643cca2dd483
Create Welcome command for Bolt 4.2
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Command/WelcomeCommand.php", "diff": "+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Bolt\\Command;\n+\n+use Symfony\\Component\\Console\\Command\\Command;\n+use Symfony\\Component\\Console\\Input\\InputInterface;\n+use Symfony\\Compone...
PHP
MIT License
bolt/core
Create Welcome command for Bolt 4.2 - #2209