Git Product home page Git Product logo

batcher's People

Contributors

enigmatic-user avatar gpsietzema avatar joeke avatar jpdevries avatar martinf55 avatar pien-sterc avatar rinzevanderbrug avatar rtripault avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

batcher's Issues

not showingin menu after install

not showingin menu after install
i can see it in settings-menu, but can't see it in user interface of admin panel
modx version 2.8.1

Advanced filter AND and OR options

It would be nice to be able to have multipe advanced filters with AND and OR options. So for example you can have queries like template = 5 AND pagetitle LIKE '%pagetitle%'.
Two buttons on the right in the advanced filter row for AND and OR, clicking on them adds a new row below where you can enter your filter options.

Filter by Context

Feature request to bulk update an entire section using the same template but not across all context.

We have a scenario where we're using Babel for internationalisation with four context, English, Spanish, German and Chinese, across all the contexts there are hundreds of articles but we need to only update the template for the English language section, and leave the other three contexts with the old template.

Being able to filter by context would be useful for a situation like this.

Improve filter function in resources tab + create advanced filter

In the current situation there's not a lot of room for all the filter options. My proposed solution:
2 rows with filter options:
first row: {bulk actions} {published} {context_key} {search text field} { x (clear filter) }
second row: {field dropdown} {filter type} {value}

The second row is hidden by default, and can be activated by clicking on a 'Advanced filter' button on the right side.

  • Fix layout [6]
  • Advanced filter [8] >> query processor: Flowan
  • Change clear button to cross [1]

bug version 2.0.0

when I update from version 1 to version 2.0.0, I see bug:
empty tab resources in Batcher.
In console js error: "Uncaught SyntaxError: Unexpected token <"

When trying to search for a filter js error "Uncaught SyntaxError: Unexpected token <"

request for change of 'container' option value

From: splittingred#26

Occasionally we run in to the need to turn off the container checkbox on a mass amount of resources. Honestly I just wish that after you removed children from a parent that the container checkbox as disabled by default in MODx. However if we could do this in Batcher that would help a lot!

Tested in MODX3

Batcher

Tested version: 2.0.0-pl

On MODX 3 version: git install from 06-03-2021

Installation

Console running...
Attempting to install package with signature: batcher-2.0.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
modx.modNamespace is deprecated since version 3.0. Replace references to class modx.modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modNamespace is deprecated since version 3.0. Replace references to class modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modNamespace is deprecated since version 3.0. Replace references to class modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modx.modCategory is deprecated since version 3.0. Replace references to class modx.modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modCategory is deprecated since version 3.0. Replace references to class modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modCategory is deprecated since version 3.0. Replace references to class modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modSystemSetting is deprecated since version 3.0. Replace references to class modSystemSetting with MODX\Revolution\modSystemSetting to take advantage of PSR-4 autoloading.
modSystemSetting is deprecated since version 3.0. Replace references to class modSystemSetting with MODX\Revolution\modSystemSetting to take advantage of PSR-4 autoloading.
[Batcher] batcher.user_name setting could not be found, so the setting could not be changed.
[Batcher] batcher.user_email setting could not be found, so the setting could not be changed.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Could not find legacy class modTransportPackage after converting to MODX\Revolution\modTransportPackage
Could not load class: modTransportPackage from mysql.modtransportpackage
Could not get table name for class:
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Error 42000 executing statement: Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS `latestPackage` WHERE `latestPackage`.`package_name` = `modTransp' at line 3 )
modx.modMenu is deprecated since version 3.0. Replace references to class modx.modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
modMenu is deprecated since version 3.0. Replace references to class modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
modMenu is deprecated since version 3.0. Replace references to class modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
Successfully installed package batcher-2.0.0-pl

Basic usage

The add-on is installed, visually works. But when checking the functionality, nothing is applied. The demo video is presented at the link.

Kitchen sink test

Go through the different features it offers (i.e. different ways of using a snippet or settings)

Error log

Video: https://yadi.sk/d/2jDrdPJ6N6ZS5Q

[2021-03-06 20:12:43] (WARN @ /Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/filters/getlist.class.php : 20) PHP notice: Undefined variable: excludeArray
2021-03-06 20:13:03] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changetemplate", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changetemplate.class.php"
[2021-03-06 20:13:10] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changetemplate", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changetemplate.class.php"
[2021-03-06 20:16:26] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changeparent", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changeparent.class.php"
[2021-03-06 20:16:38] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changedates", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changedates.class.php"

and etc error

Information from developer

NA

Verdict

needs work

Usability improvement: provide feedback

If you don't check any box and try to perform an action, nothing wil happen. The actions won't be clickable. It'll be impossible to perform an action, but no feedback is provided. In the context of usability, it would be nice to provide a message like: 'Please select a resource to perform the action on first!'. This would especially improve first-time user experiences.

Add batch create multiple resources/elements

Add a button 'batch create' or 'create multiple', which opens a window with the following fields:

  • template combobox
  • parent combobox
  • published checkbox
  • hide from menu checkbox
  • class_key combobox
  • textarea, where each newline represents pagetitle for a new resource object with the above fields

[16]

No Longer able to batch change TV values

From: splittingred#30

When trying to batch change the TV values of a specific template the area where options are meant to be selectable nothing appears.

Checked broswer console and there aren't any error messages. Tried in Safari, Firefox and Chrome. Disabled AdBlock as well.

MODX 2.2.14-pl traditional + Batcher 1.1.1 + PHP 5.4.25

[0.25]

Updating TVs

From: splittingred#10

Ability to update the values of TV of resources. Specially when it is a new TV that is going to be applied to a lot of docs or all of them, right now we need to go to each resource and change the TV. Or write a snippet to do it automatically. Would be great to do it in batcher bulk mode...

Reference: http://modxcms.com/forums/index.php?topic=56123

double quotes in pagetitle result in a blank screen

from: splittingred#12

to reproduce this:

  1. create a template
  2. create a resource using that template and double quotes " in the pagetitle
  3. go to batcher > templates tab
  4. check your template
  5. choose Change TV Values

voilá - there went batcher :)

Tested in latest Chrome, Safari & FF4.
btw single quotes ' in the pagetitle are fine.

[1]

Edited on Date display incorrect

The edited on is showing 0NaN-NaN-NaN 12:NaN pm

This issue appears on all my modx installs across multiple server (shared hosting, mjodxcloud). While I am currently using only modx 2.6.5 and 2.7.0, I have seen it on earlier versions.

See attached image:
batcher-edited-on-date

Add import/export ability for resources/elements

Add an export button to save the selected resources/elements to a json file, and an accompanying import button to import from a json file. Also includes related objects (for example TV values or resourcegroups of a resource).
Import function has to have some logic for checking if the objects exist, by checking for duplicate ID's and giving the user the ability to overwrite, merge or create new.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.