Skip to content

Commit

Permalink
Show which pages will have broken links if you would delete an item. (#…
Browse files Browse the repository at this point in the history
…5234)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
  • Loading branch information
jaroel and sneridagh committed Nov 13, 2023
1 parent 22f9f30 commit 2c56519
Show file tree
Hide file tree
Showing 21 changed files with 402 additions and 331 deletions.
16 changes: 0 additions & 16 deletions README.md
Expand Up @@ -113,22 +113,6 @@ On Plone 5, Volto is currently tested with the following packages pinned to spec
- plone.rest 2.0.0a5
- plone.volto 4.0.0a13

This would be the docker command to spawn a Plone 5 container with the right KGS versions:

```shell
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="plone.restapi==8.30.0 plone.volto==4.0.0a13 plone.rest==2.0.0a5 plone.app.iterate==4.0.2 plone.app.vocabularies==4.3.0" -e PROFILES="plone.volto:default-homepage" plone/plone-backend
```

### Start Volto

```shell
yarn start
```

### Browsing

Go to [http://localhost:3000](http://localhost:3000) in your browser.

## Volto in Production

Volto is actively developed since 2017 and used in production since 2018 on the following websites:
Expand Down
5 changes: 3 additions & 2 deletions api/buildout.cfg
Expand Up @@ -16,8 +16,9 @@ show-picked-versions = true

[sources]
plone.volto = git https://github.com/plone/plone.volto.git branch=main
plone.rest = git git@github.com:plone/plone.rest.git branch=master
plone.restapi = git https://github.com/plone/plone.restapi.git pushurl=git@github.com:plone/plone.restapi.git branch=master
plone.rest = git git@github.com:plone/plone.rest.git branch=main
plone.restapi = git https://github.com/plone/plone.restapi.git pushurl=git@github.com:plone/plone.restapi.git branch=main
plone.app.linkintegrity = git https://github.com/plone/plone.app.linkintegrity.git pushurl=git@github.com:plone/plone.app.linkintegrity.git branch=master

[instance]
recipe = plone.recipe.zope2instance
Expand Down
2 changes: 1 addition & 1 deletion cypress/tests/core/basic/content.js
Expand Up @@ -87,7 +87,7 @@ describe('Add Content Tests', () => {
cy.findByLabelText('/my-page').children('td').eq(1).click();

cy.get('.top-menu-menu .delete').click();
cy.get('.modal.active').contains('View broken links list');
cy.get('.modal.active').contains('View links and references to this item');
cy.get('.actions').contains('Delete').click();
});

Expand Down
20 changes: 10 additions & 10 deletions locales/ca/LC_MESSAGES/volto.po
Expand Up @@ -983,6 +983,11 @@ msgstr ""
msgid "Deleted"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3575,11 +3580,6 @@ msgstr "Aquesta és una còpia de treball de {title}"
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3988,16 +3988,16 @@ msgstr "URL del vídeo"
msgid "View"
msgstr "veure"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Veure els canvis"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/de/LC_MESSAGES/volto.po
Expand Up @@ -980,6 +980,11 @@ msgstr ""
msgid "Deleted"
msgstr "Gelöscht"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3572,11 +3577,6 @@ msgstr "Das ist eine Arbeitskopie von {title}"
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3985,16 +3985,16 @@ msgstr "Video URL"
msgid "View"
msgstr "Anzeigen"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Änderungen anzeigen"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/en/LC_MESSAGES/volto.po
Expand Up @@ -974,6 +974,11 @@ msgstr ""
msgid "Deleted"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3566,11 +3571,6 @@ msgstr ""
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3979,16 +3979,16 @@ msgstr ""
msgid "View"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/es/LC_MESSAGES/volto.po
Expand Up @@ -985,6 +985,11 @@ msgstr ""
msgid "Deleted"
msgstr "Eliminado"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3577,11 +3582,6 @@ msgstr "Es una copia de trabajo de {title}"
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3990,16 +3990,16 @@ msgstr "URL del vídeo"
msgid "View"
msgstr "Ver"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Mostrar los cambios"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/eu/LC_MESSAGES/volto.po
Expand Up @@ -981,6 +981,11 @@ msgstr ""
msgid "Deleted"
msgstr "Ezabatuta"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3573,11 +3578,6 @@ msgstr "Hau {title} elementuaren lan-bertsioa da"
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3986,16 +3986,16 @@ msgstr "Bideoaren URLa"
msgid "View"
msgstr "Ikusi"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Aldaketak ikusi"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/fi/LC_MESSAGES/volto.po
Expand Up @@ -985,6 +985,11 @@ msgstr ""
msgid "Deleted"
msgstr "Poistettu"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3577,11 +3582,6 @@ msgstr ""
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3990,16 +3990,16 @@ msgstr "Videon URL"
msgid "View"
msgstr "Näytä"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Näytä muutokset"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/fr/LC_MESSAGES/volto.po
Expand Up @@ -991,6 +991,11 @@ msgstr ""
msgid "Deleted"
msgstr "Supprimé"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3583,11 +3588,6 @@ msgstr "Il sagit d'une copie de travail de {title}"
msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -3996,16 +3996,16 @@ msgstr "URL de la vidéo"
msgid "View"
msgstr "Vue"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Voir les changements"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down

0 comments on commit 2c56519

Please sign in to comment.