Skip to content

Commit

Permalink
MNT Update meta files after migrating repo to silverstripe org (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Nov 13, 2024
1 parent d3e26b2 commit d2c91c6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
30 changes: 10 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -19,18 +17,23 @@ 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
$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);
```
Expand All @@ -40,24 +43,11 @@ 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
$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)
11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit d2c91c6

Please sign in to comment.