aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src/files-init.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(files_trashbin): restore action refactoringFerdinand Thiessen2025-03-111-2/+4
| | | | | | | 1. do not rely on magic string but use constant ID for trashbin view 2. add unit tests for restore action Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_trashbin): return correct type in empty trash actionFerdinand Thiessen2025-03-111-12/+3
| | | | | | | | | 1. correctly return null instead of void in empty trash action 2. use constant instead of magic value for action ID 3. add unit tests for empty trash action 4. add unit tests for trashbin api Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_trashbin): correctly sort custom columns in trashbin viewFerdinand Thiessen2025-03-111-18/+2
| | | | | | | | | | | 1. Refactor to make code better testable (move columns and view source to `files_views` folder) 2. Fix deletion time fallback (JS Date vs unix timestamp for "delted"-column) 3. Correctly sort `deletedBy` and `originalLocation` columns to use natural sort like any other column 4. Add unit tests for columns and views Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(trashbin): Allow emptying trashChristopher Ng2024-12-121-1/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files_trashbin): Make files view registering an init scriptFerdinand Thiessen2024-06-231-0/+36
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>