Robin Appelman
99d46af0b4
Use instanceOfStorage instead of instanceof
12 years ago
Bjoern Schiessle
12338e0ef0
allow admin to disable sharing for specific groups of users
12 years ago
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
12 years ago
Bjoern Schiessle
b6e14af861
allow admin to enforce passwords for public link shares
12 years ago
Robin McCorkell
f7e777f7d2
Fix various code errors detected by Scrutinizer
Fixed:
- An error with a misplaced bracket in lib/private/util.php
- An error with an incorrect function being called in lib/public/contacts.php
12 years ago
Robin McCorkell
87b548ed91
Fix all PHPDoc types and variable names, in /lib
12 years ago
Robin McCorkell
b5bc37d2e4
Fix @return array PHPDocs, in /lib
12 years ago
Bjoern Schiessle
a9ac11718e
backup the encryption key after the encryption was disabled so that the user
can restore them if needed
12 years ago
Lukas Reschke
5cfc9d973d
Fix PHP Doc and use readable variable name
12 years ago
Lukas Reschke
d091cca636
Fix typo
12 years ago
Lukas Reschke
e88731a477
Some more PHPDoc fixes
12 years ago
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