Lukas Reschke
8f09d5b67c
Update license headers
2015-10-26 14:04:01 +01:00
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.
2015-10-25 17:58:21 +01:00
Jenkins for ownCloud
a341e786dd
[tx-robot] updated from transifex
2015-10-23 01:55:06 -04:00
Jörn Friedrich Dreyer
2895c91291
Merge pull request #17641 from owncloud/fix_objectstore_rename
...
don't move files in cache twice, fixes renaming for objectstores
2015-10-19 17:18:57 +02:00
Jenkins for ownCloud
008082ebad
[tx-robot] updated from transifex
2015-10-19 01:55:02 -04:00
Joas Schilling
0d3d75b3b3
Increase the 2nd digit of shipped apps
2015-10-17 08:47:11 +02:00
Jenkins for ownCloud
c378456137
[tx-robot] updated from transifex
2015-10-17 01:55:34 -04:00
Robin Appelman
e4364426e2
Fix listing of trash files in test
2015-10-16 21:41:51 +02:00
Robin Appelman
2e8232e803
Fix trashbin handling of unknown/unlimited free space
2015-10-16 21:41:51 +02:00
Robin Appelman
a87b34a059
dont assume home storage is local in trash test
2015-10-16 21:41:51 +02:00
Thomas Müller
0a5349eec6
Merge pull request #19647 from owncloud/trashbin-removesidebar
...
Remove sidebar for trashbin view
2015-10-14 12:50:46 +02:00
Thomas Müller
156108dcdb
Merge pull request #19714 from owncloud/trash-deletesectionposition-2
...
Revert "Revert "Move trashbin specific CSS that modifies sidebar""
2015-10-14 12:49:56 +02:00
Thomas Müller
bc6f76250a
Merge pull request #19701 from owncloud/trash-restoreactioninline
...
Make trashbin's "Restore" an inline action
2015-10-14 12:38:49 +02:00
Jenkins for ownCloud
f9dd750ed7
[tx-robot] updated from transifex
2015-10-14 01:55:36 -04:00
Thomas Müller
3444d62063
Revert "Revert "Move trashbin specific CSS that modifies sidebar""
...
This reverts commit 0738ddfb76
.
2015-10-12 16:21:27 +02:00
Thomas Müller
0738ddfb76
Revert "Move trashbin specific CSS that modifies sidebar"
2015-10-12 13:59:29 +02:00
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.
2015-10-12 11:39:04 +02:00
Vincent Petry
6b71efb2b1
Make trashbin's "Restore" an inline action
2015-10-12 11:27:23 +02:00
Vincent Petry
8e84ab8613
Remove sidebar for trashbin view
2015-10-08 12:59:13 +02:00
Jenkins for ownCloud
cd818e7419
[tx-robot] updated from transifex
2015-10-07 01:55:56 -04:00
Morris Jobke
b945d71384
update licence headers via script
2015-10-05 21:15:52 +02:00
Jenkins for ownCloud
e0084059b9
[tx-robot] updated from transifex
2015-10-03 01:56:20 -04:00
Thomas Müller
f9093688cc
Merge pull request #19500 from owncloud/fix_trash_with_encryption2
...
[trashbin] fix broken versions on restore
2015-10-02 12:15:58 +02:00
Hendrik Leppelsack
d4ce713749
display checkboxes properly after file restore
2015-10-01 22:54:36 +02:00
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
2015-10-01 17:09:17 +02:00
Morris Jobke
1051a3c6f5
Change small thumbnails to 32 px
...
* fixes #16913
* fixes issues in IE8 where the thumbnail is too big
2015-09-30 10:49:48 +02:00
Hendrik Leppelsack
24ee83db30
fix checkbox in trashbin
2015-09-28 13:45:24 +02:00
Jenkins for ownCloud
60f123193b
[tx-robot] updated from transifex
2015-09-28 05:07:18 -04:00
Joas Schilling
1694f21387
Add the method to the mock
2015-09-25 11:16:26 +02:00
Martin
491250320a
Replaces if ($file === '.' || $file === '..') by if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
2015-09-22 17:53:15 +02:00
Vincent Petry
a35144e961
Properly translate file actions
2015-09-22 14:52:52 +02:00
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
2015-09-21 12:41:19 +02:00
Victor Dubiniuk
b75a1b40a2
Log deleted files
2015-09-16 22:29:54 +03:00
Lukas Reschke
47caac10f5
Add PHPDoc
2015-09-16 17:37:21 +03:00
Victor Dubiniuk
764726ce01
Updates according to review
2015-09-16 17:37:21 +03:00
Victor Dubiniuk
867ed67aa5
Fix tests
2015-09-16 17:37:21 +03:00
Victor Dubiniuk
8ac3d5e36c
Add expiration cronjob
2015-09-16 17:37:21 +03:00
Thomas Müller
40203d7d1e
Remove languages which are no longer maintained on transifex
2015-08-26 12:19:24 +02:00
Jenkins for ownCloud
90e11ee005
[tx-robot] updated from transifex
2015-08-26 04:10:42 -04:00
Jenkins for ownCloud
2171cc02c3
[tx-robot] updated from transifex
2015-08-25 12:39:10 -04:00
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.
2015-08-25 11:29:35 +02:00
Thomas Müller
326de6f9b4
Merge pull request #18065 from owncloud/new-trashbin-retention
...
New trashbin retention
2015-08-12 13:13:45 +02:00
Jan-Christoph Borchardt
d04a6bce6f
Merge pull request #17709 from owncloud/fileactions-dropdown
...
Move file actions to dropdown
2015-08-11 15:13:59 +02:00
Victor Dubiniuk
b9f655d8ad
Fix tests
2015-08-10 23:55:10 +03:00
Victor Dubiniuk
33c29d3da7
Migrate settings
2015-08-10 23:54:44 +03:00
Thomas Müller
bfb9a8e58e
Merge pull request #18175 from owncloud/automatic-db-prefix-query-builder
...
Automatic db prefix query builder
2015-08-10 21:41:32 +02:00
Victor Dubiniuk
4ef2615788
Enhance trashbin expiration settings
2015-08-10 20:40:43 +02:00
Joas Schilling
e6eb74958f
Remove unnecessary DB prefixes from existing query builder usages
2015-08-10 16:21:41 +02:00
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.
2015-08-10 14:12:34 +02:00
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
2015-08-10 10:45:16 +02:00