Saravanan666/pypi-org huggingface dataset:
Package: redturtle.catalogmount
OverviewSmall package which helps mount portal_catalog in separate ZODB. Install threw
portal_quickinstaler.This small package unpickles your existing portal_catalog and creates new
mounting point in the new storage.InstalationAddredturtle.catalogmountto the list of eggs to install, e.g.:[buildout]
...
eggs =
...
redturtle.catalogmountAdd new storage for your zeo, e.g.:[zeoserver]
recipe = plone.recipe.zope2zeoserver
...
zeo-conf-additional =
<filestorage 2>
path ${buildout:directory}/var/filestorage/CatalogData.fs
</filestorage>And new mount-point for zeoclient, e.g.:[zeo-instance1]
...
zope-conf-additional =
<zodb_db catalog>
mount-point /plone/portal_catalog
container-class Products.CMFPlone.CatalogTool.CatalogTool
<zeoclient>
server ${zeoserver:zeo-address}
storage 2
name catalogstorage
var ${buildout:parts-directory}/instance1/var
cache-size 400MB
</zeoclient>
</zodb_db>where/plone/portal_catalogis the path to your portal_catalog.Re-run buildout, e.g. with:$ ./bin/buildoutChangelog0.0.3 - 04/03/2009fix problem with zcml0.0.2 - 03/03/2009fix small problems with using PloneQueueCatalog0.0.1 - 02/03/2009dev release.Author & ContactAuthor:Andrew Mleczko <andrew.mleczko@redturtle.net>RedTurtle Technologyhttp://www.redturtle.net
Package: redturtle.chefcookie
Product’s goal is to manage the insertion of tracking codes on the page like analytics, tagmanager, facebook, etc…
This allows to comply with latest gdpr’s indications.The plugin is based on chefcookie js plugin that you can find here:https://github.com/vielhuber/chefcookie/FeaturesIn this first version you can use control panel to configure the plugin.ExamplesThis add-on can be seen in action at the following sites:http://www.unife.it/itTranslationsThis product has been translated intoItalianInstallationInstall redturtle.chefcookie by adding it to your buildout:[buildout]

...

eggs =
    redturtle.chefcookieand then runningbin/buildoutContributeIssue Tracker:https://github.com/RedTurtle/redturtle.chefcookie/issuesSource Code:https://github.com/RedTurtle/redturtle.chefcookieLicenseThe project is licensed under the GPLv2.ContributorsRedTurtle,info@redturtle.itChangelog2.1.0 (2023-05-31)Remove default set cookie
[mamico]Add title to close link also for tech cookies.
[cekk]2.0.1 (2022-11-08)Remove unused python_requires in setup.py
[cekk]2.0.0 (2022-08-16)[BREAKING CHANGE] Store list of accepted_providers in ascii-way. If you update to this version, you need to force re-accept cookies for example using a different prefix.
[cekk]1.0.0 (2022-04-19)Merge analytics and tech cookies labels into functional cookies field.
[cekk]More extensibility for transformers (now you can set a transform for each provider name).
[cekk]Handle recaptcha.
[cekk]policy_url field now can handle multi-language strings.
[cekk]Do not break for iframes without src attribute.
[cekk]0.2.3 (2022-03-24)Add flag to control panel that allow to enable cookie bannerAdd cookie prefix to control panel to control the js plugin optionAllow to select endpoint for consent registryAdd domain whitelist so in case you have site with multiple domain can show
the banner in selected domainAdd matomoSome minor fix to prevent cases where site editor remove configuration lines
partiallyAdd log tracking to new introduced actionsFix problem loading twitter timeline in tile manager from
redturtle.tiles.management
[lucabel]Do not use $ but vanilla javascript for old Plone sites compatibility.
[cekk]0.2.2 (2022-01-27)Align text with label of buttons.Removed cookie_setting_open button when only_technical_cookies is checked.
[eikichi18]0.2.1 (2022-01-11)Fix layers in adapters.
[cekk]0.2.0 (2022-01-11)Add facebook script manually (copied from original chefcookie script).
[cekk]Allow to handle social based on link/script like twitter timeline
[lucabel]0.1.3 (2022-01-10)Remove YouTube unused field.
[cekk]0.1.2 (2022-01-10)Fix accept_iframe loading.
[cekk]0.1.1 (2022-01-10)Fix domain names when saving cookie settings.
[cekk]0.1.0 (2022-01-10)Initial release.
[cekk, lucabel]
Package: redturtle.deletepolicy
IntroductionChange some parts of Plone and make possible for users to delete contents not so easily.The Plone behaviourPlone (Zope) base the power to delete object looking for the “Delete objects” permission oncontainers.
This mean that normally users that can delete contents inside a folder can deleteallcontents.
In our experience, no-one want a workflow that make possibile to users that can’t modify a content, to be able to delete it.This product change the Plone user interface behaviour, hiding the possibility to delete contents when you can’t modify it.How Plone works after the installationFor deleting a content you must have:“Delete objects” permission on the parent folder“Delete objects” permission on the content itselfBeeing able to modify the content (allthe contents) you want to deleteSecurityThis product is mainly targeted on Plone UI and it monkeypatch the low level permission for cutting documents.If you run a task, a 3rd party product or whatever piece of code that delete objects,
this will run with the default Plone permissions (so, only checking the “Delete objects” on containers).AlternativesA very similar product (probably better maintained):collective.deletepermissionAuthorsThis product was developed by RedTurtle Technology team.Changelog2.2.0 (2020-03-06)Conditionally patchBaseBTreeFolder. This give some issues running tests [keul]Fix imports for python3 compatibility
[cekk]2.1.1 (2013-12-16)Do not handlemanage_pasteObjectsanymore. It is a good fix for
Plone, but this was the wrong product (we only care aboutdeletionhere)
[keul]2.1.0 (Unreleased)Fixed low level Archetypes permissions formanage_cutObjectsandmanage_pasteObjects[fdelia]2.0.0 (Unreleased)Plone 4.1 compatibility [fdelia]1.1.0 (2010-12-06)project moved to thecollective[keul]1.0.5 (2010-07-17)added z3c.autoinclude [keul]1.0.4 (2010-06-03)customized the script of cut from folder_contents. Now performs the check that the user can
modify the objects who wants to cut.
[mirco]1.0.3 (2010-04-15)Release on RedTurtle pypi1.0.2Cleaned the egg format1.0.1Bug fixed: the delete object menu voice was always available.Added policy for cut menu voice, like the delete ones you can cut only if you can modify.1.0.0 - UnreleasedInitial release
Package: redturtle.drawio
A simple integration with draw.ioFeaturesAllows to embed draw.io iframes in a special content-typeUsageThere is a new available conten-type where you can insert the iframe embed
code generated from a draw.io project.We use iframe because we encountered some problems with other export formats:svg and images doesn’t support zoomhtml uses an external js resource that is incompatible with Plone5 requirejs structureTranslationsThis product has been translated intoItalianInstallationInstall redturtle.drawio by adding it to your buildout:[buildout]

...

eggs =
    redturtle.drawioand then runningbin/buildoutContributeIssue Tracker:https://github.com/RedTurtle/redturtle.drawio/issuesSource Code:https://github.com/RedTurtle/redturtle.drawioCreditsDeveloped with the support of:Azienda USL FerraraS. Anna Hospital, FerraraAll of them supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.LicenseThe project is licensed under the GPLv2.ContributorsRedTurtle Technology,sviluppoplone@redturtle.itChangelog0.1.0 (2018-07-02)Initial release.
[cekk]
Package: redturtle.externalizelink
ReferenceGeneral accessibility rule used here wastaken from a guidewritten byRegione Emilia RomagnaJavascript code here has been moved to a jQuery environment.IntroductionThe idea behind this is to enable in Plone the ability to open external link in different
browser windows.The right way to do this is to look for therel=”external”attribute on link elements.As far asKupuandTinyMCEdon’t support therelattribute, here we also look for
theclass=”external-link”attribute.Also anchor’stitlewill be changed/completed runtime with a more accessible message that
warn user that a new window will be opened.Changelog0.1.0 alphaInitial release
Package: redturtle.extjs
redturtle.extjsIntroductionA very simple package which helps using extjs in zope (plone) environment.Usage InstructionsSimple include it in the buildout:[instance]
recipe = plone.recipe.zope2instance
eggs =
        ${buildout:eggs}
        ${plone:eggs}
        redturtle.extjs
        ...
zcml =
        redturtle.extjsAnd you can access extjs resources i.e.:++resource++extjs/ext-all.jsCHANGES0.0.3 (2008-12-05)Fix the folder names0.0.2 (2008-12-04)Add source files0.0.1 (2008-12-03)Initial release.CreditsAndrew Mleczko <andrew.mleczko at redturtle.net>RedTurtle Technology
Package: redturtle.faq
Add two new content-types to manage Faqs:FaqFolderFaqThis product is intended to be a Volto extension, so it only provides the content-types (no custom views or styles).Faq content-type hasblocksenabled.Expandable componentFaqFolders have an additional expandable component (@faq-structure) that will return the complete structure of the current context with sub-FaqFolders and Faqs:> curl -i http://localhost:8080/Plone/example-folder/@faq-structure -H 'Accept: application/json'You can also filter faqs querying withSearchableTextindex:> curl -i http://localhost:8080/Plone/example-folder/@faq-structure?SearchableText=foo -H 'Accept: application/json'TranslationsThis product has been translated intoItalianInstallationInstall redturtle.faq by adding it to your buildout:[buildout]

...

eggs =
    redturtle.faqand then runningbin/buildoutContributeIssue Tracker:https://github.com/RedTurtle/redturtle.faq/issuesSource Code:https://github.com/RedTurtle/redturtle.faqLicenseThe project is licensed under the GPLv2.ContributorsRedTurtle Technology,sviluppo@redturtle.itChangelog1.0.1 (2022-01-17)Fix queries to serialize only Faq and FaqFolders.
[cekk]1.0.0 (2021-11-03)Initial release.
[cekk]
Package: redturtle.filesretriever
RedTurtle Files RetrieverUtility view to retrieve massive files from a remote page.ViewThere is an helper view (/files-retriever) that you can call on every Plone folderish context.Files will be saved in that context.Restapi endpointsThere are two endpoints:@files-list (POST): accept an url and some CSS selectors, and returns a list of found links in the page.@save-files (POST): accept a list of urls/titles and will download resources and save them in the current context.TranslationsThis product has been translated intoEnglishItalianInstallationInstall redturtle.filesretriever by adding it to your buildout:[buildout]

...

eggs =
    redturtle.filesretrieverand then runningbin/buildoutContributeIssue Tracker:https://github.com/RedTurtle/redturtle.filesretriever/issuesSource Code:https://github.com/RedTurtle/redturtle.filesretrieverLicenseThe project is licensed under the GPLv2.ContributorsRedTurtle Technology,sviluppo@redturtle.itChangelog1.0.0 (2021-12-27)Initial release.
[cekk]
Package: redturtle.fss
IntroductionThe installation of iw.fss (FileSystemStorage) product in Plone doesn’t enable this storage type
for basic Plone content types.This product simply does this for news, files and images!CreditsMirco Angelini (mirco.angelini AT redturtle DOT net)Luca Fabbri (luca.fabbri AT redturtle DOT net)Changelog1.0.1Removed unused stuff (you don’t need to install this in Plone)Fixed some docs infos.1.0.0 - UnreleasedInitial release
Package: redturtle.gallery
Plone addon that adds a gallery view with a carousel made with slick.FeaturesGallery view: It adds a view calledgallery_viewand it’s appliable to a folder that contains images and to a collection of images. This view renders the images in natural dimensions and at click they open in a modal.Gallery modal: It’s the modal opened by clicking on images inGallery view. It’s a Plone modal made withMockupwith aSlickcarousel inside.ExamplesGallery viewGallery modalTranslationsThis product has been translated intoItalianInstallationInstall redturtle.gallery by adding it to your buildout:[buildout]

...

eggs =
    redturtle.galleryand then runningbin/buildoutDependenciesThis product has been tested on Plone 5.1This add-on requiresplone.app.imaging.CreditsDeveloped with the support ofRegione Emilia Romagna.AuthorsThis product was developed by RedTurtle Technology team.ContributorsRedturtle Dev Team,sviluppoplone@redturtle.itChangelog2.3.0 (2020-07-21)Fixed focus issues on focus trap
[nzambello]2.2.3 (2020-06-25)Removed debug log
[nzambello]2.2.2 (2020-06-25)a11y: fixed focus on slick item and focus trap
[giuliaghisini]2.2.1 (2020-04-21)gallery modal: leaved space for title, handled imgs width/height to fit anyway and be always visible
[nzambello]2.2.0 (2020-03-06)Remove p.a.imaging unneeded dependency.
[cekk]Python 3 compatibility.
[cekk]2.1.0 (2019-02-15)Added description in modal view [nzambello]2.0.3 (2018-07-04)Fixed collective-slick import [pnicolli]Pinned collective-slick >= 0.2.0 [pnicolli]2.0.2 (2018-02-26)Removed internal slick library code and added collective.slick dependency [pnicolli]2.0.1 (2018-01-25)Republish 2.x version, because 2.0.0 somehow had a missing commit [pnicolli]2.0.0 (2018-01-24)[Breaking change] removed js patterns: modal made in vanilla js and imported slick manually [nzambello]1.0.0 (2018-01-11)Fix in template objects [nzambello]Fix js event handling [nzambello]Gallery view: added support for collections of images [nzambello]0.1.5 (2017-12-29)Fix in registry.xml [pnicolli]0.1.4 (2017-12-21)Handled tabs navigation preventing going out of the modal [nzambello]Added close button to avoid mockup modal close button issues [nzambello]Added uninstall profiles [pnicolli]Loading resources bundle only when showing our custom view [pnicolli]0.1.3 (2017-10-13)Added focus on load [nzambello]0.1.2 (2017-10-04)Added dependencies in metadata.xml to programmatically install them on add-on installation [nzambello]0.1.1 (2017-10-03)Fix arrow icon URL [nzambello]0.1.0 (2017-10-03)Initial release.
[RedTurtle]
Package: redturtle.gritterize
A Plone add-on that makes the standard Plone status messages
appear like a Growl notification using thejQuery Gritter plugin.Source code @ GitHubReleases @ PyPIDocumentation @ ReadTheDocsContinuous Integration @ Travis-CIIt transforms the Plone status messages from thisto thisHow it worksIt just works!
If JavaScript is disabled you will have
the standard Plone behaviour.
Test it visiting:http://localhost:8080/Plone/@@test-redturtle-gritterizeInstallationTo installredturtle.gritterizeyou simply addredturtle.gritterizeto the list of eggs in your buildout, run buildout and restart Plone.
Then, installredturtle.gritterizeusing the Add-ons control panel.ConfigurationAt the moment it is really basic,this will change.
You can configure the stickiness and the persistence time (in milliseconds)
by adding a custom a config object to the igritter global object:igritter.config = {
    time: {
      'portalMessage info': 10000,
      'portalMessage warning': 20000,
    }
};According to the matching portal message class the right persistnece time
will be set (in this case 10 seconds for the info ones,
20 for the warning ones).
If the lookup fails the gritter message will be sticky.Adding more gritter messagesFollowing the same approach you can add additional gritter messages
(e.g. you can pop up form validation messages).This is an example:message = jq('.fieldErrorBox');
mygritter = {title: message.parent().find('.widget > span > a').html(),
             text: message.html(),
             class_name: 'portalMessage error',
             target: message,
             remove: false
};
igritter.add_gritter(mygritter);This will take the element with class .fieldErrorBox and try to get info
from the page to fill in the gritter message.If remove is true the orginal error will be removed.
Changelog
=========0.9.3 (2013-09-23)Added a new add_gritter function to allow adding gritter messages unrelated
to plone portal messages
[ale-rt]0.9.2 (2013-09-10)The stickiness and persistence time of the popup can be configured now
(see README.rst)
[ale-rt]0.9.1 (2013-07-30)Fixinig broken release [ale-rt]0.9.0 (2013-07-30)Initial release.
[ale-rt]
Package: redturtle.hide_subtypes
IntroductionIf you are using for any reasonp4a.subtyper, your Plone site will show in every page a not very
nice “Sub-types” menu, even if the menu is empty.This “product” will remove it using a very little jQuery code.You have available 2 different approach:show invisible menu(default)This will show the menu that a CSS given and installed with this product hide.
So the Subtyper menu is always hidden, but Javascript restore it when needed.In this way you will not see “blink” effect in the page.hide visible menuThis seems simpler, just hide the menu when is empty, but this way in every page where
the menu is empty, you’ll see it disappear.To enable this way of handle the menu, just disable thehide_subtypes.cssCSS
inportal_cssTODOAn uninstall Generic setup step.Changelog0.1.0 (2009-12-11)Initial release
Package: redturtle.historymanager
A Plone add-on that …Source code @ GitHubReleases @ PyPICaveat: developed for Plone 3.2.2How it worksIt gives you some management views you can play with to clean your Data.fs
from old versions.InstallationTo installredturtle.historymanageryou simply addredturtle.historymanagerto the list of eggs in your buildout,
to the zcml run buildout
and restart Plone.Available viewshistorymanager-dereferenceCalls the dereference method from Products.CMFEditions.utilities
on the view context and returns the history_idhistorymanager-purge-thisPurge all the revisions for this context.historymanager-purge-thispathPurge all the revisions for the objects in the subtree of context.
It accepts two parameter to limit the effect of this view:portal_type: a string identifying a portal type to be purgeddate_limit: a string that can be converted to a DateTime, e.g.:2013/09/202013/09/20 11:37:04.178 GMT+2historymanager-purge-deletedThis will delete all the revisions for the deleted stuff
Changelog
=========0.9.1 (2021-02-01)Python 3 and Plone 5.2 compatibility fixes
[cillianderoiste]0.9.0 (2014-05-06)Added a loggerCommitting after each history item is cleanedThe cleaning view catches exceptions and logs them
[ale-rt]0.1.2 (2014-03-04)Fix typoDeleting version_id
[ale-rt]0.1.1 (2013-10-16)Fixed OOBTree not initialized
[ale-rt]0.1.0 (2013-10-08)Initial release.
[ale-rt]
Package: redturtle.importer.volto
Plugin forredturtle.importer.baseto migrate old site into a new Volto-enabled site.FeaturesThere is a new adapter forredturtle.importer.basefor content-types withvolto.blocksenabled behavior
that converts rich text from html (TinyMce) to json (DraftJs/blocks).HTML to DraftJs converterFor content-types with blocks enabled, we need to convert old-style HTML text to a DraftJs compatible data structure.The best library to do this, is the officiale one that is only available for Javascript.For that reason, to convert HTML we need to connect to an external tool:https://github.com/RedTurtle/draftjs-converterThis is a nodejs rest api that accept some html and returns its DraftJs converted version.To use this api, we need to set an environment variable with its address in our buildout:environment-vars +=
    ...
    DRAFTJS_CONVERTER_URL http://localhost:3000/html_converterBlocks conversionsEvery piece of a RichText value should be converted into a Volto block element.Some pieces can be converted into a specific block (for example tables, images, embed items).
Other standard html elements are converted into atextblock that contains a DraftJs data structure.We made some assumption when converting text into blocks.Every paragraph is a new blockThis allows editors to move text, insert elements between paragraphs, etc.Images are wrapped into a separate paragraphBefore launching the conversion tool, we wrap every image into a separate paragraph.In this way we can handle them as an “image block” in Volto.Image sizes conversionIn Plone images in text can have also a miniature (images scales in Plone).In Volto, right now, there are only 3 available sizes (S, M, L), so we mapped plone scales into these 3 sizes.Types conversionIf a content-type havevolto.blocksbehavior enabled and atextfield, that field will be converted in blocks.Collectioncontent-types will be converted into aDocumentwith alisting blockwith its criteria filters.Folderswith a default view will be converted into aDocumentcontent-type with these rules for its blocks:If default view is aCollectioncontent-type, we create alisting blockwith its criteria filters.If default view is aDocumentorNews Item, we convert its text into blocks.If the folder doesn’t have a default item as view, we create alisting blockthat shows first level contents.InstallationInstall redturtle.importer.volto by adding it to your buildout:[buildout]

...

eggs =
    redturtle.importer.voltoand then runningbin/buildoutYou don’t have to install it. In this way, after the data migration, you can
remove it from the buildout and everything is clean.ContributeIssue Tracker:https://github.com/collective/redturtle.importer.volto/issuesSource Code:https://github.com/collective/redturtle.importer.voltoCreditsThis product has been developed with some help fromLicenseThe project is licensed under the GPLv2.ContributorsRedTurtle Technology,sviluppoplone@redturtle.itChangelog1.0.0 (2020-12-18)Initial release.
[cekk]
Package: redturtle.jquerybrowser
Tell me what your product doesFeaturesCan be bullet pointsExamplesThis add-on can be seen in action at the following sites:
- Is there a page on the internet where everybody can see the features?DocumentationFull documentation for end users can be found in the “docs” folder, and is also available online athttp://docs.plone.org/foo/barTranslationsThis product has been translated intoKlingon (thanks, K’Plai)InstallationInstall redturtle.jquerybrowser by adding it to your buildout:[buildout]

...

eggs =
    redturtle.jquerybrowserand then runningbin/buildoutContributeIssue Tracker:https://github.com/collective/redturtle.jquerybrowser/issuesSource Code:https://github.com/collective/redturtle.jquerybrowserDocumentation:https://docs.plone.org/foo/barSupportIf you are having issues, please let us know.
We have a mailing list located at:project@example.comLicenseThe project is licensed under the GPLv2.ContributorsRedTurtle Technology,sviluppoplone@redturtle.itChangelog1.0a1 (2016-01-21)Initial release.
[RedTurtle]
Package: redturtle.logoswitch
IntroductionThis package overrides base logo viewlet and allows managers to change portal logo with a simple click, selecting it from a list of available logos.InstallationYou need to add the product to eggs and launch the buildout.buildout.cfg:[instance]
eggs +=
     redturtle.logoswitchAfter that you need to install it from control-panel.UsageThe product creates a folder in portal_skins called “custom-logos” where you can put some images.Logo id is stored in a property in “site_properties” calledlogo_name.To choose the logo, there is a view “@@select-logo” that show all images in that folder.CompatibilityThis product is tested with Plone 3.3.x and 4.2.x.CreditsDeveloped with the support ofRegione Emilia Romagna;Regione Emilia Romagna supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog1.1.0 (2013-07-08)Plone 4 compatibility and refactoring [cekk]added tests [cekk]1.0.2 (2010-03-26)modified title in image tag [cekk]1.0.1 (2010-03-04)added view permission [cekk]1.0.0 (2010-03-01)Initial release