Lukas Reschke
8f09d5b67c
Update license headers
10 years ago
Lukas Reschke
13e817e901
Throw exception on `getPath` if file does not exist
Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened.
This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs.
While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page.
I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
11 years ago
Jenkins for ownCloud
a341e786dd
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
008082ebad
[tx-robot] updated from transifex
10 years ago
Joas Schilling
0d3d75b3b3
Increase the 2nd digit of shipped apps
10 years ago
Jenkins for ownCloud
c378456137
[tx-robot] updated from transifex
10 years ago
Robin Appelman
e4364426e2
Fix listing of trash files in test
10 years ago
Robin Appelman
2e8232e803
Fix trashbin handling of unknown/unlimited free space
10 years ago
Robin Appelman
a87b34a059
dont assume home storage is local in trash test
10 years ago
Jenkins for ownCloud
f9dd750ed7
[tx-robot] updated from transifex
10 years ago
Thomas Müller
3444d62063
Revert "Revert "Move trashbin specific CSS that modifies sidebar""
This reverts commit 0738ddfb76 .
10 years ago
Thomas Müller
0738ddfb76
Revert "Move trashbin specific CSS that modifies sidebar"
10 years ago
Vincent Petry
783971422c
Move trashbin specific CSS that modifies sidebar
Only when trashbin is enabled, its sidebar nav element must be fixed at
the bottom.
10 years ago
Vincent Petry
6b71efb2b1
Make trashbin's "Restore" an inline action
10 years ago
Vincent Petry
8e84ab8613
Remove sidebar for trashbin view
10 years ago
Jenkins for ownCloud
cd818e7419
[tx-robot] updated from transifex
10 years ago
Morris Jobke
b945d71384
update licence headers via script
10 years ago
Jenkins for ownCloud
e0084059b9
[tx-robot] updated from transifex
10 years ago
Hendrik Leppelsack
d4ce713749
display checkboxes properly after file restore
10 years ago
Bjoern Schiessle
b940287ffa
first copy to owner and then move to current user because the encryption
wrapper always expect to work on the owner storage
10 years ago
Morris Jobke
1051a3c6f5
Change small thumbnails to 32 px
* fixes #16913
* fixes issues in IE8 where the thumbnail is too big
10 years ago
Hendrik Leppelsack
24ee83db30
fix checkbox in trashbin
10 years ago
Jenkins for ownCloud
60f123193b
[tx-robot] updated from transifex
10 years ago
Joas Schilling
1694f21387
Add the method to the mock
10 years ago
Martin
491250320a
Replaces if ($file === '.' || $file === '..') by if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
10 years ago
Vincent Petry
a35144e961
Properly translate file actions
10 years ago
Bjoern Schiessle
a174ba5a36
make sure to add the correct file size to the file info, otherwise we will not show the preview for every filetype
10 years ago
Victor Dubiniuk
b75a1b40a2
Log deleted files
10 years ago
Lukas Reschke
47caac10f5
Add PHPDoc
10 years ago
Victor Dubiniuk
764726ce01
Updates according to review
10 years ago
Victor Dubiniuk
867ed67aa5
Fix tests
10 years ago
Victor Dubiniuk
8ac3d5e36c
Add expiration cronjob
10 years ago
Thomas Müller
40203d7d1e
Remove languages which are no longer maintained on transifex
10 years ago
Jenkins for ownCloud
90e11ee005
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
2171cc02c3
[tx-robot] updated from transifex
10 years ago
Vincent Petry
5e6fa3c938
Fix trashbin sidebar
Do not display size as it is not available.
Use display name instead of name to remove the ".d123456" suffix.
10 years ago
Victor Dubiniuk
b9f655d8ad
Fix tests
10 years ago
Victor Dubiniuk
33c29d3da7
Migrate settings
10 years ago
Victor Dubiniuk
4ef2615788
Enhance trashbin expiration settings
10 years ago
Joas Schilling
e6eb74958f
Remove unnecessary DB prefixes from existing query builder usages
10 years ago
Vincent Petry
ca34921cdf
Implement file actions dropdown
File actions now have two types "inline" and "dropdown". The default is
"dropdown".
The file actions will now be shown in a dropdown menu.
11 years ago
Roeland Jago Douma
f0b617b508
Use DI
* Register OCP\Capability\IManager at DIContainer
* Add register capabilities to appframework
* Register capabilities in DI way
* Make unit test pass again
* Remove CapabiltiesManager from OCP
10 years ago
Roeland Jago Douma
e84cffc063
Moved core apps to the capabilities manager
* Files
* Files_Sharing
* Files_Trashbin
* Files_Versions
11 years ago
Roeland Jago Douma
bc91c5c2de
Set proper mimetype for directories
10 years ago
Jenkins for ownCloud
a07254856c
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
c683b1d3c9
[tx-robot] updated from transifex
10 years ago
Joas Schilling
f77e5f411d
Fix existing usages by removing the quotes
11 years ago
Joas Schilling
de348180ae
Use the public interface and our method instead of the doctrine thing
11 years ago
Bjoern Schiessle
db65eeb580
only move real files to the trash bin
11 years ago
Thomas Müller
d3ac73c0c9
Remove OC_Log
11 years ago