Skip to main content

Batch Search and Replace

Project description

Introduction

https://secure.travis-ci.org/collective/collective.searchandreplace.png?branch=master

The collective.searchandreplace product is a Plone Add-on designed to find and replace text in Plone content objects, namely titles, descriptions, and document text. It operates over single or multiple Plone content objects and can show a preview of changes as well as immediately perform them.

Optional features include being able to control searching in subfolders, and matching based on case sensitivity/insensitivity.

Note: since version 6.0, we search and replace only items that implement the ISearchReplaceable interface. Since this version, this interface can be set on dexterity content types using a behavior. Note that when you enable or disable this interface on a content type, either through the web or in code, you should reindex the object_provides index in the portal_catalog.

Compatibility

From collective.searchandreplace version 5.0, we are compatible with Plone 4.3 and 5.0.

The collective.searchandreplace product was initally built for use with eduCommons by Novell, inc, later improved by EnPraxis. It is currently maintained by Maurits van Rees. Plone 5 support added by Gagaro.

Changelog

6.0.3 (2016-02-15)

  • Allowed replacing with an empty string. Fixes #13. [maurits]

  • Fix ensure we get the attributes of the base object in _getRawText. [Gagaro]

6.0.2 (2016-02-08)

  • In SearchAndReplace.pot added the ability to translate configure.zcml , searchreplacetable.pt. Added Russian translation.

6.0.1 (2016-01-16)

  • Added Russian translations. [serge73]

6.0 (2015-11-30)

  • Added a behavior to add ISearchReplaceable on Dexterity content types. Also added a profile to set this behavior on some content types. [Gagaro]

  • Only search and replace contents with the ISearchReplaceable interface. [Gagaro]

5.1 (2015-10-27)

  • Required plone.app.textfield in setup.py. [maurits]

5.0 (2015-10-27)

  • Compatibility with Plone 5 and Dexterity content types. [Gagaro]

4.2 (2015-06-22)

  • Fix translation string of status message when replacing. [maurits]

  • Nicer message when immediately replacing all text without preview. [maurits]

4.1 (2015-05-05)

  • Add Travis badge. [maurits]

4.0 (2015-04-30)

  • Check if the user has the Modify portal content permission for each item. Ignore items for which this is not the case. [maurits]

  • Add separate permission for showing the action. This makes it easier to restrict usage of Search and Replace if wanted. By default the same roles have this permission as for the standard ‘Modify portal content’ permission. Added upgrade steps for this. Permission title is: ‘collective.searchandreplace: Use Search And Replace’. [maurits]

  • Fix i18n. Use SearchAndReplace domain everywhere. Update po files. [maurits]

  • Hide ‘search subfolders’ option for items that are not folderish or a default page. [davisagli]

  • Also support ‘search subfolders’ for default pages. [davisagli]

  • Use the unicode value stored in the Archetypes BaseUnit to avoid UnicodeDecodeErrors when the BaseUnit’s encoding is not utf8. [davisagli]

  • Enable searching the entire site. [davisagli]

  • Cleanup. Fix tests. Add buildout for testing with Plone 4.3. [maurits]

  • Include permissions from CMFCore, to avoid possible startup problems. [maurits]

  • Make the plugin appears in quick installer [ivanteoh]

  • Support unicode [ivanteoh]

  • Fix the total of replaced instances [ivanteoh]

3.1

  • Updated translation files [blambert555]

  • Added updated Spanish translation [blambert555]

  • Added updated Brazilian Porteguese translations [blambert555]

2.0/2.1

  • Updated for Plone 4. All forms and functionality completely refactored and brought up to date. [blambert555]

1.0.1

  • Updating licensing information

1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.searchandreplace-6.0.3.tar.gz (32.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page