From 219d091a6f7e43be2fa280c0fbf1b411550867f6 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 6 Nov 2024 12:27:03 +1300 Subject: [PATCH 1/6] TLN Update translations --- lang/eo.yml | 17 +++++++++++++++++ lang/ru.yml | 1 + lang/sl.yml | 17 +++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 lang/eo.yml create mode 100644 lang/sl.yml diff --git a/lang/eo.yml b/lang/eo.yml new file mode 100644 index 0000000..824070a --- /dev/null +++ b/lang/eo.yml @@ -0,0 +1,17 @@ +eo: + GRIDFIELD_BULKMANAGER_EDIT_HANDLER: + CANCEL_BTN_LABEL: Nuligi + HEADER_TEXT: 'Redaktas {count} {class}' + SAVE_BTN_LABEL: 'Konservi ĉion' + SAVE_RESULT_TEXT: '{count} {class} sukcese konservita.' + TOGGLE_ALL_LINK: 'Vidigi/kaŝi ĉion' + GRIDFIELD_BULK_MANAGER: + ACTION_BTN_LABEL: Iri + ARCHIVE_SELECT_LABEL: Enarkivigi + COMPONENT_TITLE: 'Ŝanĝi elementojn unuope aŭ pliope.' + DELETE_SELECT_LABEL: Forigi + EDIT_SELECT_LABEL: Redakti + PUBLISH_SELECT_LABEL: Publikigi + SELECT_ALL_LABEL: 'Elekti ĉiujn' + UNLINK_SELECT_LABEL: Malligi + UNPUBLISH_SELECT_LABEL: Malpublikigi diff --git a/lang/ru.yml b/lang/ru.yml index bd2e4bd..4d456f7 100644 --- a/lang/ru.yml +++ b/lang/ru.yml @@ -10,4 +10,5 @@ ru: COMPONENT_TITLE: 'Редактировать одну или несколько записей одновременно' DELETE_SELECT_LABEL: Удалить EDIT_SELECT_LABEL: Редактировать + SELECT_ALL_LABEL: 'Выбрать все' UNLINK_SELECT_LABEL: Отвязать diff --git a/lang/sl.yml b/lang/sl.yml new file mode 100644 index 0000000..76e8bcd --- /dev/null +++ b/lang/sl.yml @@ -0,0 +1,17 @@ +sl: + GRIDFIELD_BULKMANAGER_EDIT_HANDLER: + CANCEL_BTN_LABEL: Prekliči + HEADER_TEXT: 'Urejanje {count} iz {class}' + SAVE_BTN_LABEL: 'Shrani vse' + SAVE_RESULT_TEXT: 'Uspešno shranjeno {count} iz {class} ' + TOGGLE_ALL_LINK: 'Prikaži/skrij vse' + GRIDFIELD_BULK_MANAGER: + ACTION_BTN_LABEL: Sproži + ARCHIVE_SELECT_LABEL: Arhiviraj + COMPONENT_TITLE: 'Uredi enega ali več vnosov hkrati.' + DELETE_SELECT_LABEL: Izbriši + EDIT_SELECT_LABEL: Uredi + PUBLISH_SELECT_LABEL: Objavi + SELECT_ALL_LABEL: 'Izberi vse' + UNLINK_SELECT_LABEL: Odpni + UNPUBLISH_SELECT_LABEL: 'Umakni iz objave' From e17643b17a9e5d1fca22149ddf62687b08401712 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 23:52:05 +0000 Subject: [PATCH 2/6] Bump webpack from 5.91.0 to 5.94.0 Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.94.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.91.0...v5.94.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 39 +++++++++++++++------------------------ 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index bcab92f..cbe094e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "devDependencies": { "@silverstripe/eslint-config": "^1.3.0", "@silverstripe/webpack-config": "^2.1.0", - "webpack": "^5.74.0", + "webpack": "^5.94.0", "webpack-cli": "^5.0.0" }, "resolutions": { diff --git a/yarn.lock b/yarn.lock index b43de54..c80c86b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1393,15 +1393,7 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== -"@types/eslint-scope@^3.7.3": - version "3.7.7" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" - integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*", "@types/eslint@^7.29.0 || ^8.4.1": +"@types/eslint@^7.29.0 || ^8.4.1": version "8.56.7" resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.7.tgz#c33b5b5a9cfb66881beb7b5be6c34aa3e81d3366" integrity sha512-SjDvI/x3zsZnOkYZ3lCt9lOZWZLB2jIlNKz+LBgCtDurK0JZcwucxYHn1w2BJkD34dgX9Tjnak0txtq4WTggEA== @@ -1587,10 +1579,10 @@ abbrev@^1.0.0, abbrev@~1.1.1: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -acorn-import-assertions@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" - integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== +acorn-import-attributes@^1.9.5: + version "1.9.5" + resolved "https://registry.yarnpkg.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz#7eb1557b1ba05ef18b5ed0ec67591bfab04688ef" + integrity sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ== acorn-jsx@^5.3.2: version "5.3.2" @@ -2513,10 +2505,10 @@ encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -enhanced-resolve@^5.16.0: - version "5.16.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz#65ec88778083056cb32487faa9aef82ed0864787" - integrity sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA== +enhanced-resolve@^5.17.1: + version "5.17.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" + integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -6033,21 +6025,20 @@ webpack-sources@^3.2.3: resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -webpack@^5.74.0: - version "5.91.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.91.0.tgz#ffa92c1c618d18c878f06892bbdc3373c71a01d9" - integrity sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw== +webpack@^5.74.0, webpack@^5.94.0: + version "5.94.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.94.0.tgz#77a6089c716e7ab90c1c67574a28da518a20970f" + integrity sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg== dependencies: - "@types/eslint-scope" "^3.7.3" "@types/estree" "^1.0.5" "@webassemblyjs/ast" "^1.12.1" "@webassemblyjs/wasm-edit" "^1.12.1" "@webassemblyjs/wasm-parser" "^1.12.1" acorn "^8.7.1" - acorn-import-assertions "^1.9.0" + acorn-import-attributes "^1.9.5" browserslist "^4.21.10" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.16.0" + enhanced-resolve "^5.17.1" es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0" From d2c91c640e57640ebea95410c6809d74007cf5f1 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:25:35 +1300 Subject: [PATCH 3/6] MNT Update meta files after migrating repo to silverstripe org (#311) --- README.md | 30 ++++++++++-------------------- composer.json | 11 +++++++---- package.json | 4 ---- 3 files changed, 17 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index a8acafc..ca81ac9 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,12 @@ # GridField Bulk Editing Tools -:warning: I haven't been able to give as much love as I would like to these repos as they deserve. If you have time and are interested to help maintain them, give me a shout. :rotating_light: - -[![Latest Stable Version](https://poser.pugx.org/colymba/gridfield-bulk-editing-tools/v/stable.svg)](https://github.com/colymba/GridFieldBulkEditingTools/releases) -[![Latest Unstable Version](https://poser.pugx.org/colymba/gridfield-bulk-editing-tools/v/unstable.svg)](https://github.com/colymba/GridFieldBulkEditingTools/tree/master) -[![License](https://poser.pugx.org/colymba/gridfield-bulk-editing-tools/license.svg)](#license-and-copyright) +[![CI](https://github.com/silverstripe/silverstripe-gridfield-bulk-editing-tools/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-gridfield-bulk-editing-tools/actions/workflows/ci.yml) +[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) Set of SilverStripe CMS GridField components to facilitate bulk file upload & record editing. -## Components: +## Components + * [Bulk Upload](#bulk-upload): Upload multiple images or files at once into DataObjects * [Bulk Manager](#bulk-manager): Delete, Unlink, Edit (and more) multiple records at once @@ -19,6 +17,7 @@ composer require colymba/gridfield-bulk-editing-tools ``` ## Bulk Upload + Upload multiple images or files at once into DataObjects. Perfect for galleries and the like. ```php @@ -26,11 +25,15 @@ $config->addComponent(new \Colymba\BulkUpload\BulkUploader()); ``` ### Versioned + By default `BulkUploader` will write to the current stage (most likely Draft). To auto publish your `DataObject`, use the following param or config: + ```php $config->addComponent(new \Colymba\BulkUpload\BulkUploader(null, null, true)); ``` + OR + ```php $config->getComponentByType('Colymba\\BulkUpload\\BulkUploader')->setAutoPublishDataObject(true); ``` @@ -40,6 +43,7 @@ Your `DataObject` should `own` the `Image`/`File` relation so it is published at See [BULK_UPLOAD.md](docs/en/BULK_UPLOAD.md) for detailed configuration. ## Bulk Manager + Perform actions on multiple records straight from the GridField ```php @@ -47,17 +51,3 @@ $config->addComponent(new \Colymba\BulkManager\BulkManager()); ``` See [BULK_MANAGER.md](docs/en//BULK_MANAGER.md) for detailed configuration. - -## Tooling -* `npm run watch` for development -* `npm run dist` before pushing to the repo - -## Translations - -Translations of the natural language strings are managed through a third party translation interface, transifex.com. - -Please use [https://www.transifex.com/projects/p/gridfieldbulkeditingtools/](https://www.transifex.com/projects/p/gridfieldbulkeditingtools/) to contribute translations, rather than sending pull requests with YAML/JS files. - -## License and Copyright - -[BSD 3-clause license](LICENSE) diff --git a/composer.json b/composer.json index 22004fb..f4c2845 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,7 @@ { "name": "colymba/gridfield-bulk-editing-tools", "type": "silverstripe-vendormodule", - "description": "SilverStripe GridField component to upload images/files and edit records in bulk", - "homepage": "https://github.com/colymba/GridFieldBulkEditingTools", + "description": "Silverstripe CMS GridField component to upload images/files and edit records in bulk", "keywords": [ "silverstripe", "bulk upload", @@ -16,8 +15,12 @@ "homepage": "http://t-f.io" }, { - "name": "GitHub contributors", - "homepage": "https://github.com/colymba/GridFieldBulkEditingTools/contributors" + "name": "SilverStripe", + "homepage": "http://silverstripe.com" + }, + { + "name": "The SilverStripe Community", + "homepage": "http://silverstripe.org" } ], "require": { diff --git a/package.json b/package.json index bcab92f..1bed776 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,6 @@ ], "author": "Thierry Francois", "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/colymba/GridFieldBulkEditingTools/issues" - }, - "homepage": "https://github.com/colymba/GridFieldBulkEditingTools", "dependencies": { "core-js": "^3.26.0" }, From da29c317d9d5bb708ccbdd3175ba548d632b732b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 14 Nov 2024 09:44:28 +1300 Subject: [PATCH 4/6] MNT Run module-standardiser (#313) --- .github/workflows/add-prs-to-project.yml | 22 ++++++++++++++++++++++ .github/workflows/dispatch-ci.yml | 8 ++++---- .github/workflows/keepalive.yml | 8 ++++---- .github/workflows/merge-up.yml | 8 ++++---- .github/workflows/tag-patch-release.yml | 4 ++-- .github/workflows/update-js.yml | 8 ++++---- 6 files changed, 40 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/add-prs-to-project.yml diff --git a/.github/workflows/add-prs-to-project.yml b/.github/workflows/add-prs-to-project.yml new file mode 100644 index 0000000..2d3f41a --- /dev/null +++ b/.github/workflows/add-prs-to-project.yml @@ -0,0 +1,22 @@ +name: Add new PRs to github project + +on: + pull_request_target: + types: + - opened + - ready_for_review + +permissions: {} + +jobs: + addprtoproject: + name: Add PR to GitHub Project + # Only run on the silverstripe account + if: github.repository_owner == 'silverstripe' + runs-on: ubuntu-latest + steps: + - name: Add PR to github project + uses: silverstripe/gha-add-pr-to-project@v1 + with: + app_id: ${{ vars.PROJECT_PERMISSIONS_APP_ID }} + private_key: ${{ secrets.PROJECT_PERMISSIONS_APP_PRIVATE_KEY }} diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 4706965..4b1c72c 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,17 +1,17 @@ name: Dispatch CI on: - # At 6:30 AM UTC, only on Monday and Tuesday + # At 2:10 PM UTC, only on Saturday and Sunday schedule: - - cron: '30 6 * * 1,2' + - cron: '10 14 * * 6,0' permissions: {} jobs: dispatch-ci: name: Dispatch CI - # Only run cron on the colymba account - if: (github.event_name == 'schedule' && github.repository_owner == 'colymba') || (github.event_name != 'schedule') + # Only run cron on the silverstripe account + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 0550cda..ca54f71 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,9 +1,9 @@ name: Keepalive on: - # At 3:15 AM UTC, on day 16 of the month + # At 11:55 AM UTC, on day 28 of the month schedule: - - cron: '15 3 16 * *' + - cron: '55 11 28 * *' workflow_dispatch: permissions: {} @@ -11,8 +11,8 @@ permissions: {} jobs: keepalive: name: Keepalive - # Only run cron on the colymba account - if: (github.event_name == 'schedule' && github.repository_owner == 'colymba') || (github.event_name != 'schedule') + # Only run cron on the silverstripe account + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest permissions: actions: write diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index fe80cb5..4bdb1fa 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 6:30 AM UTC, only on Friday + # At 2:10 PM UTC, only on Wednesday schedule: - - cron: '30 6 * * 5' + - cron: '10 14 * * 3' workflow_dispatch: permissions: {} @@ -11,8 +11,8 @@ permissions: {} jobs: merge-up: name: Merge-up - # Only run cron on the colymba account - if: (github.event_name == 'schedule' && github.repository_owner == 'colymba') || (github.event_name != 'schedule') + # Only run cron on the silverstripe account + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/tag-patch-release.yml b/.github/workflows/tag-patch-release.yml index 388ee98..dc2db2b 100644 --- a/.github/workflows/tag-patch-release.yml +++ b/.github/workflows/tag-patch-release.yml @@ -14,8 +14,8 @@ permissions: {} jobs: tagpatchrelease: name: Tag patch release - # Only run cron on the colymba account - if: (github.event_name == 'schedule' && github.repository_owner == 'colymba') || (github.event_name != 'schedule') + # Only run cron on the silverstripe account + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/update-js.yml b/.github/workflows/update-js.yml index 296712a..9e9f991 100644 --- a/.github/workflows/update-js.yml +++ b/.github/workflows/update-js.yml @@ -2,17 +2,17 @@ name: Update JS on: workflow_dispatch: - # At 10:50 AM UTC, on day 1 of the month, only in March and September + # At 6:30 PM UTC, on day 1 of the month, only in March and September schedule: - - cron: '50 10 1 3,9 *' + - cron: '30 18 1 3,9 *' permissions: {} jobs: update-js: name: Update JS - # Only run cron on the colymba account - if: (github.event_name == 'schedule' && github.repository_owner == 'colymba') || (github.event_name != 'schedule') + # Only run cron on the silverstripe account + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest permissions: contents: write From 5cdd0bc00522c65828f9e0555d1d13bc42bbc3ba Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 14 Nov 2024 09:44:39 +1300 Subject: [PATCH 5/6] MNT Run module-standardiser (#312) --- .github/ISSUE_TEMPLATE.md | 1 + .github/ISSUE_TEMPLATE/1_bug_report.yml | 72 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2_feature_request.yml | 35 ++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/PULL_REQUEST_TEMPLATE.md | 39 +++++++++++ 5 files changed, 155 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/1_bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/2_feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..cb5f058 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1 @@ + diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.yml b/.github/ISSUE_TEMPLATE/1_bug_report.yml new file mode 100644 index 0000000..c956653 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_bug_report.yml @@ -0,0 +1,72 @@ +name: 🪳 Bug Report +description: Tell us if something isn't working the way it's supposed to + +body: + - type: markdown + attributes: + value: | + We strongly encourage you to [submit a pull request](https://docs.silverstripe.org/en/contributing/code/) which fixes the issue. + Bug reports which are accompanied with a pull request are a lot more likely to be resolved quickly. + - type: input + id: affected-versions + attributes: + label: Module version(s) affected + description: | + What version of _this module_ have you reproduced this bug on? + Run `composer info` to see the specific version of each module installed in your project. + If you don't have access to that, check inside the help menu in the bottom left of the CMS. + placeholder: x.y.z + validations: + required: true + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of the problem + validations: + required: true + - type: textarea + id: how-to-reproduce + attributes: + label: How to reproduce + description: | + ⚠️ This is the most important part of the report ⚠️ + Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix. + - Please, take the time to show us some code and/or configuration that is needed for others to reproduce the problem easily. + - If the bug is too complex to reproduce with some short code samples, please reproduce it in a public repository and provide a link to the repository along with steps for setting up and reproducing the bug using that repository. + - If part of the bug includes an error or exception, please provide a full stack trace. + - If any user interaction is required to reproduce the bug, please add an ordered list of steps that are required to reproduce it. + - Be as clear as you can, but don't miss any steps out. Simply saying "create a page" is less useful than guiding us through the steps you're taking to create a page, for example. + placeholder: | + + #### Code sample + ```php + + ``` + + #### Reproduction steps + 1. + validations: + required: true + - type: textarea + id: possible-solution + attributes: + label: Possible Solution + description: | + *Optional: only if you have suggestions on a fix/reason for the bug* + Please consider [submitting a pull request](https://docs.silverstripe.org/en/contributing/code/) with your solution! It helps get faster feedback and greatly increases the chance of the bug being fixed. + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: "*Optional: any other context about the problem: log messages, screenshots, etc.*" + - type: checkboxes + id: validations + attributes: + label: Validations + description: "Before submitting the issue, please make sure you do the following:" + options: + - label: Check that there isn't already an issue that reports the same bug + required: true + - label: Double check that your reproduction steps work in a fresh installation of [`silverstripe/installer`](https://github.com/silverstripe/silverstripe-installer) (with any code examples you've provided) + required: true diff --git a/.github/ISSUE_TEMPLATE/2_feature_request.yml b/.github/ISSUE_TEMPLATE/2_feature_request.yml new file mode 100644 index 0000000..fe808a5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_feature_request.yml @@ -0,0 +1,35 @@ +name: 🚀 Feature Request +description: Submit a feature request (but only if you're planning on implementing it) +body: + - type: markdown + attributes: + value: | + Please only submit feature requests if you plan on implementing the feature yourself. + See the [contributing code documentation](https://docs.silverstripe.org/en/contributing/code/#make-or-find-a-github-issue) for more guidelines about submitting feature requests. + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of the new feature, and why it belongs in core + validations: + required: true + - type: textarea + id: more-info + attributes: + label: Additional context or points of discussion + description: | + *Optional: Any additional context, points of discussion, etc that might help validate and refine your idea* + - type: checkboxes + id: validations + attributes: + label: Validations + description: "Before submitting the issue, please confirm the following:" + options: + - label: You intend to implement the feature yourself + required: true + - label: You have read the [contributing guide](https://docs.silverstripe.org/en/contributing/code/) + required: true + - label: You strongly believe this feature should be in core, rather than being its own community module + required: true + - label: You have checked for existing issues or pull requests related to this feature (and didn't find any) + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..f765200 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Security Vulnerability + url: https://docs.silverstripe.org/en/contributing/issues_and_bugs/#reporting-security-issues + about: ⚠️ We do not use GitHub issues to track security vulnerability reports. Click "open" on the right to see how to report security vulnerabilities. + - name: Support Question + url: https://www.silverstripe.org/community/ + about: We use GitHub issues only to discuss bugs and new features. For support questions, please use one of the support options available in our community channels. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..0e44db1 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,39 @@ + +## Description + + +## Manual testing steps + + +## Issues + +- # + +## Pull request checklist + +- [ ] The target branch is correct + - See [picking the right version](https://docs.silverstripe.org/en/contributing/code/#picking-the-right-version) +- [ ] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting) + - Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR. +- [ ] The commit messages follow our [commit message guidelines](https://docs.silverstripe.org/en/contributing/code/#commit-messages) +- [ ] The PR follows our [contribution guidelines](https://docs.silverstripe.org/en/contributing/code/) +- [ ] Code changes follow our [coding conventions](https://docs.silverstripe.org/en/contributing/coding_conventions/) +- [ ] This change is covered with tests (or tests aren't necessary for this change) +- [ ] Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release +- [ ] CI is green From d8d9808efac9c294b52d38e58807ec051483eb87 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:46:39 +0000 Subject: [PATCH 6/6] Bump cross-spawn from 7.0.3 to 7.0.6 Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b43de54..f22b25c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2299,9 +2299,9 @@ cosmiconfig@^9.0.0: parse-json "^5.2.0" cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: path-key "^3.1.0" shebang-command "^2.0.0"