Commit graph

31342 commits

Author SHA1 Message Date
Vincent Petry
a9c98daffb
Capped cache for cache info in UserMountCache 2016-06-15 13:02:39 +02:00
Vincent Petry
c5a60c3ae0 Merge pull request #25084 from owncloud/stable9-enc-cappedcache-getaccesslist
[stable9] Use capped cache for encryption's user access list
2016-06-15 10:42:22 +02:00
Vincent Petry
57d3bb36eb Merge pull request #25105 from owncloud/stable9-initial-userloading-workaround
[stable9] decrease initial users to load to 50
2016-06-15 10:33:30 +02:00
Vincent Petry
173f732b9d Merge pull request #25106 from owncloud/stable9-allow-empty-host-when-installing-on-oracle-via-cli
[stable9] Allow empty host when installing on oracle via CLI (#25034)
2016-06-15 10:14:57 +02:00
Jörn Friedrich Dreyer
ea330dfa6a Allow empty host when installing on oracle via CLI (#25034) 2016-06-14 20:09:44 +02:00
Jörn Friedrich Dreyer
a0215b191d
decrease initial users to load to 50
Prevents timeouts on the initial loading of users. proper fix will be in https://github.com/owncloud/core/pull/10994
Workaround for https://github.com/owncloud/core/issues/24734
2016-06-14 17:48:53 +02:00
Thomas Müller
3e846a4821 Use an explicit version of sabre/dav to allow caching on the jenkins slaves - fixes #25087 (#25089) 2016-06-14 12:11:35 +02:00
Vincent Petry
9e3cf794ea
Use capped cache for encryption's user access list 2016-06-13 17:47:57 +02:00
Roeland Douma
d41d5c48f0 Show the path relative to the requesting user (#25067)
A share can only be requested by 3 'types' of people

* owner
* initiator
* recipient

So we have to get the path as the current user. Since that is the only
path that has any meaning to the user.

- Fixed tests
2016-06-13 12:47:21 +02:00
Roeland Douma
7863987b19 Repair job to fix permissions for avatars (#25068)
Backport of #24898

Cherry-picked:
1b66db72d9
60225284f3
28d9ad2817

But manually since we renamed stuff and the repair procedures changed
2016-06-13 12:47:02 +02:00
Vincent Petry
851b7ca27f Merge pull request #25054 from owncloud/issue-24536-language-name-reused-for-fallback-languages-stable9
[stable9] Do not use the language name, when it's not the one from the language…
2016-06-10 17:02:48 +02:00
Joas Schilling
b4f14f1f48
Do not use the language name, when it's not the one from the language we want 2016-06-10 12:44:12 +02:00
Vincent Petry
9edcdb33c7 Merge pull request #24950 from owncloud/stable9-fixdynamicldapgroupaccess
[stable9] Fixed dynamic group ldap access
2016-06-10 11:07:28 +02:00
Vincent Petry
fba4460342
Add unit test for LDAP multi group caching 2016-06-09 18:02:09 +02:00
Vincent Petry
251a24b0cb Merge pull request #25039 from owncloud/stable9-construct-path
[Stable9] Construct path to the version file from the current directory and fil…
2016-06-09 16:21:19 +02:00
Vincent Petry
72b76228fc Merge pull request #25035 from owncloud/stable9-err-reload-delay
[stable9] Delay reloading the page if an ajax error occurs, show notification
2016-06-09 16:15:17 +02:00
Vincent Petry
9dff5501e8 Merge pull request #25045 from owncloud/stable9-admin-datadircheck-fix
[stable9] Use temporary htaccesstest.txt for data dir security check
2016-06-09 15:59:01 +02:00
Vincent Petry
05870bb659 Merge pull request #25044 from owncloud/stable9-scanner-user-not-setup
[stable9] skip scanning for a user when the user is not setup yet
2016-06-09 14:52:44 +02:00
Vincent Petry
eb34e95fd3
Use temporary htaccesstest.txt for data dir security check 2016-06-09 11:59:42 +02:00
Robin Appelman
d46cb39e3c
skip scanning for a user when the user is not setup yet 2016-06-09 11:37:02 +02:00
Victor Dubiniuk
f5d83e85b7 Construct path to the version file from the current directory and filename. Fixes #22450 2016-06-08 20:32:51 +03:00
Robin McCorkell
3f16ce7403
Add test for reload delay 2016-06-08 17:33:00 +02:00
Robin McCorkell
40f066ab6d
Delay reloading the page if an ajax error occurs, show notification 2016-06-08 17:32:54 +02:00
Vincent Petry
b37f2e230b
Use array_merge when reading cached groups members 2016-06-08 11:24:22 +02:00
VicDeo
7f3f06cdd9 Fix update from 9.0.0 and 9.0.1 (#24854) 2016-06-07 09:46:53 +02:00
Joas Schilling
afb4c1e694 Allow public upload when the quota is unlimited (#24988) 2016-06-06 13:48:38 +02:00
Vincent Petry
6e7eb87c80 Merge pull request #24951 from owncloud/backport-24949-internal-server-error-in-sync-client-on-forbidden-directurl
[9.0] Catch the ForbiddenException to make sure it gets handled
2016-06-06 11:34:18 +02:00
Vincent Petry
93699d4224 Merge pull request #24966 from owncloud/stable9-fix-singlefileselect-download
[stable9] File not found when single file in a folde…
2016-06-06 11:28:05 +02:00
Joas Schilling
c433218aa1
Catch the ForbiddenException to make sure it gets handled 2016-06-03 15:16:11 +02:00
Dmitry Popov
825d1c105d
My fix for #24272, #23613, File not found when single file in a folder (#24800)
* Fixed group share searching for members of
multiple group. Issue #11808.

* Fixed group share searching, continued.

Avoid searching for empty group list in getItemSharedWithUser().
Broke tests in previous commit, #12030.

* Simler check for group count.

* Fix for https://github.com/owncloud/core/issues/24783 , described there

* Now it's #24272, 24783 was a duplicate. Previous change was also not very good. Now we don't create ZIP with a single file inside.
2016-06-02 18:46:03 +02:00
Vincent Petry
7f3bfeffe2 Merge pull request #24921 from owncloud/stable9-backport-24795
[9.0] Allow opening the password reset link in a new window when …
2016-06-02 15:31:36 +02:00
Vincent Petry
4eb87be488 Merge pull request #24944 from owncloud/fix_21173_stable9
stable9: normalize path in getInternalPath
2016-06-02 15:30:47 +02:00
Vincent Petry
afe8ee0674 Merge pull request #24958 from owncloud/stable9_24869
[stable9] Use a capped memory cache for the user/group cache
2016-06-02 10:38:30 +02:00
Vincent Petry
a780a4c966 Merge pull request #24956 from owncloud/stable9-fix-shareidstring
[stable9] Backport of share id as string fix
2016-06-02 10:11:54 +02:00
Roeland Jago Douma
0efe3ba62e
Use a capped memory cache for the user/group cache
For #24403
When upgrading huge installations this can lead to memory problems as
the cache will only grow and grow.

Capping this memory will make sure we don't run out while during normal
operation still basically cache everything.
2016-06-01 21:31:14 +02:00
Vincent Petry
8f04bf3793
Backport of share id as string fix 2016-06-01 17:48:35 +02:00
Arthur Schiwon
087f005936
formatting, white-space changes only 2016-06-01 16:28:02 +02:00
alexweirig
f112ece1f2
fixed possible indention problem
spaces -> tab conversion
2016-06-01 16:27:57 +02:00
alexweirig
c342dcbcee
Fixing group handling
added back the cache processing and fixed
2016-06-01 16:27:52 +02:00
alexweirig
6d74ef71b5
Fixed dynamic group ldap access
getUserGroups:
Using $userDN instead of $uid to query LDAP
Converting groupDN to group name using API instead of substring
Removing cache processing at the end of the method
2016-06-01 16:27:42 +02:00
Vincent Petry
96bf7f5513 Merge pull request #24894 from owncloud/scanner-size-propagation-09
[9.0] trigger size calculation after scanning
2016-06-01 14:53:46 +02:00
Georg Ehrke
a08c9b3526
normalize path in getInternalPath 2016-06-01 13:06:59 +02:00
Joas Schilling
69e54bde1f
Allow opening the password reset link in a new window when its a URL 2016-06-01 12:15:10 +02:00
Robin Appelman
2ca5f3f957
trigger size calculation after scanning 2016-06-01 10:27:56 +02:00
Joas Schilling
9070fd2c03 Add a warning when the transaction isolation level is not READ_COMMITED (#24915) 2016-05-31 16:11:51 +02:00
Vincent Petry
95cdbd45b8 Merge pull request #24908 from owncloud/stable9-backport-properly-check-for-mbstring
[stable9] Properly check for mbstring extension
2016-05-31 13:52:23 +02:00
Lukas Reschke
2516d07fdd
[stable9] Properly check for mbstring extension
mb_detect_encoding is in the fallback we ship in the polyfill library, mb_strcut is not. Thus this lead to a false positive and ownCloud would just break.
2016-05-31 08:15:18 +02:00
Joas Schilling
abd8475336 Only show message in the UI when the checker is enabled (#24773) 2016-05-30 14:50:45 +02:00
Vincent Petry
0ec4098955 Merge pull request #24830 from owncloud/stable9-lenz1111-share_download_range_requests_support
[stable9] lenz1111's fantastic share download range requests support
2016-05-30 12:27:16 +02:00
Vincent Petry
761a0b252c Merge pull request #24839 from owncloud/shared-storage-local-9
[9.0] Improve isLocal performance for SharedStorage
2016-05-30 12:23:32 +02:00