Vincent Petry
eacb4b3f3e
Return unencrypted_size of folder when queried
...
This fixes the "used space" to be based on the unencrypted size, not
encrypted size, to be consistent with how quota/space is handled when
encryption is enabled
2014-03-21 10:23:56 +01:00
Vincent Petry
a70b99ff62
Propagate unencrypted_size up to the file cache root
2014-03-21 10:23:48 +01:00
Vincent Petry
d85d3a4493
Return 503 when a config/data dir error exists
...
Backport of b619ff6 from master
2014-03-20 11:51:14 +01:00
Vincent Petry
a1c0c5e1a2
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.
Backport of 3c46dcd from master
2014-03-20 11:50:53 +01:00
Vincent Petry
58db31e61e
Added warning for trusted_domains after CLI upgrade
...
If trusted_domains is not set after a CLI upgrade, show a warning in the
output.
Backport of 1a11682 from master
2014-03-17 14:27:19 +01:00
Bjoern Schiessle
30cca2524f
finally fix the paths for the OCS Share API
2014-03-13 20:28:08 +01:00
Thomas Müller
46657ad8a6
fixing method names
2014-03-12 15:40:54 +01:00
Thomas Müller
14b9eba428
set content-type on ocs exceptions
2014-03-12 15:40:54 +01:00
Bjoern Schiessle
c3c255b0ca
fix path creation for re-shares, issue #7662
2014-03-11 17:15:56 +01:00
Thomas Müller
c1c6ce22e8
remove magic handling of recipient lists by exploding the string - this functionality is nowhere used this way and nowhere documented - and broken because only $toaddress will be exploded not $toname
2014-03-11 14:41:36 +01:00
Victor Dubiniuk
37e19534f1
Reset time of last update feed polling
2014-03-11 15:36:08 +03:00
Vincent Petry
4966d632ae
Disable XML entities when parsing XML
2014-03-10 20:41:40 +01:00
Thomas Müller
d54f314c93
fixing ident
2014-03-07 20:05:11 +01:00
Thomas Müller
ff078db8cb
we first shall check if the current session is valid - otherwise the session-id will be regenerated on login via basic auth
2014-03-07 20:03:51 +01:00
Björn Schießle
acc35849af
Merge pull request #7586 from owncloud/dont_create_shared_folder_stable6
...
[oc6] don't allow to create a file or folder named 'Shared' in the root folder
2014-03-07 10:31:08 +01:00
Lukas Reschke
ce5f8d72a4
Use $installedVersion instead of $currentVersion
...
Additionally use 6.00.4 as the internal version has been changed
2014-03-06 22:43:08 +01:00
Bjoern Schiessle
7f81b14eff
don't allow to create a file or folder named 'Shared' in the root folder, also exclude all combinations of lower and upper case letters
2014-03-06 12:09:32 +01:00
Vincent Petry
d7163c9b5a
Fixed X-Forwarded-Host parsing
2014-03-05 20:06:05 +01:00
Vincent Petry
f1b948d4dc
Added localhost as trusted domain
2014-03-05 18:59:34 +01:00
Vincent Petry
9b6b02af6d
Show warning page when accessing server from an untrusted domain
...
Added early check for the requested domain host and show a warning
page if the domain is not trusted.
2014-03-05 18:59:34 +01:00
Jan-Christoph Borchardt
b3c5aaa1ca
make mail notification header color themable
2014-03-03 16:50:05 +01:00
Vincent Petry
762b0d9510
Allow XML entity loader for MDB2 schema loader
2014-03-03 12:15:51 +01:00
Robin Appelman
7580518bd8
Also delete legacy storages when deleting a user
2014-02-27 14:52:36 +01:00
Vincent Petry
1d0e45e179
Also quote old column name during DB migration
...
This fixes alter table commands that didn't quote the old column name
2014-02-26 16:30:38 +01:00
Bjoern Schiessle
b4f154f9b4
fix path in sharing results if it is a file in the Shared folder
2014-02-26 15:22:20 +01:00
Thomas Müller
a88b253c78
introduce new theme function to allow full creation of documentation links: buildDocLinkToKey()
2014-02-26 12:52:49 +01:00
Vincent Petry
149814d95b
Replace deleteAll call with unlink call
...
The method deleteAll() doesn't officially exist on the Storage class as
it's not defined on the interface, which means it fails on the Quota
storage wrapper and might fail on some external storage classes.
Also, this here is the only use case for that one method.
2014-02-25 15:01:38 +01:00
Bjoern Schiessle
9183ade655
don't overwrite keys if rename was done by a stream copy
2014-02-25 12:36:06 +01:00
Vincent Petry
6d3b5b24fd
Fix case where port is missing
2014-02-25 11:22:53 +01:00
Lukas Reschke
fb1ebf13c6
Adjust version for stable6
2014-02-22 08:09:49 +01:00
Lukas Reschke
ed7e9be7cd
Add overwritehost config on setup and upgrade
2014-02-22 07:59:39 +01:00
Lukas Reschke
92b4d52079
Fix "headers are already sent" introduced with #6519
...
Backport of #7347
2014-02-21 10:05:05 +01:00
Thomas Tanghus
91b4045791
Test if $url is already prefixed by '/'
2014-02-20 18:19:05 +01:00
Thomas Tanghus
0f87a0248f
Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840
2014-02-20 18:18:54 +01:00
nhirokinet
2d946d2766
Update user.php to fix duplicate session-duplicate
2014-02-20 14:31:28 +01:00
NARUKAWA Hiroki
a422f19fac
Security Update: session fixation
...
Previous version is vulnerable to session fixation attack in some situations, guessing non-apache-module-php5 environment. Regeneration of session id should be done here.
2014-02-20 14:31:23 +01:00
Robin Appelman
118033cac6
Also clean up the filecache table when deleting a storage entry
2014-02-12 14:03:30 +01:00
Robin Appelman
b0ba69ff31
Also remove the user's home storage from the storage table when deleting a user
2014-02-12 14:03:30 +01:00
Vincent Petry
ad813da7b1
Merge pull request #7157 from owncloud/stable6-xsendfilequotacheck
...
Fix xsendfile local storage detection with quota
2014-02-11 17:03:55 +01:00
Vincent Petry
b4f04c18db
Fix xsendfile local storage detection with quota
2014-02-11 15:04:17 +01:00
blizzz
23985428ea
Merge pull request #6778 from owncloud/fix_6430
...
on filtering the share box users and groups whose name begins with the s...
2014-02-11 10:38:04 +01:00
Bjoern Schiessle
018fed6014
getData() always needs to return an array
2014-02-10 15:16:58 +01:00
Arthur Schiwon
0213928735
fix DI
2014-02-10 14:53:59 +01:00
Arthur Schiwon
1cf599d494
Inject logger
2014-02-10 14:53:59 +01:00
Arthur Schiwon
8a4dbdedcf
wrong tld
2014-02-10 14:53:59 +01:00
Arthur Schiwon
7e451a24bc
sort following entries in alphabetical order
2014-02-10 14:53:59 +01:00
Arthur Schiwon
f8620704d4
move sorter into a class
2014-02-10 14:53:58 +01:00
Bjoern Schiessle
9c9b161f51
replace 'size' with 'unencrypted_size' if encryption is enabled
2014-02-07 15:26:21 +01:00
Bjoern Schiessle
9b257ad862
change order of issubdirectory() calls to avoid error messages for non-apps
2014-02-07 14:48:01 +01:00
Jan-Christoph Borchardt
c096c6edc3
add icons.css file, first step to get rid of %webroot%
2014-02-06 14:28:08 +01:00