Thomas Müller
4dd1a49a68
remove legacy aka deprecated code: OC_Filesystem
10 years ago
Thomas Müller
20893cc3b3
Images on public sharing get downscaled to increase use experience - this will speed up loading time
- adding keep aspect to core/ajax/preview.php
- remove duplicate method Preview::show()
- no more hard coded mimetype of preview
- remove .png from the preview urls
- keep old route preview.png for backwards compatibility
- aspect preserving previews are now cached
10 years ago
Jenkins for ownCloud
1abd9c1305
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
796f719548
[tx-robot] updated from transifex
10 years ago
Robin McCorkell
50dba97bde
Miscellaneous text fixes for core apps
10 years ago
Thomas Müller
ea8705bac8
additional class is added to the file actions called e.g. 'action-share', 'action-rename'
in order to allow proper translations of the action's display name an additional parameter has been added to the register function
10 years ago
Jenkins for ownCloud
4b802aa7cb
[tx-robot] updated from transifex
10 years ago
Georg Ehrke
9a5c2d0080
add preDelete hook for files_versions app
10 years ago
Jenkins for ownCloud
b0ec38e202
[tx-robot] updated from transifex
10 years ago
Scrutinizer Auto-Fixer
adaee6a5a1
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
10 years ago
Robin Appelman
181bbd4325
Remove usage of legacy OC_Appconfig
10 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
10 years ago
raghunayyar
932e8f9f58
Fixes width of the dropdown menus as per computed styles.
10 years ago
Bjoern Schiessle
a567f74d86
fix array order
10 years ago
Bjoern Schiessle
8d36ddcf03
code clean-up
10 years ago
Bjoern Schiessle
0b89a45f11
fix size calculation of getAllVersions()
10 years ago
Bjoern Schiessle
85269641db
add first unit test for the versioning app
10 years ago
Bjoern Schiessle
9efd07fbab
isolate getExpireList function to make it testable
10 years ago
Thomas Müller
37e278f2a9
don't use the user id within the versions preview call as it could be used to access previews of another user
10 years ago
Vincent Petry
ca57a849ff
When reading the size of "files" mountpoints need to be excluded
The versions and trashbin app are now passing "includeMountPoints=false"
to "getFileInfo()" to make sure that the calculated total size doesn't
include mount points like Shared or external storage.
This is because the default call (legacy) used to return the size of
mount points as well.
Fixes #6731
10 years ago
raghunayyar
fd49d3c5c5
Fixes typo in versions.css
10 years ago
Bjoern Schiessle
76fa7bab63
call getFileInfo to enforce a file cache entry for the new version, fix #6286
10 years ago
Vincent Petry
1042733634
Fixed various file name escaping issues in core apps
- Refactored file tr lookup into FileList.findFileEl that uses
filterAttr to avoid escaping issues in jQuery selectors
- Fixed versions and sharing app to properly escape file names in
attributes
10 years ago
Jenkins for ownCloud
d2f2645a6a
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
095f9b8ee0
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
e345f3f511
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
77b68505c2
[tx-robot] updated from transifex
10 years ago
Vincent Petry
409b510889
Moved content disposition code+workarounds to OCP\Response
Added new OC\Response API called setContentDispositionHeader() that
contains the needed workarounds for UTF8 and IE.
Refactored download code to use the new API.
Removed unused trashbin download file.
10 years ago
Jenkins for ownCloud
079d20a80e
[tx-robot] updated from transifex
10 years ago
zombiehugs
519f63ee97
Revert "[fix] Center Share Dropdown & Versions Dropdown"
This reverts commit 1dbbfcf3dc
.
10 years ago
zombiehugs
1dbbfcf3dc
[fix] Center Share Dropdown & Versions Dropdown
Center Share Dropdown & Versions Dropdown
10 years ago
Jenkins for ownCloud
1b18c5a047
[tx-robot] updated from transifex
10 years ago
Bjoern Schiessle
348706854c
use better coding style
10 years ago
Bjoern Schiessle
bef5108218
detect mimetype from the original filename, without the versioning timestamp
10 years ago
Bjoern Schiessle
eaedda2116
make sure that we don't try to access an already deleted files, fixes some file source not found warnings
10 years ago
Bjoern Schiessle
f8fcd567a7
move files to owners trash
10 years ago
Bjoern Schiessle
acf74b24f2
remove unused variable
10 years ago
Bjoern Schiessle
c309067c81
use oc filesystem operations to calc the versions size. This makes sure that we can handle missing directories correctly
10 years ago
Jenkins for ownCloud
c3746e866a
[tx-robot] updated from transifex
10 years ago
Georg Ehrke
238e4bc3eb
implement delete hooks in file versions lib
10 years ago
Jenkins for ownCloud
e431ba5ce8
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
e89f080f09
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
b0b76fe064
[tx-robot] updated from transifex
10 years ago
Vincent Petry
41c6c44221
Disable versions app JS in public mode
Since the version JS code isn't used in public link mode, disable it to
prevent Chrome freezing bugs due to the t() call being synchronous.
Fixes #4545
10 years ago
Jenkins for ownCloud
630be99ddf
[tx-robot] updated from transifex
10 years ago
Bjoern Schiessle
9baedb4102
remove debug output
10 years ago
Bjoern Schiessle
a0de5dd325
some small fixes
10 years ago
Bjoern Schiessle
f4e86045de
make files versions root a class constant
10 years ago
Bjoern Schiessle
87cccb2e32
some small changes/fixes
10 years ago
Bjoern Schiessle
4c2e3919de
make previews work for shared files in the versions drop-down
10 years ago