Bjoern Schiessle
6b7fdda4f5
config switch to disable auto expire for the trash bin
11 years ago
Bjoern Schiessle
ee66db447f
make it possible to select folders
11 years ago
Bjoern Schiessle
8ce3ea3e2c
fix delete files from trash bin
11 years ago
Bjoern Schiessle
5d2299eab8
only create complete share key if we know the exact path
11 years ago
Bjoern Schiessle
f8fcd567a7
move files to owners trash
11 years ago
Georg Ehrke
90fac1f371
replace $path with '/files_trashbin/files/' . $file
12 years ago
Georg Ehrke
feee4b865b
add delete hook for trash bin app
12 years ago
Jörn Friedrich Dreyer
4b3e56bcf9
remove unneccessary lib in namespace
12 years ago
Jörn Friedrich Dreyer
9e39118b52
namespaces use upcasefirst parts
...
when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app
its magic!
12 years ago
Thomas Müller
9b420e8660
use \OC::$server->getPreviewManager() instead of \OCP\Preview
12 years ago
Vincent Petry
1304b511e9
Ajax calls for "files" and "files_trashbin" apps
...
Frontend:
- The files app list now uses ajax calls to refresh the list.
- Added support the browser back button (history API).
- Added mask + spinner while loading file list
Backend:
- Added utility function in core JS for parsing query strings.
- Moved file list + breadcrumb template data code to helper
functions
- Fixed some file paths in trashbin app to be similar to the files app
12 years ago
Bjoern Schiessle
aed71bb420
also move empty folders to the trash bin as discussed here #4590
12 years ago
Bjoern Schiessle
316d9bfed6
the trash bin can also contain empty files. Don't use the trash bin size as indicator to decide if the trash bin is empty or not
12 years ago
Georg Ehrke
2ea8ee6139
add class='preview-icon' in trashbin app as well
12 years ago
Björn Schießle
2c8e5ec84f
user interface to allow user to decrypt all his files once the encryption app was disabled
...
Conflicts:
settings/templates/personal.php
12 years ago
Björn Schießle
0a9bb8ba73
reduce time for auto expire to 30 days by default
12 years ago
Björn Schießle
a5d9b985c3
make 'restored' extension translatable
12 years ago
Björn Schießle
0182a503a6
expire trash bin if trash bin exceeds max size after a new file was added to ownCloud
12 years ago
Björn Schießle
a00cff7c05
disable "deleted files" button if trash bin is empty
12 years ago
Björn Schießle
96e175ffbf
don't move empty folders to the trash bin
12 years ago
Björn Schießle
bf668eb14f
nicer format of unique names, use 'file (restored).txt' instead of 'files.txt.restored'
12 years ago
Georg Ehrke
cf449d42e8
properly encode path
12 years ago
kondou
2f11f56d32
Use !== and === in files_trashbin-app
12 years ago
Georg Ehrke
04292ff16c
implement use of preview icons in thrashbin app
12 years ago
Björn Schießle
ae30eb48f2
make trash bin aware of system wide mounts with respect to encryption keys
12 years ago
Björn Schießle
c3371812a0
fix indention
12 years ago
Björn Schießle
f91b02e9b6
only escape glob pattern
12 years ago
Florin Peter
842d0608f1
added static function registerHooks() for better unit tests handling
12 years ago
Björn Schießle
cc433d47cb
touch() needs to be performed relative to user/files otherwise ownCloud doesn't execute the hooks which means that etags aren't updated properly
12 years ago
Bastien Ho
bb640df06e
duplicate verification
12 years ago
Bastien Ho
6082a09e62
Fix inexisting trashbin's sub-folders
12 years ago
Björn Schießle
d649f77898
make sure to find the correct path for shared files
12 years ago
Björn Schießle
050258f003
remove encryption keys if a file gets deleted permanently
12 years ago
Björn Schießle
8a1223181b
disable proxys before copying files to the trash bin
12 years ago
Björn Schießle
a2516e549b
get original path in case of shared files when restoring file from trash bin
12 years ago
Björn Schießle
996a557475
get original path in case of shared files
12 years ago
Florin Peter
9f8f052f0d
merged files_trashbin
12 years ago
Florin Peter
3c100af132
revert changes to fbbc76f281
because master is very unstable right now
12 years ago
Florin Peter
7a3ecd0429
delete and restore of versions and share-keys now works
...
fix restore of the same file name
12 years ago
Florin Peter
5e11948598
added handling for share-keys
...
this works only with latest files_encryption branch up from 813641e6e8
12 years ago
Florin Peter
26e5ef193d
restore fixed
12 years ago
Florin Peter
228c501515
fixed some problems and broken code
12 years ago
Björn Schießle
680ba4bea1
restore encryption keys from trash bin (development snapshot)
12 years ago
Björn Schießle
cb65b7ca9d
move encryption keys to trash bin
12 years ago
Björn Schießle
a3999036f7
improved free space calculation if no quota is set, discussed in #2936
12 years ago
Björn Schießle
032c54273c
write a info message to the log if a file gets removed from the trash bin automatically
12 years ago
Björn Schießle
1b3b766244
cleanup the trash bin tables in the database after a user was deleted
12 years ago
Björn Schießle
16b0855992
only add filesize to trashbin size if the file was moved to the trash bin successfully
12 years ago
Björn Schießle
5924d1d95c
add backticks around table names
12 years ago
Brice Maron
1631aa2434
Add backtick for trash app to prevent pg errors
12 years ago