Go to file
Daniel Calviño Sánchez 7c07f01d59 Add actors for test scenarios
An actor plays the role of an end-user in the test scenario. As such,
each actor has its own web browser session used to perform the actions
specified by the steps of the scenario. Only one actor is active at a
time in a test scenario, and the current actor can be set through the "I
act as XXX" step; from then on, all the steps are performed by that
actor, until a different actor is set by calling "I act as XXX" again.
If no actor was explicitly set in a scenario then the default actor,
unsurprisingly named "default", is the one used.

The ActorContext class is added to provide automatic support for all
that. To use the ActorContext, besides adding it to the context list in
"behat.yml", a Mink session for each actor used in the features must be
specified in "behat.yml". Once done other Contexts just need to
implement the ActorAwareInterface (which can be done simply by using the
ActorAware trait) to have access to the current Actor object of the test
scenario; as the Actor object provides its own session other Contexts do
not need to extend from RawMinkContext. The ActorContext is itself a
RawMinkContext, so it automatically receives the base URL of the
Nextcloud test server run by NextcloudTestServerContext and propagates
that base URL to all the actors.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-04-19 08:26:03 +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-04-19 00:07:40 +00:00
build Add actors for test scenarios 2017-04-19 08:26:03 +02:00
config Clean up single user mode 2017-02-22 23:02:31 -06:00
contribute Add Developer Certificate of Origin (DCO) 2016-09-22 09:08:21 +02:00
core [tx-robot] updated from transifex 2017-04-19 00:07:40 +00:00
l10n Merge pull request #1377 from nextcloud/improve-finish-l10n 2017-03-02 12:44:10 +01:00
lib Merge pull request #4371 from nextcloud/dont-allow-dot-usernames 2017-04-18 20:04:32 -05: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 Update CA bundle 2017-04-13 11:56:09 +02:00
settings [tx-robot] updated from transifex 2017-04-19 00:07:40 +00:00
tests Merge pull request #4371 from nextcloud/dont-allow-dot-usernames 2017-04-18 20:04:32 -05:00
themes rename confusing getMailHeaderColor to getColorPrimary, ref #3491 2017-03-29 18:23:23 +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 Enable testing app in CI step 2017-04-13 12:00:18 +02: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
CHANGELOG.md let's add a date :D 2016-12-15 20:35:42 +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
README.md Merge pull request #1960 from nextcloud/adjust-link-to-contributing.md 2016-11-02 20:04:45 +01: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 Namespace and array syntax fixes 2017-03-19 14:52:54 -06: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
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
cron.php Check that set_time_limit is not disabled before calling it 2017-03-11 17:04:21 +01:00
db_structure.xml add new password column to the share table in order to set passwords for share by mails 2017-04-03 10:20:49 +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
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 add new password column to the share table in order to set passwords for share by mails 2017-04-03 10:20:49 +02:00

README.md

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.