0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-19 12:42:11 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Ferdinand Thiessen
a60a24e61e
refactor(files_trashbin): restore action refactoring
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>
2025-03-11 15:05:44 +01:00
Ferdinand Thiessen
aac5859444
fix(files_trashbin): return correct type in empty trash action
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>
2025-03-11 15:05:44 +01:00
Ferdinand Thiessen
c7014a7cc4
fix(files_trashbin): correctly sort custom columns in trashbin view
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>
2025-03-11 15:05:44 +01:00
Christopher Ng
943023a3f4 feat(trashbin): Allow emptying trash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-12 10:08:38 -08:00
Ferdinand Thiessen
dea5559d35
fix(files_trashbin): Make files view registering an init script
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +02:00
Renamed from apps/files_trashbin/src/main.ts (Browse further)