Commit Graph

40480 Commits

Author SHA1 Message Date
Nextcloud bot 1c7adce900
[tx-robot] updated from transifex 2018-04-01 00:12:35 +00:00
Nextcloud bot ec0ceaaa05
[tx-robot] updated from transifex 2018-03-31 00:14:41 +00:00
Nextcloud bot 9216c0ba75
[tx-robot] updated from transifex 2018-03-30 00:12:27 +00:00
Nextcloud bot b6785ec686
[tx-robot] updated from transifex 2018-03-29 00:14:25 +00:00
Robin Appelman 83cd4ca3b4
update icewind/smb to 2.0.5
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-03-28 16:13:07 +02:00
Nextcloud bot 2adc67f00b
[tx-robot] updated from transifex 2018-03-28 00:22:02 +00:00
Nextcloud bot 52d53cae43
[tx-robot] updated from transifex 2018-03-27 00:12:29 +00:00
Nextcloud bot af88431dec
[tx-robot] updated from transifex 2018-03-26 00:14:05 +00:00
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
Roeland Jago Douma 969d36f698
Merge pull request #8893 from nextcloud/8693_12
[stable12] Fix undefined index problem
2018-03-20 10:15:27 +01:00
michaelletzgus e1762998b3
Fix undefined index problem
Nextcloud 13RC4, error in logfile, triggered by "occ config:list":

Invalid argument supplied for foreach() at lib/private/AppConfig.php#297
PHP	Undefined index: workflowengine at lib/private/AppConfig.php#297

Fix: Check if index exists in array before using it.
2018-03-20 09:18:36 +01:00
Nextcloud bot ca162e71d7
[tx-robot] updated from transifex 2018-03-20 01:12:25 +00:00
Nextcloud bot 62846c3856
[tx-robot] updated from transifex 2018-03-19 01:12:26 +00:00
Nextcloud bot 7bbe429fe7
[tx-robot] updated from transifex 2018-03-18 01:12:36 +00:00
Nextcloud bot 86124f3a5d
[tx-robot] updated from transifex 2018-03-17 01:12:15 +00:00
Roeland Jago Douma 0c501a89db
Merge pull request #8850 from nextcloud/backport/8835/stable12
[stable12] group existence check works without attribute (like with users)
2018-03-16 14:25:01 +01: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
Morris Jobke b5e7676355
Merge pull request #8808 from nextcloud/final-12.0.6
[stable12] 12.0.6
2018-03-13 20:01:15 +01:00
Morris Jobke d4d6e38122
12.0.6
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-13 18:23:52 +01: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
Morris Jobke 62ece696d6
Merge pull request #8772 from nextcloud/stable12-8594-add-acceptance-tests-for-permissions-on-public-shared-folders
[stable12] Add acceptance tests for permissions on public shared folders
2018-03-11 19:34:38 +01:00
Daniel Calviño Sánchez 1218cee069 Add acceptance tests for creation of subfolders in public shared folders
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-11 13:04:54 +01:00
Daniel Calviño Sánchez 6e41e0bda5 Extract common "wait for" functions to a helper class
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-11 13:04:53 +01:00
Daniel Calviño Sánchez d757a19b9c Generalize file list steps so a specific ancestor can be used
The "FileListContext" provides steps to interact with and check the
behaviour of a file list. However, the "FileListContext" does not know
the right file list ancestor that has to be used by the file list steps,
so until now the file list steps were explicitly wired to the Files app
and they could be used only in that case.

Instead of duplicating the steps with a slightly different name (for
example, "I rename :fileName1 to :fileName2 in the public shared folder"
instead of "I rename :fileName1 to :fileName2") the steps were
generalized; now contexts that "know" that certain file list ancestor
has to be used by the FileListContext steps performed by certain actor
from that point on (until changed again) set it explicitly. For example,
when the current page is the Files app then the ancestor of the file
list is the main view of the current section of the Files app, but when
the current page is a shared link then the ancestor is set to null
(because there will be just one file list, and thus its ancestor is not
relevant to differentiate between instances)

A helper trait, "FileListAncestorSetter", was introduced to reduce the
boilerplate needed to set the file list ancestor from other contexts.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-11 12:58:13 +01:00
Daniel Calviño Sánchez 3c6a269138 Generalize file list locators so a specific ancestor can be used
The file list is used in other places besides the Files app (for
example, the File sharing app); in those cases the locators for the file
list elements are the same, but not for the ancestor of the file list.
To make possible to reuse the file list locators in those cases too now
they receive the ancestor to use.

Note that the locators for the file actions menu were not using an
ancestor locator because it is expected that there is only one file
actions menu at a time in the whole page; that may change in the future,
but for the time being it is a valid assumption and thus the ancestor
was not added to those locators in this commit.

Although the locators were generalized the steps themselves still use
the "FilesAppContext::currentSectionMainView" locator as ancestor; the
steps will be generalized in a following commit.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-11 12:58:05 +01:00
Daniel Calviño Sánchez 292e95566e Store the name of the actor in the Actor object
This is needed to be able to easily use the actor as a key in an array.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-11 12:18:26 +01:00
Daniel Calviño Sánchez c62c7dda82 Extract file list locators and steps to its own class
Besides the extraction some minor adjustments (moving parametrized
locators like "fileActionsMenuItemFor" above the locators that use them
and placing "descendantOf" calls always in a new line) were made too.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-11 12:17:18 +01: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 921a5ff3e6
Merge pull request #8750 from nextcloud/12.0.6-rc1
12.0.6 RC 1
2018-03-09 21:10:07 +01:00
Nextcloud bot 4943e15795
[tx-robot] updated from transifex 2018-03-09 13:32:21 +00:00
Morris Jobke 49b6e630b7
12.0.6 RC 1
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-09 14:14:37 +01: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
Roeland Jago Douma 6bd630d2ea
Merge pull request #8739 from nextcloud/stable12-8728-better-handling-of-invisible-elements-in-acceptance-tests
[stable12] Better handling of invisible elements in acceptance tests
2018-03-09 08:32:03 +01:00
Daniel Calviño Sánchez a24b22e5a2 Add automatic handling of NoSuchElement exceptions
NoSuchElement exceptions are sometimes thrown instead of
StaleElementReference exceptions. This can happen when the Selenium2
driver for Mink performs an action on an element through the WebDriver
session instead of directly through the WebDriver element. In that case,
if the element with the given ID does not exist, a NoSuchElement
exception would be thrown instead of a StaleElementReference exception,
so those cases are handled like StaleElementReference exceptions.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-09 02:24:58 +01:00
Daniel Calviño Sánchez 3da9c2067c Add automatic handling of MoveTargetOutOfBounds exceptions
MoveTargetOutOfBounds exceptions are sometimes thrown instead of
ElementNotVisible exceptions. This can happen when the Selenium2 driver
for Mink moves the cursor on an element using the "moveto" method of the
Webdriver session, for example, before clicking on an element. In that
case, if the element is not visible, "moveto" would throw a
MoveTargetOutOfBounds exception instead of an ElementNotVisible
exception, so those cases are handled like ElementNotVisible exceptions.

Note that MoveTargetOutOfBounds exceptions could be thrown too if the
element was visible but "out of reach"; there is no problem in handling
those cases as if the element was not visible, as the exception will be
thrown again anyway once it is verified that the element is indeed
visible.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-09 02:24:58 +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
Robin Appelman 50162e619c
disable part files for object stores
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-03-08 13:09:37 +01:00
Morris Jobke d0500f0b5b
Merge pull request #8692 from nextcloud/stable12-add-missing-import
[stable12] Add missing import
2018-03-06 18:35:52 +01:00
Morris Jobke 36c9b12fd8
Merge pull request #8689 from nextcloud/12-7449
[stable12] Fix 500 on setup page
2018-03-06 18:00:40 +01:00
Daniel Calviño Sánchez a0d2d0c272 Add missing import
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-06 17:20:11 +01:00