kondou
d98ae4f9b2
Fix a wrong WebDAV Warning with self-signed-certs
Occuring in the admin interface
12 years ago
Lukas Reschke
77ecfdd1a4
Only encode dangerous dangerous characters
There is no need to encode all characters into HTML entities, only potential dangerous characters as &, ", ', < and > should get encoded.
This may fix issues like https://github.com/owncloud/calendar/pull/394
12 years ago
Thomas Tanghus
7278f2f567
Sub-dir was prepended twice
12 years ago
Thomas Tanghus
c14107550d
Use UrlGenerator in OC\Util::redirectToDefaultPage(). Fix #7936
12 years ago
Thomas Müller
2d592ddc8f
Fix CURLOPT_FOLLOWLOCATION bug with open_basedir or safe_mode restriction enabled.
Squashed commit of the following:
commit eaf4f43f68
Merge: 1e9c5be 1e7d7bd
Author: Thomas Müller <thomas.mueller@tmit.eu>
Date: Fri Mar 28 11:49:04 2014 +0100
Merge branch 'master' of https://github.com/kev300/core into kev300-master
commit 1e7d7bdd8b
Author: kev300 <admin@gadeco.de>
Date: Tue Dec 17 14:11:42 2013 +0100
Update util.php
commit 3f0723f054
Author: kev300 <admin@gadeco.de>
Date: Tue Dec 17 14:09:15 2013 +0100
Update util.php
commit 512176abdc
Author: kev300 <admin@gadeco.de>
Date: Tue Dec 17 14:02:04 2013 +0100
Update util.php
commit 6cbefd0801
Author: kev300 <admin@gadeco.de>
Date: Mon Dec 16 16:44:46 2013 +0100
Update util.php
Fix CURLOPT_FOLLOWLOCATION bug with open_basedir or safe_mode restriction enabled.
12 years ago
Thomas Müller
6bfeb342db
fixing code style
12 years ago
Vincent Petry
a25b86a30e
Log exception when PostgreSQL version check failed
12 years ago
Vincent Petry
6de9033d86
Added warning for Mac OS on setup page
12 years ago
Vincent Petry
3cd09f2b09
Added PostgreSQL version warning on upgrade
12 years ago
Robin Appelman
166dfbf58b
use a non-recursive chmod on the datadir
12 years ago
Vincent Petry
3c46dcd7dd
Added .ocdata file to check for data folder validity
In environments where the data folder is mount from another partition,
it is important to check that the data folder we see is actually the
real one. If the mount failed for some reasons, this fix will make
ownCloud temporarily unavailable instead of causing unpredictable
behavior.
12 years ago
Thomas Müller
fbea02bebb
kill $coreStyles and $coreScripts
12 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
12 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
12 years ago
Robin Appelman
181bbd4325
Remove usage of legacy OC_Appconfig
12 years ago
Joas Schilling
b330d07b51
Fix more documentation failes
Issue #7111
12 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
12 years ago
Thomas Müller
0db5fead8e
remove some more global variable $RUNTIME_NOAPPS
12 years ago
Robin Appelman
a521949baf
Allow passing a root folder to get the used space from in the quota wrapper
12 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
12 years ago
Robin Appelman
6b4c3df087
Load a separate config (if present) when running unit tests
12 years ago
st3so
a2cae551f3
fixing typo in redirection query string
12 years ago
Joan
2abea96462
Disabled internet checking as mentioned when in proxy mode
12 years ago
Frank Karlitschek
61296ed7bb
lower required php version to 5.3.3
12 years ago
Frank Karlitschek
7ca0de9bd3
make 5.3.8 the minimum supported version. This fixes several issues with broken PHP versions like: https://github.com/owncloud/core/issues/5734
Also make the version compare clearer. It was pure luck that floatval on a php version returned the correct value.
12 years ago
Thomas Mueller
228f1788fa
add new function to generate the human readable version string based on version, channel and build number
12 years ago
Thomas Müller
cd1cf58875
Fixing the warning notifications
12 years ago
Vincent Petry
69e8e7dbd5
Now using the "Home" storage detection approach for quota
To find out whether to apply a quota, we now try and detect whether the
storage to wrap is a "Home" storage.
12 years ago
Vincent Petry
356eef0739
Quota storage wrapper is now used for all users in sharing mode
When accessing a shared folder, the folder's owner appears as mountpoint
but wasn't wrapped by a quota storage wrapper.
This fix makes sure that all home storages are wrapped by a quota
storage wrapper, if applicable, to make sure quotas are respected when
uploading into shared folders.
12 years ago
Bart Visscher
368342a085
Update error messages
12 years ago
Bart Visscher
bcf56b0407
Use \Patchwork\Utf8\Bootup::initLocale
12 years ago
Bart Visscher
a6d8854d2a
Make working en_US.UTF-8 locale a hard requirement
12 years ago
Thomas Müller
3f42c890be
we should check if a user is logged in before we check for admin privilege
12 years ago
Thomas Müller
124984905e
introduce OC_Helper::linkToDocs()
12 years ago
Thomas Müller
148d2616e5
introduce link_to_docs() and migrate links
12 years ago
Frank Karlitschek
6a60a47d59
add options to disable the check for a working .htaccess file in data and for a working WebDAV server. This are advanced settings that are needed in special situations where our check fail and the user runs into an http timeout.
12 years ago
Vincent Petry
52e31405f7
Added timeout value to WebDAV post setup check
Fixes #5357
12 years ago
Frank Karlitschek
3f29e4ebea
a few styleguide fixes
12 years ago
Frank Karlitschek
72b30e3e45
correctly expire cache if version file changed. Fixes problem that ownCloud only starts upgrading during login
12 years ago
Bart Visscher
21cbef0d2c
passesCSRFCheck added to OCP\IRequest
12 years ago
Bart Visscher
61a9098b7d
Add Helper and URLGenerator interfaces to server container
12 years ago
Frank Karlitschek
47666796a7
ups. remove debug
12 years ago
Frank Karlitschek
e49ee47e7b
use Filesystem::isIgnoredDir
12 years ago
Frank Karlitschek
f0a98cc923
fix typo
12 years ago
Frank Karlitschek
6d95436695
add public static
12 years ago
Frank Karlitschek
e40afbebc6
make it possible to prepopulate a new user gome with a skeleton
12 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
12 years ago
Evgeni Golov
b6fc143074
cURL does not honour default_socket_timeout
SabreDAV uses cURL for the requests and as this does not honour
default_socket_timeout, setting it is useless and confusing as
people will expect the request to timeout faster than it actually
will do.
One has to use
curl_setopt($curl, CURLOPT_TIMEOUT, x)
or
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, x)
but there is currently no way to make SabreDAV pass this to cURL.
13 years ago
Bjoern Schiessle
03d5ea6cec
check not only if the keyfile folder exists but also if it contains keyfiles
12 years ago
Bjoern Schiessle
9bb244cc59
check every enabled app if the remember login feature needs to be disabled
12 years ago