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
Fabian
da0ee2ce3a
dont update search onResize ( #24848 )
2016-05-30 11:31:39 +02:00
Björn Schießle
b8c4233c7d
don't fail on "bad signature" during login. Most likely this happens because ( #24837 )
...
the login password changed at the user back-end (e.g ldap). Such failures will
be handled after login correctly by allowing the user to adjust the passwords
2016-05-30 11:19:57 +02:00
Piotr Filiciak
002a7f8294
replaced UnseekableException => NotPermittedException
2016-05-25 15:38:48 +02:00
Robin Appelman
35c32ca721
Improve isLocal performance for SharedStorage
2016-05-25 13:40:34 +02:00
Vincent Petry
8c439643a1
Lowercase class name for unseekableexception
...
Because 9.1 was PSR-4 and the backport goes back to the old style
2016-05-25 11:13:06 +02:00
Piotr Filiciak
7a791c5472
Code style and doc fix
2016-05-25 11:11:56 +02:00
Piotr Filiciak
f29f85709a
Http Range requests support in downloads
...
Http range requests support is required for video preview
2016-05-25 11:11:47 +02:00
Vincent Petry
a9c8eee15c
Merge pull request #24817 from owncloud/filesystem_check_changes-9
...
clarify filesystem_check_changes in config.sample.php
2016-05-25 09:40:43 +02:00
Carla Schroder
cb8b4740e3
clarify filesystem_check_changes in config.sample.php
2016-05-24 08:14:57 -07:00
Vincent Petry
3d4f29f622
Merge pull request #24417 from owncloud/fix_24182_9.0
...
[stable9] first call the post_login hooks, before we call getUserFolder.
2016-05-24 10:41:09 +02:00
Vincent Petry
64ec70a70f
Merge pull request #24772 from owncloud/backport-24765-boolean-installed-config
...
[9.0] Make sure we evaluate installed everywhere as a boolean
2016-05-24 10:31:59 +02:00
Joas Schilling
b30f4c2799
Make sure we evaluate installed like we do it everywhere
2016-05-23 13:24:03 +02:00
Joas Schilling
3c73e54eb9
Make sure that installed is a boolean
2016-05-23 13:23:51 +02:00
Vincent Petry
ad81dff3b4
Merge pull request #24709 from owncloud/backport-24336-remove-password-from-exception-trace-in-dav-auth
...
Remove the password from the validateUserPass() method as well
2016-05-20 10:35:12 +02:00
Joas Schilling
5da9f10af2
Remove the password from the validateUserPass() method as well
2016-05-19 12:11:31 +02:00
Vincent Petry
173e304be9
Merge pull request #24414 from owncloud/stable9_24405
...
[Stable9] Use a CappedCache in the user database backend
2016-05-19 10:31:31 +02:00
Vincent Petry
ceea3e9104
Merge pull request #24705 from owncloud/locking-mark-reload-free-9
...
[9.0] free up memory when releasing the last shared lock
2016-05-19 10:28:23 +02:00
Vincent Petry
fe1b8adf08
Merge pull request #24676 from owncloud/stable9-fixchunkttl
...
[stable9] Allow chunk GC mtime tolerance for unfinished part chunks
2016-05-18 18:19:26 +02:00
Robin Appelman
e36d70c0de
free up memory when releasing the last shared lock
2016-05-18 16:19:35 +02:00
Vincent Petry
dfc0a7a4a6
Allow chunk GC mtime tolerance for unfinished part chunks
...
Whenever part chunks are written, every fwrite in the write loop will
reset the mtime to the current mtime. Only at the end will the touch()
operation set the mtime to now + ttl, in the future.
However the GC code is expecting that every chunk with mtime < now are
old and must be deleted. This causes the GC to sometimes delete part
chunks in which the write loop is slow.
To fix this, a tolerance value is added in the GC code to allow for
more time before a part chunk gets deleted.
2016-05-17 17:15:09 +02:00
Vincent Petry
de97110f58
Merge pull request #24441 from owncloud/backport-24432-never-save-app-language-into-request-lang
...
[9.0] Do not save the language as request lang for apps when we didn't find…
2016-05-17 16:15:05 +02:00
Vincent Petry
56031fe155
Merge pull request #24540 from owncloud/stable9-do-not-automatically-try-to-enable-index-php-less-urls
...
[Stable9] do not automatically try to enable index php less urls
2016-05-13 16:13:09 +02:00
Vincent Petry
27b12d2901
Merge pull request #24530 from owncloud/backport-24526-forward-user-manager-error-messages-to-ui
...
[9.0] Pass on the error message from the user manager to the UI
2016-05-13 16:11:55 +02:00
Robin Appelman
f8979a9ee2
cap the normalized path cache ( #24390 )
2016-05-12 16:24:56 +02:00
Lukas Reschke
283347a026
Remove repair steps for broken updater repair ( #24438 )
...
That's only required for an update to 9.0.2, the updater server has the required logic to ensure that clients get the right update delivered.
2016-05-12 12:08:54 +02:00
VicDeo
60ec1fc85d
Put back pcntl warning ( #24295 )
2016-05-12 12:08:08 +02:00
Thomas Müller
de915934e6
Merge pull request #24538 from owncloud/fix-oracle-ci-stable9
...
[stable9] Wait a while even after successful connect ...
2016-05-11 19:20:48 +02:00
Thomas Müller
7de566b7c0
Wait a while even after successful conect ...
2016-05-11 18:25:01 +02:00