Vincent Petry
bab8c1f8e5
Fixed getAbsolutePath case when path is "0"
Make sure to correctly check for string emptiness when the passed path
is "0".
10 years ago
Bjoern Schiessle
a9ac11718e
backup the encryption key after the encryption was disabled so that the user
can restore them if needed
10 years ago
Bernhard Posselt
a152e320f6
make it possible to omit parameters and use the default parameters from the controller method
10 years ago
Jenkins for ownCloud
a60db322c2
[tx-robot] updated from transifex
10 years ago
Thomas Müller
f5ed92bf31
remove legacy aka deprecated code: OC_Cache_FileGlobalGC
10 years ago
Thomas Müller
e0dd69e4e6
remove legacy aka deprecated code: OC_FilesystemView
10 years ago
Thomas Müller
33987eea83
remove legacy aka deprecated code: OC_Cache
10 years ago
Thomas Müller
4dd1a49a68
remove legacy aka deprecated code: OC_Filesystem
10 years ago
Thomas Müller
3cd32dcb7c
adding X-Robots-Tag to all responses of ownCloud + move addSecurityHeaders() to OC_Response, which seems to be a more reasonable place
10 years ago
Morris Jobke
9d95fff427
fix missing spaces
10 years ago
Thomas Müller
da0e37ef03
Rotate thumbnail when encryption is enabled
When a picture is encrypted, save it to a temporary file first so that
the PHP function for rotation can access it as file.
10 years ago
Thomas Müller
d853c60d7e
adding interpolation as requested by PSR-3
10 years ago
Jenkins for ownCloud
f4e8de3cbb
[tx-robot] updated from transifex
10 years ago
Bernhard Posselt
63f2f16b85
use new controllermethodreflector for corsmiddleware
10 years ago
Bernhard Posselt
474b8f071d
Fix typo
10 years ago
Bernhard Posselt
3e58a767ad
Fix method signature
10 years ago
Bernhard Posselt
fcb1aa36f0
default to null to not fail if type is not annotated via phpdoc
10 years ago
Bernhard Posselt
1d45239c65
adjust license headers to new mail address
10 years ago
Bernhard Posselt
cb666c18d6
rename formatter to responder, formatResponse to buildResponse
10 years ago
Bernhard Posselt
c590244fa1
add private property for reflector in security middleware
10 years ago
Bernhard Posselt
ede7325772
fix broken if
10 years ago
Bernhard Posselt
d8da79cab0
add test for not failing when adding more comments after type parameters, do not limit x-www-form-urlencoded to POST
10 years ago
Bernhard Posselt
4dca2038bf
add request to dispatcher class
10 years ago
Bernhard Posselt
80648da431
implement most of the basic stuff that was suggested in #8290
10 years ago
Lukas Reschke
fd5b2d11d6
Rename issubdirectory to isSubDirectory
10 years ago
Lukas Reschke
a40e49cae5
Harden issubdirectory()
realpath() may return false in case the directory does not exist since we can not be sure how different PHP versions may behave here we do an additional check whether realpath returned false
10 years ago
Lukas Reschke
cd3ed01483
Fix Typo
I guess that should be `default` and not `defautl`, wondering how this ever worked.
10 years ago
Bernhard Posselt
e05192a23d
Fix method signature
10 years ago
Bernhard Posselt
3af30625ab
Make db connection protected
10 years ago
Jenkins for ownCloud
b6d76e9985
[tx-robot] updated from transifex
10 years ago
Jenkins for ownCloud
05ea8c8a10
[tx-robot] updated from transifex
10 years ago
Bernhard Posselt
9a4d204b55
add cors middleware
remove methodannotationreader namespace
fix namespace for server container
fix tests
fail if with cors credentials header is set to true, implement a reusable preflighted cors method in the controller baseclass, make corsmiddleware private and register it for every request
remove uneeded local in cors middleware registratio
dont uppercase cors to easily use it from routes
fix indention
comment fixes
explicitely set allow credentials header to false
dont depend on better controllers PR, fix that stuff later
split cors methods to be in a seperate controller for exposing apis
remove protected definitions from apicontroller since controller has it
10 years ago
Bernhard Posselt
b4298c68ca
- make logger available in the container
- inject logger class into log
- adding PHPDoc comments and fixing typos
10 years ago
Jenkins for ownCloud
9919ec48df
[tx-robot] updated from transifex
10 years ago
Bart Visscher
88225db4af
Memcached hasKey should test for success, the get can fail for other reasons.
One of the other failures is no running server.
10 years ago
Vincent Petry
05dc694c5c
Fix getPathById for Oracle
Added extra code to handle the case of Oracle which saves empty strings
as null values.
10 years ago
Bart Visscher
9f88141bcd
Use 'boolean' as type instead of 'bool'
10 years ago
Lukas Reschke
c4109d9aef
Use strict type comparison
We certainly don't want to have type juggling on that.
10 years ago
Vincent Petry
4a493c8835
Some expected Sabre exceptions are now logged with DEBUG level
10 years ago
Bart Visscher
72864d1c53
Typo
10 years ago
Morris Jobke
91a5e728c0
fix getUserFolder() of server container
10 years ago
Robin Appelman
578eb33c20
Dont create borders around previews when scaling up is disabled
10 years ago
Jenkins for ownCloud
51d1e6c8b1
[tx-robot] updated from transifex
10 years ago
Lukas Reschke
5cfc9d973d
Fix PHP Doc and use readable variable name
10 years ago
Lukas Reschke
6f57911b44
Does also take int or string
10 years ago
Lukas Reschke
d091cca636
Fix typo
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
6519b9672a
[tx-robot] updated from transifex
10 years ago
Bart Visscher
614cc67f88
Correct return type for getFilePath
10 years ago
Bart Visscher
c34659dd89
Better documentation for isValidSource function
10 years ago