Nextcloud Server
Go to file
Daniel Calviño Sánchez fcd6cf08e0 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 create a new folder named :folderName in the public shared
folder" instead of "I create a new folder named :folderName") 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-09 03:37:08 +01:00
.github
.idea
.tx
3rdparty@8168fc1d0f
apps [tx-robot] updated from transifex 2018-03-09 01:12:12 +00:00
build
config
contribute
core [tx-robot] updated from transifex 2018-03-09 01:12:12 +00:00
lib [tx-robot] updated from transifex 2018-03-09 01:12:12 +00:00
ocs
ocs-provider
resources
settings [tx-robot] updated from transifex 2018-03-09 01:12:12 +00:00
tests Generalize file list steps so a specific ancestor can be used 2018-03-09 03:37:08 +01:00
themes
.bowerrc
.codecov.yml
.drone.yml
.gitignore
.gitmodules
.htaccess Merge pull request #7419 from Abijeet/feature-7175 2018-03-06 21:53:37 +01:00
.jshintrc
.lgtm
.mailmap
.scrutinizer.yml
.tag
.user.ini
AUTHORS
autotest-checkers.sh
autotest-external.sh
autotest-hhvm.sh
autotest-js.sh
autotest.sh
bower.json
buildjsdocs.sh
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json
console.php
CONTRIBUTING.md
COPYING
COPYING-README
cron.php
index.html
index.php
issue_template.md
occ
public.php
README.md
remote.php
robots.txt
status.php
version.php

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 authentication.

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 that are included by default in regular releases such as firstrunwizard or gallery are missing in master and have to be installed manually.

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

Note they should never be used on production systems.