Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
98b71c6
Add Recycle Bin control panel and settings configuration
rohnsha0 Apr 27, 2025
cfc8268
Implement Recycle Bin functionality with management views and settings
rohnsha0 Apr 27, 2025
6975cb1
Add Recycle Bin action to actions.xml
rohnsha0 Apr 27, 2025
1f422c1
lint
rohnsha0 Apr 27, 2025
888bce1
Remove obsolete recycle bin event handler code
rohnsha0 Apr 27, 2025
3f00ff4
changelog
rohnsha0 Apr 27, 2025
41e0ef1
add tests
rohnsha0 Apr 27, 2025
1f583e0
Fix action index in test cases for adding and changing category in Ac…
rohnsha0 Apr 27, 2025
0891626
Refactor button classes in recycle bin template for consistency
rohnsha0 Apr 28, 2025
4bd455b
remove dedundant format_date logic
rohnsha0 Apr 28, 2025
453c37e
ui cleanup
rohnsha0 Apr 28, 2025
a7e585c
Apply suggestions from code review
rohnsha0 Apr 29, 2025
280386b
implement z3c.form
rohnsha0 Apr 29, 2025
f667d2e
fix(recyclebin): added support for discussions
rohnsha0 Apr 30, 2025
53aa84b
feat(recyclebin): enhance comment tree handling with meaningful titles
rohnsha0 Apr 30, 2025
8eba321
lint
rohnsha0 Apr 30, 2025
dbe61af
Refactor(recyclebin): rename module and update interface references
rohnsha0 Apr 30, 2025
53a7c95
refactor(recyclebin): simplify initialization and context retrieval i…
rohnsha0 May 1, 2025
e975783
fix(recyclebin): simplify error handling in content removal by allowi…
rohnsha0 May 1, 2025
ce3d597
fix(recyclebin): add conditions to actions.xml and update icon
rohnsha0 May 1, 2025
751d1f6
refactor(recyclebin): replace PersistentMapping with RecycleBinStorag…
rohnsha0 May 1, 2025
b49437e
fix(recyclebin): avoid copying and sorting objects
rohnsha0 May 1, 2025
63b2e40
fix(recyclebin): fix broken link to itemView
rohnsha0 May 1, 2025
62e4959
feat(recyclebin): enhance child item handling in recycle bin with res…
rohnsha0 May 1, 2025
27f7c51
Update Products/CMFPlone/recyclebin.py
rohnsha0 May 1, 2025
f11941d
fix(recyclebin): update retention period handling and remove auto pur…
rohnsha0 May 1, 2025
c7155e2
fix(recyclebin): set recycling_enabled to False and remove auto purge…
rohnsha0 May 1, 2025
b6095ec
lint
rohnsha0 May 1, 2025
90357f3
fix(recyclebin): improve restore logic to prevent ID collisions and p…
rohnsha0 May 2, 2025
d7ec6b5
fix(tests): replace heavily mocked tests
rohnsha0 May 2, 2025
e5bbe55
lint
rohnsha0 May 2, 2025
77eb393
feat(recyclebin): add workflow history tracking for deletion and rest…
rohnsha0 May 3, 2025
2365775
refactor(recyclebin): cleanup
rohnsha0 May 3, 2025
6c7b47c
refactor(recyclebin): lint
rohnsha0 May 3, 2025
9a821f8
feat(recyclebin): add search functionality for recycle bin items
rohnsha0 May 3, 2025
b0ced59
fix(recyclebin): search results to include matching child items
rohnsha0 May 3, 2025
465cc31
feat(recyclebin): add sorting and filtering options to the recycle bi…
rohnsha0 May 3, 2025
2a40103
feat(recyclebin): enhance search and filter functionality with improv…
rohnsha0 May 3, 2025
d1aedbc
feat(recyclebin): enhance UI for recycle bin and item details with im…
rohnsha0 May 3, 2025
cb27593
refactor(recyclebin): remove shadow from cards, update button styles …
rohnsha0 May 3, 2025
3324a3d
fix(recyclebin): failing tests
rohnsha0 May 3, 2025
b76ba40
Apply suggestions from code review
rohnsha0 May 4, 2025
4ec57d7
feat(recyclebin): add comments tree display and functionality to recy…
rohnsha0 May 4, 2025
7b5e884
feat(recyclebin): refactor orphaned comment handling and improve size…
rohnsha0 May 4, 2025
62e4ca3
feat(recyclebin): disable sidebar
rohnsha0 May 4, 2025
15d0b1e
apply suggestions
rohnsha0 May 4, 2025
cf21966
feat(recyclebin): remove icons and improve spacing in recycle bin tem…
rohnsha0 May 5, 2025
b265e59
feat(recyclebin): cleaned up date/size formatting implementations, re…
rohnsha0 May 5, 2025
50bdc05
feat(recyclebin): refactor recycle bin forms and enhance item restora…
rohnsha0 May 5, 2025
4371c1f
refactor(recyclebin): moved interfaces to plone.base https://github.c…
rohnsha0 May 6, 2025
b1ea2e5
feat(recyclebin): enhance internationalization support in recycle bin…
rohnsha0 May 6, 2025
80aa77f
feat(recyclebin): refactor forms to utilize z3c.form patterns and imp…
rohnsha0 May 6, 2025
0a043c5
refactor(recyclebin): cleanup
rohnsha0 May 6, 2025
40cba75
apply suggestions
rohnsha0 May 6, 2025
67a551c
feat(recyclebin): enhance redirect logic for restored items by append…
rohnsha0 May 6, 2025
fe504a3
fix(recyclebin): lint
rohnsha0 May 6, 2025
4ad5ebb
feat(recyclebin): add process_children parameter to add_item for opti…
rohnsha0 May 9, 2025
cd25d23
lint
rohnsha0 May 9, 2025
bd4f60f
fix(recyclebin): improve error message for missing target location du…
rohnsha0 May 11, 2025
a3f7a4a
fix(recyclebin): dont break when checking is_enabled-recyclebin while…
rohnsha0 May 30, 2025
b428115
Remove Acquisition wrapper from object when storing it in the recycle…
davisagli Jun 17, 2025
9c40132
fix(recyclebin): fix childrens not being purged for folders
rohnsha0 Jun 17, 2025
a11400c
[RECYCLE BIN] Fixes broken redirection after restoration and handle v…
rohnsha0 Aug 25, 2025
14c5189
fix(recyclebin): add restore_to_initial_state setting and implement w…
rohnsha0 Sep 20, 2025
e360156
feat(recyclebin): add RestoreContainers vocabulary and update restore…
rohnsha0 Sep 20, 2025
7197e73
refactor(recyclebin): remove RestoreContainers vocabulary implementat…
rohnsha0 Sep 20, 2025
eaed94e
feat(recyclebin): add image preview functionality for recycled items
rohnsha0 Sep 21, 2025
95b9e9f
feat(recyclebin): add 'deleted by' field to track user responsible fo…
rohnsha0 Sep 21, 2025
4c34bae
feat(recyclebin): add children count display for items in recycle bin
rohnsha0 Sep 21, 2025
3957cb6
feat(recyclebin): add workflow state display and sorting options for …
rohnsha0 Sep 21, 2025
515517e
feat(recyclebin): add date range filtering functionality for recycled…
rohnsha0 Sep 21, 2025
375d941
feat(recyclebin): add 'deleted by' filter functionality to recycle bi…
rohnsha0 Sep 21, 2025
3928bf5
feat(recyclebin): add filter for items with or without sub-items in r…
rohnsha0 Sep 21, 2025
afe5871
feat(recyclebin): add language filter functionality to recycle bin view
rohnsha0 Sep 21, 2025
a22dc99
feat(recyclebin): add workflow state filtering functionality to recyc…
rohnsha0 Sep 21, 2025
4087c6f
refactor(recyclebin): workflow state management in recycle bin views
rohnsha0 Sep 21, 2025
9444046
feat(recyclebin): enhance earch and Filter section element design
rohnsha0 Sep 21, 2025
d1f50c0
refactor(recyclebin): linting
rohnsha0 Sep 21, 2025
44bd500
fix(recyclebin): tests
rohnsha0 Sep 21, 2025
3c2b0ee
refactor(recyclebin): rename recycle bin control panel identifiers fo…
rohnsha0 Sep 22, 2025
a0519bd
refactor(recyclebin): add IRecycleBinForm and IRecycleBinItemForm bac…
rohnsha0 Sep 22, 2025
5fe4be5
refactor(recyclebin): delegate comment restoration to plone.app.discu…
rohnsha0 Sep 22, 2025
ded42bd
feat(recyclebin): implement pagination and batch navigation for recyc…
rohnsha0 Sep 23, 2025
50a9c13
refactor(recyclebin): replace hardcoded confirmation message with tra…
rohnsha0 Sep 23, 2025
608ae2d
Revert "refactor(recyclebin): replace hardcoded confirmation message …
rohnsha0 Sep 23, 2025
faac15f
refactor(recyclebin): enhance confirmation message handling for empty…
rohnsha0 Sep 23, 2025
c3308dc
refactor(recyclebin): update sub-items filter implementation and remo…
rohnsha0 Sep 23, 2025
5c5fb13
refactor(recyclebin): simplify workflow state retrieval by removing o…
rohnsha0 Sep 23, 2025
49f0840
refactor(recyclebin): enhance workflow state title retrieval by addin…
rohnsha0 Sep 23, 2025
6e658b4
refactor(recyclebin): optimize URL parameter handling by switching fr…
rohnsha0 Sep 23, 2025
7793729
refactor(recyclebin): improve date filter handling by adding string r…
rohnsha0 Sep 23, 2025
c9d7c6d
refactor(recyclebin): remove obsolete content title retrieval logic i…
rohnsha0 Sep 23, 2025
b0aab88
refactor(recyclebin): streamline sorting logic in RecycleBinView usin…
rohnsha0 Sep 23, 2025
140d39d
fix(recyclebin): improve error when sorting with workflow with unknow…
rohnsha0 Sep 23, 2025
1677b2f
feat(recyclebin): persist changes to ZODB when removing child items i…
rohnsha0 Sep 23, 2025
785ac1b
refactor(recyclebin): remove redundant workflow state information add…
rohnsha0 Sep 23, 2025
c023918
refactor(recyclebin): simplify child retrieval logic in RecycleBinIte…
rohnsha0 Sep 23, 2025
81a4ab8
refactor(recyclebin): remove unused parent existence check from Recyc…
rohnsha0 Sep 23, 2025
8aa317b
refactor(recyclebin): remove image preview functionality from recycle…
rohnsha0 Sep 23, 2025
5fff09b
refactor(recyclebin): lint
rohnsha0 Sep 23, 2025
807e5f7
refactor(recyclebin): remove comment handling logic from RecycleBin a…
rohnsha0 Sep 24, 2025
a3beff7
refactor(recyclebin): update logger initialization to use __name__ fo…
rohnsha0 Sep 26, 2025
d93ff51
refactor(recyclebin): simplify index removal logic in RecycleBinStorage
rohnsha0 Sep 26, 2025
fd90f28
refactor(recyclebin): streamline index removal logic in RecycleBinSto…
rohnsha0 Sep 26, 2025
060ac90
refactor(recyclebin): simplify index addition logic in RecycleBinStor…
rohnsha0 Sep 26, 2025
e8fa361
refactor(recyclebin): remove redundant title retrieval logic in Recyc…
rohnsha0 Sep 26, 2025
3abcb61
refactor(recyclebin): remove children_count updates and simplify asse…
rohnsha0 Sep 26, 2025
192b421
refactor(recyclebin): enforce IContentish validation for added items …
rohnsha0 Sep 26, 2025
821a172
refactor(recyclebin): simplify child processing logic by removing red…
rohnsha0 Sep 26, 2025
c4de37e
refactor(recyclebin): streamline get_items method by simplifying item…
rohnsha0 Sep 26, 2025
f81048c
refactor(recyclebin): replace string literals with PloneMessageFactor…
rohnsha0 Sep 26, 2025
fd96bdd
refactor(recyclebin): improve error handling in restore_item method b…
rohnsha0 Sep 28, 2025
4bc1d40
refactor(recyclebin): simplify existing object handling in _handle_ex…
rohnsha0 Sep 29, 2025
e7fd867
refactor(recyclebin): implement clear method to remove all items from…
rohnsha0 Sep 29, 2025
b695df1
fix(recyclebin): tests
rohnsha0 Sep 29, 2025
22e3c43
refactor(recyclebin): lint
rohnsha0 Sep 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2966.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added recycle bin feature. @rohnsha0
22 changes: 22 additions & 0 deletions src/Products/CMFPlone/browser/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,26 @@
permission="zope2.View"
/>

<browser:page
name="recyclebin-enabled"
for="plone.base.interfaces.INavigationRoot"
class=".recyclebin.RecycleBinEnabled"
permission="zope2.View"
/>

<browser:page
name="recyclebin"
for="plone.base.interfaces.siteroot.IPloneSiteRoot"
class=".recyclebin.RecycleBinView"
permission="cmf.ManagePortal"
/>

<browser:page
name="recyclebin-item"
for="plone.base.interfaces.siteroot.IPloneSiteRoot"
class=".recyclebin.RecycleBinItemView"
permission="cmf.ManagePortal"
/>


</configure>
Loading
Loading