Commit Graph

19037 Commits

Author SHA1 Message Date
Arthur Schiwon 37e7f3dae6
ignore non existing users when retrieving details of group members
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-30 20:06:35 +01:00
Julius Härtl 87fb1f411e
Remove .css fileending from accessibility user css route
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-30 16:50:16 +01:00
Morris Jobke bb262f5c03
Merge pull request #13923 from nextcloud/backport/13865/stable14
[stable14] fix paged search with multiple bases (LDAP)
2019-01-30 15:57:44 +01:00
Morris Jobke 257f9c4a4b
Merge pull request #13921 from nextcloud/backport/13412/stable14
[stable14] forward error message from password policy
2019-01-30 15:24:31 +01:00
Arthur Schiwon d77220bc7e
iterate over bases instead of doing parallel search
parallel search is not compatible with paged search, but the letter is
usually always applied.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-30 12:12:24 +01:00
Robin Appelman 917ca1caf2 forward error message from password policy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-30 10:57:41 +00:00
Daniel Calviño Sánchez 6fb6f3872e Fix dropping a folder on a folder row
When the uploaded files have a relative path (that is, when a folder is
uploaded) it is first ensured that all the parent folders exist, which
is done by trying to create them. When a folder is created in the
currently opened folder the file list is updated and a row for the new
folder is added. However, this was done too when the folder already
existed, which caused the previous row to be removed and a new one added
to replace it.

For security reasons, some special headers need to be set in requests;
this is done automatically for jQuery by handling the "ajaxSend" event
in the document. In the case of DAV requests, if the headers are not set
the server rejects the request with "CSRF check not passed".

When a file or folder is dropped on a folder row the jQuery upload
events are chained from the initial drop event, which has the row as its
target. In order to upload the file jQuery performs a request, which
triggers the "ajaxSend" event in the row; this event then bubbles up to
the document, which is then handled by adding the special headers to the
request.

However, when a folder was dropped on a folder row that folder row was
removed when ensuring that the folder exists. The jQuery upload events
were still triggered on the row, but as it had been removed it had no
parent nodes, and thus the events did not bubble up. Due to this the
"ajaxSend" event never reached the document when triggered on the
removed row, the headers were not set, and the upload failed.

All this is simply fixed by not removing the folder row when trying to
create it if it existed already.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-29 14:47:46 +00:00
Morris Jobke c66f93ad58
Merge pull request #13708 from nextcloud/stb14-vcard-avatar-fixes
[stable14] vcard avatar fixes
2019-01-28 17:36:12 +01:00
Nextcloud bot c0c5921719
[tx-robot] updated from transifex 2019-01-26 01:12:36 +00:00
Nextcloud bot 78fadcb9b7
[tx-robot] updated from transifex 2019-01-24 01:12:25 +00:00
Nextcloud bot 9455303874
[tx-robot] updated from transifex 2019-01-23 01:12:27 +00:00
Nextcloud bot 6bc8e1b5df
[tx-robot] updated from transifex 2019-01-22 01:12:46 +00:00
Morris Jobke 16283258ea
Update apps/dav/lib/CardDAV/PhotoCache.php
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
2019-01-21 10:11:40 +01:00
John Molakvoæ (skjnldsv) 65e667adf2
Log failure on parsing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-21 10:11:32 +01:00
John Molakvoæ (skjnldsv) d4652bbe8f
Allow URI as data for vcard PHOTO
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-21 10:05:28 +01:00
Nextcloud bot a5e77bc130
[tx-robot] updated from transifex 2019-01-21 01:12:11 +00:00
Nextcloud bot 4384c633ef
[tx-robot] updated from transifex 2019-01-20 01:12:50 +00:00
Nextcloud bot 22ebd26324
[tx-robot] updated from transifex 2019-01-19 01:12:40 +00:00
Nextcloud bot 51dfe8bdd6
[tx-robot] updated from transifex 2019-01-18 01:14:52 +00:00
Morris Jobke 64de706bda
Merge pull request #13637 from nextcloud/backport/13634/stable14
[stable14] update URL for federation
2019-01-17 09:34:58 +01:00
Nextcloud bot 27aa1cf944
[tx-robot] updated from transifex 2019-01-17 01:12:39 +00:00
Jos Poortvliet 4a17daa71b update URL for federation 2019-01-16 21:43:39 +00:00
Nextcloud bot 5f961a494f
[tx-robot] updated from transifex 2019-01-16 01:12:56 +00:00
Nextcloud bot 054848a387
[tx-robot] updated from transifex 2019-01-15 01:12:35 +00:00
Joas Schilling f083f211f6 Principals can be principal/user/<name> or principal/<name> from legacy installs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-14 13:20:37 +00:00
Nextcloud bot 671e375313
[tx-robot] updated from transifex 2019-01-14 01:12:20 +00:00
Bastien Durel 7b4d4dcca8 check anonymous OPTIONS requests file in root (not in subdir)
Signed-off-by: Bastien Durel <bastien@durel.org>
2019-01-13 13:05:59 +00:00
Nextcloud bot 39b0d4700f
[tx-robot] updated from transifex 2019-01-13 01:13:14 +00:00
Nextcloud bot fcedd6bc58
[tx-robot] updated from transifex 2019-01-12 01:12:17 +00:00
Roeland Jago Douma 404099c678 Check for no longer existing calendars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-11 10:32:20 +00:00
Nextcloud bot 0b3d91c0b8
[tx-robot] updated from transifex 2019-01-11 01:12:50 +00:00
Joas Schilling 9acd376d58 Fix doc block
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-10 11:37:41 +00:00
Nextcloud bot a08d477905
[tx-robot] updated from transifex 2019-01-10 01:12:26 +00:00
Joas Schilling 32a2125281
Prevent php info about missing index for old events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 14:51:34 +01:00
Joas Schilling cdffeb7e4b
Add a repair step to remove sensitive event activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 13:19:12 +01:00
Joas Schilling 10dec5ff98
Correctly handle the classification of events in the activity stream
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-09 13:17:37 +01:00
Nextcloud bot 32adb9c66f
[tx-robot] updated from transifex 2019-01-09 01:13:00 +00:00
Nextcloud bot 67c8ca25a2
[tx-robot] updated from transifex 2019-01-08 01:12:22 +00:00
Nextcloud bot 7f81025f10
[tx-robot] updated from transifex 2019-01-06 01:13:25 +00:00
Nextcloud bot 3d5ecac012
[tx-robot] updated from transifex 2019-01-05 01:12:17 +00:00
Arthur Schiwon 9bef634cc9 ensure db is pristine before starting the tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-04 21:49:16 +00:00
Arthur Schiwon ac2577fd66 LDAP: extend remnants output with "detected on" field
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-04 21:49:16 +00:00
Arthur Schiwon 4884c294b5 add tests for the DUI
as they are interact with the DB they are more integraiton than unit tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-04 21:49:15 +00:00
Nextcloud bot 4cd730c5bd
[tx-robot] updated from transifex 2019-01-04 01:12:48 +00:00
Roeland Jago Douma 4db95a8b5f
Merge pull request #13254 from nextcloud/backport/13227/stable14
[stable14] Fix opening search results for comments
2019-01-03 11:37:14 +01:00
Morris Jobke 25fe43fa1a
Merge pull request #13321 from nextcloud/bugfix/noid/backport-of-issues-fixed-in-12105
[stable14] Force var to be integer
2019-01-03 10:41:51 +01:00
Nextcloud bot 6e78ac0888
[tx-robot] updated from transifex 2019-01-03 01:12:07 +00:00
Maxence Lange bdf5c93c30 force var to be integer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 09:49:03 -01:00
Nextcloud bot 591b4ec18a
[tx-robot] updated from transifex 2019-01-01 01:11:54 +00:00
Nextcloud bot 0c9fb32585
[tx-robot] updated from transifex 2018-12-31 01:12:01 +00:00
Nextcloud bot d3eb44469e
[tx-robot] updated from transifex 2018-12-30 01:13:01 +00:00
Nextcloud bot 58b744acf0
[tx-robot] updated from transifex 2018-12-29 01:12:01 +00:00
Nextcloud bot 61000a7c1d
[tx-robot] updated from transifex 2018-12-28 01:12:07 +00:00
Nextcloud bot ed43996cc1
[tx-robot] updated from transifex 2018-12-27 01:12:01 +00:00
Nextcloud bot e8fc1decf4
[tx-robot] updated from transifex 2018-12-26 01:12:16 +00:00
Nextcloud bot 99bd29414f
[tx-robot] updated from transifex 2018-12-25 01:11:54 +00:00
Daniel Calviño Sánchez e2465c6793 Fix opening search results for comments
"OC.dirname" removes everything after the last "/", so a path without
slashes is returned without changes. "result.path" does not include
leading nor trailing "/", so when the path is for a file or folder in
the base folder "OC.dirname(result.path)" returns "result.path".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-24 13:22:06 +00:00
Nextcloud bot c099e7cbe9
[tx-robot] updated from transifex 2018-12-24 01:12:08 +00:00
Nextcloud bot 398429c6b0
[tx-robot] updated from transifex 2018-12-23 01:12:46 +00:00
Roeland Jago Douma ce2c08da6a
Merge pull request #12617 from nextcloud/backport/10839/stable14
[stable14] adjust Calendar resource / room interfaces to use class implementation
2018-12-22 12:15:05 +01:00
Roeland Jago Douma 0bbb1fa6ba
Merge pull request #13216 from nextcloud/backport/13212/stable14
[stable14] Files list not rendering if user has favorites navigation unfolded
2018-12-22 10:35:08 +01:00
Arthur Schiwon f82c5b5074 do not forgot to store the second displayname portion
otherwise it causes a chain reaction of system addressbook updates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-21 13:44:09 +00:00
Julius Härtl faf7a1906f Replace ChildNode.before with custom before helper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-21 13:21:52 +00:00
Nextcloud bot 01fa79d8d6
[tx-robot] updated from transifex 2018-12-21 01:12:05 +00:00
Nextcloud bot e3d3472ff5
[tx-robot] updated from transifex 2018-12-20 01:12:03 +00:00
John Molakvoæ (skjnldsv) b1c1ac1459 Prevent special characters from breaking the file drop remote url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-19 08:55:09 +00:00
Nextcloud bot 0a59b4ec6b
[tx-robot] updated from transifex 2018-12-19 01:12:05 +00:00
Julius Härtl b84f37c467
Merge pull request #13120 from nextcloud/backport/12693/stable14
[stable14] fix exception on LDAP mapping during login
2018-12-18 10:48:53 +01:00
Nextcloud bot fe710e0431
[tx-robot] updated from transifex 2018-12-18 01:11:52 +00:00
Roeland Jago Douma 107e983da0
Merge pull request #13077 from nextcloud/stb14-ie11-compatibility-updatenotifications
[stable14] Ie11 compatibility updatenotifications
2018-12-17 13:26:18 +01:00
Arthur Schiwon 4d6cfe12dd
LDAP clear cache on config modification also when done via API or CLI
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-17 13:19:28 +01:00
Arthur Schiwon a76695962b
be careful with mixed return values even if it may look unsuspicious…
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-17 13:11:25 +01:00
Arthur Schiwon aff41210ad
cache users as existing after mapping
during login they might be cached as non-existing and cause an Exception
in the long run

reduces some duplication, too

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-17 13:10:56 +01:00
Nextcloud bot f336720697
[tx-robot] updated from transifex 2018-12-17 01:11:50 +00:00
Nextcloud bot a7e515e8aa
[tx-robot] updated from transifex 2018-12-16 01:12:51 +00:00
Nextcloud bot a1c9949911
[tx-robot] updated from transifex 2018-12-15 01:11:56 +00:00
John Molakvoæ (skjnldsv) 15dc9d8d15
Transpile arrow function for ie11 compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-14 16:49:00 +01:00
Nextcloud bot 715f4c2853
[tx-robot] updated from transifex 2018-12-14 01:12:50 +00:00
Nextcloud bot 9a8c2a94de
[tx-robot] updated from transifex 2018-12-13 01:12:16 +00:00
Joas Schilling 824ff7688f Better activities for systemtags that are removed by CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-12 12:38:48 +00:00
Nextcloud bot cfb1338705
[tx-robot] updated from transifex 2018-12-12 01:11:55 +00:00
Nextcloud bot 90f967ba32
[tx-robot] updated from transifex 2018-12-11 01:12:05 +00:00
Nextcloud bot 9ec09d7ce2
[tx-robot] updated from transifex 2018-12-10 01:11:56 +00:00
Nextcloud bot 4e91c9b079
[tx-robot] updated from transifex 2018-12-09 01:12:45 +00:00
Nextcloud bot bb83753d93
[tx-robot] updated from transifex 2018-12-08 01:11:42 +00:00
Roeland Jago Douma 4ed291ce23 If the parent is not cached we should request the file
Else we ignore all incomming shares. Which basically does 💥

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-07 14:08:50 +00:00
Nextcloud bot 95eecb4f33
[tx-robot] updated from transifex 2018-12-07 01:12:00 +00:00
Nextcloud bot e772457d6b
[tx-robot] updated from transifex 2018-12-06 01:12:21 +00:00
Roeland Jago Douma 218b83b656
Merge pull request #12817 from nextcloud/backport/12813/stable14
[stable14] Fix the system address book
2018-12-05 08:42:29 +01:00
Nextcloud bot f65ec57243
[tx-robot] updated from transifex 2018-12-05 01:12:15 +00:00
Roeland Jago Douma 2bb278ecb0 Fix the system address book
c23a66cda4 broke the system address book.
We now move the ACL rules for this special case up and all is good in
the world again.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 14:21:16 +00:00
Roeland Jago Douma de83581694
Merge pull request #12748 from nextcloud/backport/14/11200/stable14
[stable14] Fix interaction with groups that contain a slash
2018-12-04 15:03:11 +01:00
Roeland Jago Douma 877b23a3fd Only run the AnonymousOptionsPlugion on Anonymous requests
Fixes #12744

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 12:12:11 +00:00
Nextcloud bot 70b8588d93
[tx-robot] updated from transifex 2018-12-04 01:12:26 +00:00
Nextcloud bot 34cbcb41cb
[tx-robot] updated from transifex 2018-12-03 01:11:52 +00:00
Nextcloud bot 2b35e12350
[tx-robot] updated from transifex 2018-12-02 01:12:56 +00:00
Nextcloud bot bcc0956ec0
[tx-robot] updated from transifex 2018-11-30 01:12:17 +00:00
Joas Schilling 6b6f923b8b Fix interaction with groups that contain a slash
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-29 21:57:21 +01:00
Robin Appelman 0b662f8aa3
update compatible versions for cloud federation api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-29 21:42:30 +01:00
Nextcloud bot 76cd8babd2
[tx-robot] updated from transifex 2018-11-29 01:11:52 +00:00