Lukas Reschke
e88731a477
Some more PHPDoc fixes
10 years ago
Bernhard Posselt
7e447f4f42
make download and redirectresponse public
10 years ago
Bart Visscher
cc8a4511fe
Fix PHPdoc in lib/public
using scrutinizer patch
10 years ago
Lukas Reschke
b04d95b116
Remove uneeded usages of nosniff
10 years ago
Bernhard Posselt
f06ef8aa4b
register middleware as string to not force request to be instantiated too early and thus not having url parameters
10 years ago
Thomas Müller
85e7921b14
fixing undefined exception classes
10 years ago
Bernhard Posselt
5f3b8c45d7
Remove dependency on container, removing service locator antipattern
10 years ago
Bjoern Schiessle
8e34812393
always encrypt files to owner
10 years ago
Bjoern Schiessle
6afd496d9b
remove prepFileTarget() seems that it is no longer in use
10 years ago
Bjoern Schiessle
b602662578
add a "helper" and a "hooks" class. Move constants needed by multiple classes
to a "constants" class
10 years ago
Bjoern Schiessle
8b6d1d3bf2
added private share api
10 years ago
Robin Appelman
f17674fef2
Only load routes from the apps we need
10 years ago
Thomas Müller
3eb5898f7b
use \OC_Mail::validateAddress() to validate the email address - fixes #7862
10 years ago
Robin Appelman
0d0aac6fff
Load the routes when matching or generating a route instead of when creating the router
10 years ago
Thomas Tanghus
51fe3b8ccd
Fix 'Undefined variable: message' in OCP\Util::logException
10 years ago
Vincent Petry
80180bea32
Added IV for ext storage password encryption
10 years ago
Bjoern Schiessle
9d32475260
finally fix the paths for the OCS Share API
10 years ago
Bjoern Schiessle
36885dc64c
fix path creation for re-shares, issue #7662
10 years ago
Robin Appelman
4a2b16d76d
update copyright header
10 years ago
Thomas Müller
73a1ece753
adding an explicit close method to class session - write operations (set and remove) being called after close() will throw an exception
10 years ago
Robin Appelman
8ab7d18a6a
Move the router classes to a namespace and expose it with a public interface
10 years ago
Thomas Tanghus
a1aacc18df
Add @return PHPDocs
10 years ago
Thomas Tanghus
8f6ea900f2
Chainable Response in AppFramework
10 years ago
Robin Appelman
65f52fee4f
Fix FileInfo->getType errors
10 years ago
Bart Visscher
8951328a87
More PHPDoc updates
10 years ago
Bart Visscher
e2286c6598
Type is with a small letter
10 years ago
Bart Visscher
35a8dfb2fa
More PHPDoc fixes, using scrutinizer patches as hints
10 years ago
Bart Visscher
89e0763d3d
Update PHPDoc for I10N, OC_Config, OC\Template\Base and OCP\IL10N
10 years ago
Bjoern Schiessle
e3f676e009
fix path in sharing results if it is a file in the Shared folder
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
Vincent Petry
797e0a614c
Added extra checks for invalid file chars in newfile.php and newfolder.php
- added PHP utility function to check for file name validity
- fixes issue where a user can create a file called ".." from the files UI
- added extra checks to make sure newfile.php and newfolder.php also
check for invalid characters
10 years ago
Bart Visscher
2c6411b897
$default of OC_Config::[gs]etValue can have more then string as type
10 years ago
Robin Appelman
62288971ca
Additional phpdoc
10 years ago
Robin Appelman
3aafa837b8
Remove internal methods from the public interface
10 years ago
Robin Appelman
a6399f9cef
Add the background job list to the public server container
10 years ago
Joas Schilling
b330d07b51
Fix more documentation failes
Issue #7111
10 years ago
Bjoern Schiessle
a8943ad022
replace 'size' with 'unencrypted_size' if encryption is enabled
10 years ago
Jörn Friedrich Dreyer
81031984a6
remove duplicate param lines for OCP\User::getUsers()
10 years ago
Vincent Petry
788c8540aa
Added isLocal() method to storage, used for xsendfile
Added isLocal() method to Storage to find out whether the storage is
local or not.
This method is used for the x-sendfile logic to find out whether to add
the headers.
10 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
10 years ago
Robin Appelman
3c1ab66eda
Reuse the calculated free_space in buildFileStorageStatistics
10 years ago
Vincent Petry
11ef12a106
Added exception logger plugin for sabre connector
Whenever an exception occurs in the sabre connector code or code called
by it, it will be logged.
This plugin approach is needed because Sabre already catches exceptions
to return them to the client in the XML response, so they don't appear
logged in the web server log.
This will make it much easier to debug syncing issues.
10 years ago
Robin Appelman
1ab7ca0a19
Fix some phpdoc errors and rename interface
10 years ago
Robin Appelman
fc5f20112e
Add isReadable, isUpdateable, isDeletable, isShareable
10 years ago
Jens-Christian Fischer
0f6c607171
added function documentation
10 years ago
Jens-Christian Fischer
506393090b
Add 'mail_from_address' configuration
In environments where there are rules for the email addresses, the "from
address" that owncloud uses has to be configurable.
This patch adds a new configuration variable 'mail_from_address'.
If it is configured, owncloud will use this as the sender of *all*
emails. (OwnCloud uses 'sharing-noreply' and 'password-noreply' by
default). By using the 'mail_from_address' configuration, only this
email address will be used.
10 years ago
Thomas Müller
a3ea5aa2ac
fixing comment + adding unit test for checkPasswordProtectedShare
10 years ago
Thomas Müller
23a4d0d44e
OC_Util::setupFS($user) will create a data dir for the given string - no matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error
10 years ago
Thomas Müller
6746ad0a73
in case no share is found for the given token we can return right away
10 years ago
Thomas Müller
9fd4cb1b66
adding password protection check to getShareByToken()
10 years ago