Commit Graph

16785 Commits

Author SHA1 Message Date
Nextcloud bot 874a928c13
[tx-robot] updated from transifex 2018-03-25 01:10:49 +00:00
Nextcloud bot ea46750111
[tx-robot] updated from transifex 2018-03-24 01:13:08 +00:00
Nextcloud bot 3477c22016
[tx-robot] updated from transifex 2018-03-23 01:12:18 +00:00
Nextcloud bot 580a5f7378
[tx-robot] updated from transifex 2018-03-22 01:12:32 +00:00
Nextcloud bot 38649198a4
[tx-robot] updated from transifex 2018-03-21 01:12:45 +00:00
Nextcloud bot ca162e71d7
[tx-robot] updated from transifex 2018-03-20 01:12:25 +00:00
Nextcloud bot 86124f3a5d
[tx-robot] updated from transifex 2018-03-17 01:12:15 +00:00
Arthur Schiwon c0ee3cdcc5
existence check works without attribute (like with users)
cn is not necessarily given everywhere

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-16 10:30:49 +01:00
Nextcloud bot e8dbfc1b08
[tx-robot] updated from transifex 2018-03-16 01:12:17 +00:00
Nextcloud bot 93b8a486dc
[tx-robot] updated from transifex 2018-03-15 01:12:29 +00:00
Nextcloud bot 03a2ff6055
[tx-robot] updated from transifex 2018-03-14 01:12:18 +00:00
Nextcloud bot 5ee08e8b7e
[tx-robot] updated from transifex 2018-03-13 01:12:53 +00:00
Nextcloud bot 0601eaaf4d
[tx-robot] updated from transifex 2018-03-12 01:13:11 +00:00
Nextcloud bot 0641a32443
[tx-robot] updated from transifex 2018-03-11 01:13:01 +00:00
Nextcloud bot 21aa8344d5
[tx-robot] updated from transifex 2018-03-10 01:12:46 +00:00
Morris Jobke aee8381f21
Merge pull request #8726 from nextcloud/objectstore-no-part-files-12
[12]  disable part files for object stores
2018-03-09 14:06:52 +01:00
Nextcloud bot c4a97a2144
[tx-robot] updated from transifex 2018-03-09 01:13:00 +00:00
Robin Appelman 550f9cafc8
emit pre-hooks earlier when not using part files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-03-08 13:09:43 +01:00
Morris Jobke 6acc307aa3
Merge pull request #8679 from nextcloud/7707_12
[stable12] generate different UIDs for Birthday, Anniversary and Death event
2018-03-06 13:38:10 +01:00
Morris Jobke bcd01da517
Merge pull request #8677 from nextcloud/8297_12
[stable12] Fix example regex for user agent matching
2018-03-06 12:14:56 +01:00
Morris Jobke 72dc7520a4
Merge pull request #8674 from nextcloud/stable12-8634
[stable12] do not create empty userid when attribute does not have allowed chars
2018-03-06 12:03:27 +01:00
Georg Ehrke 8b28e91dcb
generate different UIDs for Birthday, Anniversary and Death event
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-03-06 11:21:16 +01:00
Joas Schilling 23f37cd741
Fix example regex for user agent matching
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-06 11:18:22 +01:00
Nextcloud bot ac8d572102
[tx-robot] updated from transifex 2018-03-06 01:13:03 +00:00
Arthur Schiwon 763a7c114f
do not create empty userid when attribute does not have allowed chars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-05 23:20:09 +01:00
Arthur Schiwon 9db6c7d9c2
use hash algo that's robust against collisions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-05 13:22:41 +01:00
Nextcloud bot d2283aaf17
[tx-robot] updated from transifex 2018-03-05 01:12:58 +00:00
Nextcloud bot 665e8fa6fa
[tx-robot] updated from transifex 2018-03-04 01:13:33 +00:00
Nextcloud bot 18beec8ad8
[tx-robot] updated from transifex 2018-03-03 01:13:05 +00:00
rakekniven 829589b6ea
Update commentstabview.js
Changed typo reported at GitHub.
See https://www.transifex.com/nextcloud/nextcloud/translate/#de_DE/$/91002505?issue=yes

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-02 10:45:10 +01:00
Morris Jobke b031ead04b
Merge pull request #8616 from nextcloud/stable12-8355
[stable12] Fix comments (and systemtags) when involving users with numerical ids
2018-03-02 10:35:18 +01:00
Nextcloud bot e225f9548b
[tx-robot] updated from transifex 2018-03-02 01:13:08 +00:00
Arthur Schiwon 586e4c1340
backport of #8355 to stable12
test creating comments with numeric user ids

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

fix creating comments when file is accessible to users with numeric ids

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

tests for systemtags related to numeric user ids

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

fix systemtags event with numeric user ids

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-02 00:32:48 +01:00
Nextcloud bot ec18b5ee33
[tx-robot] updated from transifex 2018-03-01 01:13:01 +00:00
Nextcloud bot 22e9568664
[tx-robot] updated from transifex 2018-02-28 01:13:25 +00:00
Julius Härtl 7c6b7b40ae
Merge pull request #8549 from kyrofa/backport_12/8462/theming_app_outside_root
[stable12] theming: handle not being in the serverroot
2018-02-27 11:59:49 +01:00
Nextcloud bot 73dd68802a
[tx-robot] updated from transifex 2018-02-27 01:15:16 +00:00
Kyle Fazzari 401a2692e8
theming: handle not being in the serverroot
Currently, the theming app assumes it's in the serverroot. However, with
Nextcloud's flexibility regarding configurable app paths, this is not a
safe assumption to make. If it happens to be an incorrect assumption,
the theming app fails to work.

Instead of relying on the serverroot, just use the path from the
AppManager and utilize relative paths for assets from there.

Fix #8462

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-02-26 10:14:57 -08:00
Arthur Schiwon 0b51ce66b3
fix retrieving group members with numerical uids from LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-02-26 13:39:48 +01:00
Arthur Schiwon 90a70fb4f5
tests for retrieving group members with numerical uids
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-02-26 13:38:47 +01:00
Roeland Jago Douma 4bf292b112
Merge pull request #8520 from nextcloud/stable12-8507
Add some whitespace around change.svg icon (stable12)
2018-02-24 16:26:06 +01:00
Roeland Jago Douma 4ca227577f
Merge pull request #8516 from nextcloud/12-8502
[stable12] Show hint in OCS API for user creation
2018-02-24 16:25:17 +01:00
Nextcloud bot 730a68402d
[tx-robot] updated from transifex 2018-02-24 01:13:07 +00:00
Marin Treselj 2692243460 Add some whitespace around change.svg icon (stable12)
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2018-02-23 11:19:08 +01:00
Morris Jobke 366ffb74dc
Show hint in OCS API for user creation
* adds a 107 error code together with the hint of the exception
* logs the exception as warning
* fixes #7946

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-02-23 10:25:56 +01:00
Nextcloud bot 8687f809f3
[tx-robot] updated from transifex 2018-02-23 01:13:07 +00:00
Nextcloud bot 260cbfe36f
[tx-robot] updated from transifex 2018-02-22 01:13:16 +00:00
Morris Jobke 0b21cabf10
Merge pull request #8205 from nextcloud/bugfix/noid/fix-result-size-when-searching-for-sharees
[stable12] Better result handling of email search
2018-02-21 15:44:41 +01:00
Nextcloud bot 5cbbf9c9b7
[tx-robot] updated from transifex 2018-02-21 01:12:58 +00:00
Nextcloud bot c635602809
[tx-robot] updated from transifex 2018-02-20 01:12:44 +00:00
Nextcloud bot 82d077df32
[tx-robot] updated from transifex 2018-02-19 01:12:43 +00:00
Nextcloud bot c07be4414e
[tx-robot] updated from transifex 2018-02-18 01:12:53 +00:00
Nextcloud bot 245ededfb4
[tx-robot] updated from transifex 2018-02-17 01:12:55 +00:00
Nextcloud bot 14a36e3a2c
[tx-robot] updated from transifex 2018-02-16 01:12:53 +00:00
Nextcloud bot 48c4328b06
[tx-robot] updated from transifex 2018-02-14 21:38:20 +00:00
Joas Schilling 7b31703407
Limit the number of results when searching for remotes and emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-02-14 16:48:39 +01:00
Nextcloud bot 363b1da044
[tx-robot] updated from transifex 2018-02-14 01:12:43 +00:00
Nextcloud bot b4c492ad07
[tx-robot] updated from transifex 2018-02-13 10:49:21 +00:00
Roeland Jago Douma 74bc89fc4d
Merge pull request #8262 from nextcloud/s3-folder-delete-12
[12] Fix deleting folders when using s3 external storage
2018-02-13 07:45:14 +01:00
Nextcloud bot deeed1664f
[tx-robot] updated from transifex 2018-02-12 21:34:26 +00:00
Robin Appelman 4c903e6b0d
fix invalidating folder cache for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-12 20:22:48 +01:00
Robin Appelman c84b290a17
adjust s3 bulk delete to new sdk syntax
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-12 20:22:48 +01:00
Nextcloud bot 966010f87f
[tx-robot] updated from transifex 2018-02-09 15:29:41 +00:00
Nextcloud bot 2b1e759ef4
[tx-robot] updated from transifex 2018-02-09 01:11:18 +00:00
Nextcloud bot d36b9c7479
[tx-robot] updated from transifex 2018-02-08 01:10:51 +00:00
Robin Appelman dbc99e47ef
keep previous exception when transforming to dav exception
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-07 14:44:32 +01:00
Nextcloud bot e2fddd29d1
[tx-robot] updated from transifex 2018-02-07 11:32:21 +00:00
Nextcloud bot 1a6f21d6d3
[tx-robot] updated from transifex 2018-02-07 01:10:47 +00:00
Nextcloud bot 6b4ddfd8b4
[tx-robot] updated from transifex 2018-02-05 01:10:41 +00:00
Nextcloud bot 2a7e629ca5
[tx-robot] updated from transifex 2018-02-04 01:10:51 +00:00
Nextcloud bot b63c93367f
[tx-robot] updated from transifex 2018-02-03 01:10:55 +00:00
Nextcloud bot 26beb5b7f3
[tx-robot] updated from transifex 2018-02-02 01:10:40 +00:00
Nextcloud bot 6fe9d1b57b
[tx-robot] updated from transifex 2018-02-01 18:28:32 +00:00
Nextcloud bot 4620eb8515
[tx-robot] updated from transifex 2018-02-01 17:20:21 +00:00
Nextcloud bot 0809f2ad87
[tx-robot] updated from transifex 2018-01-31 01:11:16 +00:00
Nextcloud bot 2d04a1e1a9
[tx-robot] updated from transifex 2018-01-30 01:11:32 +00:00
Nextcloud bot 9eddb015c1
[tx-robot] updated from transifex 2018-01-29 01:11:18 +00:00
Arthur Schiwon 23ffae497e
do not catch ServerNotAvailable
might cause the user to be unavailable (race condition).

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-01-26 15:38:48 +01:00
Nextcloud bot 355bc845ee
[tx-robot] updated from transifex 2018-01-26 01:11:18 +00:00
Morris Jobke 59a8cd3efc
Merge pull request #8022 from nextcloud/fix-jquery-ui-theming
[stable12] Fix jquery-ui theming
2018-01-24 15:41:17 +01:00
Morris Jobke b42d8ca77d
Merge pull request #7797 from nextcloud/stable12-7709-fix-password-displayed-as-username-in-password-manager
[stable12] Fix password displayed as username in Firefox password manager dialog
2018-01-24 15:33:04 +01:00
Julius Härtl add38859eb
Fix jquery-ui theming
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-24 14:03:59 +01:00
Robin Appelman 0e30a0dd01
increase the time we wait for smb notifications in the test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-01-23 09:55:02 +01:00
Nextcloud bot dd03cc577c
[tx-robot] updated from transifex 2018-01-23 01:11:16 +00:00
Nextcloud bot ae0641fccc
[tx-robot] updated from transifex 2018-01-21 01:11:18 +00:00
Robin Appelman 4803bd1f3f
update icewind/smb to 2.0.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-01-19 16:30:26 +01:00
Nextcloud bot 8b8c796a31
[tx-robot] updated from transifex 2018-01-19 01:11:20 +00:00
Nextcloud bot 1e8a1a9400
[tx-robot] updated from transifex 2018-01-17 01:11:24 +00:00
Roeland Jago Douma 7a7e756b0e
Merge pull request #7817 from nextcloud/stable12-7767
[stable12] Fix preview when theming changes invertion of icons
2018-01-16 19:18:56 +01:00
Nextcloud bot a3059d0f1f
[tx-robot] updated from transifex 2018-01-16 01:11:18 +00:00
Nextcloud bot cdbf584d37
[tx-robot] updated from transifex 2018-01-15 01:10:56 +00:00
Nextcloud bot 5e1d580010
[tx-robot] updated from transifex 2018-01-14 01:10:56 +00:00
Julius Härtl 394f1d89d3
Fix appmenu svg double invert
This fixes a regression caused by 9b668d0, where the css filters to
preview color inversion of the app menu was applied by default. This
commit makes the css filters sensitive on what the current state of the
app menu is.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-12 14:35:44 +01:00
Nextcloud bot 0ce9a66920
[tx-robot] updated from transifex 2018-01-12 01:11:48 +00:00
Daniel Calviño Sánchez a99489d602 Add strengthify bar after plain text input clone of password input
To show the password in plain text "showPassword" adds a text input
after the password input and swaps their visibility depending on whether
the password has to be shown in plain text or not. In a similar way,
"strengthify" by default adds the strength bar after the input element
it was called on. Due to this, if "showPassword" is called before
"strengthify" on the same password input then the strength bar ends
between the password input and the text input, and when the text input
is shown it appears below the strength bar.

To fix this now the strength bar is added after the text input in those
places in which "strengthify" was called after "showPassword" on the
same element.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-11 16:33:39 +01:00
Daniel Calviño Sánchez 217b711dbb Fix empty details view after renaming a file
"FileList._updateDetailsView" expects either a file name (as a string)
or a file model (as an "OCA.File.FileInfoModel"), but when called
through "updateInList" an "OC.Files.FileInfo" object was given instead.
As the given attribute was not a model "_updateDetailsView" treated it
as a file name and tried to get the model for that file, which failed
and caused the details view to be emptied.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-11 13:25:41 +01:00
Daniel Calviño Sánchez 65bba286b6 Move adding test files to "beforeEach()"
All the tests in the "Renaming files" section added the test files,
although those calling "doRename()" added them by setting a path for the
file too. However, the path is ignored in the other tests, so adding the
files can be unified and moved to "beforeEach()".

This would be needed, for example, to show the details view for a file
before calling "doRename()".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-11 13:25:41 +01:00
Bjoern Schiessle 6634266946
return correct mount type for federated shares
fix https://github.com/nextcloud/server/issues/6584

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-01-11 10:22:04 +01:00
Nextcloud bot 5738662032
[tx-robot] updated from transifex 2018-01-11 01:11:50 +00:00
Morris Jobke cdb1894422
Merge pull request #7774 from nextcloud/smb-2.0.3-12
[12] update icewind/smb to 2.0.3
2018-01-10 15:58:26 +01:00
Robin Appelman d37e2d4507
update icewind/smb to 2.0.3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-01-10 12:18:35 +01:00
Julius Härtl 2cc2f31f30
Fix SCSS processing when undoing theming values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-10 10:25:13 +01:00
Nextcloud bot 02543c3650
[tx-robot] updated from transifex 2018-01-10 01:11:34 +00:00
Robin Appelman 4ec4a7df93
add option to use legacy v2 auth with s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-01-09 18:21:47 +01:00
Morris Jobke b089199141
Merge pull request #7708 from nextcloud/stable12-7599
[stable12] don't show recurring msg when pages result was turned off
2018-01-09 11:23:36 +01:00
Morris Jobke 25ba9cbe71
Merge pull request #7684 from nextcloud/backport-ie-fix-invert
[stable12] Fix inverted app icons on IE11
2018-01-09 11:22:54 +01:00
Morris Jobke 2f9d59535d
Merge pull request #7674 from nextcloud/12_7644
[stable12] Do no run SyncJob in cron
2018-01-09 11:14:16 +01:00
Morris Jobke bbaa765d51
Merge pull request #7666 from nextcloud/stable12-7527-fix-drag-shadow-not-visible-when-dragging-a-file-on-a-narrow-screen
[stable12] Fix drag shadow not visible when dragging a file on a narrow screen
2018-01-09 11:12:15 +01:00
Morris Jobke 2df3864878
Merge pull request #7742 from nextcloud/stable12-7716-hide-favourite-icon-in-details-view-if-favourite-action-is-not-available
[stable12] Hide favourite icon in details view if favourite action is not available
2018-01-09 11:08:53 +01:00
Nextcloud bot e059e1d9d5
[tx-robot] updated from transifex 2018-01-09 01:11:29 +00:00
Roeland Jago Douma 1f875eca3c
Merge pull request #7694 from nextcloud/stable12-7611
[stable12] Don't attempt to translate login names to uids when uids are provided
2018-01-08 21:10:11 +01:00
Daniel Calviño Sánchez 436ffaecb4 Hide favourite icon in details view if favourite action is not available
When the favourite icon in the details view is clicked the "Favorite"
action is triggered. However, if the action name given to
"triggerAction" is not found then the "Download" action is triggered
instead. As the "Favorite" action is not available in some file lists
(like "Recents") the "Download" action was executed instead in those
cases, which was a strange behaviour. Now the favourite icon is
hidden if its action is not available.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-08 17:44:55 +01:00
Nextcloud bot e23491dc42
[tx-robot] updated from transifex 2018-01-08 01:11:31 +00:00
Roeland Jago Douma 116e4e415e
Merge pull request #7717 from nextcloud/stable12-7662
[stable12] throw ServerNotAvailableException when LDAP is caught shutting down
2018-01-07 11:40:18 +01:00
Nextcloud bot ea70bac9fb
[tx-robot] updated from transifex 2018-01-07 01:11:25 +00:00
Nextcloud bot 27a4a8247c
[tx-robot] updated from transifex 2018-01-06 01:11:22 +00:00
Arthur Schiwon 37c0352249
throw ServerNotAvailableException when LDAP is caught shutting down
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-01-05 20:36:30 +01:00
Morris Jobke 28d77efe80
Merge pull request #7688 from nextcloud/stable12-fix-scss-webroot-and-url-rewrite
[Stable12] fix scss webroot and url rewrite
2018-01-05 17:29:08 +01:00
Julius Härtl 7bc63f6135
Fix faulty path in theming scss generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-05 08:17:39 +01:00
Nextcloud bot a3933b99fe
[tx-robot] updated from transifex 2018-01-05 01:11:32 +00:00
Arthur Schiwon 0941781d1e
don't show recurring msg when pages result was turned off
and only as debug level otherwise.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-01-05 00:29:22 +01:00
Arthur Schiwon 32597f8966
test adoption for stable12
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-01-05 00:10:10 +01:00
Nextcloud bot 233fd16049
[tx-robot] updated from transifex 2018-01-04 09:48:45 +00:00
Julius Härtl b96278f855
Remove css invert since we are using svg filters for now
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-03 15:24:35 +01:00
Roeland Jago Douma ed5f66f11a
Do no run SyncJob in cron
Fixes #7184

The SyncJob can be very resource intensive. Since it requests all users
on the system to create the system addressbook. In order to do this it
creates a vcard for every user and updates the addressbook.

There is no need for this job since the proper signals are emitted and
handled in the carddav backend to update the addressbook live.

Worst comes to worst there is always the occ command to bring the
address book in sync again.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-03 10:58:16 +01:00
Daniel Calviño Sánchez 4d194b41f9 Fix drag shadow not visible when dragging a file on a narrow screen
When a file from the file list is dragged a drag shadow (a copy of the
file row that follows the cursor position) is created. The drag shadow
element is created as a direct child of the body element, so it needs a
higher "z-index" than the one used for the file list to be visible.

In narrow screens the "#app-content" uses a "z-index" of 1000 in order
to be visible over the "#navigation-bar" when they overlap, so the
"z-index" of the drag shadow must be at least 1000 to be visible over
the file list.

Instead of updating the hardcoded "z-index" it was removed and replaced
by CSS rules for ".dragshadow" elements to ease theming.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-02 16:12:47 +01:00
Morris Jobke 9ed0f50c25
Merge pull request #7567 from nextcloud/stable-12_fix7428
Respect sharing options when searching for Sharees
2017-12-20 14:18:33 +01:00
Arthur Schiwon e788ae0cf6
check userExists later, saves lookups for appData_INSTANCEID userids
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-12-19 14:13:37 +01:00
Tobia De Koninck 7f18a8d19f Don't show users which e-mail address match if they belong to a group we may not share with
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
2017-12-19 08:43:08 +01:00
Morris Jobke 6859e5a22a
Merge pull request #7558 from nextcloud/12-7427
[stable12] Fix email buttons for white theme
2017-12-18 21:19:51 +01:00
Morris Jobke e726d191f1
Fix email buttons for white theme
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-18 17:03:01 +01:00
Bjoern Schiessle 1a4eab744e
fix dav unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-12-12 14:38:49 +01:00
Roeland Jago Douma dfed58e947
CardDAV convertor check should not be to wide
Case: email is set to null, but the avatar is set. In the old case the
email would set $emptyValue but $noImage would still be false. This we
would set the empty string as email.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-11 21:14:33 +01:00
Daniel Calviño Sánchez 26cf16d67f
Fix constructor spy in unit test with Sinon 4.1.3
When a constructor is spied using Sinon it is wrapped by a proxy
function, which calls the original constructor when invoked. When "new
Foo()" is executed a "Foo" object is created, "Foo" is invoked with the
object as "this", and the object is returned as the result of the whole
"new" expression.

Before Sinon 4.1.3 the proxy called the original constructor directly
using the "thisValue" of the spied call; "thisValue" was the object
created by the "new" operator that called the proxy. The proxy assigned
"thisValue" to "returnValue", so it was also the value returned by the
proxy and, in turn, the value returned by the whole "new" expression.

Since Sinon 4.1.3 (see pull request 1626) the proxy calls the original
constructor using "new" instead of directly. The "thisValue" created by
the outermost "new" (the one that called the proxy) is no longer used by
the original constructor; the internal "new" creates a new object, which
is the one passed to the original constructor and returned by the
internal "new" expression. This object is also the value returned by the
proxy ("returnValue") and, in turn, the value returned by the whole
outermost "new" expression.

Thus, now "returnValue" should be used instead of "thisValue" to get the
object created by the spied constructor.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-11 16:49:39 +01:00
Nextcloud bot e4bf23ce7b
[tx-robot] updated from transifex 2017-12-11 01:10:34 +00:00
Nextcloud bot 0ff717c600
[tx-robot] updated from transifex 2017-12-10 01:10:38 +00:00
Nextcloud bot 0c272f2121
[tx-robot] updated from transifex 2017-12-09 01:10:36 +00:00
Roeland Jago Douma ac29608db6
Merge pull request #7409 from nextcloud/swift-retry-12
[12]add retry wrapper when reading files from swift
2017-12-08 09:26:41 +01:00
Morris Jobke c9318ddd1b
Merge pull request #7407 from nextcloud/12_7348
[stable12] Check if owner of share exists
2017-12-08 09:22:07 +01:00
Morris Jobke 5dd15c4a7d
Merge pull request #7323 from nextcloud/shared-jailed-source-root-12
[12]Use the correct root for shared jail when the source storage is also a jail
2017-12-08 09:03:03 +01:00
Nextcloud bot 53fa7fb3c6
[tx-robot] updated from transifex 2017-12-08 01:10:26 +00:00
Nextcloud bot 8d89ec3c30
[tx-robot] updated from transifex 2017-12-07 01:10:49 +00:00
Robin Appelman 0519ca5893
add retry wrapper when reading files from swift
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-06 15:43:00 +01:00
Roeland Jago Douma aedc59c636
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-06 09:15:49 +01:00
Roeland Jago Douma 7e6dd02441
A failed storage is a not available storage
We have to double check. Since getting the info of the root returns a
generic entry. But actually the stroage is not available. Else we get
very weird sync and web behavior.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-06 09:15:43 +01:00
Nextcloud bot f3b9b213eb
[tx-robot] updated from transifex 2017-12-06 01:10:37 +00:00
Nextcloud bot e04dd40516
[tx-robot] updated from transifex 2017-12-05 01:10:33 +00:00
Robin Appelman 4144580167
delay calculating the shared cache root until it's used
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-04 15:18:23 +01:00
Morris Jobke b1b02d3b3a
Merge pull request #7322 from nextcloud/12-6303
[stable12] Set primary action button color to same as theming color
2017-12-04 11:12:51 +01:00
Nextcloud bot 8054f862a3
[tx-robot] updated from transifex 2017-12-04 01:10:42 +00:00