Cloud personnel
Find a file
Daniel Calviño Sánchez 9313c9797f Add automatic handling of common command failures of Mink elements
Commands executed on Mink elements may fail for several reasons.
ElementWrapper is introduced to automatically handle some of those
situations, like StaleElementReference exceptions and ElementNotVisible
exceptions.

StaleElementReference exceptions are thrown when the command is executed
on an element that is no longer attached to the DOM. When that happens
the ElementWrapper finds again the element and executes the command
again on the new element.

ElementNotVisible exceptions are thrown when the command requires the
element to be visible but the element is not. When that happens the
ElementWrapper waits for the element to be visible before executing the
command again.

These changes are totally compatible with the current acceptance tests.
They just make the tests more robust, but they do not change their
behaviour. In fact, this should minimize some of the sporadic failures
in the acceptance tests caused by their concurrent nature with respect
to the web browser executing the commands.

However, the ElementWrapper is not a silver bullet; it handles the most
common situations, but it does not handle every possible scenario. For
example, the acceptance tests would still fail sporadically if an
element can become staled several times in a row (uncommon) or if it
does not become visible before the timeout expires (which could still
happen in a loaded system even if the components under test work right,
but obviously it is not possible to wait indefinitely for them).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-05-06 12:37:55 +02:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@8403b2b676 [3rdparty] Bump phpseclib to 2.0.4 2017-03-30 09:43:59 +02:00
apps [tx-robot] updated from transifex 2017-05-06 00:07:33 +00:00
build Split up sharing-v1-part2.feature to avoid timeouts 2017-05-02 12:55:29 -03:00
config Improve documentation 2017-05-02 12:42:06 -03:00
contribute Add Developer Certificate of Origin (DCO) 2016-09-22 09:08:21 +02:00
core [tx-robot] updated from transifex 2017-05-06 00:07:33 +00:00
l10n Merge pull request #1377 from nextcloud/improve-finish-l10n 2017-03-02 12:44:10 +01:00
lib [tx-robot] updated from transifex 2017-05-06 00:07:33 +00:00
ocs Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +02:00
ocs-provider Allow to call the files even when you are in another instance atm 2016-10-06 12:15:13 +02:00
resources Add mimetypes for jp2 and webp 2017-04-25 18:43:39 +02:00
settings [tx-robot] updated from transifex 2017-05-06 00:07:33 +00:00
tests Add automatic handling of common command failures of Mink elements 2017-05-06 12:37:55 +02:00
themes Update documentation go.php URL to 12 2017-05-02 08:17:59 +02:00
.bowerrc ability to add bower resources 2014-11-03 20:54:40 +01:00
.codecov.yml Remove sunburst 2016-11-02 15:33:22 +01:00
.drone.yml Merge pull request #4682 from nextcloud/try-to-start-browser-sessions-again-when-they-fail-in-acceptance-tests 2017-05-04 00:02:18 -03:00
.gitignore Fix tests 2017-04-04 10:29:12 +02:00
.gitmodules targets 3rdparty submodule from Nc instead of oC 2016-06-28 18:39:51 +02:00
.htaccess Added to public interface 2017-04-13 12:58:49 +02:00
.jshintrc enable laxbreak option in jshintrc to comply with our coding guide lines 2014-11-04 12:51:54 +01:00
.lgtm Get rid of LGTM self approvals 2016-06-27 23:18:01 +02:00
.mailmap Fix more mailmap entries 2016-07-21 17:32:03 +02:00
.mention-bot add nextcloud-bot to userBlacklist 2016-09-13 10:33:03 +02:00
.scrutinizer.yml Scrutinizer should not check generated composer files 2016-03-10 21:17:34 +01:00
.tag Add .tag file to make tar balls tracable 2014-06-14 17:40:32 +02:00
.user.ini Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
AUTHORS Update with robin 2016-07-21 18:13:58 +02:00
autotest-external.sh Set exit code to 1 if integration test is failing 2016-12-20 23:40:49 +01:00
autotest-hhvm.sh Combine autotest-hhvm.sh with autotest.sh 2015-05-04 16:37:23 +02:00
autotest-js.sh Fix sass compile tests 2017-03-20 14:12:45 +01:00
autotest.sh Add redis support to our CI jobs 2017-05-02 15:55:42 -03:00
bower.json [js] Bump blueimp-md5 a major version 2017-04-10 20:56:56 +02:00
buildjsdocs.sh Added OC.Files.Client Webdav-based files client 2015-11-22 16:05:49 +01:00
CHANGELOG.md let's add a date :D 2016-12-15 20:35:42 +01:00
composer.json Use classmap to load core files 2016-07-18 14:46:54 +02:00
console.php Check that set_time_limit is not disabled before calling it 2017-03-11 17:04:21 +01:00
CONTRIBUTING.md fix dev manual link 2017-01-10 11:02:05 +01:00
COPYING Rename COPYING-AGPL to COPYING 2016-09-13 22:51:02 +02:00
COPYING-README Rename COPYING-AGPL to COPYING 2016-09-13 22:51:02 +02:00
cron.php Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
db_structure.xml Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
index.html Try to prefer index.php over index.html in the same directory 2013-04-24 15:11:53 +02:00
index.php fix wrong method name 2016-10-20 17:24:07 +02:00
issue_template.md Rename config section 2017-04-05 11:00:33 +02:00
occ Use a more universal shebang 2014-11-19 17:34:03 +01:00
public.php Clean up single user mode 2017-02-22 23:02:31 -06:00
README.md Merge pull request #1960 from nextcloud/adjust-link-to-contributing.md 2016-11-02 20:04:45 +01:00
remote.php Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +02:00
robots.txt Add robot.txt 2013-01-28 16:39:53 -06:00
status.php Expose the needupgrade status (#26209) 2016-10-20 14:24:23 +02:00
version.php Bump version 2017-05-02 11:38:37 +02:00

Nextcloud Server

Scrutinizer Code Quality codecov CII Best Practices irc irc

A safe home for all your data.

Why is this so awesome?

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 📦 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🔄 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with dozens of Apps ...like Calendar, Contacts, Mail and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentification.

You want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and at your Enterprise? Learn about all our Features.

Get your Nextcloud

Enterprise? Public Sector or Education user? You may want to have a look into the Enterprise Support Subscription provided by the Nextcloud GmbH

Get in touch

…learn more about how to get support for Nextcloud here!

Contribution Guidelines

All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information how to contribute: https://nextcloud.com/contribute/

Running master checkouts

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps by default included in regular releases like firstrunwizard or gallery are missing in master and have to be installed manually as required.

That aside Git checkouts can be handled the same as release archives.

Note they should never be used on production systems.