Skip to content

Commit

Permalink
Remove plone.tiles and the @tiles endpoint (#1688)
Browse files Browse the repository at this point in the history
* Remove plone.tiles

* Run tests on py 3.9

* Update news/1308.breaking

Co-authored-by: Steve Piercy <web@stevepiercy.com>

* Add upgrade guide section

---------

Co-authored-by: Steve Piercy <web@stevepiercy.com>
  • Loading branch information
tisto and stevepiercy committed Aug 25, 2023
1 parent 1c08b5c commit eac02a7
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 345 deletions.
1 change: 0 additions & 1 deletion docs/source/endpoints/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ roles
searching
site
system
tiles
transactions
translations
tusupload
Expand Down
94 changes: 0 additions & 94 deletions docs/source/endpoints/tiles.md

This file was deleted.

8 changes: 8 additions & 0 deletions docs/source/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ In `plone.restapi` 9.0.0, the following response would be returned with a `breac
]
```

Pull Request: https://github.com/plone/plone.restapi/pull/1636

### Remove plone.tiles and the @tiles endpoint

`plone.restapi` 9 removed the @tiles endpoint and removed the dependency to plone.tiles. The @tiles endpoint was deprecated since `plone.restapi` 8.

Pull Request: https://github.com/plone/plone.restapi/pull/1688

## Upgrading to `plone.restapi` 8.x

`plone.restapi` 8.x dropped support for Python 2 and Plone 5.1 and 4.3.
Expand Down
1 change: 1 addition & 0 deletions news/1308.breaking
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove `plone.tiles` and the `@tiles` endpoint. @tisto
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def read(filename):
"plone.app.testing [robot] >= 4.2.2", # ROBOT_TEST_LEVEL added
"plone.api",
"requests",
"plone.tiles",
"mock",
]

Expand Down
5 changes: 0 additions & 5 deletions src/plone/restapi/serializer/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@
<adapter factory=".discussion.ConversationSerializer" />
<adapter factory=".discussion.CommentSerializer" />

<configure zcml:condition="installed plone.tiles">
<adapter factory=".tile.TileSummarySerializeToJson" />
<adapter factory=".tile.TileSerializeToJson" />
</configure>

<include package=".controlpanels" />

<!-- Summary Serializer Metadata -->
Expand Down
72 changes: 0 additions & 72 deletions src/plone/restapi/serializer/tile.py

This file was deleted.

4 changes: 0 additions & 4 deletions src/plone/restapi/services/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@
package=".email_send"
zcml:condition="have plone-5"
/>
<include
package=".tiles"
zcml:condition="installed plone.tiles"
/>
<include
package=".rules"
zcml:condition="installed plone.app.contentrules"
Expand Down
Empty file.
14 changes: 0 additions & 14 deletions src/plone/restapi/services/tiles/configure.zcml

This file was deleted.

61 changes: 0 additions & 61 deletions src/plone/restapi/services/tiles/get.py

This file was deleted.

93 changes: 0 additions & 93 deletions src/plone/restapi/tests/test_services_tiles.py

This file was deleted.

0 comments on commit eac02a7

Please sign in to comment.